![JAR search and dependency download from the Maven repository](/logo.png)
com.evrythng.thng.resource.model.store.Account 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;
import com.evrythng.thng.resource.model.core.DurableResourceModel;
/**
* Model representation for accounts.
*/
public class Account extends DurableResourceModel {
private static final long serialVersionUID = -3583008548329971679L;
/**
* The account's name.
*/
private String name;
/**
* The account's image url.
*/
private String imageUrl;
private Boolean tfaRequired;
public String getName() {
return name;
}
public void setName(final String name) {
this.name = name;
}
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(final String imageUrl) {
this.imageUrl = imageUrl;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("Account{");
sb.append("id='").append(getId()).append("\', ");
sb.append("name='").append(name).append("\', ");
sb.append("imageUrl='").append(imageUrl).append("\'");
sb.append('}');
return sb.toString();
}
public Boolean getTfaRequired() {
return tfaRequired;
}
public void setTfaRequired(final Boolean tfaRequired) {
this.tfaRequired = tfaRequired;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy