Newer
Older
module BwManagementAPI_Templates {
// JSON
import from JSON all;
// LibCommon
import from LibCommon_BasicTypesAndValues all;
// LibMec/BwManagementAPI
import from BwManagementAPI_TypesAndValues all;
template (value) ProblemDetails m_problem_details(
in JSON.String p_type,
in JSON.String p_title,
in UInt32 p_status,
in JSON.String p_detail,
in JSON.String p_instance
) := {
type_ := p_type,
title := p_title,
status := p_status,
detail := p_detail,
instance := p_instance
} // End of template m_problem_details
template (present) ProblemDetails mw_problem_details(
template (present) JSON.String p_type := ?,
template (present) JSON.String p_title := ?,
template (present) UInt32 p_status := ?,
template (present) JSON.String p_detail := ?,
template (present) JSON.String p_instance := ?
) := {
type_ := p_type,
title := p_title,
status := p_status,
detail := p_detail,
instance := p_instance
} // End of template mw_problem_details
template (value) BwInfo m_bw_info(
in AppInsId p_appInsId := PX_APP_INSTANCE_ID,
in RequestType p_requestType,
in FixedBWPriority p_fixedBWPriority,
in FixedAllocation p_fixedAllocation,
in AllocationDirection p_allocationDirection
) := {
timeStamp := omit,
appInsId := p_appInsId,
requestType := p_requestType,
sessionFilter := omit,
fixedBWPriority := p_fixedBWPriority,
fixedAllocation := p_fixedAllocation,
allocationDirection := p_allocationDirection
} // End of template m_bw_info
template (present) BwInfo mw_bw_info(
template (present) AppInsId p_appInsId := ?,
template (present) RequestType p_requestType := ?,
template (present) FixedBWPriority p_fixedBWPriority := ?,
template (present) FixedAllocation p_fixedAllocation := ?,
template (present) AllocationDirection p_allocationDirection := ?
) := {
timeStamp := *,
appInsId := p_appInsId,
requestType := p_requestType,
sessionFilter := *,
fixedBWPriority := p_fixedBWPriority,
fixedAllocation := p_fixedAllocation,
allocationDirection := p_allocationDirection
} // End of template mw_bw_info
template (value) BwInfoDeltas m_bw_info_delta(
in AppInsId p_appInsId := PX_APP_INSTANCE_ID,
in RequestType p_requestType,
in template (value) SessionFilter p_sessionFilter,
in FixedBWPriority p_fixedBWPriority,
in FixedAllocation p_fixedAllocation,
in AllocationDirection p_allocationDirection
) := {
appInsId := p_appInsId,
requestType := p_requestType,
sessionFilter := p_sessionFilter,
fixedBWPriority := p_fixedBWPriority,
fixedAllocation := p_fixedAllocation,
allocationDirection := p_allocationDirection
} // End of template m_bw_info_delta
template (present) BwInfoDeltas mw_bw_info_delta(
template (present) AppInsId p_appInsId := ?,
template (present) RequestType p_requestType := ?,
template (present) SessionFilter p_sessionFilter := ?,
template (present) FixedBWPriority p_fixedBWPriority := ?,
template (present) FixedAllocation p_fixedAllocation := ?,
template (present) AllocationDirection p_allocationDirection := ?
) := {
appInsId := p_appInsId,
requestType := p_requestType,
sessionFilter := p_sessionFilter,
fixedBWPriority := p_fixedBWPriority,
fixedAllocation := p_fixedAllocation,
allocationDirection := p_allocationDirection
} // End of template mw_bw_info_delta
} // End of module BwManagementAPI_Templates