com.ubidots.Value Maven / Gradle / Ivy
package com.ubidots;
import java.util.Map;
public class Value extends ApiObject {
Value(Map raw, ApiClient api) {
super(raw, api);
}
public long getTimestamp() {
return getAttributeDouble("timestamp").longValue();
}
public double getValue() {
return getAttributeDouble("value").doubleValue();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy