When you create a “Thing”, the sketch that is auto-generated contains a “thingProperties.h” file which has the declarations of the properties you added to the “Thing”. Add this to your project if it's not there
look at examples, here is one https://www.arduino.cc/en/IoT-Prime/Experiment04
please fix your post. simple ask...