类 ApplicationEventOwner.Builder

java.lang.Object
com.lark.oapi.service.application.v6.model.ApplicationEventOwner.Builder
封闭类:
ApplicationEventOwner

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

    • Builder

      public Builder()
  • 方法详细资料

    • type

      应用所有者类型,可选值有:0:飞书科技(海外是另个名字企业),1:飞书合作伙伴,2:企业内成员

      示例值:0

      参数:
      type -
      返回:
    • name

      应用开发商名称,仅商店应用返回

      示例值:应用名称

      参数:
      name -
      返回:
    • helpDesk

      public ApplicationEventOwner.Builder helpDesk(String helpDesk)
      应用开发商的服务台链接,进商店应用返回。仅当应用商店配置了这种联系方式时才会返回

      示例值:

      参数:
      helpDesk -
      返回:
    • email

      public ApplicationEventOwner.Builder email(String email)
      应用开发商的邮箱,仅商店应用返回。仅当应用商店配置了这种联系方式时才会返回

      示例值:

      参数:
      email -
      返回:
    • phone

      public ApplicationEventOwner.Builder phone(String phone)
      应用开发商的手机号,进商店应用返回。仅当应用商店配置了这种联系方式时才会返回

      示例值:

      参数:
      phone -
      返回:
    • ownerId

      public ApplicationEventOwner.Builder ownerId(UserId ownerId)
      应用所有者用户ID

      示例值:ou_155184d1e73cbfb8973e5a9e698e74f2

      参数:
      ownerId -
      返回:
    • customerServiceAccount

      public ApplicationEventOwner.Builder customerServiceAccount(String customerServiceAccount)
      客服账号

      示例值:feishu@bytedance.com

      参数:
      customerServiceAccount -
      返回:
    • build

      public ApplicationEventOwner build()