io.sphere.sdk.types.LocalizedEnumType Maven / Gradle / Ivy
package io.sphere.sdk.types;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.sphere.sdk.models.LocalizedEnumValue;
import java.util.List;
public class LocalizedEnumType extends FieldTypeBase {
private final List values;
@JsonCreator
private LocalizedEnumType(final List values) {
this.values = values;
}
@JsonIgnore
public static LocalizedEnumType of(final List values) {
return new LocalizedEnumType(values);
}
public List getValues() {
return values;
}
}