| /****************************************************************************** |
| * Copyright (c) 2000-2019 Ericsson AB |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html |
| * |
| * Contributors: |
| * Gabor Szalai - initial implementation and initial documentation |
| ******************************************************************************/ |
| // |
| // File: TS29520_Nnwdaf_AnalyticsInfo.ttcn |
| // Description: Type definitions for 3GPP TS29520 |
| /////////////////////////////////////////////// |
| module TS29520_Nnwdaf_AnalyticsInfo { |
| |
| import from TS29520_Nnwdaf_EventsSubscription all |
| import from TS29571_CommonData all |
| |
| external function f_enc_AnalyticsData(in AnalyticsData pdu) return octetstring |
| with { extension "prototype(convert) encode(JSON)" } |
| |
| external function f_dec_AnalyticsData(in octetstring stream, out AnalyticsData pdu) return integer |
| with { extension "prototype(backtrack) decode(JSON)" } |
| |
| |
| |
| type set AnalyticsData { |
| set of TS29520_Nnwdaf_EventsSubscription.SliceLoadLevelInformation sliceLoadLevelInfos, |
| TS29571_CommonData.SupportedFeatures supportedFeatures |
| } |
| |
| type set EventFilter { |
| TS29520_Nnwdaf_EventsSubscription.AnySlice anySlice optional, |
| set of TS29571_CommonData.Snssai snssai optional |
| } |
| |
| type enumerated EventId_enum { Load_Level_Information} |
| |
| type union EventId { |
| EventId_enum enum_val, |
| charstring other_val |
| } with { |
| variant "JSON: as value" |
| } |
| |
| |
| |
| |
| |
| |
| } with { |
| encode "JSON" |
| } |