public enum CdnTypeEnum extends Enum<CdnTypeEnum>
| Enum Constant and Description |
|---|
download
下载业务
|
file
大文件下载业务
|
live
直播业务
|
page
大文件下载业务
|
video
视频下载业务
|
| Modifier and Type | Method and Description |
|---|---|
static CdnTypeEnum |
getByOpenApiValue(String value) |
String |
getDesc() |
String |
getValue() |
static CdnTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CdnTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CdnTypeEnum download
public static final CdnTypeEnum video
public static final CdnTypeEnum file
public static final CdnTypeEnum page
public static final CdnTypeEnum live
public static CdnTypeEnum[] values()
for (CdnTypeEnum c : CdnTypeEnum.values()) System.out.println(c);
public static CdnTypeEnum 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 getDesc()
public String getValue()
public static CdnTypeEnum getByOpenApiValue(String value)
Copyright © 2023. All rights reserved.