com.microsoft.bingads.v13.campaignmanagement.CriterionAdditionalFieldConverter Maven / Gradle / Ivy
package com.microsoft.bingads.v13.campaignmanagement;
import java.util.ArrayList;
import java.util.Collection;
/**
* Reserved for internal use.
*/
public class CriterionAdditionalFieldConverter {
public static Collection convertToList(String enums) {
String[] values = enums.split(" ");
Collection result = new ArrayList();
for (String value : values) {
result.add(CriterionAdditionalField.fromValue(value));
}
return result;
}
public static String convertToString(Collection enums) {
String result = "";
for (CriterionAdditionalField entity : enums) {
result += (entity.value() + " ");
}
result = result.substring(0, result.length() - 1);
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy