public static enum Contact.ContactType extends Enum<Contact.ContactType> implements BmcEnum
The type of contact, such as primary or alternate.
Enum Constant and Description |
---|
Admin |
Alternate |
Manager |
Primary |
Secondary |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static Contact.ContactType |
create(String key) |
String |
getValue() |
static Contact.ContactType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Contact.ContactType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Contact.ContactType Primary
public static final Contact.ContactType Alternate
public static final Contact.ContactType Secondary
public static final Contact.ContactType Admin
public static final Contact.ContactType Manager
public static final Contact.ContactType UnknownEnumValue
public static Contact.ContactType[] values()
for (Contact.ContactType c : Contact.ContactType.values()) System.out.println(c);
public static Contact.ContactType 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 static Contact.ContactType create(String key)
Copyright © 2016–2024. All rights reserved.