use of org.opensmartgridplatform.adapter.ws.schema.smartmetering.configuration.GetKeysRequestData in project open-smart-grid-platform by OSGP.
the class GetKeysRequestFactory method fromParameterMap.
public static GetKeysRequest fromParameterMap(final Map<String, String> settings) {
final GetKeysRequest request = new GetKeysRequest();
final GetKeysRequestData requestData = new GetKeysRequestData();
requestData.getSecretTypes().addAll(getSecretTypesFromParameterMap(settings));
request.setDeviceIdentification(settings.get(PlatformKeys.KEY_DEVICE_IDENTIFICATION));
request.setGetKeysData(requestData);
return request;
}
Aggregations