Package com.ironcorelabs.sdk
Class DeviceAddResult
- java.lang.Object
-
- com.ironcorelabs.sdk.DeviceAddResult
-
public final class DeviceAddResult extends java.lang.Object
Result from adding a new device
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
boolean
equals(java.lang.Object obj)
protected void
finalize()
UserId
getAccountId()
The user's given id, which uniquely identifies them inside the segment.java.util.Date
getCreated()
The date and time that the device was createdDeviceId
getDeviceId()
The id of the device that was addedPrivateKey
getDevicePrivateKey()
The private key which was generated for a particular device for the user.java.util.Date
getLastUpdated()
The date and time that the device was last updatedjava.util.Optional<DeviceName>
getName()
The name of the device that was addedlong
getSegmentId()
The user's segment idDeviceSigningKeyPair
getSigningPrivateKey()
The signing key which was generated for the deviceint
hashCode()
-
-
-
Method Detail
-
getAccountId
public final UserId getAccountId()
The user's given id, which uniquely identifies them inside the segment.
-
getSegmentId
public final long getSegmentId()
The user's segment id
-
getDevicePrivateKey
public final PrivateKey getDevicePrivateKey()
The private key which was generated for a particular device for the user. Not the user's master private key.
-
getSigningPrivateKey
public final DeviceSigningKeyPair getSigningPrivateKey()
The signing key which was generated for the device
-
getDeviceId
public final DeviceId getDeviceId()
The id of the device that was added
-
getName
public final java.util.Optional<DeviceName> getName()
The name of the device that was added
-
getCreated
public final java.util.Date getCreated()
The date and time that the device was created
-
getLastUpdated
public final java.util.Date getLastUpdated()
The date and time that the device was last updated
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
delete
public void delete()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-