Public Member Functions | |
Data (stdClass $data, Api $api) | |
getID () | |
getSensorId () | |
getValue () | |
getDate () | |
getWeek () | |
getMonth () | |
getYear () | |
delete () | |
getFileLocation () | |
deleteFile () |
Data::Data | ( | stdClass $ | data, |
Api $ | api | ||
) |
Data::delete | ( | ) |
This method deletes a data point
public
Data::deleteFile | ( | ) |
This method deletes the file that is uploaded and stored under the name given in this sensor data value.
public
Data::getDate | ( | ) |
The response header will contain a location header with the location of the file.
public
Data::getID | ( | ) |
Data::getMonth | ( | ) |
Data::getValue | ( | ) |
Data::getWeek | ( | ) |
Data::getYear | ( | ) |