All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.castle.client.model.CastleUserDevice Maven / Gradle / Ivy

Go to download

Castle adds real-time monitoring of your authentication stack, instantly notifying you and your users on potential account hijacks.

There is a newer version: 2.4.3
Show newest version
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