io.castle.client.model.CastleUserDevice Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of castle-java Show documentation
Show all versions of castle-java Show documentation
Castle adds real-time monitoring of your authentication stack, instantly notifying you and your users
on potential account hijacks.
package io.castle.client.model;
/**
* Model of the device object returned in the body of the response of a device call to the Castle Api.
*/
public class CastleUserDevice {
private String token;
private double risk;
private String createdAt;
private String lastSeenAt;
private String approvedAt;
private String escalatedAt;
private String mitigatedAt;
private CastleUserDeviceContext context;
boolean isCurrentDevice;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public double getRisk() {
return risk;
}
public void setRisk(double risk) {
this.risk = risk;
}
public String getCreatedAt() {
return createdAt;
}
public void setCreatedAt(String createdAt) {
this.createdAt = createdAt;
}
public String getLastSeenAt() {
return lastSeenAt;
}
public void setLastSeenAt(String lastSeenAt) {
this.lastSeenAt = lastSeenAt;
}
public String getApprovedAt() {
return approvedAt;
}
public void setApprovedAt(String approvedAt) {
this.approvedAt = approvedAt;
}
public String getEscalatedAt() {
return escalatedAt;
}
public void setEscalatedAt(String escalatedAt) {
this.escalatedAt = escalatedAt;
}
public String getMitigatedAt() {
return mitigatedAt;
}
public void setMitigatedAt(String mitigatedAt) {
this.mitigatedAt = mitigatedAt;
}
public CastleUserDeviceContext getContext() {
return context;
}
public void setContext(CastleUserDeviceContext context) {
this.context = context;
}
public boolean isCurrentDevice() {
return isCurrentDevice;
}
public void setCurrentDevice(boolean currentDevice) {
isCurrentDevice = currentDevice;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy