public static enum InboxPreview.InboxTypeEnum extends Enum<InboxPreview.InboxTypeEnum>
Modifier and Type | Class and Description |
---|---|
static class |
InboxPreview.InboxTypeEnum.Adapter |
Enum Constant and Description |
---|
HTTP_INBOX |
SMTP_INBOX |
Modifier and Type | Method and Description |
---|---|
static InboxPreview.InboxTypeEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static InboxPreview.InboxTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InboxPreview.InboxTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InboxPreview.InboxTypeEnum HTTP_INBOX
public static final InboxPreview.InboxTypeEnum SMTP_INBOX
public static InboxPreview.InboxTypeEnum[] values()
for (InboxPreview.InboxTypeEnum c : InboxPreview.InboxTypeEnum.values()) System.out.println(c);
public static InboxPreview.InboxTypeEnum 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 getValue()
public String toString()
toString
in class Enum<InboxPreview.InboxTypeEnum>
public static InboxPreview.InboxTypeEnum fromValue(String value)
Copyright © 2023. All rights reserved.