code: @Override
      public Map<String, Object> toSource() {
          Map<String, Object> sourceMap = new HashMap<>();
          if (available != null) {
              addFieldToSource(sourceMap, "available", available);
          }
          if (boost != null) {
              addFieldToSource(sourceMap, "boost", boost);
          }
          if (createdBy != null) {
              addFieldToSource(sourceMap, "createdBy", createdBy);
          }
          if (createdTime != null) {
              addFieldToSource(sourceMap, "createdTime", createdTime);
          }
          if (description != null) {
              addFieldToSource(sourceMap, "description", description);
          }
          if (handlerName != null) {
              addFieldToSource(sourceMap, "handlerName", handlerName);
          }
          if (handlerParameter != null) {
              addFieldToSource(sourceMap, "handlerParameter", handlerParameter);
          }
          if (handlerScript != null) {
              addFieldToSource(sourceMap, "handlerScript", handlerScript);
          }
          if (name != null) {
              addFieldToSource(sourceMap, "name", name);
          }
          if (permissions != null) {
              addFieldToSource(sourceMap, "permissions", permissions);
          }
          if (sortOrder != null) {
              addFieldToSource(sourceMap, "sortOrder", sortOrder);
          }
          if (updatedBy != null) {
              addFieldToSource(sourceMap, "updatedBy", updatedBy);
          }
          if (updatedTime != null) {
              addFieldToSource(sourceMap, "updatedTime", updatedTime);
          }
          if (virtualHosts != null) {
              addFieldToSource(sourceMap, "virtualHosts", virtualHosts);
          }
          return sourceMap;
      }
docs: ======