Source:
public static com.azure.search.documents.indexes.implementation.models.WordDelimiterTokenFilter map(WordDelimiterTokenFilter obj) { if (obj == null) { return null; } com.azure.search.documents.indexes.implementation.models.WordDelimiterTokenFilter wordDelimiterTokenFilter = new com.azure.search.documents.indexes.implementation.models.WordDelimiterTokenFilter(); String name = obj.getName(); wordDelimiterTokenFilter.setName(name); Boolean catenateNumbers = obj.isNumbersCatenated(); wordDelimiterTokenFilter.setCatenateNumbers(catenateNumbers); if (obj.getProtectedWords() != null) { List<String> protectedWords = new ArrayList<>(obj.getProtectedWords()); wordDelimiterTokenFilter.setProtectedWords(protectedWords); } Boolean generateNumberParts = obj.generateNumberParts(); wordDelimiterTokenFilter.setGenerateNumberParts(generateNumberParts); Boolean stemEnglishPossessive = obj.isStemEnglishPossessive(); wordDelimiterTokenFilter.setStemEnglishPossessive(stemEnglishPossessive); Boolean splitOnCaseChange = obj.isSplitOnCaseChange(); wordDelimiterTokenFilter.setSplitOnCaseChange(splitOnCaseChange); Boolean generateWordParts = obj.generateWordParts(); wordDelimiterTokenFilter.setGenerateWordParts(generateWordParts); Boolean splitOnNumerics = obj.isSplitOnNumerics(); wordDelimiterTokenFilter.setSplitOnNumerics(splitOnNumerics); Boolean preserveOriginal = obj.isPreserveOriginal(); wordDelimiterTokenFilter.setPreserveOriginal(preserveOriginal); Boolean catenateAll = obj.catenateAll(); wordDelimiterTokenFilter.setCatenateAll(catenateAll); Boolean catenateWords = obj.isWordsCatenated(); wordDelimiterTokenFilter.setCatenateWords(catenateWords); return wordDelimiterTokenFilter; }

Target:
public static com.azure.search.documents.indexes.implementation.models.WordDelimiterTokenFilter map(WordDelimiterTokenFilter obj) { if (obj == null) { return null; } com.azure.search.documents.indexes.implementation.models.WordDelimiterTokenFilter wordDelimiterTokenFilter = new com.azure.search.documents.indexes.implementation.models.WordDelimiterTokenFilter(); String name = obj.getName(); wordDelimiterTokenFilter.setName(name); Boolean catenateNumbers = obj.areNumbersCatenated(); wordDelimiterTokenFilter.setCatenateNumbers(catenateNumbers); if (obj.getProtectedWords() != null) { List<String> protectedWords = new ArrayList<>(obj.getProtectedWords()); wordDelimiterTokenFilter.setProtectedWords(protectedWords); } Boolean generateNumberParts = obj.generateNumberParts(); wordDelimiterTokenFilter.setGenerateNumberParts(generateNumberParts); Boolean stemEnglishPossessive = obj.isStemEnglishPossessive(); wordDelimiterTokenFilter.setStemEnglishPossessive(stemEnglishPossessive); Boolean splitOnCaseChange = obj.splitOnCaseChange(); wordDelimiterTokenFilter.setSplitOnCaseChange(splitOnCaseChange); Boolean generateWordParts = obj.generateWordParts(); wordDelimiterTokenFilter.setGenerateWordParts(generateWordParts); Boolean splitOnNumerics = obj.splitOnNumerics(); wordDelimiterTokenFilter.setSplitOnNumerics(splitOnNumerics); Boolean preserveOriginal = obj.isPreserveOriginal(); wordDelimiterTokenFilter.setPreserveOriginal(preserveOriginal); Boolean catenateAll = obj.catenateAll(); wordDelimiterTokenFilter.setCatenateAll(catenateAll); Boolean catenateWords = obj.areWordsCatenated(); wordDelimiterTokenFilter.setCatenateWords(catenateWords); return wordDelimiterTokenFilter; }