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 2014 EVRYTHNG Ltd London / Zurich
* www.evrythng.com
*/
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;
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();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy