Search in sources :

Example 1 with GetKeysRequestData

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;
}
Also used : GetKeysRequest(org.opensmartgridplatform.adapter.ws.schema.smartmetering.configuration.GetKeysRequest) GetKeysRequestData(org.opensmartgridplatform.adapter.ws.schema.smartmetering.configuration.GetKeysRequestData)

Aggregations

GetKeysRequest (org.opensmartgridplatform.adapter.ws.schema.smartmetering.configuration.GetKeysRequest)1 GetKeysRequestData (org.opensmartgridplatform.adapter.ws.schema.smartmetering.configuration.GetKeysRequestData)1