Search in sources :

Example 1 with UpdateDictionaryEntity

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;
}
Also used : UpdateDictionaryEntity(io.gravitee.rest.api.model.configuration.dictionary.UpdateDictionaryEntity)

Aggregations

UpdateDictionaryEntity (io.gravitee.rest.api.model.configuration.dictionary.UpdateDictionaryEntity)1