public static enum CreateNotifyTemplateRequest.ChannelEnum extends Enum<CreateNotifyTemplateRequest.ChannelEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateNotifyTemplateRequest.ChannelEnum.Adapter |
| Enum Constant and Description |
|---|
API |
DINGTALK |
EMAIL |
LARK |
PHONE |
SLACK |
SMS |
WECOM |
| Modifier and Type | Method and Description |
|---|---|
static CreateNotifyTemplateRequest.ChannelEnum |
fromValue(String input) |
String |
getValue() |
String |
toString() |
static CreateNotifyTemplateRequest.ChannelEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateNotifyTemplateRequest.ChannelEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="email") public static final CreateNotifyTemplateRequest.ChannelEnum EMAIL
@SerializedName(value="sms") public static final CreateNotifyTemplateRequest.ChannelEnum SMS
@SerializedName(value="phone") public static final CreateNotifyTemplateRequest.ChannelEnum PHONE
@SerializedName(value="lark") public static final CreateNotifyTemplateRequest.ChannelEnum LARK
@SerializedName(value="dingtalk") public static final CreateNotifyTemplateRequest.ChannelEnum DINGTALK
@SerializedName(value="wecom") public static final CreateNotifyTemplateRequest.ChannelEnum WECOM
@SerializedName(value="slack") public static final CreateNotifyTemplateRequest.ChannelEnum SLACK
@SerializedName(value="api") public static final CreateNotifyTemplateRequest.ChannelEnum API
public static CreateNotifyTemplateRequest.ChannelEnum[] values()
for (CreateNotifyTemplateRequest.ChannelEnum c : CreateNotifyTemplateRequest.ChannelEnum.values()) System.out.println(c);
public static CreateNotifyTemplateRequest.ChannelEnum 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<CreateNotifyTemplateRequest.ChannelEnum>public static CreateNotifyTemplateRequest.ChannelEnum fromValue(String input)
Copyright © 2026. All rights reserved.