Enum Class QueryEnum

java.lang.Object
java.lang.Enum<QueryEnum>
cn.duskykite.open.call.path.QueryEnum
所有已实现的接口:
PathResolver, QueryPathResolver, Serializable, Comparable<QueryEnum>, Constable

public enum QueryEnum extends Enum<QueryEnum> implements QueryPathResolver
路径中的查询枚举类
  • 枚举常量详细资料

    • RECEIVE_ID_TYPE

      public static final QueryEnum RECEIVE_ID_TYPE
      消息接收者id类型 open_id/user_id/union_id/email/chat_id
    • TYPE

      public static final QueryEnum TYPE
      类型
    • USER_ID_TYPE

      public static final QueryEnum USER_ID_TYPE
      用户 ID 类型 open_id/union_id/user_id
    • DEPARTMENT_ID_TYPE

      public static final QueryEnum DEPARTMENT_ID_TYPE
      部门ID的类型 department_id/open_department_id
    • FETCH_CHILD

      public static final QueryEnum FETCH_CHILD
      是否递归返回子(资源),默认不递归。
    • PAGE_SIZE

      public static final QueryEnum PAGE_SIZE
      分页大小
    • PAGE_TOKEN

      public static final QueryEnum PAGE_TOKEN
      分页标记,第一次请求不填,表示从头开始遍历; 分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
    • DEPARTMENT_ID

      public static final QueryEnum DEPARTMENT_ID
      部门 ID
    • MEMBER_ID_TYPE

      public static final QueryEnum MEMBER_ID_TYPE
      群成员 用户 ID 类型,详情参见 用户相关的 ID 概念
  • 方法详细资料

    • values

      public static QueryEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static QueryEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值
    • queryName

      @NonNull public @NonNull String queryName()
      指定者:
      queryName 在接口中 QueryPathResolver
      返回:
      查询名