validates either the modelId or defaultModelId is provided. If neither is provided, it throws an InternalError.
Optional
validates either the modelId or defaultModelId is provided. If neither is provided, it throws an InternalError.