public static enum ContactsContactResponse.Gender extends Enum<ContactsContactResponse.Gender>
| Modifier and Type | Method and Description |
|---|---|
String |
type() |
static ContactsContactResponse.Gender |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactsContactResponse.Gender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactsContactResponse.Gender MALE
public static final ContactsContactResponse.Gender FEMALE
public static ContactsContactResponse.Gender[] values()
for (ContactsContactResponse.Gender c : ContactsContactResponse.Gender.values()) System.out.println(c);
public static ContactsContactResponse.Gender valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String type()
Copyright © 2024. All rights reserved.