package com.juick.server.api.xnodeinfo2.model; import com.fasterxml.jackson.annotation.JsonView; public class Server { private String baseUrl; private String name; private String software; private String version; @JsonView(NodeInfo.XNodeInfoView.class) public String getBaseUrl() { return baseUrl; } public void setBaseUrl(String baseUrl) { this.baseUrl = baseUrl; } @JsonView({NodeInfo.NodeInfoView.class, NodeInfo.XNodeInfoView.class}) public String getName() { return name; } public void setName(String name) { this.name = name; } @JsonView(NodeInfo.XNodeInfoView.class) public String getSoftware() { return software; } public void setSoftware(String software) { this.software = software; } @JsonView({NodeInfo.NodeInfoView.class, NodeInfo.XNodeInfoView.class}) public String getVersion() { return version; } public void setVersion(String version) { this.version = version; } }