odata.test.trip.pin.enums.PersonGender Maven / Gradle / Ivy
package odata.test.trip.pin.enums;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.github.davidmoten.odata.client.Enum;
public enum PersonGender implements Enum {
@JsonProperty("Male")
MALE("Male", "0"),
@JsonProperty("Female")
FEMALE("Female", "1"),
@JsonProperty("Unknown")
UNKNOWN("Unknown", "2");
private final String name;
private final String value;
private PersonGender(String name, String value) {
this.name = name;
this.value = value;
}
@Override
public String enumName() {
return name;
}
@Override
public String enumValue() {
return value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy