use of io.gravitee.rest.api.model.configuration.dictionary.UpdateDictionaryEntity in project gravitee-management-rest-api by gravitee-io.
the class DictionaryRefresher method convert.
private UpdateDictionaryEntity convert(DictionaryEntity dictionaryEntity) {
UpdateDictionaryEntity dictionary = new UpdateDictionaryEntity();
dictionary.setName(dictionaryEntity.getName());
dictionary.setDescription(dictionaryEntity.getDescription());
dictionary.setType(dictionaryEntity.getType());
dictionary.setProperties(dictionaryEntity.getProperties());
dictionary.setProvider(dictionaryEntity.getProvider());
dictionary.setTrigger(dictionaryEntity.getTrigger());
return dictionary;
}
Aggregations