类 AclScope.Builder

java.lang.Object
com.lark.oapi.service.calendar.v4.model.AclScope.Builder
封闭类:
AclScope

public static class AclScope.Builder extends Object
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • type

      public AclScope.Builder type(String type)
      权限类型,当type为User时,值为open_id/user_id/union_id

      示例值:user

      参数:
      type -
      返回:
    • type

      权限类型,当type为User时,值为open_id/user_id/union_id

      示例值:user

      参数:
      type - AclScopeAclScopeTypeEnum
      返回:
    • userId

      public AclScope.Builder userId(String userId)
      用户ID,参见[用户相关的 ID 概念](https://open.feishu.cn/document/home/user-identity-introduction/introduction)

      示例值:ou_xxxxxx

      参数:
      userId -
      返回:
    • build

      public AclScope build()