package com.example.cosmos_serversb.jsons; import com.example.cosmos_serversb.entities.Group; public class GidUriJson { private String name; private String gId; private String uri; public GidUriJson(){ } public GidUriJson(Group group){ setName(group.getName()); setgId(group.getgId()); setUri(group.getUri()); } private void setName(String name) { this.name = name; } public String getName() { return name; } private void setgId(String gId) { this.gId = gId; } public String getgId() { return gId; } private void setUri(String uri){ this.uri = uri; } public String getUri(){ return uri; } }