枚举 ApplicationAgreementDto.Lang
- java.lang.Object
-
- java.lang.Enum<ApplicationAgreementDto.Lang>
-
- cn.authing.sdk.java.dto.ApplicationAgreementDto.Lang
-
- 所有已实现的接口:
Serializable,Comparable<ApplicationAgreementDto.Lang>
public static enum ApplicationAgreementDto.Lang extends Enum<ApplicationAgreementDto.Lang>
此协议针对什么语言有效: - `zh-CN`: 简体中文 - `zh-TW`: 繁体中文 - `en-US`: 英文 - `ja-JP`: 日语
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetValue()static ApplicationAgreementDto.LangvalueOf(String name)返回带有指定名称的该类型的枚举常量。static ApplicationAgreementDto.Lang[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
ZH_CN
public static final ApplicationAgreementDto.Lang ZH_CN
-
EN_US
public static final ApplicationAgreementDto.Lang EN_US
-
ZH_TW
public static final ApplicationAgreementDto.Lang ZH_TW
-
JA_JP
public static final ApplicationAgreementDto.Lang JA_JP
-
-
方法详细资料
-
values
public static ApplicationAgreementDto.Lang[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (ApplicationAgreementDto.Lang c : ApplicationAgreementDto.Lang.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static ApplicationAgreementDto.Lang valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getValue
public String getValue()
-
-