@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 (configParameter != null) {
            addFieldToSource(sourceMap, "configParameter", configParameter);
        }
        if (createdBy != null) {
            addFieldToSource(sourceMap, "createdBy", createdBy);
        }
        if (createdTime != null) {
            addFieldToSource(sourceMap, "createdTime", createdTime);
        }
        if (depth != null) {
            addFieldToSource(sourceMap, "depth", depth);
        }
        if (description != null) {
            addFieldToSource(sourceMap, "description", description);
        }
        if (excludedDocUrls != null) {
            addFieldToSource(sourceMap, "excludedDocUrls", excludedDocUrls);
        }
        if (excludedUrls != null) {
            addFieldToSource(sourceMap, "excludedUrls", excludedUrls);
        }
        if (includedDocUrls != null) {
            addFieldToSource(sourceMap, "includedDocUrls", includedDocUrls);
        }
        if (includedUrls != null) {
            addFieldToSource(sourceMap, "includedUrls", includedUrls);
        }
        if (intervalTime != null) {
            addFieldToSource(sourceMap, "intervalTime", intervalTime);
        }
        if (maxAccessCount != null) {
            addFieldToSource(sourceMap, "maxAccessCount", maxAccessCount);
        }
        if (name != null) {
            addFieldToSource(sourceMap, "name", name);
        }
        if (numOfThread != null) {
            addFieldToSource(sourceMap, "numOfThread", numOfThread);
        }
        if (permissions != null) {
            addFieldToSource(sourceMap, "permissions", permissions);
        }
        if (sortOrder != null) {
            addFieldToSource(sourceMap, "sortOrder", sortOrder);
        }
        if (timeToLive != null) {
            addFieldToSource(sourceMap, "timeToLive", timeToLive);
        }
        if (updatedBy != null) {
            addFieldToSource(sourceMap, "updatedBy", updatedBy);
        }
        if (updatedTime != null) {
            addFieldToSource(sourceMap, "updatedTime", updatedTime);
        }
        if (urls != null) {
            addFieldToSource(sourceMap, "urls", urls);
        }
        if (userAgent != null) {
            addFieldToSource(sourceMap, "userAgent", userAgent);
        }
        if (virtualHosts != null) {
            addFieldToSource(sourceMap, "virtualHosts", virtualHosts);
        }
        return sourceMap;
    }
@ 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 ( configParameter != null ) { addFieldToSource ( sourceMap , "configParameter" , configParameter ) ; } if ( createdBy != null ) { addFieldToSource ( sourceMap , "createdBy" , createdBy ) ; } if ( createdTime != null ) { addFieldToSource ( sourceMap , "createdTime" , createdTime ) ; } if ( depth != null ) { addFieldToSource ( sourceMap , "depth" , depth ) ; } if ( description != null ) { addFieldToSource ( sourceMap , "description" , description ) ; } if ( excludedDocUrls != null ) { addFieldToSource ( sourceMap , "excludedDocUrls" , excludedDocUrls ) ; } if ( excludedUrls != null ) { addFieldToSource ( sourceMap , "excludedUrls" , excludedUrls ) ; } if ( includedDocUrls != null ) { addFieldToSource ( sourceMap , "includedDocUrls" , includedDocUrls ) ; } if ( includedUrls != null ) { addFieldToSource ( sourceMap , "includedUrls" , includedUrls ) ; } if ( intervalTime != null ) { addFieldToSource ( sourceMap , "intervalTime" , intervalTime ) ; } if ( maxAccessCount != null ) { addFieldToSource ( sourceMap , "maxAccessCount" , maxAccessCount ) ; } if ( name != null ) { addFieldToSource ( sourceMap , "name" , name ) ; } if ( numOfThread != null ) { addFieldToSource ( sourceMap , "numOfThread" , numOfThread ) ; } if ( permissions != null ) { addFieldToSource ( sourceMap , "permissions" , permissions ) ; } if ( sortOrder != null ) { addFieldToSource ( sourceMap , "sortOrder" , sortOrder ) ; } if ( timeToLive != null ) { addFieldToSource ( sourceMap , "timeToLive" , timeToLive ) ; } if ( updatedBy != null ) { addFieldToSource ( sourceMap , "updatedBy" , updatedBy ) ; } if ( updatedTime != null ) { addFieldToSource ( sourceMap , "updatedTime" , updatedTime ) ; } if ( urls != null ) { addFieldToSource ( sourceMap , "urls" , urls ) ; } if ( userAgent != null ) { addFieldToSource ( sourceMap , "userAgent" , userAgent ) ; } if ( virtualHosts != null ) { addFieldToSource ( sourceMap , "virtualHosts" , virtualHosts ) ; } return sourceMap ; }
======