code: private Domain createDomain(String name, Long templateId, String authorityType, boolean reverse) throws GloboDnsException {
  		Domain domain = new Domain();
  		domain.getDomainAttributes().setName(name);
  		domain.getDomainAttributes().setTemplateId(templateId);
  		domain.getDomainAttributes().setAuthorityType(authorityType);
  		
  		GloboDnsRoot<Domain> globoDnsRoot = this.post("/domains.json" + (reverse ? "?reverse=true" : ""), domain, false);
  		if (globoDnsRoot == null) {
  			throw new GloboDnsException("Invalid response");
  		}
  		return globoDnsRoot.getFirstObject();
  	}
docs: /*
  Creating features