code: @Override
      public Map<String, Object> toSource() {
          Map<String, Object> sourceMap = new HashMap<>();
          if (endTime != null) {
              addFieldToSource(sourceMap, "endTime", endTime);
          }
          if (jobName != null) {
              addFieldToSource(sourceMap, "jobName", jobName);
          }
          if (jobStatus != null) {
              addFieldToSource(sourceMap, "jobStatus", jobStatus);
          }
          if (lastUpdated != null) {
              addFieldToSource(sourceMap, "lastUpdated", lastUpdated);
          }
          if (scriptData != null) {
              addFieldToSource(sourceMap, "scriptData", scriptData);
          }
          if (scriptResult != null) {
              addFieldToSource(sourceMap, "scriptResult", scriptResult);
          }
          if (scriptType != null) {
              addFieldToSource(sourceMap, "scriptType", scriptType);
          }
          if (startTime != null) {
              addFieldToSource(sourceMap, "startTime", startTime);
          }
          if (target != null) {
              addFieldToSource(sourceMap, "target", target);
          }
          return sourceMap;
      }
docs: ======