![JAR search and dependency download from the Maven repository](/logo.png)
com.evrythng.thng.resource.model.store.Operator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thng-resource-model Show documentation
Show all versions of thng-resource-model Show documentation
Models for REST resources representations.
/*
* (c) Copyright Reserved EVRYTHNG Limited 2016. All rights reserved.
* Use of this material is subject to license.
* Copying and unauthorised use of this material strictly prohibited.
*/
package com.evrythng.thng.resource.model.store;
/**
* Model representation for operator.
*/
public class Operator extends AbstractUser {
private static final long serialVersionUID = 2282241536928517609L;
private OperatorStatus operatorStatus;
private String registrationCode;
private Integer loginAttempts;
private Long authBlockedUntil;
private Boolean tfaEnabled;
public Boolean getTfaEnabled() {
return tfaEnabled;
}
public void setTfaEnabled(final Boolean tfaEnabled) {
this.tfaEnabled = tfaEnabled;
}
public OperatorStatus getOperatorStatus() {
return operatorStatus;
}
public void setOperatorStatus(final OperatorStatus operatorStatus) {
this.operatorStatus = operatorStatus;
}
public void setRegistrationCode(final String registrationCode) {
this.registrationCode = registrationCode;
}
public String getRegistrationCode() {
return registrationCode;
}
public Integer getLoginAttempts() {
return loginAttempts;
}
public void setLoginAttempts(final Integer loginAttempts) {
this.loginAttempts = loginAttempts;
}
public Long getAuthBlockedUntil() {
return authBlockedUntil;
}
public void setAuthBlockedUntil(final Long authBlockedUntil) {
this.authBlockedUntil = authBlockedUntil;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy