com.microsoft.bingads.v13.internal.bulk.FormatVersion Maven / Gradle / Ivy
package com.microsoft.bingads.v13.internal.bulk;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import com.microsoft.bingads.internal.functionalinterfaces.BiConsumer;
import com.microsoft.bingads.internal.functionalinterfaces.Function;
public class FormatVersion extends BulkObject{
private String value;
private static final List> MAPPINGS;
static {
List> m = new ArrayList>();
m.add(new SimpleBulkMapping(StringTable.Name,
new Function() {
@Override
public String apply(FormatVersion c) {
return c.getValue();
}
},
new BiConsumer() {
@Override
public void accept(String v, FormatVersion c) {
c.setValue(v);
}
}
));
MAPPINGS = Collections.unmodifiableList(m);
}
@Override
public void readFromRowValues(RowValues values) {
MappingHelpers.convertToEntity(values, MAPPINGS, this);
}
/**
* @return the value
*/
public String getValue() {
return value;
}
/**
* @param value the value to set
*/
public void setValue(String value) {
this.value = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy