larkadmin

package
v3.4.6-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 26, 2024 License: MIT Imports: 7 Imported by: 6

Documentation

Index

Constants

View Source
const (
	DepartmentIdTypeDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	DepartmentIdTypeListAdminUserStatDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeListAdminUserStatOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeListAuditInfoUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeListAuditInfoUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeListAuditInfoOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	OperatorTypeUser = "user" // 以user_id来识别用户
	OperatorTypeBot  = "bot"  // [已废弃] 以bot_id来识别用户
)
View Source
const (
	UserTypeAll          = 0 // 互联网上的任何人
	UserTypeNormalUser   = 1 // 组织内成员
	UserTypeExternalUser = 2 // 组织外成员

)
View Source
const (
	GrantTypeManual   = 0 // 手动选择有效期
	GrantTypeJoinTime = 1 // 匹配系统入职时间

)
View Source
const (
	UserIdTypeCreateBadgeGrantOpenId  = "open_id"  // 用户的open_id
	UserIdTypeCreateBadgeGrantUnionId = "union_id" // 用户的union_id
	UserIdTypeCreateBadgeGrantUserId  = "user_id"  // 用户的user_id
)
View Source
const (
	DepartmentIdTypeCreateBadgeGrantDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeCreateBadgeGrantOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeGetBadgeGrantOpenId  = "open_id"  // 用户的open_id
	UserIdTypeGetBadgeGrantUnionId = "union_id" // 用户的union_id
	UserIdTypeGetBadgeGrantUserId  = "user_id"  // 用户的user_id
)
View Source
const (
	DepartmentIdTypeGetBadgeGrantDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeGetBadgeGrantOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeListBadgeGrantOpenId  = "open_id"  // 用户的open_id
	UserIdTypeListBadgeGrantUnionId = "union_id" // 用户的union_id
	UserIdTypeListBadgeGrantUserId  = "user_id"  // 用户的user_id
)
View Source
const (
	DepartmentIdTypeListBadgeGrantDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeListBadgeGrantOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	GrantTypeUpdateBadgeGrantManual   = 0 // 手动选择有效期
	GrantTypeUpdateBadgeGrantJoinTime = 1 // 匹配系统入职时间

)
View Source
const (
	UserIdTypeUpdateBadgeGrantOpenId  = "open_id"  // 用户的open_id
	UserIdTypeUpdateBadgeGrantUnionId = "union_id" // 用户的union_id
	UserIdTypeUpdateBadgeGrantUserId  = "user_id"  // 用户的user_id
)
View Source
const (
	DepartmentIdTypeUpdateBadgeGrantDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeUpdateBadgeGrantOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	ImageTypeDetail = 1 // 勋章详情图
	ImageTypeShow   = 2 // 勋章挂饰图

)
View Source
const (
	UserIdTypeResetPasswordOpenId  = "open_id"  // open_id
	UserIdTypeResetPasswordUnionId = "union_id" // union_id
	UserIdTypeResetPasswordUserId  = "user_id"  // user_id
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminDeptExtContactStat added in v3.3.4

type AdminDeptExtContactStat struct {
	Date *string `json:"date,omitempty"` // 日期

	DepartmentId *string `json:"department_id,omitempty"` // 部门ID

	DepartmentName *string `json:"department_name,omitempty"` // 部门名

	HasRefContactUcnt *string `json:"has_ref_contact_ucnt,omitempty"` // 拥有外部联系人的成员数

	RefContactUcnt *string `json:"ref_contact_ucnt,omitempty"` // 外部联系人总数

	RefContactTcnt *string `json:"ref_contact_tcnt,omitempty"` // 外部联系人所属租户数
}

type AdminDeptExtContactStatBuilder added in v3.3.4

type AdminDeptExtContactStatBuilder struct {
	// contains filtered or unexported fields
}

func NewAdminDeptExtContactStatBuilder added in v3.3.4

func NewAdminDeptExtContactStatBuilder() *AdminDeptExtContactStatBuilder

func (*AdminDeptExtContactStatBuilder) Build added in v3.3.4

func (*AdminDeptExtContactStatBuilder) Date added in v3.3.4

日期

示例值:2024-08-15

func (*AdminDeptExtContactStatBuilder) DepartmentId added in v3.3.4

func (builder *AdminDeptExtContactStatBuilder) DepartmentId(departmentId string) *AdminDeptExtContactStatBuilder

部门ID

示例值:od-382e2793cfc9471f892e8a672987654c

func (*AdminDeptExtContactStatBuilder) DepartmentName added in v3.3.4

func (builder *AdminDeptExtContactStatBuilder) DepartmentName(departmentName string) *AdminDeptExtContactStatBuilder

部门名

示例值:部门A

func (*AdminDeptExtContactStatBuilder) HasRefContactUcnt added in v3.3.4

func (builder *AdminDeptExtContactStatBuilder) HasRefContactUcnt(hasRefContactUcnt string) *AdminDeptExtContactStatBuilder

拥有外部联系人的成员数

示例值:100

func (*AdminDeptExtContactStatBuilder) RefContactTcnt added in v3.3.4

func (builder *AdminDeptExtContactStatBuilder) RefContactTcnt(refContactTcnt string) *AdminDeptExtContactStatBuilder

外部联系人所属租户数

示例值:10

func (*AdminDeptExtContactStatBuilder) RefContactUcnt added in v3.3.4

func (builder *AdminDeptExtContactStatBuilder) RefContactUcnt(refContactUcnt string) *AdminDeptExtContactStatBuilder

外部联系人总数

示例值:200

type AdminDeptStat

type AdminDeptStat struct {
	Date *string `json:"date,omitempty"` // 日期

	DepartmentId *string `json:"department_id,omitempty"` // 部门的department_id 或者open_department_id

	DepartmentName *string `json:"department_name,omitempty"` // 部门名字

	DepartmentPath *string `json:"department_path,omitempty"` // 部门路径

	TotalUserNum *int `json:"total_user_num,omitempty"` // 部门总人数

	ActiveUserNum *int `json:"active_user_num,omitempty"` // 激活人数

	ActiveUserRate *string `json:"active_user_rate,omitempty"` // 激活率

	SuiteDau *int `json:"suite_dau,omitempty"` // 活跃人数

	SuiteActiveRate *string `json:"suite_active_rate,omitempty"` // 活跃率

	NewUserNum *int `json:"new_user_num,omitempty"` // 新用户数

	NewActiveNum *int `json:"new_active_num,omitempty"` // 新激活数

	ResignUserNum *int `json:"resign_user_num,omitempty"` // 离职人数

	ImDau *int `json:"im_dau,omitempty"` // 消息活跃人数

	SendMessengerUserNum *int `json:"send_messenger_user_num,omitempty"` // 发送消息人数

	SendMessengerNum *int `json:"send_messenger_num,omitempty"` // 发送消息数

	AvgSendMessengerNum *string `json:"avg_send_messenger_num,omitempty"` // 人均发送消息数

	DocsDau *int `json:"docs_dau,omitempty"` // 云文档活跃人数

	CreateDocsUserNum *int `json:"create_docs_user_num,omitempty"` // 创建文件人数

	CreateDocsNum *int `json:"create_docs_num,omitempty"` // 创建文件数

	AvgCreateDocsNum *string `json:"avg_create_docs_num,omitempty"` // 人均创建文件数

	CalDau *int `json:"cal_dau,omitempty"` // 日历活跃人数

	CreateCalUserNum *int `json:"create_cal_user_num,omitempty"` // 创建日程人数

	CreateCalNum *int `json:"create_cal_num,omitempty"` // 创建日程数

	AvgCreateCalNum *string `json:"avg_create_cal_num,omitempty"` // 人均创建日程数

	VcDau *int `json:"vc_dau,omitempty"` // 音视频会议活跃人数

	VcDuration *int `json:"vc_duration,omitempty"` // 会议时长:企业内员工参与通话与会议的总时长(分钟)

	AvgVcDuration *string `json:"avg_vc_duration,omitempty"` // 人均会议时长(分钟)

	AvgDuration *string `json:"avg_duration,omitempty"` // 人均飞书使用时长(分钟)

	TaskDau *int `json:"task_dau,omitempty"` // 任务活跃人数

	CreateTaskUserNum *int `json:"create_task_user_num,omitempty"` // 创建任务人数

	CreateTaskNum *int `json:"create_task_num,omitempty"` // 创建任务数

	AvgCreateTaskNum *string `json:"avg_create_task_num,omitempty"` // 人均创建任务数

	EmailSendCount *string `json:"email_send_count,omitempty"` // 邮件总发件量

	EmailReceiveCount *string `json:"email_receive_count,omitempty"` // 邮件总收件量

	EmailSendExtCount *string `json:"email_send_ext_count,omitempty"` // 对外发件数

	EmailReceiveExtCount *string `json:"email_receive_ext_count,omitempty"` // 来自外部收件数

	EmailSendInCount *string `json:"email_send_in_count,omitempty"` // 对内发件数

	EmailReceiveInCount *string `json:"email_receive_in_count,omitempty"` // 来自内部收件数

	SearchActiveDau *string `json:"search_active_dau,omitempty"` // 大搜搜索活跃人数

	TotalSearchCount *string `json:"total_search_count,omitempty"` // 总搜索次数

	QuickSearchCount *string `json:"quick_search_count,omitempty"` // 综搜次数

	TabSearchCount *string `json:"tab_search_count,omitempty"` // 垂搜次数

	ProductVersion *string `json:"product_version,omitempty"` // 产品版本名称
}

type AdminDeptStatBuilder

type AdminDeptStatBuilder struct {
	// contains filtered or unexported fields
}

func NewAdminDeptStatBuilder

func NewAdminDeptStatBuilder() *AdminDeptStatBuilder

func (*AdminDeptStatBuilder) ActiveUserNum

func (builder *AdminDeptStatBuilder) ActiveUserNum(activeUserNum int) *AdminDeptStatBuilder

激活人数

示例值:0

func (*AdminDeptStatBuilder) ActiveUserRate

func (builder *AdminDeptStatBuilder) ActiveUserRate(activeUserRate string) *AdminDeptStatBuilder

激活率

示例值:1.00

func (*AdminDeptStatBuilder) AvgCreateCalNum

func (builder *AdminDeptStatBuilder) AvgCreateCalNum(avgCreateCalNum string) *AdminDeptStatBuilder

人均创建日程数

示例值:0.00

func (*AdminDeptStatBuilder) AvgCreateDocsNum

func (builder *AdminDeptStatBuilder) AvgCreateDocsNum(avgCreateDocsNum string) *AdminDeptStatBuilder

人均创建文件数

示例值:0.00

func (*AdminDeptStatBuilder) AvgCreateTaskNum

func (builder *AdminDeptStatBuilder) AvgCreateTaskNum(avgCreateTaskNum string) *AdminDeptStatBuilder

人均创建任务数

示例值:0.00

func (*AdminDeptStatBuilder) AvgDuration

func (builder *AdminDeptStatBuilder) AvgDuration(avgDuration string) *AdminDeptStatBuilder

人均飞书使用时长(分钟)

示例值:0.00

func (*AdminDeptStatBuilder) AvgSendMessengerNum

func (builder *AdminDeptStatBuilder) AvgSendMessengerNum(avgSendMessengerNum string) *AdminDeptStatBuilder

人均发送消息数

示例值:0.00

func (*AdminDeptStatBuilder) AvgVcDuration

func (builder *AdminDeptStatBuilder) AvgVcDuration(avgVcDuration string) *AdminDeptStatBuilder

人均会议时长(分钟)

示例值:0.00

func (*AdminDeptStatBuilder) Build

func (builder *AdminDeptStatBuilder) Build() *AdminDeptStat

func (*AdminDeptStatBuilder) CalDau

func (builder *AdminDeptStatBuilder) CalDau(calDau int) *AdminDeptStatBuilder

日历活跃人数

示例值:0

func (*AdminDeptStatBuilder) CreateCalNum

func (builder *AdminDeptStatBuilder) CreateCalNum(createCalNum int) *AdminDeptStatBuilder

创建日程数

示例值:0

func (*AdminDeptStatBuilder) CreateCalUserNum

func (builder *AdminDeptStatBuilder) CreateCalUserNum(createCalUserNum int) *AdminDeptStatBuilder

创建日程人数

示例值:0

func (*AdminDeptStatBuilder) CreateDocsNum

func (builder *AdminDeptStatBuilder) CreateDocsNum(createDocsNum int) *AdminDeptStatBuilder

创建文件数

示例值:0

func (*AdminDeptStatBuilder) CreateDocsUserNum

func (builder *AdminDeptStatBuilder) CreateDocsUserNum(createDocsUserNum int) *AdminDeptStatBuilder

创建文件人数

示例值:0

func (*AdminDeptStatBuilder) CreateTaskNum

func (builder *AdminDeptStatBuilder) CreateTaskNum(createTaskNum int) *AdminDeptStatBuilder

创建任务数

示例值:0

func (*AdminDeptStatBuilder) CreateTaskUserNum

func (builder *AdminDeptStatBuilder) CreateTaskUserNum(createTaskUserNum int) *AdminDeptStatBuilder

创建任务人数

示例值:0

func (*AdminDeptStatBuilder) Date

func (builder *AdminDeptStatBuilder) Date(date string) *AdminDeptStatBuilder

日期

示例值:2020-02-15

func (*AdminDeptStatBuilder) DepartmentId

func (builder *AdminDeptStatBuilder) DepartmentId(departmentId string) *AdminDeptStatBuilder

部门的department_id 或者open_department_id

示例值:od-382e2793cfc9471f892e8a672987654c

func (*AdminDeptStatBuilder) DepartmentName

func (builder *AdminDeptStatBuilder) DepartmentName(departmentName string) *AdminDeptStatBuilder

部门名字

示例值:subtestkkk

func (*AdminDeptStatBuilder) DepartmentPath

func (builder *AdminDeptStatBuilder) DepartmentPath(departmentPath string) *AdminDeptStatBuilder

部门路径

示例值:testkkk/subtestkkk

func (*AdminDeptStatBuilder) DocsDau

func (builder *AdminDeptStatBuilder) DocsDau(docsDau int) *AdminDeptStatBuilder

云文档活跃人数

示例值:0

func (*AdminDeptStatBuilder) EmailReceiveCount added in v3.0.24

func (builder *AdminDeptStatBuilder) EmailReceiveCount(emailReceiveCount string) *AdminDeptStatBuilder

邮件总收件量

示例值:3

func (*AdminDeptStatBuilder) EmailReceiveExtCount added in v3.0.24

func (builder *AdminDeptStatBuilder) EmailReceiveExtCount(emailReceiveExtCount string) *AdminDeptStatBuilder

来自外部收件数

示例值:5

func (*AdminDeptStatBuilder) EmailReceiveInCount added in v3.0.24

func (builder *AdminDeptStatBuilder) EmailReceiveInCount(emailReceiveInCount string) *AdminDeptStatBuilder

来自内部收件数

示例值:7

func (*AdminDeptStatBuilder) EmailSendCount added in v3.0.24

func (builder *AdminDeptStatBuilder) EmailSendCount(emailSendCount string) *AdminDeptStatBuilder

邮件总发件量

示例值:2

func (*AdminDeptStatBuilder) EmailSendExtCount added in v3.0.24

func (builder *AdminDeptStatBuilder) EmailSendExtCount(emailSendExtCount string) *AdminDeptStatBuilder

对外发件数

示例值:4

func (*AdminDeptStatBuilder) EmailSendInCount added in v3.0.24

func (builder *AdminDeptStatBuilder) EmailSendInCount(emailSendInCount string) *AdminDeptStatBuilder

对内发件数

示例值:6

func (*AdminDeptStatBuilder) ImDau

func (builder *AdminDeptStatBuilder) ImDau(imDau int) *AdminDeptStatBuilder

消息活跃人数

示例值:0

func (*AdminDeptStatBuilder) NewActiveNum

func (builder *AdminDeptStatBuilder) NewActiveNum(newActiveNum int) *AdminDeptStatBuilder

新激活数

示例值:0

func (*AdminDeptStatBuilder) NewUserNum

func (builder *AdminDeptStatBuilder) NewUserNum(newUserNum int) *AdminDeptStatBuilder

新用户数

示例值:0

func (*AdminDeptStatBuilder) ProductVersion added in v3.4.5

func (builder *AdminDeptStatBuilder) ProductVersion(productVersion string) *AdminDeptStatBuilder

产品版本名称

示例值:全部产品版本

func (*AdminDeptStatBuilder) QuickSearchCount added in v3.2.7

func (builder *AdminDeptStatBuilder) QuickSearchCount(quickSearchCount string) *AdminDeptStatBuilder

综搜次数

示例值:7

func (*AdminDeptStatBuilder) ResignUserNum

func (builder *AdminDeptStatBuilder) ResignUserNum(resignUserNum int) *AdminDeptStatBuilder

离职人数

示例值:0

func (*AdminDeptStatBuilder) SearchActiveDau added in v3.2.7

func (builder *AdminDeptStatBuilder) SearchActiveDau(searchActiveDau string) *AdminDeptStatBuilder

大搜搜索活跃人数

示例值:7

func (*AdminDeptStatBuilder) SendMessengerNum

func (builder *AdminDeptStatBuilder) SendMessengerNum(sendMessengerNum int) *AdminDeptStatBuilder

发送消息数

示例值:0

func (*AdminDeptStatBuilder) SendMessengerUserNum

func (builder *AdminDeptStatBuilder) SendMessengerUserNum(sendMessengerUserNum int) *AdminDeptStatBuilder

发送消息人数

示例值:0

func (*AdminDeptStatBuilder) SuiteActiveRate

func (builder *AdminDeptStatBuilder) SuiteActiveRate(suiteActiveRate string) *AdminDeptStatBuilder

活跃率

示例值:0.00

func (*AdminDeptStatBuilder) SuiteDau

func (builder *AdminDeptStatBuilder) SuiteDau(suiteDau int) *AdminDeptStatBuilder

活跃人数

示例值:0

func (*AdminDeptStatBuilder) TabSearchCount added in v3.2.7

func (builder *AdminDeptStatBuilder) TabSearchCount(tabSearchCount string) *AdminDeptStatBuilder

垂搜次数

示例值:7

func (*AdminDeptStatBuilder) TaskDau

func (builder *AdminDeptStatBuilder) TaskDau(taskDau int) *AdminDeptStatBuilder

任务活跃人数

示例值:0

func (*AdminDeptStatBuilder) TotalSearchCount added in v3.2.7

func (builder *AdminDeptStatBuilder) TotalSearchCount(totalSearchCount string) *AdminDeptStatBuilder

总搜索次数

示例值:7

func (*AdminDeptStatBuilder) TotalUserNum

func (builder *AdminDeptStatBuilder) TotalUserNum(totalUserNum int) *AdminDeptStatBuilder

部门总人数

示例值:2

func (*AdminDeptStatBuilder) VcDau

func (builder *AdminDeptStatBuilder) VcDau(vcDau int) *AdminDeptStatBuilder

音视频会议活跃人数

示例值:0

func (*AdminDeptStatBuilder) VcDuration

func (builder *AdminDeptStatBuilder) VcDuration(vcDuration int) *AdminDeptStatBuilder

会议时长:企业内员工参与通话与会议的总时长(分钟)

示例值:0

type AdminUserExtContactStat added in v3.3.4

type AdminUserExtContactStat struct {
	Date *string `json:"date,omitempty"` // 日期

	UserId *string `json:"user_id,omitempty"` // 用户ID

	UserName *string `json:"user_name,omitempty"` // 成员姓名

	DepartmentName *string `json:"department_name,omitempty"` // 部门名

	RefContactUcnt *string `json:"ref_contact_ucnt,omitempty"` // 外部联系人数量

	RefContactTcnt *string `json:"ref_contact_tcnt,omitempty"` // 外部联系人所属企业数量
}

type AdminUserExtContactStatBuilder added in v3.3.4

type AdminUserExtContactStatBuilder struct {
	// contains filtered or unexported fields
}

func NewAdminUserExtContactStatBuilder added in v3.3.4

func NewAdminUserExtContactStatBuilder() *AdminUserExtContactStatBuilder

func (*AdminUserExtContactStatBuilder) Build added in v3.3.4

func (*AdminUserExtContactStatBuilder) Date added in v3.3.4

日期

示例值:2024-08-15

func (*AdminUserExtContactStatBuilder) DepartmentName added in v3.3.4

func (builder *AdminUserExtContactStatBuilder) DepartmentName(departmentName string) *AdminUserExtContactStatBuilder

部门名

示例值:部门A

func (*AdminUserExtContactStatBuilder) RefContactTcnt added in v3.3.4

func (builder *AdminUserExtContactStatBuilder) RefContactTcnt(refContactTcnt string) *AdminUserExtContactStatBuilder

外部联系人所属企业数量

示例值:10

func (*AdminUserExtContactStatBuilder) RefContactUcnt added in v3.3.4

func (builder *AdminUserExtContactStatBuilder) RefContactUcnt(refContactUcnt string) *AdminUserExtContactStatBuilder

外部联系人数量

示例值:200

func (*AdminUserExtContactStatBuilder) UserId added in v3.3.4

用户ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*AdminUserExtContactStatBuilder) UserName added in v3.3.4

成员姓名

示例值:路人甲A

type AdminUserStat

type AdminUserStat struct {
	Date *string `json:"date,omitempty"` // 日期

	UserId *string `json:"user_id,omitempty"` // 用户ID

	UserName *string `json:"user_name,omitempty"` // 用户名

	DepartmentName *string `json:"department_name,omitempty"` // 部门名

	DepartmentPath *string `json:"department_path,omitempty"` // 部门路径

	CreateTime *string `json:"create_time,omitempty"` // 账号创建时间

	UserActiveFlag *int `json:"user_active_flag,omitempty"` // 用户激活状态

	RegisterTime *string `json:"register_time,omitempty"` // 激活时间

	SuiteActiveFlag *int `json:"suite_active_flag,omitempty"` // 用户活跃状态,用户在飞书套件任意应用登陆,即为活跃。包括飞书即时消息,文档,日历,会议,开放平台等

	LastActiveTime *string `json:"last_active_time,omitempty"` // 最近活跃时间

	ImActiveFlag *int `json:"im_active_flag,omitempty"` // 用户消息活跃状态,发生过如下事件,则认为该用户消息活跃:;发送消息、回复消息、reaction、转发消息、阅读消息、查看会话、发送表情消息等

	SendMessengerNum *int `json:"send_messenger_num,omitempty"` // 发送消息数

	DocsActiveFlag *int `json:"docs_active_flag,omitempty"` // 用户云文档活跃状态,"发生过如下事件,则认为该用户云文档活跃: ;事件1:文档/文件打开;事件2:进入docs相关页面:如文档详情页,space的各个页面"

	CreateDocsNum *int `json:"create_docs_num,omitempty"` // 创建文件数

	CalActiveFlag *int `json:"cal_active_flag,omitempty"` // 用户日历活跃状态,发生过如下事件,则认为用户日历活跃,包含进入日历、创建日程、收到日程邀请等

	CreateCalNum *int `json:"create_cal_num,omitempty"` // 创建日程数

	VcActiveFlag *int `json:"vc_active_flag,omitempty"` // 用户音视频会议活跃状态,用户进入会中状态(不包含妙计和直播)即为活跃

	VcDuration *int `json:"vc_duration,omitempty"` // 会议时长(分钟)

	ActiveOs *string `json:"active_os,omitempty"` // 活跃设备

	CreateTaskNum *int `json:"create_task_num,omitempty"` // 创建任务数

	VcNum *int `json:"vc_num,omitempty"` // 会议数

	AppPackageType *string `json:"app_package_type,omitempty"` // 飞书的应用类型名称

	OsName *string `json:"os_name,omitempty"` // 操作系统名称

	EmailSendCount *string `json:"email_send_count,omitempty"` // 邮件总发件量

	EmailReceiveCount *string `json:"email_receive_count,omitempty"` // 邮件总收件量

	EmailSendExtCount *string `json:"email_send_ext_count,omitempty"` // 对外发件数

	EmailReceiveExtCount *string `json:"email_receive_ext_count,omitempty"` // 来自外部收件数

	EmailSendInCount *string `json:"email_send_in_count,omitempty"` // 对内发件数

	EmailReceiveInCount *string `json:"email_receive_in_count,omitempty"` // 来自内部收件数

	SearchActiveFlag *int `json:"search_active_flag,omitempty"` // 是否使用了大搜

	TotalSearchCount *string `json:"total_search_count,omitempty"` // 总搜索次数

	QuickSearchCount *string `json:"quick_search_count,omitempty"` // 综搜次数

	TabSearchCount *string `json:"tab_search_count,omitempty"` // 垂搜次数
}

type AdminUserStatBuilder

type AdminUserStatBuilder struct {
	// contains filtered or unexported fields
}

func NewAdminUserStatBuilder

func NewAdminUserStatBuilder() *AdminUserStatBuilder

func (*AdminUserStatBuilder) ActiveOs

func (builder *AdminUserStatBuilder) ActiveOs(activeOs string) *AdminUserStatBuilder

活跃设备

示例值:'ios 14.2,-','ios 14.2,feishu 3.40.0-alpha'

func (*AdminUserStatBuilder) AppPackageType added in v3.0.1

func (builder *AdminUserStatBuilder) AppPackageType(appPackageType string) *AdminUserStatBuilder

飞书的应用类型名称

示例值:Feishu,Lark

func (*AdminUserStatBuilder) Build

func (builder *AdminUserStatBuilder) Build() *AdminUserStat

func (*AdminUserStatBuilder) CalActiveFlag

func (builder *AdminUserStatBuilder) CalActiveFlag(calActiveFlag int) *AdminUserStatBuilder

用户日历活跃状态,发生过如下事件,则认为用户日历活跃,包含进入日历、创建日程、收到日程邀请等

示例值:1

func (*AdminUserStatBuilder) CreateCalNum

func (builder *AdminUserStatBuilder) CreateCalNum(createCalNum int) *AdminUserStatBuilder

创建日程数

示例值:0

func (*AdminUserStatBuilder) CreateDocsNum

func (builder *AdminUserStatBuilder) CreateDocsNum(createDocsNum int) *AdminUserStatBuilder

创建文件数

示例值:1

func (*AdminUserStatBuilder) CreateTaskNum

func (builder *AdminUserStatBuilder) CreateTaskNum(createTaskNum int) *AdminUserStatBuilder

创建任务数

示例值:0

func (*AdminUserStatBuilder) CreateTime

func (builder *AdminUserStatBuilder) CreateTime(createTime string) *AdminUserStatBuilder

账号创建时间

示例值:2020-09-04 11:17:55

func (*AdminUserStatBuilder) Date

func (builder *AdminUserStatBuilder) Date(date string) *AdminUserStatBuilder

日期

示例值:2020-02-15

func (*AdminUserStatBuilder) DepartmentName

func (builder *AdminUserStatBuilder) DepartmentName(departmentName string) *AdminUserStatBuilder

部门名

示例值:testcqlbfaaasdasdasd

func (*AdminUserStatBuilder) DepartmentPath

func (builder *AdminUserStatBuilder) DepartmentPath(departmentPath string) *AdminUserStatBuilder

部门路径

示例值:testkkk/testcqlbfaaasdasdasd

func (*AdminUserStatBuilder) DocsActiveFlag

func (builder *AdminUserStatBuilder) DocsActiveFlag(docsActiveFlag int) *AdminUserStatBuilder

用户云文档活跃状态,"发生过如下事件,则认为该用户云文档活跃: ;事件1:文档/文件打开;事件2:进入docs相关页面:如文档详情页,space的各个页面"

示例值:1

func (*AdminUserStatBuilder) EmailReceiveCount added in v3.0.24

func (builder *AdminUserStatBuilder) EmailReceiveCount(emailReceiveCount string) *AdminUserStatBuilder

邮件总收件量

示例值:3

func (*AdminUserStatBuilder) EmailReceiveExtCount added in v3.0.24

func (builder *AdminUserStatBuilder) EmailReceiveExtCount(emailReceiveExtCount string) *AdminUserStatBuilder

来自外部收件数

示例值:5

func (*AdminUserStatBuilder) EmailReceiveInCount added in v3.0.24

func (builder *AdminUserStatBuilder) EmailReceiveInCount(emailReceiveInCount string) *AdminUserStatBuilder

来自内部收件数

示例值:7

func (*AdminUserStatBuilder) EmailSendCount added in v3.0.24

func (builder *AdminUserStatBuilder) EmailSendCount(emailSendCount string) *AdminUserStatBuilder

邮件总发件量

示例值:2

func (*AdminUserStatBuilder) EmailSendExtCount added in v3.0.24

func (builder *AdminUserStatBuilder) EmailSendExtCount(emailSendExtCount string) *AdminUserStatBuilder

对外发件数

示例值:4

func (*AdminUserStatBuilder) EmailSendInCount added in v3.0.24

func (builder *AdminUserStatBuilder) EmailSendInCount(emailSendInCount string) *AdminUserStatBuilder

对内发件数

示例值:6

func (*AdminUserStatBuilder) ImActiveFlag

func (builder *AdminUserStatBuilder) ImActiveFlag(imActiveFlag int) *AdminUserStatBuilder

用户消息活跃状态,发生过如下事件,则认为该用户消息活跃:;发送消息、回复消息、reaction、转发消息、阅读消息、查看会话、发送表情消息等

示例值:1

func (*AdminUserStatBuilder) LastActiveTime

func (builder *AdminUserStatBuilder) LastActiveTime(lastActiveTime string) *AdminUserStatBuilder

最近活跃时间

示例值:2020-12-21 22:21:28

func (*AdminUserStatBuilder) OsName added in v3.0.1

func (builder *AdminUserStatBuilder) OsName(osName string) *AdminUserStatBuilder

操作系统名称

示例值:iOS,Andorid,Windows

func (*AdminUserStatBuilder) QuickSearchCount added in v3.2.7

func (builder *AdminUserStatBuilder) QuickSearchCount(quickSearchCount string) *AdminUserStatBuilder

综搜次数

示例值:7

func (*AdminUserStatBuilder) RegisterTime

func (builder *AdminUserStatBuilder) RegisterTime(registerTime string) *AdminUserStatBuilder

激活时间

示例值:2020-09-04 11:18:32

func (*AdminUserStatBuilder) SearchActiveFlag added in v3.2.7

func (builder *AdminUserStatBuilder) SearchActiveFlag(searchActiveFlag int) *AdminUserStatBuilder

是否使用了大搜

示例值:1

func (*AdminUserStatBuilder) SendMessengerNum

func (builder *AdminUserStatBuilder) SendMessengerNum(sendMessengerNum int) *AdminUserStatBuilder

发送消息数

示例值:0

func (*AdminUserStatBuilder) SuiteActiveFlag

func (builder *AdminUserStatBuilder) SuiteActiveFlag(suiteActiveFlag int) *AdminUserStatBuilder

用户活跃状态,用户在飞书套件任意应用登陆,即为活跃。包括飞书即时消息,文档,日历,会议,开放平台等

示例值:1

func (*AdminUserStatBuilder) TabSearchCount added in v3.2.7

func (builder *AdminUserStatBuilder) TabSearchCount(tabSearchCount string) *AdminUserStatBuilder

垂搜次数

示例值:7

func (*AdminUserStatBuilder) TotalSearchCount added in v3.2.7

func (builder *AdminUserStatBuilder) TotalSearchCount(totalSearchCount string) *AdminUserStatBuilder

总搜索次数

示例值:7

func (*AdminUserStatBuilder) UserActiveFlag

func (builder *AdminUserStatBuilder) UserActiveFlag(userActiveFlag int) *AdminUserStatBuilder

用户激活状态

示例值:1

func (*AdminUserStatBuilder) UserId

func (builder *AdminUserStatBuilder) UserId(userId string) *AdminUserStatBuilder

用户ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*AdminUserStatBuilder) UserName

func (builder *AdminUserStatBuilder) UserName(userName string) *AdminUserStatBuilder

用户名

示例值:Zhang San

func (*AdminUserStatBuilder) VcActiveFlag

func (builder *AdminUserStatBuilder) VcActiveFlag(vcActiveFlag int) *AdminUserStatBuilder

用户音视频会议活跃状态,用户进入会中状态(不包含妙计和直播)即为活跃

示例值:1

func (*AdminUserStatBuilder) VcDuration

func (builder *AdminUserStatBuilder) VcDuration(vcDuration int) *AdminUserStatBuilder

会议时长(分钟)

示例值:0

func (*AdminUserStatBuilder) VcNum

func (builder *AdminUserStatBuilder) VcNum(vcNum int) *AdminUserStatBuilder

会议数

示例值:0

type Administrator

type Administrator struct {
	UserId *string `json:"user_id,omitempty"` //

	IsSuperAdministrator *bool `json:"is_super_administrator,omitempty"` // 用户是否是超级管理员

	IsAdministrator *bool `json:"is_administrator,omitempty"` // 用户是否是管理员
}

type AdministratorBuilder

type AdministratorBuilder struct {
	// contains filtered or unexported fields
}

func NewAdministratorBuilder

func NewAdministratorBuilder() *AdministratorBuilder

func (*AdministratorBuilder) Build

func (builder *AdministratorBuilder) Build() *Administrator

func (*AdministratorBuilder) IsAdministrator

func (builder *AdministratorBuilder) IsAdministrator(isAdministrator bool) *AdministratorBuilder

用户是否是管理员

示例值:

func (*AdministratorBuilder) IsSuperAdministrator

func (builder *AdministratorBuilder) IsSuperAdministrator(isSuperAdministrator bool) *AdministratorBuilder

用户是否是超级管理员

示例值:

func (*AdministratorBuilder) UserId

func (builder *AdministratorBuilder) UserId(userId string) *AdministratorBuilder

示例值:

type AnnualReportMapFloat added in v3.1.2

type AnnualReportMapFloat struct {
	Year *string `json:"year,omitempty"` // 年份

	Num *float64 `json:"num,omitempty"` // float64类型数据
}

type AnnualReportMapFloatBuilder added in v3.1.2

type AnnualReportMapFloatBuilder struct {
	// contains filtered or unexported fields
}

func NewAnnualReportMapFloatBuilder added in v3.1.2

func NewAnnualReportMapFloatBuilder() *AnnualReportMapFloatBuilder

func (*AnnualReportMapFloatBuilder) Build added in v3.1.2

func (*AnnualReportMapFloatBuilder) Num added in v3.1.2

float64类型数据

示例值:88.88

func (*AnnualReportMapFloatBuilder) Year added in v3.1.2

年份

示例值:2024

type AnnualReportMapInt added in v3.1.2

type AnnualReportMapInt struct {
	Year *string `json:"year,omitempty"` // 年份

	Count *string `json:"count,omitempty"` // int64类型数据
}

type AnnualReportMapIntBuilder added in v3.1.2

type AnnualReportMapIntBuilder struct {
	// contains filtered or unexported fields
}

func NewAnnualReportMapIntBuilder added in v3.1.2

func NewAnnualReportMapIntBuilder() *AnnualReportMapIntBuilder

func (*AnnualReportMapIntBuilder) Build added in v3.1.2

func (*AnnualReportMapIntBuilder) Count added in v3.1.2

int64类型数据

示例值:88

func (*AnnualReportMapIntBuilder) Year added in v3.1.2

年份

示例值:2024

type ApiAuditCommonDrawers

type ApiAuditCommonDrawers struct {
	CommonDrawInfoList []*ApiAuditDrawerInfo `json:"common_draw_info_list,omitempty"` // 扩展字段信息
}

type ApiAuditCommonDrawersBuilder

type ApiAuditCommonDrawersBuilder struct {
	// contains filtered or unexported fields
}

func NewApiAuditCommonDrawersBuilder

func NewApiAuditCommonDrawersBuilder() *ApiAuditCommonDrawersBuilder

func (*ApiAuditCommonDrawersBuilder) Build

func (*ApiAuditCommonDrawersBuilder) CommonDrawInfoList

func (builder *ApiAuditCommonDrawersBuilder) CommonDrawInfoList(commonDrawInfoList []*ApiAuditDrawerInfo) *ApiAuditCommonDrawersBuilder

扩展字段信息

示例值:

type ApiAuditDrawerInfo

type ApiAuditDrawerInfo struct {
	InfoKey *string `json:"info_key,omitempty"` // key信息

	InfoVal *string `json:"info_val,omitempty"` // val值

	KeyI18nKey *string `json:"key_i18n_key,omitempty"` // key对应的i18nkey

	ValType *string `json:"val_type,omitempty"` // val类型

	ValI18nKey *string `json:"val_i18n_key,omitempty"` // val对应的i18nkey
}

type ApiAuditDrawerInfoBuilder

type ApiAuditDrawerInfoBuilder struct {
	// contains filtered or unexported fields
}

func NewApiAuditDrawerInfoBuilder

func NewApiAuditDrawerInfoBuilder() *ApiAuditDrawerInfoBuilder

func (*ApiAuditDrawerInfoBuilder) Build

func (*ApiAuditDrawerInfoBuilder) InfoKey

func (builder *ApiAuditDrawerInfoBuilder) InfoKey(infoKey string) *ApiAuditDrawerInfoBuilder

key信息

示例值:

func (*ApiAuditDrawerInfoBuilder) InfoVal

func (builder *ApiAuditDrawerInfoBuilder) InfoVal(infoVal string) *ApiAuditDrawerInfoBuilder

val值

示例值:

func (*ApiAuditDrawerInfoBuilder) KeyI18nKey

func (builder *ApiAuditDrawerInfoBuilder) KeyI18nKey(keyI18nKey string) *ApiAuditDrawerInfoBuilder

key对应的i18nkey

示例值:

func (*ApiAuditDrawerInfoBuilder) ValI18nKey

func (builder *ApiAuditDrawerInfoBuilder) ValI18nKey(valI18nKey string) *ApiAuditDrawerInfoBuilder

val对应的i18nkey

示例值:

func (*ApiAuditDrawerInfoBuilder) ValType

func (builder *ApiAuditDrawerInfoBuilder) ValType(valType string) *ApiAuditDrawerInfoBuilder

val类型

示例值:

type AuditAndroidContext

type AuditAndroidContext struct {
	Udid *string `json:"udid,omitempty"` // UDID

	Did *string `json:"did,omitempty"` // 设备ID

	AppVer *string `json:"app_ver,omitempty"` // app的版本

	Ver *string `json:"ver,omitempty"` // SecSDK版本

	Region *string `json:"region,omitempty"` // 设备语言

	IdI *string `json:"id_i,omitempty"` // 安卓版本号

	IdR *string `json:"id_r,omitempty"` // 安卓版本

	HwBrand *string `json:"hw_brand,omitempty"` // Brand

	HwManuf *string `json:"hw_manuf,omitempty"` // 制造商

	Wifip *string `json:"wifip,omitempty"` // wifi ip

	RouteIip *string `json:"route_iip,omitempty"` // 路由IP

	RouteGip *string `json:"route_gip,omitempty"` // 路由网关IP

	EnvSu *string `json:"env_su,omitempty"` // 表示当前是否root

	EnvTz *string `json:"env_tz,omitempty"` // 手机系统时区

	EnvMl *string `json:"env_ml,omitempty"` // 手机系统语言

	Location *string `json:"location,omitempty"` // GPS经纬度

	ActiveIp *string `json:"active_ip,omitempty"` // 当前设备活跃ip

	ActiveIpDetail *string `json:"active_ip_detail,omitempty"` // 当前设备活跃ip对应网卡类型

	CellBaseStation *string `json:"cell_base_station,omitempty"` // 基站信息

	IP *string `json:"IP,omitempty"` // 公网ip
}

type AuditAndroidContextBuilder

type AuditAndroidContextBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditAndroidContextBuilder

func NewAuditAndroidContextBuilder() *AuditAndroidContextBuilder

func (*AuditAndroidContextBuilder) ActiveIp

func (builder *AuditAndroidContextBuilder) ActiveIp(activeIp string) *AuditAndroidContextBuilder

当前设备活跃ip

示例值:

func (*AuditAndroidContextBuilder) ActiveIpDetail

func (builder *AuditAndroidContextBuilder) ActiveIpDetail(activeIpDetail string) *AuditAndroidContextBuilder

当前设备活跃ip对应网卡类型

示例值:

func (*AuditAndroidContextBuilder) AppVer

app的版本

示例值:

func (*AuditAndroidContextBuilder) Build

func (*AuditAndroidContextBuilder) CellBaseStation

func (builder *AuditAndroidContextBuilder) CellBaseStation(cellBaseStation string) *AuditAndroidContextBuilder

基站信息

示例值:

func (*AuditAndroidContextBuilder) Did

设备ID

示例值:

func (*AuditAndroidContextBuilder) EnvMl

手机系统语言

示例值:

func (*AuditAndroidContextBuilder) EnvSu

表示当前是否root

示例值:

func (*AuditAndroidContextBuilder) EnvTz

手机系统时区

示例值:

func (*AuditAndroidContextBuilder) HwBrand

Brand

示例值:

func (*AuditAndroidContextBuilder) HwManuf

制造商

示例值:

func (*AuditAndroidContextBuilder) IP

公网ip

示例值:

func (*AuditAndroidContextBuilder) IdI

安卓版本号

示例值:

func (*AuditAndroidContextBuilder) IdR

安卓版本

示例值:

func (*AuditAndroidContextBuilder) Location

func (builder *AuditAndroidContextBuilder) Location(location string) *AuditAndroidContextBuilder

GPS经纬度

示例值:

func (*AuditAndroidContextBuilder) Region

设备语言

示例值:

func (*AuditAndroidContextBuilder) RouteGip

func (builder *AuditAndroidContextBuilder) RouteGip(routeGip string) *AuditAndroidContextBuilder

路由网关IP

示例值:

func (*AuditAndroidContextBuilder) RouteIip

func (builder *AuditAndroidContextBuilder) RouteIip(routeIip string) *AuditAndroidContextBuilder

路由IP

示例值:

func (*AuditAndroidContextBuilder) Udid

UDID

示例值:

func (*AuditAndroidContextBuilder) Ver

SecSDK版本

示例值:

func (*AuditAndroidContextBuilder) Wifip

wifi ip

示例值:

type AuditContext

type AuditContext struct {
	TerminalType *int `json:"terminal_type,omitempty"` // 终端类型

	IosContext *AuditIosContext `json:"ios_context,omitempty"` // ios的环境信息

	PcContext *AuditPcContext `json:"pc_context,omitempty"` // pc的环境信息

	WebContext *AuditWebContext `json:"web_context,omitempty"` // web的环境信息

	AndroidContext *AuditAndroidContext `json:"android_context,omitempty"` // android的环境信息
}

type AuditContextBuilder

type AuditContextBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditContextBuilder

func NewAuditContextBuilder() *AuditContextBuilder

func (*AuditContextBuilder) AndroidContext

func (builder *AuditContextBuilder) AndroidContext(androidContext *AuditAndroidContext) *AuditContextBuilder

android的环境信息

示例值:

func (*AuditContextBuilder) Build

func (builder *AuditContextBuilder) Build() *AuditContext

func (*AuditContextBuilder) IosContext

func (builder *AuditContextBuilder) IosContext(iosContext *AuditIosContext) *AuditContextBuilder

ios的环境信息

示例值:

func (*AuditContextBuilder) PcContext

func (builder *AuditContextBuilder) PcContext(pcContext *AuditPcContext) *AuditContextBuilder

pc的环境信息

示例值:

func (*AuditContextBuilder) TerminalType

func (builder *AuditContextBuilder) TerminalType(terminalType int) *AuditContextBuilder

终端类型

示例值:

func (*AuditContextBuilder) WebContext

func (builder *AuditContextBuilder) WebContext(webContext *AuditWebContext) *AuditContextBuilder

web的环境信息

示例值:

type AuditDetail added in v3.0.15

type AuditDetail struct {
	Mc *string `json:"mc,omitempty"` // mac地址

	DeviceModel *string `json:"device_model,omitempty"` // 设备模型

	Os *string `json:"os,omitempty"` // 操作系统

	City *string `json:"city,omitempty"` // ip属地
}

type AuditDetailBuilder added in v3.0.15

type AuditDetailBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditDetailBuilder added in v3.0.15

func NewAuditDetailBuilder() *AuditDetailBuilder

func (*AuditDetailBuilder) Build added in v3.0.15

func (builder *AuditDetailBuilder) Build() *AuditDetail

func (*AuditDetailBuilder) City added in v3.0.15

func (builder *AuditDetailBuilder) City(city string) *AuditDetailBuilder

ip属地

示例值:北京

func (*AuditDetailBuilder) DeviceModel added in v3.0.15

func (builder *AuditDetailBuilder) DeviceModel(deviceModel string) *AuditDetailBuilder

设备模型

示例值:iphone14

func (*AuditDetailBuilder) Mc added in v3.0.15

func (builder *AuditDetailBuilder) Mc(mc string) *AuditDetailBuilder

mac地址

示例值:08:00:20:0A:8C:6D

func (*AuditDetailBuilder) Os added in v3.0.15

func (builder *AuditDetailBuilder) Os(os string) *AuditDetailBuilder

操作系统

示例值:mac os

type AuditEventExtend

type AuditEventExtend struct {
	CommentType *string `json:"comment_type,omitempty"` // 评论类型

	AppDetail *string `json:"app_detail,omitempty"` // app信息

	TwoStepValidation *bool `json:"two_step_validation,omitempty"` // 是否两步验证

	LoginMethod *string `json:"login_method,omitempty"` // 登录方式

	NewPeopleNumInVideo *int `json:"new_people_num_in_video,omitempty"` // 创建新的{x}人会议/通话

	ExternalPeopleNumInVideo *int `json:"external_people_num_in_video,omitempty"` // 将{x}名外部用户加入/退出通话

	ExternalPeopleNumInChat *int `json:"external_people_num_in_chat,omitempty"` // 将{x}名外部用户加入/退出群组

	JoinGroup *int `json:"join_group,omitempty"` // 创建{x}人数的群组

	QuitGroup *int `json:"quit_group,omitempty"` // 解散{x}人数的群组

	ExternalPeopleNumInDocShare *int `json:"external_people_num_in_doc_share,omitempty"` // 分享文档给{x}名外部用户
}

type AuditEventExtendBuilder

type AuditEventExtendBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditEventExtendBuilder

func NewAuditEventExtendBuilder() *AuditEventExtendBuilder

func (*AuditEventExtendBuilder) AppDetail

func (builder *AuditEventExtendBuilder) AppDetail(appDetail string) *AuditEventExtendBuilder

app信息

示例值:

func (*AuditEventExtendBuilder) Build

func (builder *AuditEventExtendBuilder) Build() *AuditEventExtend

func (*AuditEventExtendBuilder) CommentType

func (builder *AuditEventExtendBuilder) CommentType(commentType string) *AuditEventExtendBuilder

评论类型

示例值:

func (*AuditEventExtendBuilder) ExternalPeopleNumInChat

func (builder *AuditEventExtendBuilder) ExternalPeopleNumInChat(externalPeopleNumInChat int) *AuditEventExtendBuilder

将{x}名外部用户加入/退出群组

示例值:

func (*AuditEventExtendBuilder) ExternalPeopleNumInDocShare

func (builder *AuditEventExtendBuilder) ExternalPeopleNumInDocShare(externalPeopleNumInDocShare int) *AuditEventExtendBuilder

分享文档给{x}名外部用户

示例值:

func (*AuditEventExtendBuilder) ExternalPeopleNumInVideo

func (builder *AuditEventExtendBuilder) ExternalPeopleNumInVideo(externalPeopleNumInVideo int) *AuditEventExtendBuilder

将{x}名外部用户加入/退出通话

示例值:

func (*AuditEventExtendBuilder) JoinGroup

func (builder *AuditEventExtendBuilder) JoinGroup(joinGroup int) *AuditEventExtendBuilder

创建{x}人数的群组

示例值:

func (*AuditEventExtendBuilder) LoginMethod

func (builder *AuditEventExtendBuilder) LoginMethod(loginMethod string) *AuditEventExtendBuilder

登录方式

示例值:

func (*AuditEventExtendBuilder) NewPeopleNumInVideo

func (builder *AuditEventExtendBuilder) NewPeopleNumInVideo(newPeopleNumInVideo int) *AuditEventExtendBuilder

创建新的{x}人会议/通话

示例值:

func (*AuditEventExtendBuilder) QuitGroup

func (builder *AuditEventExtendBuilder) QuitGroup(quitGroup int) *AuditEventExtendBuilder

解散{x}人数的群组

示例值:

func (*AuditEventExtendBuilder) TwoStepValidation

func (builder *AuditEventExtendBuilder) TwoStepValidation(twoStepValidation bool) *AuditEventExtendBuilder

是否两步验证

示例值:

type AuditInfo

type AuditInfo struct {
	EventId *string `json:"event_id,omitempty"` // 事件id

	UniqueId *string `json:"unique_id,omitempty"` // 唯一id

	EventName *string `json:"event_name,omitempty"` // 事件名称

	DepartmentIds []string `json:"department_ids,omitempty"` // 用户所属部门的ID列表

	EventModule *int `json:"event_module,omitempty"` // 模块

	OperatorType *int `json:"operator_type,omitempty"` // 操作人类型

	OperatorValue *string `json:"operator_value,omitempty"` // 操作人id

	Objects []*AuditObjectEntity `json:"objects,omitempty"` // 操作对象列表

	Recipients []*AuditRecipientEntity `json:"recipients,omitempty"` // 接收者对象列表

	EventTime *int `json:"event_time,omitempty"` // 事件时间

	Ip *string `json:"ip,omitempty"` // ip信息

	OperatorApp *string `json:"operator_app,omitempty"` // 第三方isvID

	AuditContext *AuditContext `json:"audit_context,omitempty"` // 环境信息

	Extend *AuditEventExtend `json:"extend,omitempty"` // 事件级别的扩展

	OperatorAppName *string `json:"operator_app_name,omitempty"` // 第三方isv名称

	CommonDrawers *ApiAuditCommonDrawers `json:"common_drawers,omitempty"` // 扩展字段信息

	AuditDetail *AuditDetail `json:"audit_detail,omitempty"` // 日志扩展信息

	OperatorTenant *string `json:"operator_tenant,omitempty"` // 操作人企业编号

	OperatorDetail *OperatorDetail `json:"operator_detail,omitempty"` // 操作人详情
}

type AuditInfoBuilder

type AuditInfoBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditInfoBuilder

func NewAuditInfoBuilder() *AuditInfoBuilder

func (*AuditInfoBuilder) AuditContext

func (builder *AuditInfoBuilder) AuditContext(auditContext *AuditContext) *AuditInfoBuilder

环境信息

示例值:

func (*AuditInfoBuilder) AuditDetail added in v3.0.15

func (builder *AuditInfoBuilder) AuditDetail(auditDetail *AuditDetail) *AuditInfoBuilder

日志扩展信息

示例值:

func (*AuditInfoBuilder) Build

func (builder *AuditInfoBuilder) Build() *AuditInfo

func (*AuditInfoBuilder) CommonDrawers

func (builder *AuditInfoBuilder) CommonDrawers(commonDrawers *ApiAuditCommonDrawers) *AuditInfoBuilder

扩展字段信息

示例值:

func (*AuditInfoBuilder) DepartmentIds

func (builder *AuditInfoBuilder) DepartmentIds(departmentIds []string) *AuditInfoBuilder

用户所属部门的ID列表

示例值:

func (*AuditInfoBuilder) EventId

func (builder *AuditInfoBuilder) EventId(eventId string) *AuditInfoBuilder

事件id

示例值:7126195947859656705

func (*AuditInfoBuilder) EventModule

func (builder *AuditInfoBuilder) EventModule(eventModule int) *AuditInfoBuilder

模块

示例值:1

func (*AuditInfoBuilder) EventName

func (builder *AuditInfoBuilder) EventName(eventName string) *AuditInfoBuilder

事件名称

示例值:space_read_doc

func (*AuditInfoBuilder) EventTime

func (builder *AuditInfoBuilder) EventTime(eventTime int) *AuditInfoBuilder

事件时间

示例值:1669046400

func (*AuditInfoBuilder) Extend

func (builder *AuditInfoBuilder) Extend(extend *AuditEventExtend) *AuditInfoBuilder

事件级别的扩展

示例值:

func (*AuditInfoBuilder) Ip

func (builder *AuditInfoBuilder) Ip(ip string) *AuditInfoBuilder

ip信息

示例值:192.168.168.1

func (*AuditInfoBuilder) Objects

func (builder *AuditInfoBuilder) Objects(objects []*AuditObjectEntity) *AuditInfoBuilder

操作对象列表

示例值:

func (*AuditInfoBuilder) OperatorApp

func (builder *AuditInfoBuilder) OperatorApp(operatorApp string) *AuditInfoBuilder

第三方isvID

示例值:example_value

func (*AuditInfoBuilder) OperatorAppName

func (builder *AuditInfoBuilder) OperatorAppName(operatorAppName string) *AuditInfoBuilder

第三方isv名称

示例值:example_value

func (*AuditInfoBuilder) OperatorDetail added in v3.4.5

func (builder *AuditInfoBuilder) OperatorDetail(operatorDetail *OperatorDetail) *AuditInfoBuilder

操作人详情

示例值:

func (*AuditInfoBuilder) OperatorTenant added in v3.2.3

func (builder *AuditInfoBuilder) OperatorTenant(operatorTenant string) *AuditInfoBuilder

操作人企业编号

示例值:F2823442

func (*AuditInfoBuilder) OperatorType

func (builder *AuditInfoBuilder) OperatorType(operatorType int) *AuditInfoBuilder

操作人类型

示例值:

func (*AuditInfoBuilder) OperatorValue

func (builder *AuditInfoBuilder) OperatorValue(operatorValue string) *AuditInfoBuilder

操作人id

示例值:4a3b8541

func (*AuditInfoBuilder) Recipients

func (builder *AuditInfoBuilder) Recipients(recipients []*AuditRecipientEntity) *AuditInfoBuilder

接收者对象列表

示例值:

func (*AuditInfoBuilder) UniqueId

func (builder *AuditInfoBuilder) UniqueId(uniqueId string) *AuditInfoBuilder

唯一id

示例值:7126195947859656705

type AuditIosContext

type AuditIosContext struct {
	Udid *string `json:"udid,omitempty"` // UDID

	Did *string `json:"did,omitempty"` // 设备ID

	AppVer *string `json:"app_ver,omitempty"` // app的版本

	Ver *string `json:"ver,omitempty"` // SecSDK版本

	Os *string `json:"os,omitempty"` // 系统类型及版本

	STZone *string `json:"STZone,omitempty"` // 系统时区

	ML *string `json:"ML,omitempty"` // 当前语言

	Sjd *string `json:"sjd,omitempty"` // 是否越狱

	Proxyip *string `json:"proxyip,omitempty"` // 代理ip

	Wifip *string `json:"wifip,omitempty"` // wifi ip

	Location *string `json:"location,omitempty"` // GPS经纬度

	ActiveIp *string `json:"active_ip,omitempty"` // 当前设备活跃ip

	ActiveIpDetail *string `json:"active_ip_detail,omitempty"` // 当前设备活跃ip对应网卡类型

	CellBaseStation *string `json:"cell_base_station,omitempty"` // 基站信息

	IP *string `json:"IP,omitempty"` // 公网ip
}

type AuditIosContextBuilder

type AuditIosContextBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditIosContextBuilder

func NewAuditIosContextBuilder() *AuditIosContextBuilder

func (*AuditIosContextBuilder) ActiveIp

func (builder *AuditIosContextBuilder) ActiveIp(activeIp string) *AuditIosContextBuilder

当前设备活跃ip

示例值:

func (*AuditIosContextBuilder) ActiveIpDetail

func (builder *AuditIosContextBuilder) ActiveIpDetail(activeIpDetail string) *AuditIosContextBuilder

当前设备活跃ip对应网卡类型

示例值:

func (*AuditIosContextBuilder) AppVer

func (builder *AuditIosContextBuilder) AppVer(appVer string) *AuditIosContextBuilder

app的版本

示例值:

func (*AuditIosContextBuilder) Build

func (builder *AuditIosContextBuilder) Build() *AuditIosContext

func (*AuditIosContextBuilder) CellBaseStation

func (builder *AuditIosContextBuilder) CellBaseStation(cellBaseStation string) *AuditIosContextBuilder

基站信息

示例值:

func (*AuditIosContextBuilder) Did

设备ID

示例值:

func (*AuditIosContextBuilder) IP

公网ip

示例值:

func (*AuditIosContextBuilder) Location

func (builder *AuditIosContextBuilder) Location(location string) *AuditIosContextBuilder

GPS经纬度

示例值:

func (*AuditIosContextBuilder) ML

当前语言

示例值:

func (*AuditIosContextBuilder) Os

系统类型及版本

示例值:

func (*AuditIosContextBuilder) Proxyip

func (builder *AuditIosContextBuilder) Proxyip(proxyip string) *AuditIosContextBuilder

代理ip

示例值:

func (*AuditIosContextBuilder) STZone

func (builder *AuditIosContextBuilder) STZone(sTZone string) *AuditIosContextBuilder

系统时区

示例值:

func (*AuditIosContextBuilder) Sjd

是否越狱

示例值:

func (*AuditIosContextBuilder) Udid

UDID

示例值:

func (*AuditIosContextBuilder) Ver

SecSDK版本

示例值:

func (*AuditIosContextBuilder) Wifip

func (builder *AuditIosContextBuilder) Wifip(wifip string) *AuditIosContextBuilder

wifi ip

示例值:

type AuditObjectDetail

type AuditObjectDetail struct {
	CloneSource *string `json:"clone_source,omitempty"` // 克隆来源

	TextDetail *string `json:"text_detail,omitempty"` // 其他文本

	FileName *string `json:"file_name,omitempty"` // 文件名称

	ThirdPartyAppID *string `json:"third_party_appID,omitempty"` // 第三方APPID

	ContainFileNum *int `json:"contain_file_num,omitempty"` // 文件或文件夹数量

	PermissionSettingType *string `json:"permission_setting_type,omitempty"` // 链接分享设置

	PermissionExternalAccessType *bool `json:"permission_external_access_Type,omitempty"` // 是否开启外部访问设置

	PermissionShareType *string `json:"permission_share_type,omitempty"` // 分享设置

	FileServiceSource *string `json:"file_service_source,omitempty"` // file上传业务来源

	OkrDownloadContent *string `json:"okr_download_content,omitempty"` // 下载OKR时的内容范围

	ContainerType *string `json:"container_type,omitempty"` // 容器类型,标识是否wiki

	ContainerId *string `json:"container_id,omitempty"` // 容器id,wiki标识字段

	CurrentPage *string `json:"current_page,omitempty"` // 截屏、录制的开始页面
}

type AuditObjectDetailBuilder

type AuditObjectDetailBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditObjectDetailBuilder

func NewAuditObjectDetailBuilder() *AuditObjectDetailBuilder

func (*AuditObjectDetailBuilder) Build

func (builder *AuditObjectDetailBuilder) Build() *AuditObjectDetail

func (*AuditObjectDetailBuilder) CloneSource

func (builder *AuditObjectDetailBuilder) CloneSource(cloneSource string) *AuditObjectDetailBuilder

克隆来源

示例值:

func (*AuditObjectDetailBuilder) ContainFileNum

func (builder *AuditObjectDetailBuilder) ContainFileNum(containFileNum int) *AuditObjectDetailBuilder

文件或文件夹数量

示例值:

func (*AuditObjectDetailBuilder) ContainerId

func (builder *AuditObjectDetailBuilder) ContainerId(containerId string) *AuditObjectDetailBuilder

容器id,wiki标识字段

示例值:

func (*AuditObjectDetailBuilder) ContainerType

func (builder *AuditObjectDetailBuilder) ContainerType(containerType string) *AuditObjectDetailBuilder

容器类型,标识是否wiki

示例值:

func (*AuditObjectDetailBuilder) CurrentPage

func (builder *AuditObjectDetailBuilder) CurrentPage(currentPage string) *AuditObjectDetailBuilder

截屏、录制的开始页面

示例值:

func (*AuditObjectDetailBuilder) FileName

func (builder *AuditObjectDetailBuilder) FileName(fileName string) *AuditObjectDetailBuilder

文件名称

示例值:

func (*AuditObjectDetailBuilder) FileServiceSource

func (builder *AuditObjectDetailBuilder) FileServiceSource(fileServiceSource string) *AuditObjectDetailBuilder

file上传业务来源

示例值:

func (*AuditObjectDetailBuilder) OkrDownloadContent

func (builder *AuditObjectDetailBuilder) OkrDownloadContent(okrDownloadContent string) *AuditObjectDetailBuilder

下载OKR时的内容范围

示例值:

func (*AuditObjectDetailBuilder) PermissionExternalAccessType

func (builder *AuditObjectDetailBuilder) PermissionExternalAccessType(permissionExternalAccessType bool) *AuditObjectDetailBuilder

是否开启外部访问设置

示例值:

func (*AuditObjectDetailBuilder) PermissionSettingType

func (builder *AuditObjectDetailBuilder) PermissionSettingType(permissionSettingType string) *AuditObjectDetailBuilder

链接分享设置

示例值:

func (*AuditObjectDetailBuilder) PermissionShareType

func (builder *AuditObjectDetailBuilder) PermissionShareType(permissionShareType string) *AuditObjectDetailBuilder

分享设置

示例值:

func (*AuditObjectDetailBuilder) TextDetail

func (builder *AuditObjectDetailBuilder) TextDetail(textDetail string) *AuditObjectDetailBuilder

其他文本

示例值:

func (*AuditObjectDetailBuilder) ThirdPartyAppID

func (builder *AuditObjectDetailBuilder) ThirdPartyAppID(thirdPartyAppID string) *AuditObjectDetailBuilder

第三方APPID

示例值:

type AuditObjectEntity

type AuditObjectEntity struct {
	ObjectType *string `json:"object_type,omitempty"` // 操作对象类型

	ObjectValue *string `json:"object_value,omitempty"` // 操作对象值,可能存在department_id、user_id等,需要进行lark_id的转换

	ObjectName *string `json:"object_name,omitempty"` // 操作对象名称,如会话名、文档名等

	ObjectOwner *string `json:"object_owner,omitempty"` // 操作对象的所有者

	ObjectDetail *AuditObjectDetail `json:"object_detail,omitempty"` // object 详情
}

type AuditObjectEntityBuilder

type AuditObjectEntityBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditObjectEntityBuilder

func NewAuditObjectEntityBuilder() *AuditObjectEntityBuilder

func (*AuditObjectEntityBuilder) Build

func (builder *AuditObjectEntityBuilder) Build() *AuditObjectEntity

func (*AuditObjectEntityBuilder) ObjectDetail

func (builder *AuditObjectEntityBuilder) ObjectDetail(objectDetail *AuditObjectDetail) *AuditObjectEntityBuilder

object 详情

示例值:

func (*AuditObjectEntityBuilder) ObjectName

func (builder *AuditObjectEntityBuilder) ObjectName(objectName string) *AuditObjectEntityBuilder

操作对象名称,如会话名、文档名等

示例值:

func (*AuditObjectEntityBuilder) ObjectOwner

func (builder *AuditObjectEntityBuilder) ObjectOwner(objectOwner string) *AuditObjectEntityBuilder

操作对象的所有者

示例值:

func (*AuditObjectEntityBuilder) ObjectType

func (builder *AuditObjectEntityBuilder) ObjectType(objectType string) *AuditObjectEntityBuilder

操作对象类型

示例值:

func (*AuditObjectEntityBuilder) ObjectValue

func (builder *AuditObjectEntityBuilder) ObjectValue(objectValue string) *AuditObjectEntityBuilder

操作对象值,可能存在department_id、user_id等,需要进行lark_id的转换

示例值:

type AuditPcContext

type AuditPcContext struct {
	Udid *string `json:"udid,omitempty"` // UDID

	Did *string `json:"did,omitempty"` // 设备ID

	AppVer *string `json:"app_ver,omitempty"` // app的版本

	Ver *string `json:"ver,omitempty"` // SecSDK版本

	Os *string `json:"os,omitempty"` // 客户端类型

	Wifip *string `json:"wifip,omitempty"` // wifi ip

	Region *string `json:"region,omitempty"` // 设备区域

	IP *string `json:"IP,omitempty"` // 公网ip
}

type AuditPcContextBuilder

type AuditPcContextBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditPcContextBuilder

func NewAuditPcContextBuilder() *AuditPcContextBuilder

func (*AuditPcContextBuilder) AppVer

func (builder *AuditPcContextBuilder) AppVer(appVer string) *AuditPcContextBuilder

app的版本

示例值:

func (*AuditPcContextBuilder) Build

func (builder *AuditPcContextBuilder) Build() *AuditPcContext

func (*AuditPcContextBuilder) Did

设备ID

示例值:

func (*AuditPcContextBuilder) IP

公网ip

示例值:

func (*AuditPcContextBuilder) Os

客户端类型

示例值:

func (*AuditPcContextBuilder) Region

func (builder *AuditPcContextBuilder) Region(region string) *AuditPcContextBuilder

设备区域

示例值:

func (*AuditPcContextBuilder) Udid

func (builder *AuditPcContextBuilder) Udid(udid string) *AuditPcContextBuilder

UDID

示例值:

func (*AuditPcContextBuilder) Ver

SecSDK版本

示例值:

func (*AuditPcContextBuilder) Wifip

func (builder *AuditPcContextBuilder) Wifip(wifip string) *AuditPcContextBuilder

wifi ip

示例值:

type AuditRecipientDetail

type AuditRecipientDetail struct {
	PermissionActionType *string `json:"permission_action_type,omitempty"` // 修改权限协作者
}

type AuditRecipientDetailBuilder

type AuditRecipientDetailBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditRecipientDetailBuilder

func NewAuditRecipientDetailBuilder() *AuditRecipientDetailBuilder

func (*AuditRecipientDetailBuilder) Build

func (*AuditRecipientDetailBuilder) PermissionActionType

func (builder *AuditRecipientDetailBuilder) PermissionActionType(permissionActionType string) *AuditRecipientDetailBuilder

修改权限协作者

示例值:

type AuditRecipientEntity

type AuditRecipientEntity struct {
	RecipientType *string `json:"recipient_type,omitempty"` // 接收者对象类型

	RecipientValue *string `json:"recipient_value,omitempty"` // 接收者对象值,可能存在department_id、user_id等,需要进行lark_id的转换

	RecipientDetail *AuditRecipientDetail `json:"recipient_detail,omitempty"` // recipient 详情
}

type AuditRecipientEntityBuilder

type AuditRecipientEntityBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditRecipientEntityBuilder

func NewAuditRecipientEntityBuilder() *AuditRecipientEntityBuilder

func (*AuditRecipientEntityBuilder) Build

func (*AuditRecipientEntityBuilder) RecipientDetail

func (builder *AuditRecipientEntityBuilder) RecipientDetail(recipientDetail *AuditRecipientDetail) *AuditRecipientEntityBuilder

recipient 详情

示例值:

func (*AuditRecipientEntityBuilder) RecipientType

func (builder *AuditRecipientEntityBuilder) RecipientType(recipientType string) *AuditRecipientEntityBuilder

接收者对象类型

示例值:

func (*AuditRecipientEntityBuilder) RecipientValue

func (builder *AuditRecipientEntityBuilder) RecipientValue(recipientValue string) *AuditRecipientEntityBuilder

接收者对象值,可能存在department_id、user_id等,需要进行lark_id的转换

示例值:

type AuditWebContext

type AuditWebContext struct {
	UserAgent *string `json:"user_agent,omitempty"` // UA信息

	IP *string `json:"IP,omitempty"` // 本机IP
}

type AuditWebContextBuilder

type AuditWebContextBuilder struct {
	// contains filtered or unexported fields
}

func NewAuditWebContextBuilder

func NewAuditWebContextBuilder() *AuditWebContextBuilder

func (*AuditWebContextBuilder) Build

func (builder *AuditWebContextBuilder) Build() *AuditWebContext

func (*AuditWebContextBuilder) IP

本机IP

示例值:

func (*AuditWebContextBuilder) UserAgent

func (builder *AuditWebContextBuilder) UserAgent(userAgent string) *AuditWebContextBuilder

UA信息

示例值:

type Badge

type Badge struct {
	Id *string `json:"id,omitempty"` // 租户内勋章的唯一标识,该值由系统随机生成。

	Name *string `json:"name,omitempty"` // 租户内唯一的勋章名称,最多30个字符。

	Explanation *string `json:"explanation,omitempty"` // 勋章的描述文案,最多100个字符。

	DetailImage *string `json:"detail_image,omitempty"` // 企业勋章的详情图Key。1.权限校验:非本租户上传的图片key,不能直接使用;2.时效校验:创建勋章,或者修改勋章图片key时,需使用1h内上传的图片key。

	ShowImage *string `json:"show_image,omitempty"` // 企业勋章的头像挂饰图Key。1.权限校验:非本租户上传的图片key,不能直接使用;2.时效校验:创建勋章,或者修改勋章图片key时,需使用1h内上传的图片key。

	I18nName *I18n `json:"i18n_name,omitempty"` // 勋章的多语言名称,同name字段限制,最多30个字符。

	I18nExplanation *I18n `json:"i18n_explanation,omitempty"` // 勋章的多语言描述文案,同explanation字段限制,最多100个字符。
}

type BadgeBuilder

type BadgeBuilder struct {
	// contains filtered or unexported fields
}

func NewBadgeBuilder

func NewBadgeBuilder() *BadgeBuilder

func (*BadgeBuilder) Build

func (builder *BadgeBuilder) Build() *Badge

func (*BadgeBuilder) DetailImage

func (builder *BadgeBuilder) DetailImage(detailImage string) *BadgeBuilder

企业勋章的详情图Key。1.权限校验:非本租户上传的图片key,不能直接使用;2.时效校验:创建勋章,或者修改勋章图片key时,需使用1h内上传的图片key。

示例值:75a1949f-d9df-4b46-bc88-dacc51e88f3j

func (*BadgeBuilder) Explanation

func (builder *BadgeBuilder) Explanation(explanation string) *BadgeBuilder

勋章的描述文案,最多100个字符。

示例值:这枚勋章为了激励员工颁发。

func (*BadgeBuilder) I18nExplanation added in v3.0.10

func (builder *BadgeBuilder) I18nExplanation(i18nExplanation *I18n) *BadgeBuilder

勋章的多语言描述文案,同explanation字段限制,最多100个字符。

示例值:{ "zh_cn": "这枚勋章为了激励员工颁发。", "en_us": "This medal is awarded to motivate employees.", "ja_jp": "このメダルは、従業員のモチベーションを高めるために授与されます。" }

func (*BadgeBuilder) I18nName added in v3.0.10

func (builder *BadgeBuilder) I18nName(i18nName *I18n) *BadgeBuilder

勋章的多语言名称,同name字段限制,最多30个字符。

示例值:{ "zh_cn": "激励勋章", "en_us": "Incentive Medal", "ja_jp": "奨励メダル" }

func (*BadgeBuilder) Id

func (builder *BadgeBuilder) Id(id string) *BadgeBuilder

租户内勋章的唯一标识,该值由系统随机生成。

示例值:m_MzfKDM

func (*BadgeBuilder) Name

func (builder *BadgeBuilder) Name(name string) *BadgeBuilder

租户内唯一的勋章名称,最多30个字符。

示例值:激励勋章

func (*BadgeBuilder) ShowImage

func (builder *BadgeBuilder) ShowImage(showImage string) *BadgeBuilder

企业勋章的头像挂饰图Key。1.权限校验:非本租户上传的图片key,不能直接使用;2.时效校验:创建勋章,或者修改勋章图片key时,需使用1h内上传的图片key。

示例值:03daa74a-159f-49e9-963e-b6c4d76103fj

type CreateBadgeGrantReq added in v3.0.1

type CreateBadgeGrantReq struct {
	Grant *Grant `body:""`
	// contains filtered or unexported fields
}

type CreateBadgeGrantReqBuilder added in v3.0.1

type CreateBadgeGrantReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateBadgeGrantReqBuilder added in v3.0.1

func NewCreateBadgeGrantReqBuilder() *CreateBadgeGrantReqBuilder

func (*CreateBadgeGrantReqBuilder) BadgeId added in v3.0.1

勋章ID

示例值:m_DjMzaK

func (*CreateBadgeGrantReqBuilder) Build added in v3.0.1

func (*CreateBadgeGrantReqBuilder) DepartmentIdType added in v3.0.1

func (builder *CreateBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *CreateBadgeGrantReqBuilder

此次调用中使用的部门ID的类型。

示例值:open_department_id

func (*CreateBadgeGrantReqBuilder) Grant added in v3.0.1

通过该接口可以为特定勋章创建一份授予名单,一枚勋章下最多可创建1000份授予名单。

func (*CreateBadgeGrantReqBuilder) UserIdType added in v3.0.1

func (builder *CreateBadgeGrantReqBuilder) UserIdType(userIdType string) *CreateBadgeGrantReqBuilder

用户 ID 类型

示例值:open_id

type CreateBadgeGrantResp added in v3.0.1

type CreateBadgeGrantResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateBadgeGrantRespData `json:"data"` // 业务数据
}

func (*CreateBadgeGrantResp) Success added in v3.0.1

func (resp *CreateBadgeGrantResp) Success() bool

type CreateBadgeGrantRespData added in v3.0.1

type CreateBadgeGrantRespData struct {
	Grant *Grant `json:"grant,omitempty"` // 授予名单的信息
}

type CreateBadgeImagePathReqBodyBuilder added in v3.0.1

type CreateBadgeImagePathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateBadgeImagePathReqBodyBuilder added in v3.0.1

func NewCreateBadgeImagePathReqBodyBuilder() *CreateBadgeImagePathReqBodyBuilder

func (*CreateBadgeImagePathReqBodyBuilder) Build added in v3.0.1

func (*CreateBadgeImagePathReqBodyBuilder) ImageFilePath added in v3.0.1

func (builder *CreateBadgeImagePathReqBodyBuilder) ImageFilePath(imageFilePath string) *CreateBadgeImagePathReqBodyBuilder

勋章图片的文件,仅支持 PNG 格式,320 x 320 像素,大小不超过 1024 KB。

示例值:file binary

func (*CreateBadgeImagePathReqBodyBuilder) ImageType added in v3.0.1

图片的类型

示例值:1

type CreateBadgeImageReq added in v3.0.1

type CreateBadgeImageReq struct {
	Body *CreateBadgeImageReqBody `body:""`
	// contains filtered or unexported fields
}

type CreateBadgeImageReqBody added in v3.0.1

type CreateBadgeImageReqBody struct {
	ImageFile io.Reader `json:"image_file,omitempty"` // 勋章图片的文件,仅支持 PNG 格式,320 x 320 像素,大小不超过 1024 KB。

	ImageType *int `json:"image_type,omitempty"` // 图片的类型
}

type CreateBadgeImageReqBodyBuilder added in v3.0.1

type CreateBadgeImageReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateBadgeImageReqBodyBuilder added in v3.0.1

func NewCreateBadgeImageReqBodyBuilder() *CreateBadgeImageReqBodyBuilder

func (*CreateBadgeImageReqBodyBuilder) Build added in v3.0.1

func (*CreateBadgeImageReqBodyBuilder) ImageFile added in v3.0.1

勋章图片的文件,仅支持 PNG 格式,320 x 320 像素,大小不超过 1024 KB。

示例值:file binary

func (*CreateBadgeImageReqBodyBuilder) ImageType added in v3.0.1

func (builder *CreateBadgeImageReqBodyBuilder) ImageType(imageType int) *CreateBadgeImageReqBodyBuilder

图片的类型

示例值:1

type CreateBadgeImageReqBuilder added in v3.0.1

type CreateBadgeImageReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateBadgeImageReqBuilder added in v3.0.1

func NewCreateBadgeImageReqBuilder() *CreateBadgeImageReqBuilder

func (*CreateBadgeImageReqBuilder) Body added in v3.0.1

通过该接口可以上传勋章详情图、挂饰图的文件,获取对应的文件key

func (*CreateBadgeImageReqBuilder) Build added in v3.0.1

type CreateBadgeImageResp added in v3.0.1

type CreateBadgeImageResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateBadgeImageRespData `json:"data"` // 业务数据
}

func (*CreateBadgeImageResp) Success added in v3.0.1

func (resp *CreateBadgeImageResp) Success() bool

type CreateBadgeImageRespData added in v3.0.1

type CreateBadgeImageRespData struct {
	ImageKey *string `json:"image_key,omitempty"` // 图片的key
}

type CreateBadgeReq added in v3.0.1

type CreateBadgeReq struct {
	Badge *Badge `body:""`
	// contains filtered or unexported fields
}

type CreateBadgeReqBuilder added in v3.0.1

type CreateBadgeReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateBadgeReqBuilder added in v3.0.1

func NewCreateBadgeReqBuilder() *CreateBadgeReqBuilder

func (*CreateBadgeReqBuilder) Badge added in v3.0.1

func (builder *CreateBadgeReqBuilder) Badge(badge *Badge) *CreateBadgeReqBuilder

使用该接口可以创建一枚完整的勋章信息,一个租户下最多可创建1000枚勋章。

func (*CreateBadgeReqBuilder) Build added in v3.0.1

func (builder *CreateBadgeReqBuilder) Build() *CreateBadgeReq

type CreateBadgeResp added in v3.0.1

type CreateBadgeResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateBadgeRespData `json:"data"` // 业务数据
}

func (*CreateBadgeResp) Success added in v3.0.1

func (resp *CreateBadgeResp) Success() bool

type CreateBadgeRespData added in v3.0.1

type CreateBadgeRespData struct {
	Badge *Badge `json:"badge,omitempty"` // 勋章的信息
}

type DeleteBadgeGrantReq added in v3.0.1

type DeleteBadgeGrantReq struct {
	// contains filtered or unexported fields
}

type DeleteBadgeGrantReqBuilder added in v3.0.1

type DeleteBadgeGrantReqBuilder struct {
	// contains filtered or unexported fields
}

func NewDeleteBadgeGrantReqBuilder added in v3.0.1

func NewDeleteBadgeGrantReqBuilder() *DeleteBadgeGrantReqBuilder

func (*DeleteBadgeGrantReqBuilder) BadgeId added in v3.0.1

企业勋章的唯一ID

示例值:m_DjMzaK

func (*DeleteBadgeGrantReqBuilder) Build added in v3.0.1

func (*DeleteBadgeGrantReqBuilder) GrantId added in v3.0.1

租户内授予名单的唯一标识,该值由系统随机生成。

示例值:g_uS4yux

type DeleteBadgeGrantResp added in v3.0.1

type DeleteBadgeGrantResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*DeleteBadgeGrantResp) Success added in v3.0.1

func (resp *DeleteBadgeGrantResp) Success() bool

type DepartmentId added in v3.0.29

type DepartmentId struct {
	DepartmentId *string `json:"department_id,omitempty"` //

	OpenDepartmentId *string `json:"open_department_id,omitempty"` //
}

type DepartmentIdBuilder added in v3.0.29

type DepartmentIdBuilder struct {
	// contains filtered or unexported fields
}

func NewDepartmentIdBuilder added in v3.0.29

func NewDepartmentIdBuilder() *DepartmentIdBuilder

func (*DepartmentIdBuilder) Build added in v3.0.29

func (builder *DepartmentIdBuilder) Build() *DepartmentId

func (*DepartmentIdBuilder) DepartmentId added in v3.0.29

func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder

示例值:

func (*DepartmentIdBuilder) OpenDepartmentId added in v3.0.29

func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder

示例值:

type File

type File struct {
	Title *string `json:"title,omitempty"` // 文档标题

	Type *string `json:"type,omitempty"` // 文档类型

	Owner *User `json:"owner,omitempty"` // 文档所有者

	Size *string `json:"size,omitempty"` // 文档大小

	LastOpTime *string `json:"last_op_time,omitempty"` // 更新时间

	Status *string `json:"status,omitempty"` // 文档状态

	Token *string `json:"token,omitempty"` // 文档token
}

type FileBuilder

type FileBuilder struct {
	// contains filtered or unexported fields
}

func NewFileBuilder

func NewFileBuilder() *FileBuilder

func (*FileBuilder) Build

func (builder *FileBuilder) Build() *File

func (*FileBuilder) LastOpTime

func (builder *FileBuilder) LastOpTime(lastOpTime string) *FileBuilder

更新时间

示例值:1649419092

func (*FileBuilder) Owner

func (builder *FileBuilder) Owner(owner *User) *FileBuilder

文档所有者

示例值:

func (*FileBuilder) Size

func (builder *FileBuilder) Size(size string) *FileBuilder

文档大小

示例值:1024

func (*FileBuilder) Status

func (builder *FileBuilder) Status(status string) *FileBuilder

文档状态

示例值:1

func (*FileBuilder) Title

func (builder *FileBuilder) Title(title string) *FileBuilder

文档标题

示例值:文件管理综述

func (*FileBuilder) Token

func (builder *FileBuilder) Token(token string) *FileBuilder

文档token

示例值:doxbcOIyUhrRBWSKpBGfzefQgHe

func (*FileBuilder) Type

func (builder *FileBuilder) Type(type_ string) *FileBuilder

文档类型

示例值:doc

type FileList

type FileList struct {
	Files []*File `json:"files,omitempty"` // 文档token
}

type FileListBuilder

type FileListBuilder struct {
	// contains filtered or unexported fields
}

func NewFileListBuilder

func NewFileListBuilder() *FileListBuilder

func (*FileListBuilder) Build

func (builder *FileListBuilder) Build() *FileList

func (*FileListBuilder) Files

func (builder *FileListBuilder) Files(files []*File) *FileListBuilder

文档token

示例值:

type GetBadgeGrantReq added in v3.0.1

type GetBadgeGrantReq struct {
	// contains filtered or unexported fields
}

type GetBadgeGrantReqBuilder added in v3.0.1

type GetBadgeGrantReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetBadgeGrantReqBuilder added in v3.0.1

func NewGetBadgeGrantReqBuilder() *GetBadgeGrantReqBuilder

func (*GetBadgeGrantReqBuilder) BadgeId added in v3.0.1

func (builder *GetBadgeGrantReqBuilder) BadgeId(badgeId string) *GetBadgeGrantReqBuilder

租户内勋章的唯一标识,该值由系统随机生成。

示例值:m_DjMzaK

func (*GetBadgeGrantReqBuilder) Build added in v3.0.1

func (builder *GetBadgeGrantReqBuilder) Build() *GetBadgeGrantReq

func (*GetBadgeGrantReqBuilder) DepartmentIdType added in v3.0.1

func (builder *GetBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *GetBadgeGrantReqBuilder

此次调用中使用的部门ID的类型。

示例值:open_department_id

func (*GetBadgeGrantReqBuilder) GrantId added in v3.0.1

func (builder *GetBadgeGrantReqBuilder) GrantId(grantId string) *GetBadgeGrantReqBuilder

租户内授予名单的唯一标识,该值由系统随机生成。

示例值:g_uS4yux

func (*GetBadgeGrantReqBuilder) UserIdType added in v3.0.1

func (builder *GetBadgeGrantReqBuilder) UserIdType(userIdType string) *GetBadgeGrantReqBuilder

用户 ID 类型

示例值:open_id

type GetBadgeGrantResp added in v3.0.1

type GetBadgeGrantResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetBadgeGrantRespData `json:"data"` // 业务数据
}

func (*GetBadgeGrantResp) Success added in v3.0.1

func (resp *GetBadgeGrantResp) Success() bool

type GetBadgeGrantRespData added in v3.0.1

type GetBadgeGrantRespData struct {
	Grant *Grant `json:"grant,omitempty"` // 授予名单信息
}

type GetBadgeReq added in v3.0.1

type GetBadgeReq struct {
	// contains filtered or unexported fields
}

type GetBadgeReqBuilder added in v3.0.1

type GetBadgeReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetBadgeReqBuilder added in v3.0.1

func NewGetBadgeReqBuilder() *GetBadgeReqBuilder

func (*GetBadgeReqBuilder) BadgeId added in v3.0.1

func (builder *GetBadgeReqBuilder) BadgeId(badgeId string) *GetBadgeReqBuilder

勋章id

示例值:m_DjMzaK

func (*GetBadgeReqBuilder) Build added in v3.0.1

func (builder *GetBadgeReqBuilder) Build() *GetBadgeReq

type GetBadgeResp added in v3.0.1

type GetBadgeResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetBadgeRespData `json:"data"` // 业务数据
}

func (*GetBadgeResp) Success added in v3.0.1

func (resp *GetBadgeResp) Success() bool

type GetBadgeRespData added in v3.0.1

type GetBadgeRespData struct {
	Badge *Badge `json:"badge,omitempty"` // 勋章信息
}

type Grant

type Grant struct {
	Id *string `json:"id,omitempty"` // 租户内授予名单的唯一标识,该值由系统随机生成。

	BadgeId *string `json:"badge_id,omitempty"` // 企业勋章的唯一ID

	Name *string `json:"name,omitempty"` // 勋章下唯一的授予事项,最多100个字符。

	GrantType *int `json:"grant_type,omitempty"` // 授予名单类型

	TimeZone *string `json:"time_zone,omitempty"` // 授予名单的生效时间对应的时区,用于检查RuleDetail的时间戳的取值是否规范,取值范围为TZ database name

	RuleDetail *RuleDetail `json:"rule_detail,omitempty"` // 规则详情

	IsGrantAll *bool `json:"is_grant_all,omitempty"` // 是否授予给全员。1.为false时,需要关联1~500个用户群体。2.为true时,不可关联用户、用户组、部门。

	UserIds []string `json:"user_ids,omitempty"` // 授予的用户ID列表,授予名单列表接口返回结果中不返回该字段,只在详情接口返回

	DepartmentIds []string `json:"department_ids,omitempty"` // 授予的部门ID列表,授予名单列表接口返回结果中不返回该字段,只在详情接口返回

	GroupIds []string `json:"group_ids,omitempty"` // 授予的用户组ID列表,授予名单列表接口返回结果中不返回该字段,只在详情接口返回
}

type GrantBuilder

type GrantBuilder struct {
	// contains filtered or unexported fields
}

func NewGrantBuilder

func NewGrantBuilder() *GrantBuilder

func (*GrantBuilder) BadgeId

func (builder *GrantBuilder) BadgeId(badgeId string) *GrantBuilder

企业勋章的唯一ID

示例值:m_qTR2HM

func (*GrantBuilder) Build

func (builder *GrantBuilder) Build() *Grant

func (*GrantBuilder) DepartmentIds

func (builder *GrantBuilder) DepartmentIds(departmentIds []string) *GrantBuilder

授予的部门ID列表,授予名单列表接口返回结果中不返回该字段,只在详情接口返回

示例值:[h121921]

func (*GrantBuilder) GrantType

func (builder *GrantBuilder) GrantType(grantType int) *GrantBuilder

授予名单类型

示例值:0

func (*GrantBuilder) GroupIds

func (builder *GrantBuilder) GroupIds(groupIds []string) *GrantBuilder

授予的用户组ID列表,授予名单列表接口返回结果中不返回该字段,只在详情接口返回

示例值:[g122817]

func (*GrantBuilder) Id

func (builder *GrantBuilder) Id(id string) *GrantBuilder

租户内授予名单的唯一标识,该值由系统随机生成。

示例值:g_49Z7CQ

func (*GrantBuilder) IsGrantAll

func (builder *GrantBuilder) IsGrantAll(isGrantAll bool) *GrantBuilder

是否授予给全员。1.为false时,需要关联1~500个用户群体。2.为true时,不可关联用户、用户组、部门。

示例值:false

func (*GrantBuilder) Name

func (builder *GrantBuilder) Name(name string) *GrantBuilder

勋章下唯一的授予事项,最多100个字符。

示例值:激励勋章的授予名单

func (*GrantBuilder) RuleDetail

func (builder *GrantBuilder) RuleDetail(ruleDetail *RuleDetail) *GrantBuilder

规则详情

示例值:

func (*GrantBuilder) TimeZone

func (builder *GrantBuilder) TimeZone(timeZone string) *GrantBuilder

授予名单的生效时间对应的时区,用于检查RuleDetail的时间戳的取值是否规范,取值范围为TZ database name

示例值:Asia/Shanghai

func (*GrantBuilder) UserIds

func (builder *GrantBuilder) UserIds(userIds []string) *GrantBuilder

授予的用户ID列表,授予名单列表接口返回结果中不返回该字段,只在详情接口返回

示例值:[u273y71]

type I18n added in v3.0.10

type I18n struct {
	ZhCn *string `json:"zh_cn,omitempty"` // 中文文案

	EnUs *string `json:"en_us,omitempty"` // 英文文案

	JaJp *string `json:"ja_jp,omitempty"` // 日文文案
}

type I18nBuilder added in v3.0.10

type I18nBuilder struct {
	// contains filtered or unexported fields
}

func NewI18nBuilder added in v3.0.10

func NewI18nBuilder() *I18nBuilder

func (*I18nBuilder) Build added in v3.0.10

func (builder *I18nBuilder) Build() *I18n

func (*I18nBuilder) EnUs added in v3.0.10

func (builder *I18nBuilder) EnUs(enUs string) *I18nBuilder

英文文案

示例值:Incentive Medal

func (*I18nBuilder) JaJp added in v3.0.10

func (builder *I18nBuilder) JaJp(jaJp string) *I18nBuilder

日文文案

示例值:奨励メダル

func (*I18nBuilder) ZhCn added in v3.0.10

func (builder *I18nBuilder) ZhCn(zhCn string) *I18nBuilder

中文文案

示例值:激励勋章

type ListAdminDeptStatReq

type ListAdminDeptStatReq struct {
	// contains filtered or unexported fields
}

type ListAdminDeptStatReqBuilder

type ListAdminDeptStatReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAdminDeptStatReqBuilder

func NewListAdminDeptStatReqBuilder() *ListAdminDeptStatReqBuilder

func (*ListAdminDeptStatReqBuilder) Build

func (*ListAdminDeptStatReqBuilder) ContainsChildDept

func (builder *ListAdminDeptStatReqBuilder) ContainsChildDept(containsChildDept bool) *ListAdminDeptStatReqBuilder

是否包含子部门,如果该值为false,则只查出本部门直属用户活跃和功能使用数据;如果该值为true,则查出该部门以及其子部门(子部门层级最多不超过根部门下的前4级)的用户活跃和功能使用数据

示例值:false

func (*ListAdminDeptStatReqBuilder) DepartmentId

func (builder *ListAdminDeptStatReqBuilder) DepartmentId(departmentId string) *ListAdminDeptStatReqBuilder

部门的 ID,取决于department_id_type,仅支持根部门及其下前4级子部门

示例值:od-382e2793cfc9471f892e8a672987654c

func (*ListAdminDeptStatReqBuilder) DepartmentIdType

func (builder *ListAdminDeptStatReqBuilder) DepartmentIdType(departmentIdType string) *ListAdminDeptStatReqBuilder

部门ID类型

示例值:open_department_id

func (*ListAdminDeptStatReqBuilder) EndDate

终止日期(包含),格式是YYYY-mm-dd,起止日期之间相差不能超过91天(包含91天)

示例值:2020-02-15

func (*ListAdminDeptStatReqBuilder) PageSize

func (builder *ListAdminDeptStatReqBuilder) PageSize(pageSize int) *ListAdminDeptStatReqBuilder

分页大小,默认是10

示例值:10

func (*ListAdminDeptStatReqBuilder) PageToken

func (builder *ListAdminDeptStatReqBuilder) PageToken(pageToken string) *ListAdminDeptStatReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;当返回的has_more为true时,会返回新的page_token,再次调用接口,传入这个page_token,将获得下一页数据

示例值:2

func (*ListAdminDeptStatReqBuilder) StartDate

func (builder *ListAdminDeptStatReqBuilder) StartDate(startDate string) *ListAdminDeptStatReqBuilder

起始日期(包含),格式是YYYY-mm-dd

示例值:2020-02-15

func (*ListAdminDeptStatReqBuilder) TargetGeo added in v3.2.3

func (builder *ListAdminDeptStatReqBuilder) TargetGeo(targetGeo string) *ListAdminDeptStatReqBuilder

跨域访问的geo

示例值:cn

func (*ListAdminDeptStatReqBuilder) WithProductVersion added in v3.4.5

func (builder *ListAdminDeptStatReqBuilder) WithProductVersion(withProductVersion bool) *ListAdminDeptStatReqBuilder

是否返回分产品版本数据

示例值:true

type ListAdminDeptStatResp

type ListAdminDeptStatResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAdminDeptStatRespData `json:"data"` // 业务数据
}

func (*ListAdminDeptStatResp) Success

func (resp *ListAdminDeptStatResp) Success() bool

type ListAdminDeptStatRespData

type ListAdminDeptStatRespData struct {
	HasMore *bool `json:"has_more,omitempty"` // 分页查询时返回,代表是否还有更多数据

	PageToken *string `json:"page_token,omitempty"` // 分页标记,下一页分页的token

	Items []*AdminDeptStat `json:"items,omitempty"` // 数据报表
}

type ListAdminUserStatReq

type ListAdminUserStatReq struct {
	// contains filtered or unexported fields
}

type ListAdminUserStatReqBuilder

type ListAdminUserStatReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAdminUserStatReqBuilder

func NewListAdminUserStatReqBuilder() *ListAdminUserStatReqBuilder

func (*ListAdminUserStatReqBuilder) Build

func (*ListAdminUserStatReqBuilder) DepartmentId

func (builder *ListAdminUserStatReqBuilder) DepartmentId(departmentId string) *ListAdminUserStatReqBuilder

部门的 ID,取决于department_id_type

示例值:od-382e2793cfc9471f892e8a672987654c

func (*ListAdminUserStatReqBuilder) DepartmentIdType

func (builder *ListAdminUserStatReqBuilder) DepartmentIdType(departmentIdType string) *ListAdminUserStatReqBuilder

部门ID类型

示例值:open_department_id

func (*ListAdminUserStatReqBuilder) EndDate

终止日期(包含),格式是YYYY-mm-dd。起止日期之间相差不能超过31天(包含31天)

示例值:2020-02-15

func (*ListAdminUserStatReqBuilder) PageSize

func (builder *ListAdminUserStatReqBuilder) PageSize(pageSize int) *ListAdminUserStatReqBuilder

分页大小,默认是10

示例值:10

func (*ListAdminUserStatReqBuilder) PageToken

func (builder *ListAdminUserStatReqBuilder) PageToken(pageToken string) *ListAdminUserStatReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;当返回的has_more为true时,会返回新的page_token,再次调用接口,传入这个page_token,将获得下一页数据

示例值:2

func (*ListAdminUserStatReqBuilder) StartDate

func (builder *ListAdminUserStatReqBuilder) StartDate(startDate string) *ListAdminUserStatReqBuilder

起始日期(包含),格式是YYYY-mm-dd

示例值:2020-02-15

func (*ListAdminUserStatReqBuilder) TargetGeo added in v3.2.3

func (builder *ListAdminUserStatReqBuilder) TargetGeo(targetGeo string) *ListAdminUserStatReqBuilder

跨域访问的geo

示例值:cn

func (*ListAdminUserStatReqBuilder) UserId

用户的open_id,user_id或者union_id,取决于user_id_type

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*ListAdminUserStatReqBuilder) UserIdType

func (builder *ListAdminUserStatReqBuilder) UserIdType(userIdType string) *ListAdminUserStatReqBuilder

此次调用中使用的用户ID的类型

示例值:

type ListAdminUserStatResp

type ListAdminUserStatResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAdminUserStatRespData `json:"data"` // 业务数据
}

func (*ListAdminUserStatResp) Success

func (resp *ListAdminUserStatResp) Success() bool

type ListAdminUserStatRespData

type ListAdminUserStatRespData struct {
	HasMore *bool `json:"has_more,omitempty"` // 是否有下一页数据

	PageToken *string `json:"page_token,omitempty"` // 下一页分页的token

	Items []*AdminUserStat `json:"items,omitempty"` // 数据报表
}

type ListAuditInfoIterator added in v3.0.34

type ListAuditInfoIterator struct {
	// contains filtered or unexported fields
}

func (*ListAuditInfoIterator) Next added in v3.0.34

func (iterator *ListAuditInfoIterator) Next() (bool, *AuditInfo, error)

func (*ListAuditInfoIterator) NextPageToken added in v3.0.34

func (iterator *ListAuditInfoIterator) NextPageToken() *string

type ListAuditInfoReq added in v3.0.34

type ListAuditInfoReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListAuditInfoReqBuilder added in v3.0.34

type ListAuditInfoReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListAuditInfoReqBuilder added in v3.0.34

func NewListAuditInfoReqBuilder() *ListAuditInfoReqBuilder

func (*ListAuditInfoReqBuilder) Build added in v3.0.34

func (builder *ListAuditInfoReqBuilder) Build() *ListAuditInfoReq

func (*ListAuditInfoReqBuilder) EventModule added in v3.0.34

func (builder *ListAuditInfoReqBuilder) EventModule(eventModule int) *ListAuditInfoReqBuilder

过滤模块

示例值:1

func (*ListAuditInfoReqBuilder) EventName added in v3.0.34

func (builder *ListAuditInfoReqBuilder) EventName(eventName string) *ListAuditInfoReqBuilder

事件名称

示例值:space_create_doc

func (*ListAuditInfoReqBuilder) ExtFilterObjectByCcmToken added in v3.2.7

func (builder *ListAuditInfoReqBuilder) ExtFilterObjectByCcmToken(extFilterObjectByCcmToken string) *ListAuditInfoReqBuilder

增强过滤操作对象: 操作对象ID,支持云文档侧泛token过滤。会覆盖object_type和object_value查询条件

示例值:55ed16fe

func (*ListAuditInfoReqBuilder) Latest added in v3.0.34

func (builder *ListAuditInfoReqBuilder) Latest(latest int) *ListAuditInfoReqBuilder

日志时间范围: 结束时间. 格式: 秒级时间戳. 默认值: 此刻

示例值:1668700799

func (*ListAuditInfoReqBuilder) Limit added in v3.0.34

func (builder *ListAuditInfoReqBuilder) Limit(limit int) *ListAuditInfoReqBuilder

最大返回多少记录,当使用迭代器访问时才有效

func (*ListAuditInfoReqBuilder) ObjectType added in v3.2.5

func (builder *ListAuditInfoReqBuilder) ObjectType(objectType int) *ListAuditInfoReqBuilder

过滤操作对象: 操作对象类型. 与object_value配合使用

示例值:1

func (*ListAuditInfoReqBuilder) ObjectValue added in v3.2.5

func (builder *ListAuditInfoReqBuilder) ObjectValue(objectValue string) *ListAuditInfoReqBuilder

过滤操作对象: 操作对象ID. 与object_type配合使用

示例值:55ed16fe

func (*ListAuditInfoReqBuilder) Oldest added in v3.0.34

func (builder *ListAuditInfoReqBuilder) Oldest(oldest int) *ListAuditInfoReqBuilder

日志时间范围: 起始时间. 格式: 秒级时间戳. 默认值: 30日前此刻

示例值:1668528000

func (*ListAuditInfoReqBuilder) OperatorType added in v3.0.34

func (builder *ListAuditInfoReqBuilder) OperatorType(operatorType string) *ListAuditInfoReqBuilder

过滤操作者: 操作者类型. 与 operator_value 配合使用

示例值:

func (*ListAuditInfoReqBuilder) OperatorValue added in v3.0.34

func (builder *ListAuditInfoReqBuilder) OperatorValue(operatorValue string) *ListAuditInfoReqBuilder

过滤操作者: 操作者ID. 与 operator_type 配合使用

示例值:55ed16fe

func (*ListAuditInfoReqBuilder) PageSize added in v3.0.34

func (builder *ListAuditInfoReqBuilder) PageSize(pageSize int) *ListAuditInfoReqBuilder

分页参数

示例值:20

func (*ListAuditInfoReqBuilder) PageToken added in v3.0.34

func (builder *ListAuditInfoReqBuilder) PageToken(pageToken string) *ListAuditInfoReqBuilder

下一页分页的token

示例值:LC39/f1%2B/Sz9Uv39Gf39/ew/cd5WY0gfGYFdixOW9cVk4bC79ituO/gx0qpPn1bYf92nz/kI0nNJOG3wCwDJKoNU%2BtyaXbpI8pV/9UNDMZT0BNeyanFH17Wv711Qh9anR3l2GjQfc2fUqXtxg1YPp63XyhYY4iRMv54ySRG7r%2BI89iS3zAoPzFuuU1MUJKsf

func (*ListAuditInfoReqBuilder) UserIdType added in v3.0.34

func (builder *ListAuditInfoReqBuilder) UserIdType(userIdType string) *ListAuditInfoReqBuilder

此次调用中使用的用户ID的类型

示例值:user_id

func (*ListAuditInfoReqBuilder) UserType added in v3.2.3

func (builder *ListAuditInfoReqBuilder) UserType(userType int) *ListAuditInfoReqBuilder

过滤用户类型. 仅当 operator_type=user 时生效

示例值:

type ListAuditInfoResp added in v3.0.34

type ListAuditInfoResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListAuditInfoRespData `json:"data"` // 业务数据
}

func (*ListAuditInfoResp) Success added in v3.0.34

func (resp *ListAuditInfoResp) Success() bool

type ListAuditInfoRespData added in v3.0.34

type ListAuditInfoRespData struct {
	HasMore *bool `json:"has_more,omitempty"` // 是否有下一页数据

	PageToken *string `json:"page_token,omitempty"` // 下一页分页的token

	Items []*AuditInfo `json:"items,omitempty"` // 返回的具体数据内容
}

type ListBadgeGrantIterator added in v3.0.1

type ListBadgeGrantIterator struct {
	// contains filtered or unexported fields
}

func (*ListBadgeGrantIterator) Next added in v3.0.1

func (iterator *ListBadgeGrantIterator) Next() (bool, *Grant, error)

func (*ListBadgeGrantIterator) NextPageToken added in v3.0.1

func (iterator *ListBadgeGrantIterator) NextPageToken() *string

type ListBadgeGrantReq added in v3.0.1

type ListBadgeGrantReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListBadgeGrantReqBuilder added in v3.0.1

type ListBadgeGrantReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListBadgeGrantReqBuilder added in v3.0.1

func NewListBadgeGrantReqBuilder() *ListBadgeGrantReqBuilder

func (*ListBadgeGrantReqBuilder) BadgeId added in v3.0.1

func (builder *ListBadgeGrantReqBuilder) BadgeId(badgeId string) *ListBadgeGrantReqBuilder

企业勋章的唯一ID

示例值:m_DjMzaK

func (*ListBadgeGrantReqBuilder) Build added in v3.0.1

func (builder *ListBadgeGrantReqBuilder) Build() *ListBadgeGrantReq

func (*ListBadgeGrantReqBuilder) DepartmentIdType added in v3.0.1

func (builder *ListBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *ListBadgeGrantReqBuilder

此次调用中使用的部门ID的类型。

示例值:open_department_id

func (*ListBadgeGrantReqBuilder) Limit added in v3.0.1

func (builder *ListBadgeGrantReqBuilder) Limit(limit int) *ListBadgeGrantReqBuilder

最大返回多少记录,当使用迭代器访问时才有效

func (*ListBadgeGrantReqBuilder) Name added in v3.0.10

授予名单名称,精确匹配。

示例值:激励勋章的授予名单

func (*ListBadgeGrantReqBuilder) PageSize added in v3.0.1

func (builder *ListBadgeGrantReqBuilder) PageSize(pageSize int) *ListBadgeGrantReqBuilder

分页大小

示例值:10

func (*ListBadgeGrantReqBuilder) PageToken added in v3.0.1

func (builder *ListBadgeGrantReqBuilder) PageToken(pageToken string) *ListBadgeGrantReqBuilder

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

示例值:om5fn1

func (*ListBadgeGrantReqBuilder) UserIdType added in v3.0.1

func (builder *ListBadgeGrantReqBuilder) UserIdType(userIdType string) *ListBadgeGrantReqBuilder

用户 ID 类型

示例值:open_id

type ListBadgeGrantResp added in v3.0.1

type ListBadgeGrantResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListBadgeGrantRespData `json:"data"` // 业务数据
}

func (*ListBadgeGrantResp) Success added in v3.0.1

func (resp *ListBadgeGrantResp) Success() bool

type ListBadgeGrantRespData added in v3.0.1

type ListBadgeGrantRespData struct {
	Grants []*Grant `json:"grants,omitempty"` // 授予名单列表

	PageToken *string `json:"page_token,omitempty"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

	HasMore *bool `json:"has_more,omitempty"` // 是否已经遍历完,表示本次页面请求已经拿到所有列表数据
}

type ListBadgeIterator added in v3.0.1

type ListBadgeIterator struct {
	// contains filtered or unexported fields
}

func (*ListBadgeIterator) Next added in v3.0.1

func (iterator *ListBadgeIterator) Next() (bool, *Badge, error)

func (*ListBadgeIterator) NextPageToken added in v3.0.1

func (iterator *ListBadgeIterator) NextPageToken() *string

type ListBadgeReq added in v3.0.1

type ListBadgeReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListBadgeReqBuilder added in v3.0.1

type ListBadgeReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListBadgeReqBuilder added in v3.0.1

func NewListBadgeReqBuilder() *ListBadgeReqBuilder

func (*ListBadgeReqBuilder) Build added in v3.0.1

func (builder *ListBadgeReqBuilder) Build() *ListBadgeReq

func (*ListBadgeReqBuilder) Limit added in v3.0.1

func (builder *ListBadgeReqBuilder) Limit(limit int) *ListBadgeReqBuilder

最大返回多少记录,当使用迭代器访问时才有效

func (*ListBadgeReqBuilder) Name added in v3.0.1

func (builder *ListBadgeReqBuilder) Name(name string) *ListBadgeReqBuilder

租户内唯一的勋章名称,精确匹配。

示例值:激励勋章

func (*ListBadgeReqBuilder) PageSize added in v3.0.1

func (builder *ListBadgeReqBuilder) PageSize(pageSize int) *ListBadgeReqBuilder

分页大小

示例值:10

func (*ListBadgeReqBuilder) PageToken added in v3.0.1

func (builder *ListBadgeReqBuilder) PageToken(pageToken string) *ListBadgeReqBuilder

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

示例值:b1fmUz

type ListBadgeResp added in v3.0.1

type ListBadgeResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListBadgeRespData `json:"data"` // 业务数据
}

func (*ListBadgeResp) Success added in v3.0.1

func (resp *ListBadgeResp) Success() bool

type ListBadgeRespData added in v3.0.1

type ListBadgeRespData struct {
	Badges []*Badge `json:"badges,omitempty"` // 勋章列表

	PageToken *string `json:"page_token,omitempty"` // 分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

	HasMore *bool `json:"has_more,omitempty"` // 是否已经遍历完,表示本次页面请求已经拿到所有列表数据
}

type OperatorDetail added in v3.4.5

type OperatorDetail struct {
	OperatorName *OperatorName `json:"operator_name,omitempty"` // 操作人名字信息

	TenantName *string `json:"tenant_name,omitempty"` // 操作人租户名
}

type OperatorDetailBuilder added in v3.4.5

type OperatorDetailBuilder struct {
	// contains filtered or unexported fields
}

func NewOperatorDetailBuilder added in v3.4.5

func NewOperatorDetailBuilder() *OperatorDetailBuilder

func (*OperatorDetailBuilder) Build added in v3.4.5

func (builder *OperatorDetailBuilder) Build() *OperatorDetail

func (*OperatorDetailBuilder) OperatorName added in v3.4.5

func (builder *OperatorDetailBuilder) OperatorName(operatorName *OperatorName) *OperatorDetailBuilder

操作人名字信息

示例值:

func (*OperatorDetailBuilder) TenantName added in v3.4.5

func (builder *OperatorDetailBuilder) TenantName(tenantName string) *OperatorDetailBuilder

操作人租户名

示例值:明日头条

type OperatorName added in v3.4.5

type OperatorName struct {
	DefaultName *string `json:"default_name,omitempty"` // 操作人默认名

	I18nValue *I18n `json:"i18n_value,omitempty"` // 操作人 i18n 名字 map
}

type OperatorNameBuilder added in v3.4.5

type OperatorNameBuilder struct {
	// contains filtered or unexported fields
}

func NewOperatorNameBuilder added in v3.4.5

func NewOperatorNameBuilder() *OperatorNameBuilder

func (*OperatorNameBuilder) Build added in v3.4.5

func (builder *OperatorNameBuilder) Build() *OperatorName

func (*OperatorNameBuilder) DefaultName added in v3.4.5

func (builder *OperatorNameBuilder) DefaultName(defaultName string) *OperatorNameBuilder

操作人默认名

示例值:11

func (*OperatorNameBuilder) I18nValue added in v3.4.5

func (builder *OperatorNameBuilder) I18nValue(i18nValue *I18n) *OperatorNameBuilder

操作人 i18n 名字 map

示例值:

type Password

type Password struct {
	EntEmailPassword *string `json:"ent_email_password,omitempty"` // 企业邮箱密码
}

type PasswordBuilder

type PasswordBuilder struct {
	// contains filtered or unexported fields
}

func NewPasswordBuilder

func NewPasswordBuilder() *PasswordBuilder

func (*PasswordBuilder) Build

func (builder *PasswordBuilder) Build() *Password

func (*PasswordBuilder) EntEmailPassword

func (builder *PasswordBuilder) EntEmailPassword(entEmailPassword string) *PasswordBuilder

企业邮箱密码

示例值:abcd*efg

type ResetPasswordPathReqBodyBuilder

type ResetPasswordPathReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewResetPasswordPathReqBodyBuilder

func NewResetPasswordPathReqBodyBuilder() *ResetPasswordPathReqBodyBuilder

func (*ResetPasswordPathReqBodyBuilder) Build

func (*ResetPasswordPathReqBodyBuilder) Password

需要重置的密码参数,不少于8个字符,字母、数字和符号,至少三选二

示例值:1234abcd

func (*ResetPasswordPathReqBodyBuilder) UserId

待修改密码的用户ID,只针对邮箱登录凭证与企业邮箱(包括别名)相等的用户生效

示例值:abc123

type ResetPasswordReq

type ResetPasswordReq struct {
	Body *ResetPasswordReqBody `body:""`
	// contains filtered or unexported fields
}

type ResetPasswordReqBody

type ResetPasswordReqBody struct {
	Password *Password `json:"password,omitempty"` // 需要重置的密码参数,不少于8个字符,字母、数字和符号,至少三选二

	UserId *string `json:"user_id,omitempty"` // 待修改密码的用户ID,只针对邮箱登录凭证与企业邮箱(包括别名)相等的用户生效
}

type ResetPasswordReqBodyBuilder

type ResetPasswordReqBodyBuilder struct {
	// contains filtered or unexported fields
}

func NewResetPasswordReqBodyBuilder

func NewResetPasswordReqBodyBuilder() *ResetPasswordReqBodyBuilder

func (*ResetPasswordReqBodyBuilder) Build

func (*ResetPasswordReqBodyBuilder) Password

需要重置的密码参数,不少于8个字符,字母、数字和符号,至少三选二

示例值:1234abcd

func (*ResetPasswordReqBodyBuilder) UserId

待修改密码的用户ID,只针对邮箱登录凭证与企业邮箱(包括别名)相等的用户生效

示例值:abc123

type ResetPasswordReqBuilder

type ResetPasswordReqBuilder struct {
	// contains filtered or unexported fields
}

func NewResetPasswordReqBuilder

func NewResetPasswordReqBuilder() *ResetPasswordReqBuilder

func (*ResetPasswordReqBuilder) Body

重置用户的企业邮箱密码,仅当用户的邮箱和企业邮箱(别名)一致时生效,可用于处理飞书企业邮箱登录死锁的问题。;;邮箱死锁:当用户的登录凭证与飞书企业邮箱一致时,目前飞书登录流程要求用户输入验证码,由于飞书邮箱无单独的帐号体系,则未登录时无法收取邮箱验证码,即陷入死锁

func (*ResetPasswordReqBuilder) Build

func (builder *ResetPasswordReqBuilder) Build() *ResetPasswordReq

func (*ResetPasswordReqBuilder) UserIdType

func (builder *ResetPasswordReqBuilder) UserIdType(userIdType string) *ResetPasswordReqBuilder

用户ID类型

示例值:user_id

type ResetPasswordResp

type ResetPasswordResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
}

func (*ResetPasswordResp) Success

func (resp *ResetPasswordResp) Success() bool

type RuleDetail

type RuleDetail struct {
	EffectiveTime *string `json:"effective_time,omitempty"` // 开始生效的时间戳。1.手动设置有效期类型勋章,配置有效期限需要配置该字段;2.时间戳必须是所在时区当天的零点时间戳,如时区为Asia/Shanghai时区时的1649606400

	ExpirationTime *string `json:"expiration_time,omitempty"` // 结束生效的时间戳。1.手动设置有效期类型勋章,配置有效期限需要配置该字段;2.最大值:不得超过effective_time+100 年;3.非永久有效:时间戳必须是所在时区当天的23:59:59时间戳,如时区为Asia/Shanghai时区时的1649692799;4.永久有效:传值为0即可

	Anniversary *int `json:"anniversary,omitempty"` // 入职周年日。根据入职时间发放类型勋章,需要配置该字段。

	EffectivePeriod *int `json:"effective_period,omitempty"` // 有效期限。根据入职时间发放类型勋章,需要配置该字段。
}

type RuleDetailBuilder

type RuleDetailBuilder struct {
	// contains filtered or unexported fields
}

func NewRuleDetailBuilder

func NewRuleDetailBuilder() *RuleDetailBuilder

func (*RuleDetailBuilder) Anniversary

func (builder *RuleDetailBuilder) Anniversary(anniversary int) *RuleDetailBuilder

入职周年日。根据入职时间发放类型勋章,需要配置该字段。

示例值:1

func (*RuleDetailBuilder) Build

func (builder *RuleDetailBuilder) Build() *RuleDetail

func (*RuleDetailBuilder) EffectivePeriod

func (builder *RuleDetailBuilder) EffectivePeriod(effectivePeriod int) *RuleDetailBuilder

有效期限。根据入职时间发放类型勋章,需要配置该字段。

示例值:1

func (*RuleDetailBuilder) EffectiveTime

func (builder *RuleDetailBuilder) EffectiveTime(effectiveTime string) *RuleDetailBuilder

开始生效的时间戳。1.手动设置有效期类型勋章,配置有效期限需要配置该字段;2.时间戳必须是所在时区当天的零点时间戳,如时区为Asia/Shanghai时区时的1649606400

示例值:1649606400

func (*RuleDetailBuilder) ExpirationTime

func (builder *RuleDetailBuilder) ExpirationTime(expirationTime string) *RuleDetailBuilder

结束生效的时间戳。1.手动设置有效期类型勋章,配置有效期限需要配置该字段;2.最大值:不得超过effective_time+100 年;3.非永久有效:时间戳必须是所在时区当天的23:59:59时间戳,如时区为Asia/Shanghai时区时的1649692799;4.永久有效:传值为0即可

示例值:1649692799

type SplashPageStat

type SplashPageStat struct {
	Date *string `json:"date,omitempty"` // 日期

	SplashId *string `json:"splash_id,omitempty"` // 开屏素材id

	ImpressionCount *int `json:"impression_count,omitempty"` // 曝光数

	ClickCount *int `json:"click_count,omitempty"` // 点击数

	SkipCount *int `json:"skip_count,omitempty"` // 点击跳过数

	ImpressionCountAccumulate *int `json:"impression_count_accumulate,omitempty"` // 累计曝光

	ClickCountAccumulate *int `json:"click_count_accumulate,omitempty"` // 累计点击

	SkipCountAccumulate *int `json:"skip_count_accumulate,omitempty"` // 累积点击跳过数
}

type SplashPageStatBuilder

type SplashPageStatBuilder struct {
	// contains filtered or unexported fields
}

func NewSplashPageStatBuilder

func NewSplashPageStatBuilder() *SplashPageStatBuilder

func (*SplashPageStatBuilder) Build

func (builder *SplashPageStatBuilder) Build() *SplashPageStat

func (*SplashPageStatBuilder) ClickCount

func (builder *SplashPageStatBuilder) ClickCount(clickCount int) *SplashPageStatBuilder

点击数

示例值:

func (*SplashPageStatBuilder) ClickCountAccumulate

func (builder *SplashPageStatBuilder) ClickCountAccumulate(clickCountAccumulate int) *SplashPageStatBuilder

累计点击

示例值:

func (*SplashPageStatBuilder) Date

func (builder *SplashPageStatBuilder) Date(date string) *SplashPageStatBuilder

日期

示例值:

func (*SplashPageStatBuilder) ImpressionCount

func (builder *SplashPageStatBuilder) ImpressionCount(impressionCount int) *SplashPageStatBuilder

曝光数

示例值:

func (*SplashPageStatBuilder) ImpressionCountAccumulate

func (builder *SplashPageStatBuilder) ImpressionCountAccumulate(impressionCountAccumulate int) *SplashPageStatBuilder

累计曝光

示例值:

func (*SplashPageStatBuilder) SkipCount

func (builder *SplashPageStatBuilder) SkipCount(skipCount int) *SplashPageStatBuilder

点击跳过数

示例值:

func (*SplashPageStatBuilder) SkipCountAccumulate

func (builder *SplashPageStatBuilder) SkipCountAccumulate(skipCountAccumulate int) *SplashPageStatBuilder

累积点击跳过数

示例值:

func (*SplashPageStatBuilder) SplashId

func (builder *SplashPageStatBuilder) SplashId(splashId string) *SplashPageStatBuilder

开屏素材id

示例值:

type Task added in v3.0.5

type Task struct {
	OriginalUserId *string `json:"original_user_id,omitempty"` // 文档原所有者ID

	TargetOwnerId *string `json:"target_owner_id,omitempty"` // 目标用户ID

	FileList []*File `json:"file_list,omitempty"` // 恢复文件列表

	TaskId *string `json:"task_id,omitempty"` // 任务id

	Status *int `json:"status,omitempty"` // 任务状态

	OriginalUserEmail *string `json:"original_user_email,omitempty"` // 文档原所有者邮箱

	TargetOwnerEmail *string `json:"target_owner_email,omitempty"` // 文档新所有者邮箱

	Type *int `json:"type,omitempty"` // 任务类型
}

type TaskBuilder added in v3.0.5

type TaskBuilder struct {
	// contains filtered or unexported fields
}

func NewTaskBuilder added in v3.0.5

func NewTaskBuilder() *TaskBuilder

func (*TaskBuilder) Build added in v3.0.5

func (builder *TaskBuilder) Build() *Task

func (*TaskBuilder) FileList added in v3.0.5

func (builder *TaskBuilder) FileList(fileList []*File) *TaskBuilder

恢复文件列表

示例值:

func (*TaskBuilder) OriginalUserEmail added in v3.0.5

func (builder *TaskBuilder) OriginalUserEmail(originalUserEmail string) *TaskBuilder

文档原所有者邮箱

示例值:xxx

func (*TaskBuilder) OriginalUserId added in v3.0.5

func (builder *TaskBuilder) OriginalUserId(originalUserId string) *TaskBuilder

文档原所有者ID

示例值:1

func (*TaskBuilder) Status added in v3.0.5

func (builder *TaskBuilder) Status(status int) *TaskBuilder

任务状态

示例值:1,2

func (*TaskBuilder) TargetOwnerEmail added in v3.0.5

func (builder *TaskBuilder) TargetOwnerEmail(targetOwnerEmail string) *TaskBuilder

文档新所有者邮箱

示例值:xxx

func (*TaskBuilder) TargetOwnerId added in v3.0.5

func (builder *TaskBuilder) TargetOwnerId(targetOwnerId string) *TaskBuilder

目标用户ID

示例值:2

func (*TaskBuilder) TaskId added in v3.0.5

func (builder *TaskBuilder) TaskId(taskId string) *TaskBuilder

任务id

示例值:123

func (*TaskBuilder) Type added in v3.4.5

func (builder *TaskBuilder) Type(type_ int) *TaskBuilder

任务类型

示例值:1,2

type UpdateBadgeGrantReq added in v3.0.1

type UpdateBadgeGrantReq struct {
	Grant *Grant `body:""`
	// contains filtered or unexported fields
}

type UpdateBadgeGrantReqBuilder added in v3.0.1

type UpdateBadgeGrantReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateBadgeGrantReqBuilder added in v3.0.1

func NewUpdateBadgeGrantReqBuilder() *UpdateBadgeGrantReqBuilder

func (*UpdateBadgeGrantReqBuilder) BadgeId added in v3.0.1

勋章ID

示例值:m_DjMzaK

func (*UpdateBadgeGrantReqBuilder) Build added in v3.0.1

func (*UpdateBadgeGrantReqBuilder) DepartmentIdType added in v3.0.1

func (builder *UpdateBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *UpdateBadgeGrantReqBuilder

此次调用中使用的部门ID的类型。

示例值:open_department_id

func (*UpdateBadgeGrantReqBuilder) Grant added in v3.0.1

通过该接口可以修改特定授予名单的相关信息

func (*UpdateBadgeGrantReqBuilder) GrantId added in v3.0.1

授予名单ID

示例值:g_uS4yux

func (*UpdateBadgeGrantReqBuilder) UserIdType added in v3.0.1

func (builder *UpdateBadgeGrantReqBuilder) UserIdType(userIdType string) *UpdateBadgeGrantReqBuilder

用户 ID 类型

示例值:open_id

type UpdateBadgeGrantResp added in v3.0.1

type UpdateBadgeGrantResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateBadgeGrantRespData `json:"data"` // 业务数据
}

func (*UpdateBadgeGrantResp) Success added in v3.0.1

func (resp *UpdateBadgeGrantResp) Success() bool

type UpdateBadgeGrantRespData added in v3.0.1

type UpdateBadgeGrantRespData struct {
	Grant *Grant `json:"grant,omitempty"` // 授予名单
}

type UpdateBadgeReq added in v3.0.1

type UpdateBadgeReq struct {
	Badge *Badge `body:""`
	// contains filtered or unexported fields
}

type UpdateBadgeReqBuilder added in v3.0.1

type UpdateBadgeReqBuilder struct {
	// contains filtered or unexported fields
}

func NewUpdateBadgeReqBuilder added in v3.0.1

func NewUpdateBadgeReqBuilder() *UpdateBadgeReqBuilder

func (*UpdateBadgeReqBuilder) Badge added in v3.0.1

func (builder *UpdateBadgeReqBuilder) Badge(badge *Badge) *UpdateBadgeReqBuilder

通过该接口可以修改勋章的信息

func (*UpdateBadgeReqBuilder) BadgeId added in v3.0.1

func (builder *UpdateBadgeReqBuilder) BadgeId(badgeId string) *UpdateBadgeReqBuilder

勋章ID

示例值:m_MzfKDM

func (*UpdateBadgeReqBuilder) Build added in v3.0.1

func (builder *UpdateBadgeReqBuilder) Build() *UpdateBadgeReq

type UpdateBadgeResp added in v3.0.1

type UpdateBadgeResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateBadgeRespData `json:"data"` // 业务数据
}

func (*UpdateBadgeResp) Success added in v3.0.1

func (resp *UpdateBadgeResp) Success() bool

type UpdateBadgeRespData added in v3.0.1

type UpdateBadgeRespData struct {
	Badge *Badge `json:"badge,omitempty"` // 勋章信息
}

type User

type User struct {
	Name *string `json:"name,omitempty"` // 用户名称

	Avatar *string `json:"avatar,omitempty"` // 用户头像

	Id *string `json:"id,omitempty"` // 用户ID
}

type UserAnnualReport

type UserAnnualReport struct {
	Year2021 *UserReport2021 `json:"year_2021,omitempty"` // 2021用户年度报告

	Year2022 *UserReport2022 `json:"year_2022,omitempty"` // 2022用户年度报告

	Year2023 *UserReport2023 `json:"year_2023,omitempty"` // 2023用户年度报告

	Year2024 *UserReport2024 `json:"year_2024,omitempty"` // 2024用户年度报告
}

type UserAnnualReportBuilder

type UserAnnualReportBuilder struct {
	// contains filtered or unexported fields
}

func NewUserAnnualReportBuilder

func NewUserAnnualReportBuilder() *UserAnnualReportBuilder

func (*UserAnnualReportBuilder) Build

func (builder *UserAnnualReportBuilder) Build() *UserAnnualReport

func (*UserAnnualReportBuilder) Year2021

func (builder *UserAnnualReportBuilder) Year2021(year2021 *UserReport2021) *UserAnnualReportBuilder

2021用户年度报告

示例值:

func (*UserAnnualReportBuilder) Year2022 added in v3.0.12

func (builder *UserAnnualReportBuilder) Year2022(year2022 *UserReport2022) *UserAnnualReportBuilder

2022用户年度报告

示例值:

func (*UserAnnualReportBuilder) Year2023 added in v3.1.2

func (builder *UserAnnualReportBuilder) Year2023(year2023 *UserReport2023) *UserAnnualReportBuilder

2023用户年度报告

示例值:

func (*UserAnnualReportBuilder) Year2024 added in v3.4.5

func (builder *UserAnnualReportBuilder) Year2024(year2024 *UserReport2024) *UserAnnualReportBuilder

2024用户年度报告

示例值:

type UserBuilder

type UserBuilder struct {
	// contains filtered or unexported fields
}

func NewUserBuilder

func NewUserBuilder() *UserBuilder

func (*UserBuilder) Build

func (builder *UserBuilder) Build() *User

func (*UserBuilder) Id

func (builder *UserBuilder) Id(id string) *UserBuilder

用户ID

示例值:6994699009591869459

func (*UserBuilder) Name

func (builder *UserBuilder) Name(name string) *UserBuilder

用户名称

示例值:张三

type UserReport2021

type UserReport2021 struct {
	ActiveDayCount *int `json:"active_day_count,omitempty"` // 活跃时长> 0的天数

	BusyWeek *string `json:"busy_week,omitempty"` // 工作日平均活跃最长的一周,「2021W10」格式

	P2pChatCount *string `json:"p2p_chat_count,omitempty"` // 单聊过的人数(仅限普通单聊,不包括bot等,不限本人是否有过发送消息)

	TalkedChatCount *string `json:"talked_chat_count,omitempty"` // 发过言的群数

	FavoriteEmoji *string `json:"favorite_emoji,omitempty"` // 任何场景下发的表情次数最多的一个表情

	ReactionCount *string `json:"reaction_count,omitempty"` // 本人使用快捷表情的次数

	ConferenceCreateCount *string `json:"conference_create_count,omitempty"` // 创建了日程并发起了视频会议的次数

	TotalPartiCount *string `json:"total_parti_count,omitempty"` // 创建日程中涉及到的总人次

	MinutesObjectCount *string `json:"minutes_object_count,omitempty"` // 录制了多少篇妙记

	MinutesDuration *float64 `json:"minutes_duration,omitempty"` // 录制妙记累积时长(分钟)

	CreateEditFileCount *string `json:"create_edit_file_count,omitempty"` // 创建及参与协作的文档篇数

	CreateFileCount *string `json:"create_file_count,omitempty"` // 创建文档数

	CooperateEditFileCount *string `json:"cooperate_edit_file_count,omitempty"` // 参与协作文档数

	LikeRecordCount *string `json:"like_record_count,omitempty"` // 所属的文档共获得多少个点赞

	OkrCumOCount *string `json:"okr_cum_o_count,omitempty"` // 填写过的O的数量

	OkrCumKrCount *string `json:"okr_cum_kr_count,omitempty"` // 填写过的KR的数量

	OkrAlignedUserRankfirst *string `json:"okr_aligned_user_rankfirst,omitempty"` // 被对齐次数最多的用户

	ApprovalStartCount *string `json:"approval_start_count,omitempty"` // 发起的审批流程数

	ApprovalExecuteCount *string `json:"approval_execute_count,omitempty"` // 处理的审批流程数

	ApprovalRelationUserRankfirst *string `json:"approval_relation_user_rankfirst,omitempty"` // 审批协作次数最多的用户(在同一个审批实例中出现过即算为审批协作)

	UserId *string `json:"user_id,omitempty"` // 用户id

	BusyWeekSumDuration *string `json:"busy_week_sum_duration,omitempty"` // 工作日平均活跃最长的一周 的总活跃时长(分钟)

	BusyWeekMdate *string `json:"busy_week_mdate,omitempty"` // 工作日平均活跃最长的一周 的最早工作日

	BusyWeekActDays *int `json:"busy_week_act_days,omitempty"` // 工作日平均活跃最长的一周 有活跃的工作日天数

	CreateReadUserCount *string `json:"create_read_user_count,omitempty"` // 创建的文档被XXX人阅读过
}

type UserReport2021Builder

type UserReport2021Builder struct {
	// contains filtered or unexported fields
}

func NewUserReport2021Builder

func NewUserReport2021Builder() *UserReport2021Builder

func (*UserReport2021Builder) ActiveDayCount

func (builder *UserReport2021Builder) ActiveDayCount(activeDayCount int) *UserReport2021Builder

活跃时长> 0的天数

示例值:111

func (*UserReport2021Builder) ApprovalExecuteCount

func (builder *UserReport2021Builder) ApprovalExecuteCount(approvalExecuteCount string) *UserReport2021Builder

处理的审批流程数

示例值:0

func (*UserReport2021Builder) ApprovalRelationUserRankfirst

func (builder *UserReport2021Builder) ApprovalRelationUserRankfirst(approvalRelationUserRankfirst string) *UserReport2021Builder

审批协作次数最多的用户(在同一个审批实例中出现过即算为审批协作)

示例值:ou_XXXXXXX

func (*UserReport2021Builder) ApprovalStartCount

func (builder *UserReport2021Builder) ApprovalStartCount(approvalStartCount string) *UserReport2021Builder

发起的审批流程数

示例值:0

func (*UserReport2021Builder) Build

func (builder *UserReport2021Builder) Build() *UserReport2021

func (*UserReport2021Builder) BusyWeek

func (builder *UserReport2021Builder) BusyWeek(busyWeek string) *UserReport2021Builder

工作日平均活跃最长的一周,「2021W10」格式

示例值:2021W33

func (*UserReport2021Builder) BusyWeekActDays

func (builder *UserReport2021Builder) BusyWeekActDays(busyWeekActDays int) *UserReport2021Builder

工作日平均活跃最长的一周 有活跃的工作日天数

示例值:4

func (*UserReport2021Builder) BusyWeekMdate

func (builder *UserReport2021Builder) BusyWeekMdate(busyWeekMdate string) *UserReport2021Builder

工作日平均活跃最长的一周 的最早工作日

示例值:20210816

func (*UserReport2021Builder) BusyWeekSumDuration

func (builder *UserReport2021Builder) BusyWeekSumDuration(busyWeekSumDuration string) *UserReport2021Builder

工作日平均活跃最长的一周 的总活跃时长(分钟)

示例值:1816

func (*UserReport2021Builder) ConferenceCreateCount

func (builder *UserReport2021Builder) ConferenceCreateCount(conferenceCreateCount string) *UserReport2021Builder

创建了日程并发起了视频会议的次数

示例值:78

func (*UserReport2021Builder) CooperateEditFileCount

func (builder *UserReport2021Builder) CooperateEditFileCount(cooperateEditFileCount string) *UserReport2021Builder

参与协作文档数

示例值:0

func (*UserReport2021Builder) CreateEditFileCount

func (builder *UserReport2021Builder) CreateEditFileCount(createEditFileCount string) *UserReport2021Builder

创建及参与协作的文档篇数

示例值:0

func (*UserReport2021Builder) CreateFileCount

func (builder *UserReport2021Builder) CreateFileCount(createFileCount string) *UserReport2021Builder

创建文档数

示例值:0

func (*UserReport2021Builder) CreateReadUserCount

func (builder *UserReport2021Builder) CreateReadUserCount(createReadUserCount string) *UserReport2021Builder

创建的文档被XXX人阅读过

示例值:10

func (*UserReport2021Builder) FavoriteEmoji

func (builder *UserReport2021Builder) FavoriteEmoji(favoriteEmoji string) *UserReport2021Builder

任何场景下发的表情次数最多的一个表情

示例值:MUSCLE

func (*UserReport2021Builder) LikeRecordCount

func (builder *UserReport2021Builder) LikeRecordCount(likeRecordCount string) *UserReport2021Builder

所属的文档共获得多少个点赞

示例值:0

func (*UserReport2021Builder) MinutesDuration

func (builder *UserReport2021Builder) MinutesDuration(minutesDuration float64) *UserReport2021Builder

录制妙记累积时长(分钟)

示例值:0

func (*UserReport2021Builder) MinutesObjectCount

func (builder *UserReport2021Builder) MinutesObjectCount(minutesObjectCount string) *UserReport2021Builder

录制了多少篇妙记

示例值:0

func (*UserReport2021Builder) OkrAlignedUserRankfirst

func (builder *UserReport2021Builder) OkrAlignedUserRankfirst(okrAlignedUserRankfirst string) *UserReport2021Builder

被对齐次数最多的用户

示例值:ou_XXXXXXX

func (*UserReport2021Builder) OkrCumKrCount

func (builder *UserReport2021Builder) OkrCumKrCount(okrCumKrCount string) *UserReport2021Builder

填写过的KR的数量

示例值:0

func (*UserReport2021Builder) OkrCumOCount

func (builder *UserReport2021Builder) OkrCumOCount(okrCumOCount string) *UserReport2021Builder

填写过的O的数量

示例值:0

func (*UserReport2021Builder) P2pChatCount

func (builder *UserReport2021Builder) P2pChatCount(p2pChatCount string) *UserReport2021Builder

单聊过的人数(仅限普通单聊,不包括bot等,不限本人是否有过发送消息)

示例值:3

func (*UserReport2021Builder) ReactionCount

func (builder *UserReport2021Builder) ReactionCount(reactionCount string) *UserReport2021Builder

本人使用快捷表情的次数

示例值:341

func (*UserReport2021Builder) TalkedChatCount

func (builder *UserReport2021Builder) TalkedChatCount(talkedChatCount string) *UserReport2021Builder

发过言的群数

示例值:4

func (*UserReport2021Builder) TotalPartiCount

func (builder *UserReport2021Builder) TotalPartiCount(totalPartiCount string) *UserReport2021Builder

创建日程中涉及到的总人次

示例值:1

func (*UserReport2021Builder) UserId

func (builder *UserReport2021Builder) UserId(userId string) *UserReport2021Builder

用户id

示例值:ou_XXXXXXX

type UserReport2022 added in v3.0.12

type UserReport2022 struct {
	UserId *string `json:"user_id,omitempty"` // 用户id

	UserRegisterDate *string `json:"user_register_date,omitempty"` // 用户的飞书激活日期,yyyyMMdd格式(201909之前的用户可能是空

	ActiveDayCount *int `json:"active_day_count,omitempty"` // 用户2022年内在飞书有活跃的天数

	MsgBusyDate *string `json:"msg_busy_date,omitempty"` // 2022全年用户发出消息条数最多的一天,yyyyMMdd格式

	MsgBusyDateSendMsgCount *string `json:"msg_busy_date_send_msg_count,omitempty"` // 全年发消息最多一天,发出的消息数

	P2pChatCount *string `json:"p2p_chat_count,omitempty"` // 2022全年与此用户有过单聊的人数(双方任意一人发出过消息即计入)

	TalkedChatCount *string `json:"talked_chat_count,omitempty"` // 2022全年用户有过发言的飞书群的数量

	PositiveReactionCount *string `json:"positive_reaction_count,omitempty"` // 2022全年用户所发消息,收到点赞、送心、碰拳等正面表情回复的总次数

	FirstPositiveReaction *string `json:"first_positive_reaction,omitempty"` // 用户所收到的正向表情回复,排第1的表情

	SecondPositiveReaction *string `json:"second_positive_reaction,omitempty"` // 用户所收到的正向表情回复,排第2的表情

	ThirdPositiveReaction *string `json:"third_positive_reaction,omitempty"` // 用户所收到的正向表情回复,排第3的表情

	FourthPositiveReaction *string `json:"fourth_positive_reaction,omitempty"` // 用户所收到的正向表情回复,排第4的表情

	FifthPositiveReaction *string `json:"fifth_positive_reaction,omitempty"` // 用户所收到的正向表情回复,排第5的表情

	CreateFileCount *string `json:"create_file_count,omitempty"` // 2022全年用户本人创建过的飞书文档数量

	CreatedFileViewCount *string `json:"created_file_view_count,omitempty"` // 此用户2022年创建的飞书文档的总阅读人数(含自己)

	CommentFileCount *string `json:"comment_file_count,omitempty"` // 2022全年用户发表过评论的飞书文档数量

	AttendEventCount *string `json:"attend_event_count,omitempty"` // 2022全年用户的日程总数(主日历日程,排除被删除的日程及用户拒绝、移除的日程,包括全天日程和重复日程,重复日程在周期内计算为多次)

	EventBusyDate *string `json:"event_busy_date,omitempty"` // 2022全年用户日程数量最多的一天,yyyyMMdd格式

	EventBusyDateEventCount *string `json:"event_busy_date_event_count,omitempty"` // 日程最多一天的日程数量

	EventStartTimeRange1 *string `json:"event_start_time_range1,omitempty"` // 2022全年,此用户最经常的日程开始时间,精确到分钟,HH:mm格式

	ConferenceCreateCount *string `json:"conference_create_count,omitempty"` // 2022全年,基于此用户所创建的日程,发起了视频会议的次数

	TotalPartiCount *string `json:"total_parti_count,omitempty"` // 2022全年,基于此用户所创建的日程发起的视频会议,涉及的参会总人次

	OkrCumOCount *string `json:"okr_cum_o_count,omitempty"` // 2022全年此用户写过的O的数量(未删除)

	OkrCumKrCount *string `json:"okr_cum_kr_count,omitempty"` // 2022全年此用户写过的KR的数量(未删除)

	OkrAlignedUserCount *string `json:"okr_aligned_user_count,omitempty"` // 2022全年用户所写的OKR对齐过的去重人数(未删除)

	PeopleInterviewNum *string `json:"people_interview_num,omitempty"` // 2022全年用户在飞书招聘上进行的面试总场次(候选人是海外账号的未参与计算)

	SendEmailCount *string `json:"send_email_count,omitempty"` // 2022全年此用户发出邮件数量

	ReceiveEmailCount *string `json:"receive_email_count,omitempty"` // 2022全年此用户收到邮件数量
}

type UserReport2022Builder added in v3.0.12

type UserReport2022Builder struct {
	// contains filtered or unexported fields
}

func NewUserReport2022Builder added in v3.0.12

func NewUserReport2022Builder() *UserReport2022Builder

func (*UserReport2022Builder) ActiveDayCount added in v3.0.12

func (builder *UserReport2022Builder) ActiveDayCount(activeDayCount int) *UserReport2022Builder

用户2022年内在飞书有活跃的天数

示例值:120

func (*UserReport2022Builder) AttendEventCount added in v3.0.12

func (builder *UserReport2022Builder) AttendEventCount(attendEventCount string) *UserReport2022Builder

2022全年用户的日程总数(主日历日程,排除被删除的日程及用户拒绝、移除的日程,包括全天日程和重复日程,重复日程在周期内计算为多次)

示例值:123

func (*UserReport2022Builder) Build added in v3.0.12

func (builder *UserReport2022Builder) Build() *UserReport2022

func (*UserReport2022Builder) CommentFileCount added in v3.0.12

func (builder *UserReport2022Builder) CommentFileCount(commentFileCount string) *UserReport2022Builder

2022全年用户发表过评论的飞书文档数量

示例值:11

func (*UserReport2022Builder) ConferenceCreateCount added in v3.0.12

func (builder *UserReport2022Builder) ConferenceCreateCount(conferenceCreateCount string) *UserReport2022Builder

2022全年,基于此用户所创建的日程,发起了视频会议的次数

示例值:123

func (*UserReport2022Builder) CreateFileCount added in v3.0.12

func (builder *UserReport2022Builder) CreateFileCount(createFileCount string) *UserReport2022Builder

2022全年用户本人创建过的飞书文档数量

示例值:12

func (*UserReport2022Builder) CreatedFileViewCount added in v3.0.12

func (builder *UserReport2022Builder) CreatedFileViewCount(createdFileViewCount string) *UserReport2022Builder

此用户2022年创建的飞书文档的总阅读人数(含自己)

示例值:11

func (*UserReport2022Builder) EventBusyDate added in v3.0.12

func (builder *UserReport2022Builder) EventBusyDate(eventBusyDate string) *UserReport2022Builder

2022全年用户日程数量最多的一天,yyyyMMdd格式

示例值:20220801

func (*UserReport2022Builder) EventBusyDateEventCount added in v3.0.12

func (builder *UserReport2022Builder) EventBusyDateEventCount(eventBusyDateEventCount string) *UserReport2022Builder

日程最多一天的日程数量

示例值:123

func (*UserReport2022Builder) EventStartTimeRange1 added in v3.0.12

func (builder *UserReport2022Builder) EventStartTimeRange1(eventStartTimeRange1 string) *UserReport2022Builder

2022全年,此用户最经常的日程开始时间,精确到分钟,HH:mm格式

示例值:10:00

func (*UserReport2022Builder) FifthPositiveReaction added in v3.0.12

func (builder *UserReport2022Builder) FifthPositiveReaction(fifthPositiveReaction string) *UserReport2022Builder

用户所收到的正向表情回复,排第5的表情

示例值:fistbump

func (*UserReport2022Builder) FirstPositiveReaction added in v3.0.12

func (builder *UserReport2022Builder) FirstPositiveReaction(firstPositiveReaction string) *UserReport2022Builder

用户所收到的正向表情回复,排第1的表情

示例值:thumbsup

func (*UserReport2022Builder) FourthPositiveReaction added in v3.0.12

func (builder *UserReport2022Builder) FourthPositiveReaction(fourthPositiveReaction string) *UserReport2022Builder

用户所收到的正向表情回复,排第4的表情

示例值:applaud

func (*UserReport2022Builder) MsgBusyDate added in v3.0.12

func (builder *UserReport2022Builder) MsgBusyDate(msgBusyDate string) *UserReport2022Builder

2022全年用户发出消息条数最多的一天,yyyyMMdd格式

示例值:20220817

func (*UserReport2022Builder) MsgBusyDateSendMsgCount added in v3.0.12

func (builder *UserReport2022Builder) MsgBusyDateSendMsgCount(msgBusyDateSendMsgCount string) *UserReport2022Builder

全年发消息最多一天,发出的消息数

示例值:588

func (*UserReport2022Builder) OkrAlignedUserCount added in v3.0.12

func (builder *UserReport2022Builder) OkrAlignedUserCount(okrAlignedUserCount string) *UserReport2022Builder

2022全年用户所写的OKR对齐过的去重人数(未删除)

示例值:123

func (*UserReport2022Builder) OkrCumKrCount added in v3.0.12

func (builder *UserReport2022Builder) OkrCumKrCount(okrCumKrCount string) *UserReport2022Builder

2022全年此用户写过的KR的数量(未删除)

示例值:123

func (*UserReport2022Builder) OkrCumOCount added in v3.0.12

func (builder *UserReport2022Builder) OkrCumOCount(okrCumOCount string) *UserReport2022Builder

2022全年此用户写过的O的数量(未删除)

示例值:123

func (*UserReport2022Builder) P2pChatCount added in v3.0.12

func (builder *UserReport2022Builder) P2pChatCount(p2pChatCount string) *UserReport2022Builder

2022全年与此用户有过单聊的人数(双方任意一人发出过消息即计入)

示例值:22

func (*UserReport2022Builder) PeopleInterviewNum added in v3.0.12

func (builder *UserReport2022Builder) PeopleInterviewNum(peopleInterviewNum string) *UserReport2022Builder

2022全年用户在飞书招聘上进行的面试总场次(候选人是海外账号的未参与计算)

示例值:123

func (*UserReport2022Builder) PositiveReactionCount added in v3.0.12

func (builder *UserReport2022Builder) PositiveReactionCount(positiveReactionCount string) *UserReport2022Builder

2022全年用户所发消息,收到点赞、送心、碰拳等正面表情回复的总次数

示例值:100

func (*UserReport2022Builder) ReceiveEmailCount added in v3.0.12

func (builder *UserReport2022Builder) ReceiveEmailCount(receiveEmailCount string) *UserReport2022Builder

2022全年此用户收到邮件数量

示例值:123

func (*UserReport2022Builder) SecondPositiveReaction added in v3.0.12

func (builder *UserReport2022Builder) SecondPositiveReaction(secondPositiveReaction string) *UserReport2022Builder

用户所收到的正向表情回复,排第2的表情

示例值:muscle

func (*UserReport2022Builder) SendEmailCount added in v3.0.12

func (builder *UserReport2022Builder) SendEmailCount(sendEmailCount string) *UserReport2022Builder

2022全年此用户发出邮件数量

示例值:123

func (*UserReport2022Builder) TalkedChatCount added in v3.0.12

func (builder *UserReport2022Builder) TalkedChatCount(talkedChatCount string) *UserReport2022Builder

2022全年用户有过发言的飞书群的数量

示例值:18

func (*UserReport2022Builder) ThirdPositiveReaction added in v3.0.12

func (builder *UserReport2022Builder) ThirdPositiveReaction(thirdPositiveReaction string) *UserReport2022Builder

用户所收到的正向表情回复,排第3的表情

示例值:fingerheart

func (*UserReport2022Builder) TotalPartiCount added in v3.0.12

func (builder *UserReport2022Builder) TotalPartiCount(totalPartiCount string) *UserReport2022Builder

2022全年,基于此用户所创建的日程发起的视频会议,涉及的参会总人次

示例值:123

func (*UserReport2022Builder) UserId added in v3.0.12

func (builder *UserReport2022Builder) UserId(userId string) *UserReport2022Builder

用户id

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*UserReport2022Builder) UserRegisterDate added in v3.0.12

func (builder *UserReport2022Builder) UserRegisterDate(userRegisterDate string) *UserReport2022Builder

用户的飞书激活日期,yyyyMMdd格式(201909之前的用户可能是空

示例值:20220726

type UserReport2023 added in v3.1.2

type UserReport2023 struct {
	UserId *string `json:"user_id,omitempty"` // 用户ID

	TenantAllCnt *int `json:"tenant_all_cnt,omitempty"` // 所在租户目前的总人数,已激活、未离职

	UserRegisterDate *string `json:"user_register_date,omitempty"` // 用户的飞书激活日期,yyyyMMdd格式(201909之前的用户可能是空)

	AllDayCnt *int `json:"all_day_cnt,omitempty"` // 用户激活至今的天数

	ActiveDayCnt *int `json:"active_day_cnt,omitempty"` // 用户2023年内活跃时长> 0的天数

	DurationCnt2 []*AnnualReportMapFloat `json:"duration_cnt_2,omitempty"` // 用户2022-2023使用总时长(格式0.01h),共2组键值对,表示2年各自的数据。举例:{"2022":"33.33","2023":"55.55"}

	DurationCntRank *string `json:"duration_cnt_rank,omitempty"` // 2023年全年活跃时长的排名。

	BusyMonth *string `json:"busy_month,omitempty"` // 用户2023年最忙碌一个月。最忙碌一个月的定义:所有自然月中,飞书在线时长最长的一个月。

	BusyMonthSumDuration *float64 `json:"busy_month_sum_duration,omitempty"` // 用户2023年最忙碌一个月的活跃时长(格式0.01h)

	BusyMonthSendMsgCnt *int `json:"busy_month_send_msg_cnt,omitempty"` // 用户2023年最忙碌一个月的发消息数

	BusyMonthMeetingCnt *int `json:"busy_month_meeting_cnt,omitempty"` // 用户2023年最忙碌一个月的参会数(指本人发起的会议+受邀参与的会议)

	BusyMonthLastMeetingTime *string `json:"busy_month_last_meeting_time,omitempty"` // 用户2023年最忙碌一个月的会议结束最晚的时间(格式 : 【20230507 23:59】)。最晚时间的定义:将每天凌晨5点之前计入前一天来计算最晚时间点。

	BusyMonthCreateEditFileCnt *int `json:"busy_month_create_edit_file_cnt,omitempty"` // 用户2023年最忙碌一个月的创建+编辑评论文档

	ImSendMsgCnt2 []*AnnualReportMapInt `json:"im_send_msg_cnt_2,omitempty"` // 用户2022-2023发消息数,共2组键值对,表示2年各自的数据。举例:[{"year":"2022","count":"33”},{"year":"2023","count":"55"}]

	ImSendMsgCntRank *string `json:"im_send_msg_cnt_rank,omitempty"` // 用户2023年发出消息数,在租户内的排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

	ImBusyDate *string `json:"im_busy_date,omitempty"` // 用户2023年发消息最多的一天

	ImBusyDateSendMsgCnt *int `json:"im_busy_date_send_msg_cnt,omitempty"` // 用户2023年发消息最多的一天发消息条数

	ImLastSendMsgTime *string `json:"im_last_send_msg_time,omitempty"` // 用户2023年发出时间最晚的一条消息的时间,时间格式, 【20230507 23:59】。最晚时间的定义:将每天凌晨5点之前计入前一天来计算最晚时间点。

	ImTalkedChatCnt *int `json:"im_talked_chat_cnt,omitempty"` // 用户2023年发过言的群数

	ImPrivateChatCnt *int `json:"im_private_chat_cnt,omitempty"` // 用户2023年私聊过的人数

	ImEmojiTop1 *string `json:"im_emoji_top1,omitempty"` // 用户2023年使用最多的表情1

	ImEmojiTop1Cnt *string `json:"im_emoji_top1_cnt,omitempty"` // 用户2023年使用最多的表情1次数

	ImEmojiTop2 *string `json:"im_emoji_top2,omitempty"` // 用户2023年使用最多的表情2

	ImEmojiTop2Cnt *string `json:"im_emoji_top2_cnt,omitempty"` // 用户2023年使用最多的表情2次数

	ImEmojiTop3 *string `json:"im_emoji_top3,omitempty"` // 用户2023年使用最多的表情3

	ImEmojiTop3Cnt *string `json:"im_emoji_top3_cnt,omitempty"` // 用户2023年使用最多的表情3次数

	ImPositiveReactionCnt2 []*AnnualReportMapInt `json:"im_positive_reaction_cnt_2,omitempty"` // 用户2022-2023收到正向reaction次数,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

	ImPositiveReactionCntRank *string `json:"im_positive_reaction_cnt_rank,omitempty"` // 2023年收到表情数量排名

	CcmCreateCnt2 []*AnnualReportMapInt `json:"ccm_create_cnt_2,omitempty"` // 用户2022-2023创建文档数,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

	CcmCreateCntRank *string `json:"ccm_create_cnt_rank,omitempty"` // 用户2023年创建文档数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

	CcmCreateBusyMonth *string `json:"ccm_create_busy_month,omitempty"` // 用户2023年创建文档数最多的月份

	CcmCreateBusyMonthCnt *int `json:"ccm_create_busy_month_cnt,omitempty"` // 用户2023年创建文档数最多的月份的文档数

	CcmCreateViewedUcnt *int `json:"ccm_create_viewed_ucnt,omitempty"` // 用户本人创建的文档在2023年全年的浏览人数。注意:仅限制浏览时间是2023年,不限制文档的创建时间。

	CcmCreateLikedCnt *int `json:"ccm_create_liked_cnt,omitempty"` // 用户本人创建的文档在2023年收到的点赞数,仅指文档底部的大拇指点赞。注意:仅限制点赞时间是2023年,不限制文档的创建时间。

	CcmCreateLikedCntRank *string `json:"ccm_create_liked_cnt_rank,omitempty"` // 用户2023年由本人创建的文档的点赞数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

	CcmEditCommentFcnt2 []*AnnualReportMapInt `json:"ccm_edit_comment_fcnt_2,omitempty"` // 用户2022-2023参与编辑、评论他人的文档数,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

	CcmEditCommentFcntRank *string `json:"ccm_edit_comment_fcnt_rank,omitempty"` // 用户2023年参与编辑、评论他人的文档数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

	CcmViewOtherFcnt *int `json:"ccm_view_other_fcnt,omitempty"` // 用户2023年点击浏览过的他人文档数

	CcmViewOtherFcntRank *string `json:"ccm_view_other_fcnt_rank,omitempty"` // 用户2023年点击浏览过的他人文档数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

	VcSentMeetingCnt2 []*AnnualReportMapInt `json:"vc_sent_meeting_cnt_2,omitempty"` // 用户2022-2023本人发起的线上视频会议的数量(循环会议算多次,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

	VcSentMeetingCntRank *string `json:"vc_sent_meeting_cnt_rank,omitempty"` // 用户2023年本人发起的线上视频会议的数量排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

	VcSentMeetingUcnt *int `json:"vc_sent_meeting_ucnt,omitempty"` // 用户2023年本人发起会议邀请参会的人次

	VcJoinMeetingCnt2 []*AnnualReportMapInt `json:"vc_join_meeting_cnt_2,omitempty"` // 用户2022-2023本人受邀参与的会议数(循环会议算多次),共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

	VcJoinMeetingCntRank *string `json:"vc_join_meeting_cnt_rank,omitempty"` // 用户2023年本人受邀参与的会议数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

	VcAllMeetingCnt *int `json:"vc_all_meeting_cnt,omitempty"` // 用户2023年本人的总参会次数(包含自己发起和被邀请)

	VcAllMeetingCntRank *string `json:"vc_all_meeting_cnt_rank,omitempty"` // 用户2023年本人的总参会次数(包含自己发起和被邀请)的排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量

	VcAllMeetingDuration2 []*AnnualReportMapFloat `json:"vc_all_meeting_duration_2,omitempty"` // 用户2022-2023本人总参会的时长(包含自己发起和被邀请),格式0.01h,共2组键值对,表示2年各自的数据。举例:{"2022":"33.33","2023":"55.55"}

	CalCommentCalTime *string `json:"cal_comment_cal_time,omitempty"` // 用户2023年中最常开始日程的时间,精确到分钟,格式:【23:59】

	PeopleProfileViewCnt *string `json:"people_profile_view_cnt,omitempty"` // 2023年查看同事profile的人次

	PeopleInterviewNum2 []*AnnualReportMapInt `json:"people_interview_num_2,omitempty"` // 用户2022-2023面试了多少场,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

	PeopleInterviewNumRank *string `json:"people_interview_num_rank,omitempty"` // people用户2023年面试总场次的排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

	PeopleInterviewOfferNum2 []*AnnualReportMapInt `json:"people_interview_offer_num_2,omitempty"` // 用户2022-2023本人面试之后,发出offer数量,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

	PeopleInterviewOfferNumRank *string `json:"people_interview_offer_num_rank,omitempty"` // 2023年由本人面试之后,发出offer数量排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

	EmailSendEmailCount *int `json:"email_send_email_count,omitempty"` // 用户2023年发邮件数

	EmailReceiveEmailCount *int `json:"email_receive_email_count,omitempty"` // 用户2023年收邮件数
}

type UserReport2023Builder added in v3.1.2

type UserReport2023Builder struct {
	// contains filtered or unexported fields
}

func NewUserReport2023Builder added in v3.1.2

func NewUserReport2023Builder() *UserReport2023Builder

func (*UserReport2023Builder) ActiveDayCnt added in v3.1.2

func (builder *UserReport2023Builder) ActiveDayCnt(activeDayCnt int) *UserReport2023Builder

用户2023年内活跃时长> 0的天数

示例值:365

func (*UserReport2023Builder) AllDayCnt added in v3.1.2

func (builder *UserReport2023Builder) AllDayCnt(allDayCnt int) *UserReport2023Builder

用户激活至今的天数

示例值:1245

func (*UserReport2023Builder) Build added in v3.1.2

func (builder *UserReport2023Builder) Build() *UserReport2023

func (*UserReport2023Builder) BusyMonth added in v3.1.2

func (builder *UserReport2023Builder) BusyMonth(busyMonth string) *UserReport2023Builder

用户2023年最忙碌一个月。最忙碌一个月的定义:所有自然月中,飞书在线时长最长的一个月。

示例值:7

func (*UserReport2023Builder) BusyMonthCreateEditFileCnt added in v3.1.2

func (builder *UserReport2023Builder) BusyMonthCreateEditFileCnt(busyMonthCreateEditFileCnt int) *UserReport2023Builder

用户2023年最忙碌一个月的创建+编辑评论文档

示例值:5702

func (*UserReport2023Builder) BusyMonthLastMeetingTime added in v3.1.2

func (builder *UserReport2023Builder) BusyMonthLastMeetingTime(busyMonthLastMeetingTime string) *UserReport2023Builder

用户2023年最忙碌一个月的会议结束最晚的时间(格式 : 【20230507 23:59】)。最晚时间的定义:将每天凌晨5点之前计入前一天来计算最晚时间点。

示例值:2:25

func (*UserReport2023Builder) BusyMonthMeetingCnt added in v3.1.2

func (builder *UserReport2023Builder) BusyMonthMeetingCnt(busyMonthMeetingCnt int) *UserReport2023Builder

用户2023年最忙碌一个月的参会数(指本人发起的会议+受邀参与的会议)

示例值:5702

func (*UserReport2023Builder) BusyMonthSendMsgCnt added in v3.1.2

func (builder *UserReport2023Builder) BusyMonthSendMsgCnt(busyMonthSendMsgCnt int) *UserReport2023Builder

用户2023年最忙碌一个月的发消息数

示例值:78169

func (*UserReport2023Builder) BusyMonthSumDuration added in v3.1.2

func (builder *UserReport2023Builder) BusyMonthSumDuration(busyMonthSumDuration float64) *UserReport2023Builder

用户2023年最忙碌一个月的活跃时长(格式0.01h)

示例值:5702

func (*UserReport2023Builder) CalCommentCalTime added in v3.1.2

func (builder *UserReport2023Builder) CalCommentCalTime(calCommentCalTime string) *UserReport2023Builder

用户2023年中最常开始日程的时间,精确到分钟,格式:【23:59】

示例值:12:35

func (*UserReport2023Builder) CcmCreateBusyMonth added in v3.1.2

func (builder *UserReport2023Builder) CcmCreateBusyMonth(ccmCreateBusyMonth string) *UserReport2023Builder

用户2023年创建文档数最多的月份

示例值:9

func (*UserReport2023Builder) CcmCreateBusyMonthCnt added in v3.1.2

func (builder *UserReport2023Builder) CcmCreateBusyMonthCnt(ccmCreateBusyMonthCnt int) *UserReport2023Builder

用户2023年创建文档数最多的月份的文档数

示例值:5702

func (*UserReport2023Builder) CcmCreateCnt2 added in v3.1.2

func (builder *UserReport2023Builder) CcmCreateCnt2(ccmCreateCnt2 []*AnnualReportMapInt) *UserReport2023Builder

用户2022-2023创建文档数,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

示例值:

func (*UserReport2023Builder) CcmCreateCntRank added in v3.1.2

func (builder *UserReport2023Builder) CcmCreateCntRank(ccmCreateCntRank string) *UserReport2023Builder

用户2023年创建文档数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

示例值:4852

func (*UserReport2023Builder) CcmCreateLikedCnt added in v3.1.2

func (builder *UserReport2023Builder) CcmCreateLikedCnt(ccmCreateLikedCnt int) *UserReport2023Builder

用户本人创建的文档在2023年收到的点赞数,仅指文档底部的大拇指点赞。注意:仅限制点赞时间是2023年,不限制文档的创建时间。

示例值:21338

func (*UserReport2023Builder) CcmCreateLikedCntRank added in v3.1.2

func (builder *UserReport2023Builder) CcmCreateLikedCntRank(ccmCreateLikedCntRank string) *UserReport2023Builder

用户2023年由本人创建的文档的点赞数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

示例值:4852

func (*UserReport2023Builder) CcmCreateViewedUcnt added in v3.1.2

func (builder *UserReport2023Builder) CcmCreateViewedUcnt(ccmCreateViewedUcnt int) *UserReport2023Builder

用户本人创建的文档在2023年全年的浏览人数。注意:仅限制浏览时间是2023年,不限制文档的创建时间。

示例值:21338

func (*UserReport2023Builder) CcmEditCommentFcnt2 added in v3.1.2

func (builder *UserReport2023Builder) CcmEditCommentFcnt2(ccmEditCommentFcnt2 []*AnnualReportMapInt) *UserReport2023Builder

用户2022-2023参与编辑、评论他人的文档数,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

示例值:

func (*UserReport2023Builder) CcmEditCommentFcntRank added in v3.1.2

func (builder *UserReport2023Builder) CcmEditCommentFcntRank(ccmEditCommentFcntRank string) *UserReport2023Builder

用户2023年参与编辑、评论他人的文档数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

示例值:4852

func (*UserReport2023Builder) CcmViewOtherFcnt added in v3.1.2

func (builder *UserReport2023Builder) CcmViewOtherFcnt(ccmViewOtherFcnt int) *UserReport2023Builder

用户2023年点击浏览过的他人文档数

示例值:21338

func (*UserReport2023Builder) CcmViewOtherFcntRank added in v3.1.2

func (builder *UserReport2023Builder) CcmViewOtherFcntRank(ccmViewOtherFcntRank string) *UserReport2023Builder

用户2023年点击浏览过的他人文档数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

示例值:4852

func (*UserReport2023Builder) DurationCnt2 added in v3.1.2

func (builder *UserReport2023Builder) DurationCnt2(durationCnt2 []*AnnualReportMapFloat) *UserReport2023Builder

用户2022-2023使用总时长(格式0.01h),共2组键值对,表示2年各自的数据。举例:{"2022":"33.33","2023":"55.55"}

示例值:

func (*UserReport2023Builder) DurationCntRank added in v3.1.2

func (builder *UserReport2023Builder) DurationCntRank(durationCntRank string) *UserReport2023Builder

2023年全年活跃时长的排名。

示例值:21338

func (*UserReport2023Builder) EmailReceiveEmailCount added in v3.1.2

func (builder *UserReport2023Builder) EmailReceiveEmailCount(emailReceiveEmailCount int) *UserReport2023Builder

用户2023年收邮件数

示例值:7045

func (*UserReport2023Builder) EmailSendEmailCount added in v3.1.2

func (builder *UserReport2023Builder) EmailSendEmailCount(emailSendEmailCount int) *UserReport2023Builder

用户2023年发邮件数

示例值:4852

func (*UserReport2023Builder) ImBusyDate added in v3.1.2

func (builder *UserReport2023Builder) ImBusyDate(imBusyDate string) *UserReport2023Builder

用户2023年发消息最多的一天

示例值:20230916

func (*UserReport2023Builder) ImBusyDateSendMsgCnt added in v3.1.2

func (builder *UserReport2023Builder) ImBusyDateSendMsgCnt(imBusyDateSendMsgCnt int) *UserReport2023Builder

用户2023年发消息最多的一天发消息条数

示例值:89

func (*UserReport2023Builder) ImEmojiTop1 added in v3.1.2

func (builder *UserReport2023Builder) ImEmojiTop1(imEmojiTop1 string) *UserReport2023Builder

用户2023年使用最多的表情1

示例值:thumbsup

func (*UserReport2023Builder) ImEmojiTop1Cnt added in v3.1.2

func (builder *UserReport2023Builder) ImEmojiTop1Cnt(imEmojiTop1Cnt string) *UserReport2023Builder

用户2023年使用最多的表情1次数

示例值:21338

func (*UserReport2023Builder) ImEmojiTop2 added in v3.1.2

func (builder *UserReport2023Builder) ImEmojiTop2(imEmojiTop2 string) *UserReport2023Builder

用户2023年使用最多的表情2

示例值:jiayi

func (*UserReport2023Builder) ImEmojiTop2Cnt added in v3.1.2

func (builder *UserReport2023Builder) ImEmojiTop2Cnt(imEmojiTop2Cnt string) *UserReport2023Builder

用户2023年使用最多的表情2次数

示例值:21338

func (*UserReport2023Builder) ImEmojiTop3 added in v3.1.2

func (builder *UserReport2023Builder) ImEmojiTop3(imEmojiTop3 string) *UserReport2023Builder

用户2023年使用最多的表情3

示例值:love

func (*UserReport2023Builder) ImEmojiTop3Cnt added in v3.1.2

func (builder *UserReport2023Builder) ImEmojiTop3Cnt(imEmojiTop3Cnt string) *UserReport2023Builder

用户2023年使用最多的表情3次数

示例值:21338

func (*UserReport2023Builder) ImLastSendMsgTime added in v3.1.2

func (builder *UserReport2023Builder) ImLastSendMsgTime(imLastSendMsgTime string) *UserReport2023Builder

用户2023年发出时间最晚的一条消息的时间,时间格式, 【20230507 23:59】。最晚时间的定义:将每天凌晨5点之前计入前一天来计算最晚时间点。

示例值:3:11

func (*UserReport2023Builder) ImPositiveReactionCnt2 added in v3.1.2

func (builder *UserReport2023Builder) ImPositiveReactionCnt2(imPositiveReactionCnt2 []*AnnualReportMapInt) *UserReport2023Builder

用户2022-2023收到正向reaction次数,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

示例值:

func (*UserReport2023Builder) ImPositiveReactionCntRank added in v3.1.2

func (builder *UserReport2023Builder) ImPositiveReactionCntRank(imPositiveReactionCntRank string) *UserReport2023Builder

2023年收到表情数量排名

示例值:21338

func (*UserReport2023Builder) ImPrivateChatCnt added in v3.1.2

func (builder *UserReport2023Builder) ImPrivateChatCnt(imPrivateChatCnt int) *UserReport2023Builder

用户2023年私聊过的人数

示例值:21338

func (*UserReport2023Builder) ImSendMsgCnt2 added in v3.1.2

func (builder *UserReport2023Builder) ImSendMsgCnt2(imSendMsgCnt2 []*AnnualReportMapInt) *UserReport2023Builder

用户2022-2023发消息数,共2组键值对,表示2年各自的数据。举例:[{"year":"2022","count":"33”},{"year":"2023","count":"55"}]

示例值:

func (*UserReport2023Builder) ImSendMsgCntRank added in v3.1.2

func (builder *UserReport2023Builder) ImSendMsgCntRank(imSendMsgCntRank string) *UserReport2023Builder

用户2023年发出消息数,在租户内的排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

示例值:4852

func (*UserReport2023Builder) ImTalkedChatCnt added in v3.1.2

func (builder *UserReport2023Builder) ImTalkedChatCnt(imTalkedChatCnt int) *UserReport2023Builder

用户2023年发过言的群数

示例值:21338

func (*UserReport2023Builder) PeopleInterviewNum2 added in v3.1.2

func (builder *UserReport2023Builder) PeopleInterviewNum2(peopleInterviewNum2 []*AnnualReportMapInt) *UserReport2023Builder

用户2022-2023面试了多少场,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

示例值:

func (*UserReport2023Builder) PeopleInterviewNumRank added in v3.1.2

func (builder *UserReport2023Builder) PeopleInterviewNumRank(peopleInterviewNumRank string) *UserReport2023Builder

people用户2023年面试总场次的排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

示例值:4852

func (*UserReport2023Builder) PeopleInterviewOfferNum2 added in v3.1.2

func (builder *UserReport2023Builder) PeopleInterviewOfferNum2(peopleInterviewOfferNum2 []*AnnualReportMapInt) *UserReport2023Builder

用户2022-2023本人面试之后,发出offer数量,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

示例值:

func (*UserReport2023Builder) PeopleInterviewOfferNumRank added in v3.1.2

func (builder *UserReport2023Builder) PeopleInterviewOfferNumRank(peopleInterviewOfferNumRank string) *UserReport2023Builder

2023年由本人面试之后,发出offer数量排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

示例值:4852

func (*UserReport2023Builder) PeopleProfileViewCnt added in v3.1.2

func (builder *UserReport2023Builder) PeopleProfileViewCnt(peopleProfileViewCnt string) *UserReport2023Builder

2023年查看同事profile的人次

示例值:21338

func (*UserReport2023Builder) TenantAllCnt added in v3.1.2

func (builder *UserReport2023Builder) TenantAllCnt(tenantAllCnt int) *UserReport2023Builder

所在租户目前的总人数,已激活、未离职

示例值:171434

func (*UserReport2023Builder) UserId added in v3.1.2

func (builder *UserReport2023Builder) UserId(userId string) *UserReport2023Builder

用户ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*UserReport2023Builder) UserRegisterDate added in v3.1.2

func (builder *UserReport2023Builder) UserRegisterDate(userRegisterDate string) *UserReport2023Builder

用户的飞书激活日期,yyyyMMdd格式(201909之前的用户可能是空)

示例值:20200720

func (*UserReport2023Builder) VcAllMeetingCnt added in v3.1.2

func (builder *UserReport2023Builder) VcAllMeetingCnt(vcAllMeetingCnt int) *UserReport2023Builder

用户2023年本人的总参会次数(包含自己发起和被邀请)

示例值:21338

func (*UserReport2023Builder) VcAllMeetingCntRank added in v3.1.2

func (builder *UserReport2023Builder) VcAllMeetingCntRank(vcAllMeetingCntRank string) *UserReport2023Builder

用户2023年本人的总参会次数(包含自己发起和被邀请)的排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量

示例值:10

func (*UserReport2023Builder) VcAllMeetingDuration2 added in v3.1.2

func (builder *UserReport2023Builder) VcAllMeetingDuration2(vcAllMeetingDuration2 []*AnnualReportMapFloat) *UserReport2023Builder

用户2022-2023本人总参会的时长(包含自己发起和被邀请),格式0.01h,共2组键值对,表示2年各自的数据。举例:{"2022":"33.33","2023":"55.55"}

示例值:

func (*UserReport2023Builder) VcJoinMeetingCnt2 added in v3.1.2

func (builder *UserReport2023Builder) VcJoinMeetingCnt2(vcJoinMeetingCnt2 []*AnnualReportMapInt) *UserReport2023Builder

用户2022-2023本人受邀参与的会议数(循环会议算多次),共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

示例值:

func (*UserReport2023Builder) VcJoinMeetingCntRank added in v3.1.2

func (builder *UserReport2023Builder) VcJoinMeetingCntRank(vcJoinMeetingCntRank string) *UserReport2023Builder

用户2023年本人受邀参与的会议数排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

示例值:4852

func (*UserReport2023Builder) VcSentMeetingCnt2 added in v3.1.2

func (builder *UserReport2023Builder) VcSentMeetingCnt2(vcSentMeetingCnt2 []*AnnualReportMapInt) *UserReport2023Builder

用户2022-2023本人发起的线上视频会议的数量(循环会议算多次,共2组键值对,表示2年各自的数据。举例:{"2022":"33","2023":"55"}

示例值:

func (*UserReport2023Builder) VcSentMeetingCntRank added in v3.1.2

func (builder *UserReport2023Builder) VcSentMeetingCntRank(vcSentMeetingCntRank string) *UserReport2023Builder

用户2023年本人发起的线上视频会议的数量排名。排名的统一定义:在同一租户内,此指标大于本人的用户数量。

示例值:4852

func (*UserReport2023Builder) VcSentMeetingUcnt added in v3.1.2

func (builder *UserReport2023Builder) VcSentMeetingUcnt(vcSentMeetingUcnt int) *UserReport2023Builder

用户2023年本人发起会议邀请参会的人次

示例值:21338

type UserReport2024 added in v3.4.5

type UserReport2024 struct {
	UserId *string `json:"user_id,omitempty"` // 用户ID

	TenantAllCnt *string `json:"tenant_all_cnt,omitempty"` // 所在租户目前的总人数(已激活、未离职)

	UserRegisterDate *string `json:"user_register_date,omitempty"` // 用户的飞书激活日期(yyyyMMdd,201909之前的用户可能是空)

	FeishuDayCnt *string `json:"feishu_day_cnt,omitempty"` // 飞书使用天数(激活日期到现在的天数)。

	DurationCnt2 []*AnnualReportMapFloat `json:"duration_cnt_2,omitempty"` // 全年总活跃时长(格式0.01h,包含2023、2024各年统计数据)。

	ImSendMsgCnt2 []*AnnualReportMapInt `json:"im_send_msg_cnt_2,omitempty"` // 全年发出消息数(包含2023、2024各年统计数据)。

	AvgImSendMsgCnt2 []*AnnualReportMapFloat `json:"avg_im_send_msg_cnt_2,omitempty"` // 全年工作日日均发消息数(包含2023、2024各年统计数据)。

	ImTalkedChatCnt *string `json:"im_talked_chat_cnt,omitempty"` // 2024年内,发过言的群组数

	ImPrivateChatCnt *string `json:"im_private_chat_cnt,omitempty"` // 2024年内,私聊过的个人数(本人发过消息)。

	ImEmojiTop1 *string `json:"im_emoji_top1,omitempty"` // 2024年内,消息对话中使用次数最多的表情。

	ImEmojiTop1Cnt2 []*AnnualReportMapInt `json:"im_emoji_top1_cnt_2,omitempty"` // 使用次数第一多表情计数(包含2023、2024各年统计数据)。

	ImEmojiTop2 *string `json:"im_emoji_top2,omitempty"` // 2024年内,消息对话中使用次数第二多的表情。

	ImEmojiTop2Cnt2 []*AnnualReportMapInt `json:"im_emoji_top2_cnt_2,omitempty"` // 使用次数第二多表情计数(包含2023、2024各年统计数据)。

	ImEmojiTop3 *string `json:"im_emoji_top3,omitempty"` // 2024年内,消息对话中使用次数第三多的表情。

	ImEmojiTop3Cnt2 []*AnnualReportMapInt `json:"im_emoji_top3_cnt_2,omitempty"` // 使用次数第三多表情计数(包含2023、2024各年统计数据)。

	ImPositiveReactionCnt2 []*AnnualReportMapInt `json:"im_positive_reaction_cnt_2,omitempty"` // 全年在消息中收到他人点赞的数量(包含2023、2024各年统计数据)。

	ImPositiveReactionCntRank *string `json:"im_positive_reaction_cnt_rank,omitempty"` // 2024年内,收到点赞的数量,在租户内的排名。

	ImPositiveReactionCntDenominator *string `json:"im_positive_reaction_cnt_denominator,omitempty"` // 2024年内,收到点赞排名的分母(已激活未离职人员中,此指标大于0的人数)。

	BusyDay *string `json:"busy_day,omitempty"` // 2024年内,处理消息最多的一天(yyyyMMdd)。

	BusyDaySendMsgCnt *string `json:"busy_day_send_msg_cnt,omitempty"` // 2024年内,一天最多处理了多少条消息。

	CcmCreateCnt2 []*AnnualReportMapInt `json:"ccm_create_cnt_2,omitempty"` // 全年创建文档数(包含2023、2024各年统计数据)。

	CcmCreateViewedUcnt *string `json:"ccm_create_viewed_ucnt,omitempty"` // 2024年内,本人创建的文档被多少人浏览。

	CcmCreateLikedCnt *string `json:"ccm_create_liked_cnt,omitempty"` // 2024年内,本人创建的文档被点赞的合计次数。

	CcmCreateLikedMaxCnt *string `json:"ccm_create_liked_max_cnt,omitempty"` // 2024年内,本人创建的文档被点赞的次数最大值。

	VcJoinMeetingCnt *string `json:"vc_join_meeting_cnt,omitempty"` // 2024年内,本人参与过的视频会议数(包含本人、非本人发起)。

	VcAllMeetingDuration2 []*AnnualReportMapFloat `json:"vc_all_meeting_duration_2,omitempty"` // 本人参与会议的总时长(包含2023、2024各年统计数据)。

	VcJoinMeetingAllUserCnt *string `json:"vc_join_meeting_all_user_cnt,omitempty"` // 2024年内,本人参与会议的去重参会人数(不含本人)。

	VcLastMeetingTime *string `json:"vc_last_meeting_time,omitempty"` // 2024年内,最晚一次会议结束的时间(yyyyMMdd HH:mm,5点之前数据计入前一天)。

	BaseCreateFcnt2 []*AnnualReportMapInt `json:"base_create_fcnt_2,omitempty"` // 本人全年创建的多维表格数量(包含2023、2024各年统计数据)。

	BaseViewFcnt *string `json:"base_view_fcnt,omitempty"` // 2024年内,本人创建的多维表格被多少人访问过。

	BaseCreateDashboardCnt *string `json:"base_create_dashboard_cnt,omitempty"` // 2024年内,本人创建的仪表盘数量。

	BaseCreateDashboardRank *string `json:"base_create_dashboard_rank,omitempty"` // 2024年内,本人创建仪表盘数量,在租户内的排名。

	BaseCreateDashboardRankUcnt *string `json:"base_create_dashboard_rank_ucnt,omitempty"` // 2024年内,本人创建仪表盘数量,在租户内排名的分母(已激活未离职人员中,此指标大于0的人数)。

	BaseCreateChatCnt *string `json:"base_create_chat_cnt,omitempty"` // 2024年内,本人创建的仪表盘内的图表总数量。

	BaseWorkflowInsCnt *string `json:"base_workflow_ins_cnt,omitempty"` // 2024年内,本人创建的多维表格自动化流程总运行次数。

	BaseWorkflowInsRank *string `json:"base_workflow_ins_rank,omitempty"` // 2024年内,本人创建的多维表格自动化流程,总运行次数在租户内的排名。

	BaseWorkflowInsRankUcnt *string `json:"base_workflow_ins_rank_ucnt,omitempty"` // 2024年内,自动化流程运行次数排名的分母(已激活未离职人员中,此指标大于0的人数)。

	VcAllReadNotesCnt *string `json:"vc_all_read_notes_cnt,omitempty"` // 2024年内,本人阅读智能会议纪要的篇数。

	MeegoRoleWiCntV2 []*AnnualReportMapInt `json:"meego_role_wi_cnt_v2,omitempty"` // 本人全年参与过的项目数量(包含2023、2024各年统计数据)。

	MeegoCommonWiUcnt *string `json:"meego_common_wi_ucnt,omitempty"` // 2024年内,本人参与过的项目的合作人数

	MeegoWorkflowWiCnt *string `json:"meego_workflow_wi_cnt,omitempty"` // 2024年内,本人流转过的节点/状态对应的实例数。

	PeopleInterviewNum2 []*AnnualReportMapInt `json:"people_interview_num_2,omitempty"` // 本人全年面试场次(包含2023、2024各年统计数据)。

	PeopleInterviewNumRank *string `json:"people_interview_num_rank,omitempty"` // 2024年内,本人面试场次在租户内的排名。

	PeopleInterviewNumRankUcnt *string `json:"people_interview_num_rank_ucnt,omitempty"` // 2024年内,本人面试场次在租户内排名的分母(已激活未离职人员中,此指标大于0的人数)。

	PeopleInterviewOfferNum2 []*AnnualReportMapInt `json:"people_interview_offer_num_2,omitempty"` // 本人面试之后成功发出offer的数量(包含2023、2024各年统计数据)。
}

type UserReport2024Builder added in v3.4.5

type UserReport2024Builder struct {
	// contains filtered or unexported fields
}

func NewUserReport2024Builder added in v3.4.5

func NewUserReport2024Builder() *UserReport2024Builder

func (*UserReport2024Builder) AvgImSendMsgCnt2 added in v3.4.5

func (builder *UserReport2024Builder) AvgImSendMsgCnt2(avgImSendMsgCnt2 []*AnnualReportMapFloat) *UserReport2024Builder

全年工作日日均发消息数(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66.66},{"year":"2024","num":88.88}]

func (*UserReport2024Builder) BaseCreateChatCnt added in v3.4.5

func (builder *UserReport2024Builder) BaseCreateChatCnt(baseCreateChatCnt string) *UserReport2024Builder

2024年内,本人创建的仪表盘内的图表总数量。

示例值:88

func (*UserReport2024Builder) BaseCreateDashboardCnt added in v3.4.5

func (builder *UserReport2024Builder) BaseCreateDashboardCnt(baseCreateDashboardCnt string) *UserReport2024Builder

2024年内,本人创建的仪表盘数量。

示例值:88

func (*UserReport2024Builder) BaseCreateDashboardRank added in v3.4.5

func (builder *UserReport2024Builder) BaseCreateDashboardRank(baseCreateDashboardRank string) *UserReport2024Builder

2024年内,本人创建仪表盘数量,在租户内的排名。

示例值:88

func (*UserReport2024Builder) BaseCreateDashboardRankUcnt added in v3.4.5

func (builder *UserReport2024Builder) BaseCreateDashboardRankUcnt(baseCreateDashboardRankUcnt string) *UserReport2024Builder

2024年内,本人创建仪表盘数量,在租户内排名的分母(已激活未离职人员中,此指标大于0的人数)。

示例值:88

func (*UserReport2024Builder) BaseCreateFcnt2 added in v3.4.5

func (builder *UserReport2024Builder) BaseCreateFcnt2(baseCreateFcnt2 []*AnnualReportMapInt) *UserReport2024Builder

本人全年创建的多维表格数量(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) BaseViewFcnt added in v3.4.5

func (builder *UserReport2024Builder) BaseViewFcnt(baseViewFcnt string) *UserReport2024Builder

2024年内,本人创建的多维表格被多少人访问过。

示例值:88

func (*UserReport2024Builder) BaseWorkflowInsCnt added in v3.4.5

func (builder *UserReport2024Builder) BaseWorkflowInsCnt(baseWorkflowInsCnt string) *UserReport2024Builder

2024年内,本人创建的多维表格自动化流程总运行次数。

示例值:88

func (*UserReport2024Builder) BaseWorkflowInsRank added in v3.4.5

func (builder *UserReport2024Builder) BaseWorkflowInsRank(baseWorkflowInsRank string) *UserReport2024Builder

2024年内,本人创建的多维表格自动化流程,总运行次数在租户内的排名。

示例值:88

func (*UserReport2024Builder) BaseWorkflowInsRankUcnt added in v3.4.5

func (builder *UserReport2024Builder) BaseWorkflowInsRankUcnt(baseWorkflowInsRankUcnt string) *UserReport2024Builder

2024年内,自动化流程运行次数排名的分母(已激活未离职人员中,此指标大于0的人数)。

示例值:88

func (*UserReport2024Builder) Build added in v3.4.5

func (builder *UserReport2024Builder) Build() *UserReport2024

func (*UserReport2024Builder) BusyDay added in v3.4.5

func (builder *UserReport2024Builder) BusyDay(busyDay string) *UserReport2024Builder

2024年内,处理消息最多的一天(yyyyMMdd)。

示例值:20240808

func (*UserReport2024Builder) BusyDaySendMsgCnt added in v3.4.5

func (builder *UserReport2024Builder) BusyDaySendMsgCnt(busyDaySendMsgCnt string) *UserReport2024Builder

2024年内,一天最多处理了多少条消息。

示例值:888

func (*UserReport2024Builder) CcmCreateCnt2 added in v3.4.5

func (builder *UserReport2024Builder) CcmCreateCnt2(ccmCreateCnt2 []*AnnualReportMapInt) *UserReport2024Builder

全年创建文档数(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) CcmCreateLikedCnt added in v3.4.5

func (builder *UserReport2024Builder) CcmCreateLikedCnt(ccmCreateLikedCnt string) *UserReport2024Builder

2024年内,本人创建的文档被点赞的合计次数。

示例值:88

func (*UserReport2024Builder) CcmCreateLikedMaxCnt added in v3.4.5

func (builder *UserReport2024Builder) CcmCreateLikedMaxCnt(ccmCreateLikedMaxCnt string) *UserReport2024Builder

2024年内,本人创建的文档被点赞的次数最大值。

示例值:88

func (*UserReport2024Builder) CcmCreateViewedUcnt added in v3.4.5

func (builder *UserReport2024Builder) CcmCreateViewedUcnt(ccmCreateViewedUcnt string) *UserReport2024Builder

2024年内,本人创建的文档被多少人浏览。

示例值:88

func (*UserReport2024Builder) DurationCnt2 added in v3.4.5

func (builder *UserReport2024Builder) DurationCnt2(durationCnt2 []*AnnualReportMapFloat) *UserReport2024Builder

全年总活跃时长(格式0.01h,包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66.66},{"year":"2024","num":88.88}]

func (*UserReport2024Builder) FeishuDayCnt added in v3.4.5

func (builder *UserReport2024Builder) FeishuDayCnt(feishuDayCnt string) *UserReport2024Builder

飞书使用天数(激活日期到现在的天数)。

示例值:8889

func (*UserReport2024Builder) ImEmojiTop1 added in v3.4.5

func (builder *UserReport2024Builder) ImEmojiTop1(imEmojiTop1 string) *UserReport2024Builder

2024年内,消息对话中使用次数最多的表情。

示例值:thumbsup

func (*UserReport2024Builder) ImEmojiTop1Cnt2 added in v3.4.5

func (builder *UserReport2024Builder) ImEmojiTop1Cnt2(imEmojiTop1Cnt2 []*AnnualReportMapInt) *UserReport2024Builder

使用次数第一多表情计数(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) ImEmojiTop2 added in v3.4.5

func (builder *UserReport2024Builder) ImEmojiTop2(imEmojiTop2 string) *UserReport2024Builder

2024年内,消息对话中使用次数第二多的表情。

示例值:jiayi

func (*UserReport2024Builder) ImEmojiTop2Cnt2 added in v3.4.5

func (builder *UserReport2024Builder) ImEmojiTop2Cnt2(imEmojiTop2Cnt2 []*AnnualReportMapInt) *UserReport2024Builder

使用次数第二多表情计数(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) ImEmojiTop3 added in v3.4.5

func (builder *UserReport2024Builder) ImEmojiTop3(imEmojiTop3 string) *UserReport2024Builder

2024年内,消息对话中使用次数第三多的表情。

示例值:love

func (*UserReport2024Builder) ImEmojiTop3Cnt2 added in v3.4.5

func (builder *UserReport2024Builder) ImEmojiTop3Cnt2(imEmojiTop3Cnt2 []*AnnualReportMapInt) *UserReport2024Builder

使用次数第三多表情计数(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) ImPositiveReactionCnt2 added in v3.4.5

func (builder *UserReport2024Builder) ImPositiveReactionCnt2(imPositiveReactionCnt2 []*AnnualReportMapInt) *UserReport2024Builder

全年在消息中收到他人点赞的数量(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) ImPositiveReactionCntDenominator added in v3.4.5

func (builder *UserReport2024Builder) ImPositiveReactionCntDenominator(imPositiveReactionCntDenominator string) *UserReport2024Builder

2024年内,收到点赞排名的分母(已激活未离职人员中,此指标大于0的人数)。

示例值:168

func (*UserReport2024Builder) ImPositiveReactionCntRank added in v3.4.5

func (builder *UserReport2024Builder) ImPositiveReactionCntRank(imPositiveReactionCntRank string) *UserReport2024Builder

2024年内,收到点赞的数量,在租户内的排名。

示例值:168

func (*UserReport2024Builder) ImPrivateChatCnt added in v3.4.5

func (builder *UserReport2024Builder) ImPrivateChatCnt(imPrivateChatCnt string) *UserReport2024Builder

2024年内,私聊过的个人数(本人发过消息)。

示例值:168

func (*UserReport2024Builder) ImSendMsgCnt2 added in v3.4.5

func (builder *UserReport2024Builder) ImSendMsgCnt2(imSendMsgCnt2 []*AnnualReportMapInt) *UserReport2024Builder

全年发出消息数(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) ImTalkedChatCnt added in v3.4.5

func (builder *UserReport2024Builder) ImTalkedChatCnt(imTalkedChatCnt string) *UserReport2024Builder

2024年内,发过言的群组数

示例值:168

func (*UserReport2024Builder) MeegoCommonWiUcnt added in v3.4.5

func (builder *UserReport2024Builder) MeegoCommonWiUcnt(meegoCommonWiUcnt string) *UserReport2024Builder

2024年内,本人参与过的项目的合作人数

示例值:88

func (*UserReport2024Builder) MeegoRoleWiCntV2 added in v3.4.5

func (builder *UserReport2024Builder) MeegoRoleWiCntV2(meegoRoleWiCntV2 []*AnnualReportMapInt) *UserReport2024Builder

本人全年参与过的项目数量(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) MeegoWorkflowWiCnt added in v3.4.5

func (builder *UserReport2024Builder) MeegoWorkflowWiCnt(meegoWorkflowWiCnt string) *UserReport2024Builder

2024年内,本人流转过的节点/状态对应的实例数。

示例值:288

func (*UserReport2024Builder) PeopleInterviewNum2 added in v3.4.5

func (builder *UserReport2024Builder) PeopleInterviewNum2(peopleInterviewNum2 []*AnnualReportMapInt) *UserReport2024Builder

本人全年面试场次(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) PeopleInterviewNumRank added in v3.4.5

func (builder *UserReport2024Builder) PeopleInterviewNumRank(peopleInterviewNumRank string) *UserReport2024Builder

2024年内,本人面试场次在租户内的排名。

示例值:88

func (*UserReport2024Builder) PeopleInterviewNumRankUcnt added in v3.4.5

func (builder *UserReport2024Builder) PeopleInterviewNumRankUcnt(peopleInterviewNumRankUcnt string) *UserReport2024Builder

2024年内,本人面试场次在租户内排名的分母(已激活未离职人员中,此指标大于0的人数)。

示例值:88

func (*UserReport2024Builder) PeopleInterviewOfferNum2 added in v3.4.5

func (builder *UserReport2024Builder) PeopleInterviewOfferNum2(peopleInterviewOfferNum2 []*AnnualReportMapInt) *UserReport2024Builder

本人面试之后成功发出offer的数量(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66},{"year":"2024","num":88}]

func (*UserReport2024Builder) TenantAllCnt added in v3.4.5

func (builder *UserReport2024Builder) TenantAllCnt(tenantAllCnt string) *UserReport2024Builder

所在租户目前的总人数(已激活、未离职)

示例值:6888

func (*UserReport2024Builder) UserId added in v3.4.5

func (builder *UserReport2024Builder) UserId(userId string) *UserReport2024Builder

用户ID

示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62

func (*UserReport2024Builder) UserRegisterDate added in v3.4.5

func (builder *UserReport2024Builder) UserRegisterDate(userRegisterDate string) *UserReport2024Builder

用户的飞书激活日期(yyyyMMdd,201909之前的用户可能是空)

示例值:20180808

func (*UserReport2024Builder) VcAllMeetingDuration2 added in v3.4.5

func (builder *UserReport2024Builder) VcAllMeetingDuration2(vcAllMeetingDuration2 []*AnnualReportMapFloat) *UserReport2024Builder

本人参与会议的总时长(包含2023、2024各年统计数据)。

示例值:[{"year":"2023","num",66.66},{"year":"2024","num":88.88}]

func (*UserReport2024Builder) VcAllReadNotesCnt added in v3.4.5

func (builder *UserReport2024Builder) VcAllReadNotesCnt(vcAllReadNotesCnt string) *UserReport2024Builder

2024年内,本人阅读智能会议纪要的篇数。

示例值:188

func (*UserReport2024Builder) VcJoinMeetingAllUserCnt added in v3.4.5

func (builder *UserReport2024Builder) VcJoinMeetingAllUserCnt(vcJoinMeetingAllUserCnt string) *UserReport2024Builder

2024年内,本人参与会议的去重参会人数(不含本人)。

示例值:88

func (*UserReport2024Builder) VcJoinMeetingCnt added in v3.4.5

func (builder *UserReport2024Builder) VcJoinMeetingCnt(vcJoinMeetingCnt string) *UserReport2024Builder

2024年内,本人参与过的视频会议数(包含本人、非本人发起)。

示例值:88

func (*UserReport2024Builder) VcLastMeetingTime added in v3.4.5

func (builder *UserReport2024Builder) VcLastMeetingTime(vcLastMeetingTime string) *UserReport2024Builder

2024年内,最晚一次会议结束的时间(yyyyMMdd HH:mm,5点之前数据计入前一天)。

示例值:20240808 23:00

type V1 added in v3.1.0

type V1 struct {
	AdminDeptStat *adminDeptStat // 部门维度的数据报表
	AdminUserStat *adminUserStat // 用户维度的数据报表
	AuditInfo     *auditInfo     // 行为审计日志(灰度租户可见)
	Badge         *badge         // 勋章
	BadgeGrant    *badgeGrant    // 勋章授予名单
	BadgeImage    *badgeImage    // 勋章图片
	Password      *password      // 登录密码管理
}

func New added in v3.1.0

func New(config *larkcore.Config) *V1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL