use of com.emc.storageos.model.customconfig.CustomConfigCreateParam in project coprhd-controller by CoprHD.
the class CustomConfigUtils method createCustomConfig.
public static CustomConfigRestRep createCustomConfig(String configType, String scopeType, String scopeValue, String value) {
ScopeParam scope = new ScopeParam();
scope.setType(scopeType);
scope.setValue(scopeValue);
CustomConfigCreateParam param = new CustomConfigCreateParam();
param.setConfigType(configType);
param.setScope(scope);
param.setValue(value);
return getViprClient().customConfigs().createCustomConfig(param);
}
Aggregations