Back to project page android-sdk.
The source code is released under:
MIT License
If you think the Android project android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.relayr.model; // w w w . j a va 2s.co m import java.io.Serializable; import java.util.Date; /** * A bookmark is used to favorite a Public Device. When a Public Device is bookmarked, it will show * up when you query for bookmarked devices, allowing you to keep track of other users' Public * Devices. */ public class Bookmark implements Serializable { /** Auto generated uid */ private static final long serialVersionUID = 1L; private final String userId; private final String deviceId; private final Date createdAt; public Bookmark(String userId, String deviceId, Date createdAt) { this.userId = userId; this.deviceId = deviceId; this.createdAt = createdAt; } public String getUserId() { return userId; } public String getDeviceId() { return deviceId; } public Date getCreatedAt() { return createdAt; } @Override public String toString() { return "Bookmark{" + "userId='" + userId + '\'' + ", deviceId='" + deviceId + '\'' + ", createdAt=" + createdAt + '}'; } }