public static V1PropertyList toV1PropertyList(PropertyList propertyList)
{
if (propertyList != null)
{
V1PropertyList result = new V1PropertyList();
List<V1Property> properties = WSRPUtils.transform(propertyList.getProperties(), PROPERTY);
if (properties != null)
{
result.getProperties().addAll(properties);
}
List<V1ResetProperty> resetProperties = WSRPUtils.transform(propertyList.getResetProperties(), RESETPROPERTY);
if (resetProperties != null)
{
result.getResetProperties().addAll(resetProperties);
}
List<V1Extension> extensions = WSRPUtils.transform(propertyList.getExtensions(), EXTENSION);
if (extensions != null)
{
result.getExtensions().addAll(extensions);
}
return result;
}
else