SetPropertyVTQ not working with JAVA SDK
I am trying to set a value of a property using SETPROPERTYVTQ by writing code in the service of my thing. I will an API and after the response of the API i will set the value of a particular property. Here is the code I am using:
VTQ vtq = new VTQ();
vtq.setValue(String(events[4].machineCode));
vtq.setTime(new DateTime());
vtq.setQuality(QualityStatus.GOOD);
base.setPropertyVTQ(me.ReasonCode, vtq,true);
While executing the code I am getting the error as: Message :: ReferenceError: "VTQ" is not defined. - See Script Error Log for more details.

