127 lines
2.6 KiB
Java
127 lines
2.6 KiB
Java
package app.fedilab.fedilabtube.client.entities;
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
|
public class Instance {
|
|
|
|
private String uri;
|
|
private String title;
|
|
private String description;
|
|
private String email;
|
|
private String version;
|
|
private boolean registration;
|
|
private boolean approval_required;
|
|
private Account contactAccount;
|
|
private int userCount;
|
|
private int statusCount;
|
|
private int domainCount;
|
|
private String thumbnail;
|
|
|
|
private HashMap<String, Integer> poll_limits;
|
|
|
|
public String getUri() {
|
|
return uri;
|
|
}
|
|
|
|
public void setUri(String uri) {
|
|
this.uri = uri;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
public String getEmail() {
|
|
return email;
|
|
}
|
|
|
|
public void setEmail(String email) {
|
|
this.email = email;
|
|
}
|
|
|
|
public String getVersion() {
|
|
return version;
|
|
}
|
|
|
|
public void setVersion(String version) {
|
|
this.version = version;
|
|
}
|
|
|
|
public HashMap<String, Integer> getPoll_limits() {
|
|
return poll_limits;
|
|
}
|
|
|
|
public void setPoll_limits(HashMap<String, Integer> poll_limits) {
|
|
this.poll_limits = poll_limits;
|
|
}
|
|
|
|
public boolean isRegistration() {
|
|
return registration;
|
|
}
|
|
|
|
public void setRegistration(boolean registration) {
|
|
this.registration = registration;
|
|
}
|
|
|
|
public boolean isApproval_required() {
|
|
return approval_required;
|
|
}
|
|
|
|
public void setApproval_required(boolean approval_required) {
|
|
this.approval_required = approval_required;
|
|
}
|
|
|
|
public Account getContactAccount() {
|
|
return contactAccount;
|
|
}
|
|
|
|
public void setContactAccount(Account contactAccount) {
|
|
this.contactAccount = contactAccount;
|
|
}
|
|
|
|
public int getUserCount() {
|
|
return userCount;
|
|
}
|
|
|
|
public void setUserCount(int userCount) {
|
|
this.userCount = userCount;
|
|
}
|
|
|
|
public int getStatusCount() {
|
|
return statusCount;
|
|
}
|
|
|
|
public void setStatusCount(int statusCount) {
|
|
this.statusCount = statusCount;
|
|
}
|
|
|
|
public int getDomainCount() {
|
|
return domainCount;
|
|
}
|
|
|
|
public void setDomainCount(int domainCount) {
|
|
this.domainCount = domainCount;
|
|
}
|
|
|
|
public String getThumbnail() {
|
|
return thumbnail;
|
|
}
|
|
|
|
public void setThumbnail(String thumbnail) {
|
|
this.thumbnail = thumbnail;
|
|
}
|
|
}
|