Skip to content

MLAuditTrailEntry

The MLAuditTrailEntry object represents an audit trail event from a lock.

All fields except for eventIndex and type are nullable.

public class MLAuditTrailEntry implements Serializable {

    public Integer eventIndex;
    public AuditTrailEntryType type;
    public Date dateTime;
    public Integer userId;
    public MLInvalidPasscodeType invalidPasscodeType;
    public Integer counterValue;
    public Integer secondaryPasscodeIndex;
    public MLInvalidAccessType invalidAccessType;
    public MLPasscodeUnlockType passcodeUnlockType;
    public Integer unlockTime;
    public Integer firmwareVersion;
    public Date newTime;
    public Integer firmwareCounter;

    public Integer getEventIndex() {
        return eventIndex;
    }

    public AuditTrailEntryType getType() { return type; }

    @Nullable
    public Date getDateTime() { return dateTime; }

    @Nullable
    public Integer getUserId() { return userId; }

    @Nullable
    public MLInvalidPasscodeType getInvalidPasscodeType() { return invalidPasscodeType; }

    @Nullable
    public MLPasscodeUnlockType getPasscodeUnlockType() { return passcodeUnlockType; }

    @Nullable
    public Integer getUnlockTime() { return unlockTime; }

    @Nullable
    public Integer getFirmwareVersion() { return firmwareVersion; }

    @Nullable
    public MLInvalidAccessType getInvalidAccessType() {
        return invalidAccessType;
    }
    public void setInvalidAccessType(MLInvalidAccessType invalidAccessType) {
        this.invalidAccessType = invalidAccessType;
    }


    @Nullable
    public Date getNewTime() {
        return newTime;
    }

    @Nullable
    public Integer getCounterValue() {
        return counterValue;
    }

    @Nullable
    public Integer getSecondaryPasscodeIndex() {
        return secondaryPasscodeIndex;
    }

    @Nullable
    public Integer getFirmwareCounter() { return firmwareCounter; }
}