com.microsoft.bingads.v13.adinsight.AuctionInsightKpiAdditionalFieldConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft.bingads Show documentation
Show all versions of microsoft.bingads Show documentation
The Bing Ads Java SDK is a library improving developer experience when working with the Bing Ads services by providing high-level access to features such as Bulk API, OAuth Authorization and SOAP API.
package com.microsoft.bingads.v13.adinsight;
import java.util.ArrayList;
import java.util.Collection;
/**
* Reserved for internal use.
*/
public class AuctionInsightKpiAdditionalFieldConverter {
public static Collection convertToList(String enums) {
String[] values = enums.split(" ");
Collection result = new ArrayList();
for (String value : values) {
result.add(AuctionInsightKpiAdditionalField.fromValue(value));
}
return result;
}
public static String convertToString(Collection enums) {
String result = "";
for (AuctionInsightKpiAdditionalField entity : enums) {
result += (entity.value() + " ");
}
result = result.substring(0, result.length() - 1);
return result;
}
}