Newer
Older
/**
* @author ETSI / STF569
* @version $URL$
* $ID:$
* @desc This module provides the custom templates for ITS HTTP based protocols.
* @copyright ETSI Copyright Notification
* No part may be reproduced except as authorized by written permission.
* The copyright and the foregoing restriction extend to reproduction in all media.
* All rights reserved.
*/
module LibItsHttp_JsonTemplates {
// LibMec/LocationAPI
import from LocationAPI_TypesAndValues all;
import from LocationAPI_Templates all;
// LibMec/UEidentityAPI
import from UEidentityAPI_TypesAndValues all;
import from UEidentityAPI_Templates all;
// LibMec/RnisAPI
import from RnisAPI_TypesAndValues all;
import from RnisAPI_Templates all;
// LibMec/BwManagementAPI
import from BwManagementAPI_TypesAndValues all;
import from BwManagementAPI_Templates all;
// LibMec/AppEnablementAPI
import from AppEnablementAPI_TypesAndValues all;
import from AppEnablementAPI_Templates all;
// TODO Add here your custom RFCs import
// LibItsHttp
import from LibItsHttp_JsonMessageBodyTypes all;
import from LibItsHttp_JSONTypes all;
template (value) JsonBody m_json_body_raw(
in template (value) charstring p_raw
) := {
raw := p_raw
} // End of template m_json_body_raw
template (present) JsonBody mw_json_body_raw(
template (present) charstring p_raw := ?
) := {
raw := p_raw
} // End of template mw_json_body_raw
group locarion_api {
template (value) JsonBody m_body_json_user_info(
in template (value) UserInfo p_user_info
) := {
userInfo := p_user_info
} // End of template m_body_json_user_info
template (present) JsonBody mw_body_json_user_info(
template (present) UserInfo p_user_info := ?
) := {
userInfo := p_user_info
} // End of template mw_body_json_user_info
template (value) JsonBody m_body_json_user_list(
in template (value) UserList p_user_list
) := {
userList := p_user_list
} // End of template m_body_json_user_list
template (present) JsonBody mw_body_json_user_list(
template (present) UserList p_user_list := ?
) := {
userList := p_user_list
} // End of template mw_body_json_user_list
template (value) JsonBody m_body_json_zone_info(
in template (value) ZoneInfo p_zone_info
) := {
zoneInfo := p_zone_info
} // End of template m_body_json_zone_info
template (present) JsonBody mw_body_json_zone_info(
template (present) ZoneInfo p_zone_info := ?
zoneInfo := p_zone_info
} // End of template mw_body_json_zone_info
template (value) JsonBody m_body_json_access_point_list(
in template (value) AccessPointList p_access_point_list
) := {
accessPointList := p_access_point_list
} // End of template m_body_json_access_point_list
template (present) JsonBody mw_body_json_access_point_list(
template (present) AccessPointList p_access_point_list := ?
) := {
accessPointList := p_access_point_list
} // End of template mw_body_json_access_point_list
template (value) JsonBody m_body_json_user_tracking_subscription(
in template (value) UserTrackingSubscription p_user_tracking_subscription
) := {
userTrackingSubscription := p_user_tracking_subscription
} // End of template m_body_json_user_tracking_subscription
template (present) JsonBody mw_body_json_user_tracking_subscription(
template (present) UserTrackingSubscription p_user_tracking_subscription := ?
) := {
userTrackingSubscription := p_user_tracking_subscription
} // End of template mw_body_json_user_rtracking_subscription
template (value) JsonBody m_body_json_zonal_traffic_subscription(
in template (value) ZonalTrafficSubscription p_zonal_traffic_subscription
) := {
zonalTrafficSubscription := p_zonal_traffic_subscription
} // End of template m_body_json_zonal_traffic_subscription
template (present) JsonBody mw_body_json_zonal_traffic_subscription(
template (present) ZonalTrafficSubscription p_zonal_traffic_subscription := ?
) := {
zonalTrafficSubscription := p_zonal_traffic_subscription
} // End of template mw_body_json_zonal_traffic_subscription
} // End of group locarion_api
group ue_identity_api {
template (value) JsonBody m_body_json_ue_identity_tag_info(
in template (value) UeIdentityTagInfo p_ueIdentityTagInfo
) := {
ueIdentityTagInfo := p_ueIdentityTagInfo
template (present) JsonBody mw_body_json_ue_identity_tag_info(
template (present) UeIdentityTagInfo p_ueIdentityTagInfo := ?
) := {
ueIdentityTagInfo := p_ueIdentityTagInfo
template (value) JsonBody m_body_json_ue_identity_problem_details(
in template (value) UEidentityAPI_TypesAndValues.ProblemDetails p_problemDetails
) := {
} // End of template m_body_json_ue_identity_problem_details
template (present) JsonBody mw_body_json_ue_identity_problem_details(
template (present) UEidentityAPI_TypesAndValues.ProblemDetails p_problemDetails := ?
) := {
} // End of template mw_body_json_ue_identity_problem_details
template (value) JsonBody m_body_json_subscriptions_list(
in template (value) SubscriptionLinkList p_subscriptionLinkList
) := {
subscriptionLinkList := p_subscriptionLinkList
} // End of template m_body_json_subscriptions_list
template (present) JsonBody mw_body_json_subscriptions_list(
template (present) SubscriptionLinkList p_subscriptionLinkList := ?
) := {
subscriptionLinkList := p_subscriptionLinkList
} // End of template mw_body_json_subscriptions_list
template (value) JsonBody m_body_json_cell_change_subscription(
in template (value) CellChangeSubscription p_cellChangeSubscription
) := {
cellChangeSubscription := p_cellChangeSubscription
} // End of template m_body_json_cell_change_subscription
template (present) JsonBody mw_body_json_cell_change_subscription(
template (present) CellChangeSubscription p_cellChangeSubscription := ?
) := {
cellChangeSubscription := p_cellChangeSubscription
} // End of template mw_body_json_cell_change_subscription
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
template (value) JsonBody m_body_json_rab_info(
in template (value) RabInfo p_rabInfo
) := {
rabInfo := p_rabInfo
} // End of template m_body_json_rab_info
template (present) JsonBody mw_body_json_rab_info(
template (present) RabInfo p_rabInfo := ?
) := {
rabInfo := p_rabInfo
} // End of template mw_body_json_rab_info
template (value) JsonBody m_body_json_plmn_info(
in template (value) PlmnInfo p_plmnInfo
) := {
plmnInfo := p_plmnInfo
} // End of template m_body_json_plmn_info
template (present) JsonBody mw_body_json_plmn_info(
template (present) PlmnInfo p_plmnInfo := ?
) := {
plmnInfo := p_plmnInfo
} // End of template mw_body_json_plmn_info
template (value) JsonBody m_body_json_rni_problem_details(
in template (value) RnisAPI_TypesAndValues.ProblemDetails p_problemDetails
) := {
problemDetails_rni := p_problemDetails
} // End of template m_body_json_rni_problem_details
template (present) JsonBody mw_body_json_rni_problem_details(
template (present) RnisAPI_TypesAndValues.ProblemDetails p_problemDetails := ?
) := {
problemDetails_rni := p_problemDetails
} // End of template mw_body_json_rni_problem_details
group bw_management_api {
template (value) JsonBody m_body_json_bw_info(
in template (value) BwInfo p_bwInfo
) := {
bwInfo := p_bwInfo
} // End of template m_body_json_bw_info
template (present) JsonBody mw_body_json_bw_info(
template (present) BwInfo p_bwInfo := ?
) := {
bwInfo := p_bwInfo
} // End of template mw_body_json_bw_info
} // End of group bw_management_api
group svc_mgmt {
template (value) JsonBody m_body_json_transport_info_list(
in template (value) TransportInfoList p_transportInfoList
) := {
transportInfoList := p_transportInfoList
} // End of template m_body_json_transport_info_list
template (present) JsonBody mw_body_json_transport_info_list(
template (present) TransportInfoList p_transportInfoList := ?
) := {
transportInfoList := p_transportInfoList
} // End of template mw_body_json_transport_info_list
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
template (value) JsonBody m_body_json_traffic_rule(
in template (value) TrafficRule p_trafficRule
) := {
trafficRule := p_trafficRule
} // End of template m_body_json_traffic_rule
template (present) JsonBody mw_body_json_traffic_rule(
template (present) TrafficRule p_trafficRule := ?
) := {
trafficRule := p_trafficRule
} // End of template mw_body_json_traffic_rule
template (value) JsonBody m_body_json_traffic_rules_list(
in template (value) TrafficRuleList p_trafficRuleList
) := {
trafficRuleList := p_trafficRuleList
} // End of template m_body_json_traffic_rules_list
template (present) JsonBody mw_body_json_traffic_rules_list(
template (present) TrafficRuleList p_trafficRuleList := ?
) := {
trafficRuleList := p_trafficRuleList
} // End of template mw_body_json_traffic_rules_list
template (value) JsonBody m_body_json_app_enablement_problem_details(
in template (value) AppEnablementAPI_TypesAndValues.ProblemDetails p_problemDetails
) := {
problemDetails_svc_mgmt := p_problemDetails
} // End of template m_body_json_app_enablement_problem_details
template (present) JsonBody mw_body_json_app_enablement_problem_details(
template (present) AppEnablementAPI_TypesAndValues.ProblemDetails p_problemDetails := ?
) := {
problemDetails_svc_mgmt := p_problemDetails
} // End of template mw_body_json_app_enablement_problem_details