code: public static Client from(CompositeData cd) {
          Client instance = null;
          if (cd.containsKey("id")) {
              String id = (String) cd.get("id");
              instance = new Client(id, (Long) cd.get("creationTime"), null);
              instance.setAttribute(PERMISSIONS, cd.get(PERMISSIONS));
          }
          if (cd.containsKey("attributes")) {
              AttributeStore attrs = (AttributeStore) cd.get("attributes");
              instance.setAttributes(attrs);
          }
          return instance;
      }
docs: Allows for reconstruction via CompositeData.
  
  @param cd
  composite data
  @return Client class instance