log.Error("PredictionArea field shall not be present when predictionTarget is SINGLE_UE_PREDICTION")
errHandlerProblemDetails(w,"PredictionArea field shall not be present when predictionTarget is SINGLE_UE_PREDICTION in the request.",http.StatusBadRequest)
ifrequestData.PredictionArea!=nil{
log.Error("PredictionArea field shall not be present when PredictionTarget is SINGLE_UE_PREDICTION")
errHandlerProblemDetails(w,"PredictionArea field shall not be present when PredictionTarget is SINGLE_UE_PREDICTION in the request.",http.StatusBadRequest)
log.Error("Routes field shall not present when predictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION")
errHandlerProblemDetails(w,"Routes field shall not present when predictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION in the request.",http.StatusBadRequest)
log.Error("Routes field shall not present when PredictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION")
errHandlerProblemDetails(w,"Routes field shall not present when PredictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION in the request.",http.StatusBadRequest)
log.Error("PredictionArea field shall be present when predictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION")
errHandlerProblemDetails(w,"PredictionArea field shall be present when predictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION in the request.",http.StatusBadRequest)
ifrequestData.PredictionArea==nil{
log.Error("PredictionArea field shall be present when PredictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION")
errHandlerProblemDetails(w,"PredictionArea field shall be present when PredictionTarget is E2E_APPLICATION_INSTANCE_PREDICTION in the request.",http.StatusBadRequest)
return
}
log.Error("E2E_APPLICATION_INSTANCE_PREDICTION is not supported")
@@ -840,8 +840,8 @@ func predictedQosPost(w http.ResponseWriter, r *http.Request) {