Documentation ¶
Index ¶
- Constants
- type AdminDeptStat
- type AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) ActiveUserNum(activeUserNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) ActiveUserRate(activeUserRate string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) AvgCreateCalNum(avgCreateCalNum string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) AvgCreateDocsNum(avgCreateDocsNum string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) AvgCreateTaskNum(avgCreateTaskNum string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) AvgDuration(avgDuration string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) AvgSendMessengerNum(avgSendMessengerNum string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) AvgVcDuration(avgVcDuration string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) Build() *AdminDeptStat
- func (builder *AdminDeptStatBuilder) CalDau(calDau int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) CreateCalNum(createCalNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) CreateCalUserNum(createCalUserNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) CreateDocsNum(createDocsNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) CreateDocsUserNum(createDocsUserNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) CreateTaskNum(createTaskNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) CreateTaskUserNum(createTaskUserNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) Date(date string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) DepartmentId(departmentId string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) DepartmentName(departmentName string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) DepartmentPath(departmentPath string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) DocsDau(docsDau int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) ImDau(imDau int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) NewActiveNum(newActiveNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) NewUserNum(newUserNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) ResignUserNum(resignUserNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) SendMessengerNum(sendMessengerNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) SendMessengerUserNum(sendMessengerUserNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) SuiteActiveRate(suiteActiveRate string) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) SuiteDau(suiteDau int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) TaskDau(taskDau int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) TotalUserNum(totalUserNum int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) VcDau(vcDau int) *AdminDeptStatBuilder
- func (builder *AdminDeptStatBuilder) VcDuration(vcDuration int) *AdminDeptStatBuilder
- type AdminService
- type AdminUserStat
- type AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) ActiveOs(activeOs string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) AppPackageType(appPackageType string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) Build() *AdminUserStat
- func (builder *AdminUserStatBuilder) CalActiveFlag(calActiveFlag int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) CreateCalNum(createCalNum int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) CreateDocsNum(createDocsNum int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) CreateTaskNum(createTaskNum int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) CreateTime(createTime string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) Date(date string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) DepartmentName(departmentName string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) DepartmentPath(departmentPath string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) DocsActiveFlag(docsActiveFlag int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) ImActiveFlag(imActiveFlag int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) LastActiveTime(lastActiveTime string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) OsName(osName string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) RegisterTime(registerTime string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) SendMessengerNum(sendMessengerNum int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) SuiteActiveFlag(suiteActiveFlag int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) UserActiveFlag(userActiveFlag int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) UserId(userId string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) UserName(userName string) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) VcActiveFlag(vcActiveFlag int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) VcDuration(vcDuration int) *AdminUserStatBuilder
- func (builder *AdminUserStatBuilder) VcNum(vcNum int) *AdminUserStatBuilder
- type Administrator
- type AdministratorBuilder
- func (builder *AdministratorBuilder) Build() *Administrator
- func (builder *AdministratorBuilder) IsAdministrator(isAdministrator bool) *AdministratorBuilder
- func (builder *AdministratorBuilder) IsSuperAdministrator(isSuperAdministrator bool) *AdministratorBuilder
- func (builder *AdministratorBuilder) UserId(userId string) *AdministratorBuilder
- type ApiAuditCommonDrawers
- type ApiAuditCommonDrawersBuilder
- type ApiAuditDrawerInfo
- type ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) Build() *ApiAuditDrawerInfo
- func (builder *ApiAuditDrawerInfoBuilder) InfoKey(infoKey string) *ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) InfoVal(infoVal string) *ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) KeyI18nKey(keyI18nKey string) *ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) ValI18nKey(valI18nKey string) *ApiAuditDrawerInfoBuilder
- func (builder *ApiAuditDrawerInfoBuilder) ValType(valType string) *ApiAuditDrawerInfoBuilder
- type AuditAndroidContext
- type AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) ActiveIp(activeIp string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) ActiveIpDetail(activeIpDetail string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) AppVer(appVer string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Build() *AuditAndroidContext
- func (builder *AuditAndroidContextBuilder) CellBaseStation(cellBaseStation string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Did(did string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) EnvMl(envMl string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) EnvSu(envSu string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) EnvTz(envTz string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) HwBrand(hwBrand string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) HwManuf(hwManuf string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) IP(iP string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) IdI(idI string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) IdR(idR string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Location(location string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Region(region string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) RouteGip(routeGip string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) RouteIip(routeIip string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Udid(udid string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Ver(ver string) *AuditAndroidContextBuilder
- func (builder *AuditAndroidContextBuilder) Wifip(wifip string) *AuditAndroidContextBuilder
- type AuditContext
- type AuditContextBuilder
- func (builder *AuditContextBuilder) AndroidContext(androidContext *AuditAndroidContext) *AuditContextBuilder
- func (builder *AuditContextBuilder) Build() *AuditContext
- func (builder *AuditContextBuilder) IosContext(iosContext *AuditIosContext) *AuditContextBuilder
- func (builder *AuditContextBuilder) PcContext(pcContext *AuditPcContext) *AuditContextBuilder
- func (builder *AuditContextBuilder) TerminalType(terminalType int) *AuditContextBuilder
- func (builder *AuditContextBuilder) WebContext(webContext *AuditWebContext) *AuditContextBuilder
- type AuditEventExtend
- type AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) AppDetail(appDetail string) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) Build() *AuditEventExtend
- func (builder *AuditEventExtendBuilder) CommentType(commentType string) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) ExternalPeopleNumInChat(externalPeopleNumInChat int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) ExternalPeopleNumInDocShare(externalPeopleNumInDocShare int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) ExternalPeopleNumInVideo(externalPeopleNumInVideo int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) JoinGroup(joinGroup int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) LoginMethod(loginMethod string) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) NewPeopleNumInVideo(newPeopleNumInVideo int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) QuitGroup(quitGroup int) *AuditEventExtendBuilder
- func (builder *AuditEventExtendBuilder) TwoStepValidation(twoStepValidation bool) *AuditEventExtendBuilder
- type AuditInfo
- type AuditInfoBuilder
- func (builder *AuditInfoBuilder) AuditContext(auditContext *AuditContext) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Build() *AuditInfo
- func (builder *AuditInfoBuilder) CommonDrawers(commonDrawers *ApiAuditCommonDrawers) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) DepartmentIds(departmentIds []string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) EventId(eventId string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) EventModule(eventModule int) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) EventName(eventName string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) EventTime(eventTime int) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Extend(extend *AuditEventExtend) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Ip(ip string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Objects(objects []*AuditObjectEntity) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) OperatorApp(operatorApp string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) OperatorAppName(operatorAppName string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) OperatorType(operatorType int) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) OperatorValue(operatorValue string) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) Recipients(recipients []*AuditRecipientEntity) *AuditInfoBuilder
- func (builder *AuditInfoBuilder) UniqueId(uniqueId string) *AuditInfoBuilder
- type AuditIosContext
- type AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) ActiveIp(activeIp string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) ActiveIpDetail(activeIpDetail string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) AppVer(appVer string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Build() *AuditIosContext
- func (builder *AuditIosContextBuilder) CellBaseStation(cellBaseStation string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Did(did string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) IP(iP string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Location(location string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) ML(mL string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Os(os string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Proxyip(proxyip string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) STZone(sTZone string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Sjd(sjd string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Udid(udid string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Ver(ver string) *AuditIosContextBuilder
- func (builder *AuditIosContextBuilder) Wifip(wifip string) *AuditIosContextBuilder
- type AuditObjectDetail
- type AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) Build() *AuditObjectDetail
- func (builder *AuditObjectDetailBuilder) CloneSource(cloneSource string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) ContainFileNum(containFileNum int) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) ContainerId(containerId string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) ContainerType(containerType string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) CurrentPage(currentPage string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) FileName(fileName string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) FileServiceSource(fileServiceSource string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) OkrDownloadContent(okrDownloadContent string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) PermissionExternalAccessType(permissionExternalAccessType bool) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) PermissionSettingType(permissionSettingType string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) PermissionShareType(permissionShareType string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) TextDetail(textDetail string) *AuditObjectDetailBuilder
- func (builder *AuditObjectDetailBuilder) ThirdPartyAppID(thirdPartyAppID string) *AuditObjectDetailBuilder
- type AuditObjectEntity
- type AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) Build() *AuditObjectEntity
- func (builder *AuditObjectEntityBuilder) ObjectDetail(objectDetail *AuditObjectDetail) *AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) ObjectName(objectName string) *AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) ObjectOwner(objectOwner string) *AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) ObjectType(objectType string) *AuditObjectEntityBuilder
- func (builder *AuditObjectEntityBuilder) ObjectValue(objectValue string) *AuditObjectEntityBuilder
- type AuditPcContext
- type AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) AppVer(appVer string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Build() *AuditPcContext
- func (builder *AuditPcContextBuilder) Did(did string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) IP(iP string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Os(os string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Region(region string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Udid(udid string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Ver(ver string) *AuditPcContextBuilder
- func (builder *AuditPcContextBuilder) Wifip(wifip string) *AuditPcContextBuilder
- type AuditRecipientDetail
- type AuditRecipientDetailBuilder
- type AuditRecipientEntity
- type AuditRecipientEntityBuilder
- func (builder *AuditRecipientEntityBuilder) Build() *AuditRecipientEntity
- func (builder *AuditRecipientEntityBuilder) RecipientDetail(recipientDetail *AuditRecipientDetail) *AuditRecipientEntityBuilder
- func (builder *AuditRecipientEntityBuilder) RecipientType(recipientType string) *AuditRecipientEntityBuilder
- func (builder *AuditRecipientEntityBuilder) RecipientValue(recipientValue string) *AuditRecipientEntityBuilder
- type AuditWebContext
- type AuditWebContextBuilder
- type Badge
- type BadgeBuilder
- func (builder *BadgeBuilder) Build() *Badge
- func (builder *BadgeBuilder) DetailImage(detailImage string) *BadgeBuilder
- func (builder *BadgeBuilder) Explanation(explanation string) *BadgeBuilder
- func (builder *BadgeBuilder) Id(id string) *BadgeBuilder
- func (builder *BadgeBuilder) Name(name string) *BadgeBuilder
- func (builder *BadgeBuilder) ShowImage(showImage string) *BadgeBuilder
- type CreateBadgeGrantReq
- type CreateBadgeGrantReqBuilder
- func (builder *CreateBadgeGrantReqBuilder) BadgeId(badgeId string) *CreateBadgeGrantReqBuilder
- func (builder *CreateBadgeGrantReqBuilder) Build() *CreateBadgeGrantReq
- func (builder *CreateBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *CreateBadgeGrantReqBuilder
- func (builder *CreateBadgeGrantReqBuilder) Grant(grant *Grant) *CreateBadgeGrantReqBuilder
- func (builder *CreateBadgeGrantReqBuilder) UserIdType(userIdType string) *CreateBadgeGrantReqBuilder
- type CreateBadgeGrantResp
- type CreateBadgeGrantRespData
- type CreateBadgeImagePathReqBodyBuilder
- func (builder *CreateBadgeImagePathReqBodyBuilder) Build() (*CreateBadgeImageReqBody, error)
- func (builder *CreateBadgeImagePathReqBodyBuilder) ImageFilePath(imageFilePath string) *CreateBadgeImagePathReqBodyBuilder
- func (builder *CreateBadgeImagePathReqBodyBuilder) ImageType(imageType int) *CreateBadgeImagePathReqBodyBuilder
- type CreateBadgeImageReq
- type CreateBadgeImageReqBody
- type CreateBadgeImageReqBodyBuilder
- type CreateBadgeImageReqBuilder
- type CreateBadgeImageResp
- type CreateBadgeImageRespData
- type CreateBadgeReq
- type CreateBadgeReqBuilder
- type CreateBadgeResp
- type CreateBadgeRespData
- type DeleteBadgeGrantReq
- type DeleteBadgeGrantReqBuilder
- type DeleteBadgeGrantResp
- type File
- type FileBuilder
- func (builder *FileBuilder) Build() *File
- func (builder *FileBuilder) LastOpTime(lastOpTime string) *FileBuilder
- func (builder *FileBuilder) Owner(owner *User) *FileBuilder
- func (builder *FileBuilder) Size(size string) *FileBuilder
- func (builder *FileBuilder) Status(status string) *FileBuilder
- func (builder *FileBuilder) Title(title string) *FileBuilder
- func (builder *FileBuilder) Token(token string) *FileBuilder
- func (builder *FileBuilder) Type(type_ string) *FileBuilder
- type FileList
- type FileListBuilder
- type GetBadgeGrantReq
- type GetBadgeGrantReqBuilder
- func (builder *GetBadgeGrantReqBuilder) BadgeId(badgeId string) *GetBadgeGrantReqBuilder
- func (builder *GetBadgeGrantReqBuilder) Build() *GetBadgeGrantReq
- func (builder *GetBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *GetBadgeGrantReqBuilder
- func (builder *GetBadgeGrantReqBuilder) GrantId(grantId string) *GetBadgeGrantReqBuilder
- func (builder *GetBadgeGrantReqBuilder) UserIdType(userIdType string) *GetBadgeGrantReqBuilder
- type GetBadgeGrantResp
- type GetBadgeGrantRespData
- type GetBadgeReq
- type GetBadgeReqBuilder
- type GetBadgeResp
- type GetBadgeRespData
- type Grant
- type GrantBuilder
- func (builder *GrantBuilder) BadgeId(badgeId string) *GrantBuilder
- func (builder *GrantBuilder) Build() *Grant
- func (builder *GrantBuilder) DepartmentIds(departmentIds []string) *GrantBuilder
- func (builder *GrantBuilder) GrantType(grantType int) *GrantBuilder
- func (builder *GrantBuilder) GroupIds(groupIds []string) *GrantBuilder
- func (builder *GrantBuilder) Id(id string) *GrantBuilder
- func (builder *GrantBuilder) IsGrantAll(isGrantAll bool) *GrantBuilder
- func (builder *GrantBuilder) Name(name string) *GrantBuilder
- func (builder *GrantBuilder) RuleDetail(ruleDetail *RuleDetail) *GrantBuilder
- func (builder *GrantBuilder) TimeZone(timeZone string) *GrantBuilder
- func (builder *GrantBuilder) UserIds(userIds []string) *GrantBuilder
- type ListAdminDeptStatReq
- type ListAdminDeptStatReqBuilder
- func (builder *ListAdminDeptStatReqBuilder) Build() *ListAdminDeptStatReq
- func (builder *ListAdminDeptStatReqBuilder) ContainsChildDept(containsChildDept bool) *ListAdminDeptStatReqBuilder
- func (builder *ListAdminDeptStatReqBuilder) DepartmentId(departmentId string) *ListAdminDeptStatReqBuilder
- func (builder *ListAdminDeptStatReqBuilder) DepartmentIdType(departmentIdType string) *ListAdminDeptStatReqBuilder
- func (builder *ListAdminDeptStatReqBuilder) EndDate(endDate string) *ListAdminDeptStatReqBuilder
- func (builder *ListAdminDeptStatReqBuilder) PageSize(pageSize int) *ListAdminDeptStatReqBuilder
- func (builder *ListAdminDeptStatReqBuilder) PageToken(pageToken string) *ListAdminDeptStatReqBuilder
- func (builder *ListAdminDeptStatReqBuilder) StartDate(startDate string) *ListAdminDeptStatReqBuilder
- type ListAdminDeptStatResp
- type ListAdminDeptStatRespData
- type ListAdminUserStatReq
- type ListAdminUserStatReqBuilder
- func (builder *ListAdminUserStatReqBuilder) Build() *ListAdminUserStatReq
- func (builder *ListAdminUserStatReqBuilder) DepartmentId(departmentId string) *ListAdminUserStatReqBuilder
- func (builder *ListAdminUserStatReqBuilder) DepartmentIdType(departmentIdType string) *ListAdminUserStatReqBuilder
- func (builder *ListAdminUserStatReqBuilder) EndDate(endDate string) *ListAdminUserStatReqBuilder
- func (builder *ListAdminUserStatReqBuilder) PageSize(pageSize int) *ListAdminUserStatReqBuilder
- func (builder *ListAdminUserStatReqBuilder) PageToken(pageToken string) *ListAdminUserStatReqBuilder
- func (builder *ListAdminUserStatReqBuilder) StartDate(startDate string) *ListAdminUserStatReqBuilder
- func (builder *ListAdminUserStatReqBuilder) UserId(userId string) *ListAdminUserStatReqBuilder
- func (builder *ListAdminUserStatReqBuilder) UserIdType(userIdType string) *ListAdminUserStatReqBuilder
- type ListAdminUserStatResp
- type ListAdminUserStatRespData
- type ListBadgeGrantIterator
- type ListBadgeGrantReq
- type ListBadgeGrantReqBuilder
- func (builder *ListBadgeGrantReqBuilder) BadgeId(badgeId string) *ListBadgeGrantReqBuilder
- func (builder *ListBadgeGrantReqBuilder) Build() *ListBadgeGrantReq
- func (builder *ListBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *ListBadgeGrantReqBuilder
- func (builder *ListBadgeGrantReqBuilder) Limit(limit int) *ListBadgeGrantReqBuilder
- func (builder *ListBadgeGrantReqBuilder) PageSize(pageSize int) *ListBadgeGrantReqBuilder
- func (builder *ListBadgeGrantReqBuilder) PageToken(pageToken string) *ListBadgeGrantReqBuilder
- func (builder *ListBadgeGrantReqBuilder) UserIdType(userIdType string) *ListBadgeGrantReqBuilder
- type ListBadgeGrantResp
- type ListBadgeGrantRespData
- type ListBadgeIterator
- type ListBadgeReq
- type ListBadgeReqBuilder
- func (builder *ListBadgeReqBuilder) Build() *ListBadgeReq
- func (builder *ListBadgeReqBuilder) Limit(limit int) *ListBadgeReqBuilder
- func (builder *ListBadgeReqBuilder) Name(name string) *ListBadgeReqBuilder
- func (builder *ListBadgeReqBuilder) PageSize(pageSize int) *ListBadgeReqBuilder
- func (builder *ListBadgeReqBuilder) PageToken(pageToken string) *ListBadgeReqBuilder
- type ListBadgeResp
- type ListBadgeRespData
- type Password
- type PasswordBuilder
- type ResetPasswordPathReqBodyBuilder
- type ResetPasswordReq
- type ResetPasswordReqBody
- type ResetPasswordReqBodyBuilder
- type ResetPasswordReqBuilder
- type ResetPasswordResp
- type RuleDetail
- type RuleDetailBuilder
- func (builder *RuleDetailBuilder) Anniversary(anniversary int) *RuleDetailBuilder
- func (builder *RuleDetailBuilder) Build() *RuleDetail
- func (builder *RuleDetailBuilder) EffectivePeriod(effectivePeriod int) *RuleDetailBuilder
- func (builder *RuleDetailBuilder) EffectiveTime(effectiveTime string) *RuleDetailBuilder
- func (builder *RuleDetailBuilder) ExpirationTime(expirationTime string) *RuleDetailBuilder
- type SplashPageStat
- type SplashPageStatBuilder
- func (builder *SplashPageStatBuilder) Build() *SplashPageStat
- func (builder *SplashPageStatBuilder) ClickCount(clickCount int) *SplashPageStatBuilder
- func (builder *SplashPageStatBuilder) ClickCountAccumulate(clickCountAccumulate int) *SplashPageStatBuilder
- func (builder *SplashPageStatBuilder) Date(date string) *SplashPageStatBuilder
- func (builder *SplashPageStatBuilder) ImpressionCount(impressionCount int) *SplashPageStatBuilder
- func (builder *SplashPageStatBuilder) ImpressionCountAccumulate(impressionCountAccumulate int) *SplashPageStatBuilder
- func (builder *SplashPageStatBuilder) SkipCount(skipCount int) *SplashPageStatBuilder
- func (builder *SplashPageStatBuilder) SkipCountAccumulate(skipCountAccumulate int) *SplashPageStatBuilder
- func (builder *SplashPageStatBuilder) SplashId(splashId string) *SplashPageStatBuilder
- type UpdateBadgeGrantReq
- type UpdateBadgeGrantReqBuilder
- func (builder *UpdateBadgeGrantReqBuilder) BadgeId(badgeId string) *UpdateBadgeGrantReqBuilder
- func (builder *UpdateBadgeGrantReqBuilder) Build() *UpdateBadgeGrantReq
- func (builder *UpdateBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *UpdateBadgeGrantReqBuilder
- func (builder *UpdateBadgeGrantReqBuilder) Grant(grant *Grant) *UpdateBadgeGrantReqBuilder
- func (builder *UpdateBadgeGrantReqBuilder) GrantId(grantId string) *UpdateBadgeGrantReqBuilder
- func (builder *UpdateBadgeGrantReqBuilder) UserIdType(userIdType string) *UpdateBadgeGrantReqBuilder
- type UpdateBadgeGrantResp
- type UpdateBadgeGrantRespData
- type UpdateBadgeReq
- type UpdateBadgeReqBuilder
- type UpdateBadgeResp
- type UpdateBadgeRespData
- type User
- type UserAnnualReport
- type UserAnnualReportBuilder
- type UserBuilder
- type UserReport2021
- type UserReport2021Builder
- func (builder *UserReport2021Builder) ActiveDayCount(activeDayCount int) *UserReport2021Builder
- func (builder *UserReport2021Builder) ApprovalExecuteCount(approvalExecuteCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) ApprovalRelationUserRankfirst(approvalRelationUserRankfirst string) *UserReport2021Builder
- func (builder *UserReport2021Builder) ApprovalStartCount(approvalStartCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) Build() *UserReport2021
- func (builder *UserReport2021Builder) BusyWeek(busyWeek string) *UserReport2021Builder
- func (builder *UserReport2021Builder) BusyWeekActDays(busyWeekActDays int) *UserReport2021Builder
- func (builder *UserReport2021Builder) BusyWeekMdate(busyWeekMdate string) *UserReport2021Builder
- func (builder *UserReport2021Builder) BusyWeekSumDuration(busyWeekSumDuration string) *UserReport2021Builder
- func (builder *UserReport2021Builder) ConferenceCreateCount(conferenceCreateCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) CooperateEditFileCount(cooperateEditFileCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) CreateEditFileCount(createEditFileCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) CreateFileCount(createFileCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) CreateReadUserCount(createReadUserCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) FavoriteEmoji(favoriteEmoji string) *UserReport2021Builder
- func (builder *UserReport2021Builder) LikeRecordCount(likeRecordCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) MinutesDuration(minutesDuration float64) *UserReport2021Builder
- func (builder *UserReport2021Builder) MinutesObjectCount(minutesObjectCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) OkrAlignedUserRankfirst(okrAlignedUserRankfirst string) *UserReport2021Builder
- func (builder *UserReport2021Builder) OkrCumKrCount(okrCumKrCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) OkrCumOCount(okrCumOCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) P2pChatCount(p2pChatCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) ReactionCount(reactionCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) TalkedChatCount(talkedChatCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) TotalPartiCount(totalPartiCount string) *UserReport2021Builder
- func (builder *UserReport2021Builder) UserId(userId string) *UserReport2021Builder
Constants ¶
const ( DepartmentIdTypeDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeUserId = "user_id" // 以user_id来识别用户 UserIdTypeUnionId = "union_id" // 以union_id来识别用户 UserIdTypeOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeListAdminUserStatDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeListAdminUserStatOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( GrantTypeManual = 0 // 手动选择有效期 GrantTypeJoinTime = 1 // 匹配系统入职时间 )
const ( UserIdTypeCreateBadgeGrantOpenId = "open_id" // 用户的open_id UserIdTypeCreateBadgeGrantUnionId = "union_id" // 用户的union_id UserIdTypeCreateBadgeGrantUserId = "user_id" // 用户的user_id )
const ( DepartmentIdTypeCreateBadgeGrantDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeCreateBadgeGrantOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeGetBadgeGrantOpenId = "open_id" // 用户的open_id UserIdTypeGetBadgeGrantUnionId = "union_id" // 用户的union_id UserIdTypeGetBadgeGrantUserId = "user_id" // 用户的user_id )
const ( DepartmentIdTypeGetBadgeGrantDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeGetBadgeGrantOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeListBadgeGrantOpenId = "open_id" // 用户的open_id UserIdTypeListBadgeGrantUnionId = "union_id" // 用户的union_id UserIdTypeListBadgeGrantUserId = "user_id" // 用户的user_id )
const ( DepartmentIdTypeListBadgeGrantDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeListBadgeGrantOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( GrantTypeUpdateBadgeGrantManual = 0 // 手动选择有效期 GrantTypeUpdateBadgeGrantJoinTime = 1 // 匹配系统入职时间 )
const ( UserIdTypeUpdateBadgeGrantOpenId = "open_id" // 用户的open_id UserIdTypeUpdateBadgeGrantUnionId = "union_id" // 用户的union_id UserIdTypeUpdateBadgeGrantUserId = "user_id" // 用户的user_id )
const ( DepartmentIdTypeUpdateBadgeGrantDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeUpdateBadgeGrantOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( ImageTypeDetail = 1 // 勋章详情图 ImageTypeShow = 2 // 勋章挂饰图 )
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 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"` // 人均创建任务数 }
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) 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) ResignUserNum ¶
func (builder *AdminDeptStatBuilder) ResignUserNum(resignUserNum int) *AdminDeptStatBuilder
离职人数
示例值:0
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) TaskDau ¶
func (builder *AdminDeptStatBuilder) TaskDau(taskDau int) *AdminDeptStatBuilder
任务活跃人数
示例值:0
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 AdminService ¶
type AdminService struct { AdminDeptStat *adminDeptStat // 部门维度的数据报表 AdminUserStat *adminUserStat // 用户维度的数据报表 Badge *badge // 勋章 BadgeGrant *badgeGrant // 勋章授予名单 BadgeImage *badgeImage // 勋章图片 Password *password // 密码 // contains filtered or unexported fields }
func NewService ¶
func NewService(config *larkcore.Config) *AdminService
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"` // 操作系统名称 }
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 ¶
func (builder *AdminUserStatBuilder) AppPackageType(appPackageType string) *AdminUserStatBuilder
飞书的应用类型名称
示例值:
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) 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 ¶
func (builder *AdminUserStatBuilder) OsName(osName string) *AdminUserStatBuilder
操作系统名称
示例值:
func (*AdminUserStatBuilder) RegisterTime ¶
func (builder *AdminUserStatBuilder) RegisterTime(registerTime string) *AdminUserStatBuilder
激活时间
示例值:2020-09-04 11:18:32
func (*AdminUserStatBuilder) SendMessengerNum ¶
func (builder *AdminUserStatBuilder) SendMessengerNum(sendMessengerNum int) *AdminUserStatBuilder
发送消息数
示例值:0
func (*AdminUserStatBuilder) SuiteActiveFlag ¶
func (builder *AdminUserStatBuilder) SuiteActiveFlag(suiteActiveFlag int) *AdminUserStatBuilder
用户活跃状态,用户在飞书套件任意应用登陆,即为活跃。包括飞书即时消息,文档,日历,会议,开放平台等
示例值:1
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 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 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 (builder *ApiAuditCommonDrawersBuilder) Build() *ApiAuditCommonDrawers
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 (builder *ApiAuditDrawerInfoBuilder) Build() *ApiAuditDrawerInfo
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 ¶
func (builder *AuditAndroidContextBuilder) AppVer(appVer string) *AuditAndroidContextBuilder
app的版本
示例值:
func (*AuditAndroidContextBuilder) Build ¶
func (builder *AuditAndroidContextBuilder) Build() *AuditAndroidContext
func (*AuditAndroidContextBuilder) CellBaseStation ¶
func (builder *AuditAndroidContextBuilder) CellBaseStation(cellBaseStation string) *AuditAndroidContextBuilder
基站信息
示例值:
func (*AuditAndroidContextBuilder) Did ¶
func (builder *AuditAndroidContextBuilder) Did(did string) *AuditAndroidContextBuilder
设备ID
示例值:
func (*AuditAndroidContextBuilder) EnvMl ¶
func (builder *AuditAndroidContextBuilder) EnvMl(envMl string) *AuditAndroidContextBuilder
手机系统语言
示例值:
func (*AuditAndroidContextBuilder) EnvSu ¶
func (builder *AuditAndroidContextBuilder) EnvSu(envSu string) *AuditAndroidContextBuilder
表示当前是否root
示例值:
func (*AuditAndroidContextBuilder) EnvTz ¶
func (builder *AuditAndroidContextBuilder) EnvTz(envTz string) *AuditAndroidContextBuilder
手机系统时区
示例值:
func (*AuditAndroidContextBuilder) HwBrand ¶
func (builder *AuditAndroidContextBuilder) HwBrand(hwBrand string) *AuditAndroidContextBuilder
Brand
示例值:
func (*AuditAndroidContextBuilder) HwManuf ¶
func (builder *AuditAndroidContextBuilder) HwManuf(hwManuf string) *AuditAndroidContextBuilder
制造商
示例值:
func (*AuditAndroidContextBuilder) IP ¶
func (builder *AuditAndroidContextBuilder) IP(iP string) *AuditAndroidContextBuilder
公网ip
示例值:
func (*AuditAndroidContextBuilder) IdI ¶
func (builder *AuditAndroidContextBuilder) IdI(idI string) *AuditAndroidContextBuilder
安卓版本号
示例值:
func (*AuditAndroidContextBuilder) IdR ¶
func (builder *AuditAndroidContextBuilder) IdR(idR string) *AuditAndroidContextBuilder
安卓版本
示例值:
func (*AuditAndroidContextBuilder) Location ¶
func (builder *AuditAndroidContextBuilder) Location(location string) *AuditAndroidContextBuilder
GPS经纬度
示例值:
func (*AuditAndroidContextBuilder) Region ¶
func (builder *AuditAndroidContextBuilder) Region(region string) *AuditAndroidContextBuilder
设备语言
示例值:
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 ¶
func (builder *AuditAndroidContextBuilder) Udid(udid string) *AuditAndroidContextBuilder
UDID
示例值:
func (*AuditAndroidContextBuilder) Ver ¶
func (builder *AuditAndroidContextBuilder) Ver(ver string) *AuditAndroidContextBuilder
SecSDK版本
示例值:
func (*AuditAndroidContextBuilder) Wifip ¶
func (builder *AuditAndroidContextBuilder) Wifip(wifip string) *AuditAndroidContextBuilder
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 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}人数的群组 }
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"` // 扩展字段信息 }
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) 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
示例值:
func (*AuditInfoBuilder) EventModule ¶
func (builder *AuditInfoBuilder) EventModule(eventModule int) *AuditInfoBuilder
模块
示例值:
func (*AuditInfoBuilder) EventName ¶
func (builder *AuditInfoBuilder) EventName(eventName string) *AuditInfoBuilder
事件名称
示例值:
func (*AuditInfoBuilder) EventTime ¶
func (builder *AuditInfoBuilder) EventTime(eventTime int) *AuditInfoBuilder
事件时间
示例值:
func (*AuditInfoBuilder) Extend ¶
func (builder *AuditInfoBuilder) Extend(extend *AuditEventExtend) *AuditInfoBuilder
事件级别的扩展
示例值:
func (*AuditInfoBuilder) Ip ¶
func (builder *AuditInfoBuilder) Ip(ip string) *AuditInfoBuilder
ip信息
示例值:
func (*AuditInfoBuilder) Objects ¶
func (builder *AuditInfoBuilder) Objects(objects []*AuditObjectEntity) *AuditInfoBuilder
操作对象列表
示例值:
func (*AuditInfoBuilder) OperatorApp ¶
func (builder *AuditInfoBuilder) OperatorApp(operatorApp string) *AuditInfoBuilder
第三方isvID
示例值:
func (*AuditInfoBuilder) OperatorAppName ¶
func (builder *AuditInfoBuilder) OperatorAppName(operatorAppName string) *AuditInfoBuilder
第三方isv名称
示例值:
func (*AuditInfoBuilder) OperatorType ¶
func (builder *AuditInfoBuilder) OperatorType(operatorType int) *AuditInfoBuilder
操作人类型
示例值:
func (*AuditInfoBuilder) OperatorValue ¶
func (builder *AuditInfoBuilder) OperatorValue(operatorValue string) *AuditInfoBuilder
操作人id
示例值:
func (*AuditInfoBuilder) Recipients ¶
func (builder *AuditInfoBuilder) Recipients(recipients []*AuditRecipientEntity) *AuditInfoBuilder
接收者对象列表
示例值:
func (*AuditInfoBuilder) UniqueId ¶
func (builder *AuditInfoBuilder) UniqueId(uniqueId string) *AuditInfoBuilder
唯一id
示例值:
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 ¶
func (builder *AuditIosContextBuilder) Did(did string) *AuditIosContextBuilder
设备ID
示例值:
func (*AuditIosContextBuilder) IP ¶
func (builder *AuditIosContextBuilder) IP(iP string) *AuditIosContextBuilder
公网ip
示例值:
func (*AuditIosContextBuilder) Location ¶
func (builder *AuditIosContextBuilder) Location(location string) *AuditIosContextBuilder
GPS经纬度
示例值:
func (*AuditIosContextBuilder) ML ¶
func (builder *AuditIosContextBuilder) ML(mL string) *AuditIosContextBuilder
当前语言
示例值:
func (*AuditIosContextBuilder) Os ¶
func (builder *AuditIosContextBuilder) Os(os string) *AuditIosContextBuilder
系统类型及版本
示例值:
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 (builder *AuditIosContextBuilder) Sjd(sjd string) *AuditIosContextBuilder
是否越狱
示例值:
func (*AuditIosContextBuilder) Udid ¶
func (builder *AuditIosContextBuilder) Udid(udid string) *AuditIosContextBuilder
UDID
示例值:
func (*AuditIosContextBuilder) Ver ¶
func (builder *AuditIosContextBuilder) Ver(ver string) *AuditIosContextBuilder
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"` // 是否开启外部访问设置 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 ¶
func (builder *AuditPcContextBuilder) Did(did string) *AuditPcContextBuilder
设备ID
示例值:
func (*AuditPcContextBuilder) IP ¶
func (builder *AuditPcContextBuilder) IP(iP string) *AuditPcContextBuilder
公网ip
示例值:
func (*AuditPcContextBuilder) Os ¶
func (builder *AuditPcContextBuilder) Os(os string) *AuditPcContextBuilder
客户端类型
示例值:
func (*AuditPcContextBuilder) Region ¶
func (builder *AuditPcContextBuilder) Region(region string) *AuditPcContextBuilder
设备区域
示例值:
func (*AuditPcContextBuilder) Udid ¶
func (builder *AuditPcContextBuilder) Udid(udid string) *AuditPcContextBuilder
UDID
示例值:
func (*AuditPcContextBuilder) Ver ¶
func (builder *AuditPcContextBuilder) Ver(ver string) *AuditPcContextBuilder
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 (builder *AuditRecipientDetailBuilder) Build() *AuditRecipientDetail
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 (builder *AuditRecipientEntityBuilder) Build() *AuditRecipientEntity
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 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 ¶
func (builder *AuditWebContextBuilder) IP(iP string) *AuditWebContextBuilder
本机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。 }
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) 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 ¶
type CreateBadgeGrantReq struct { Grant *Grant `body:""` // contains filtered or unexported fields }
type CreateBadgeGrantReqBuilder ¶
type CreateBadgeGrantReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateBadgeGrantReqBuilder ¶
func NewCreateBadgeGrantReqBuilder() *CreateBadgeGrantReqBuilder
func (*CreateBadgeGrantReqBuilder) BadgeId ¶
func (builder *CreateBadgeGrantReqBuilder) BadgeId(badgeId string) *CreateBadgeGrantReqBuilder
勋章ID
示例值:m_DjMzaK
func (*CreateBadgeGrantReqBuilder) Build ¶
func (builder *CreateBadgeGrantReqBuilder) Build() *CreateBadgeGrantReq
func (*CreateBadgeGrantReqBuilder) DepartmentIdType ¶
func (builder *CreateBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *CreateBadgeGrantReqBuilder
此次调用中使用的部门ID的类型。
示例值:open_department_id
func (*CreateBadgeGrantReqBuilder) Grant ¶
func (builder *CreateBadgeGrantReqBuilder) Grant(grant *Grant) *CreateBadgeGrantReqBuilder
通过该接口可以为特定勋章创建一份授予名单,一枚勋章下最多可创建1000份授予名单。
func (*CreateBadgeGrantReqBuilder) UserIdType ¶
func (builder *CreateBadgeGrantReqBuilder) UserIdType(userIdType string) *CreateBadgeGrantReqBuilder
用户 ID 类型
示例值:open_id
type CreateBadgeGrantResp ¶
type CreateBadgeGrantResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateBadgeGrantRespData `json:"data"` // 业务数据 }
func (*CreateBadgeGrantResp) Success ¶
func (resp *CreateBadgeGrantResp) Success() bool
type CreateBadgeGrantRespData ¶
type CreateBadgeGrantRespData struct {
Grant *Grant `json:"grant,omitempty"` // 授予名单的信息
}
type CreateBadgeImagePathReqBodyBuilder ¶
type CreateBadgeImagePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateBadgeImagePathReqBodyBuilder ¶
func NewCreateBadgeImagePathReqBodyBuilder() *CreateBadgeImagePathReqBodyBuilder
func (*CreateBadgeImagePathReqBodyBuilder) Build ¶
func (builder *CreateBadgeImagePathReqBodyBuilder) Build() (*CreateBadgeImageReqBody, error)
func (*CreateBadgeImagePathReqBodyBuilder) ImageFilePath ¶
func (builder *CreateBadgeImagePathReqBodyBuilder) ImageFilePath(imageFilePath string) *CreateBadgeImagePathReqBodyBuilder
勋章图片的文件,仅支持 PNG 格式,320 x 320 像素,大小不超过 1024 KB。
示例值:file binary
func (*CreateBadgeImagePathReqBodyBuilder) ImageType ¶
func (builder *CreateBadgeImagePathReqBodyBuilder) ImageType(imageType int) *CreateBadgeImagePathReqBodyBuilder
图片的类型
示例值:1
type CreateBadgeImageReq ¶
type CreateBadgeImageReq struct { Body *CreateBadgeImageReqBody `body:""` // contains filtered or unexported fields }
type CreateBadgeImageReqBody ¶
type CreateBadgeImageReqBodyBuilder ¶
type CreateBadgeImageReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateBadgeImageReqBodyBuilder ¶
func NewCreateBadgeImageReqBodyBuilder() *CreateBadgeImageReqBodyBuilder
func (*CreateBadgeImageReqBodyBuilder) Build ¶
func (builder *CreateBadgeImageReqBodyBuilder) Build() *CreateBadgeImageReqBody
func (*CreateBadgeImageReqBodyBuilder) ImageFile ¶
func (builder *CreateBadgeImageReqBodyBuilder) ImageFile(imageFile io.Reader) *CreateBadgeImageReqBodyBuilder
勋章图片的文件,仅支持 PNG 格式,320 x 320 像素,大小不超过 1024 KB。
示例值:file binary
func (*CreateBadgeImageReqBodyBuilder) ImageType ¶
func (builder *CreateBadgeImageReqBodyBuilder) ImageType(imageType int) *CreateBadgeImageReqBodyBuilder
图片的类型
示例值:1
type CreateBadgeImageReqBuilder ¶
type CreateBadgeImageReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateBadgeImageReqBuilder ¶
func NewCreateBadgeImageReqBuilder() *CreateBadgeImageReqBuilder
func (*CreateBadgeImageReqBuilder) Body ¶
func (builder *CreateBadgeImageReqBuilder) Body(body *CreateBadgeImageReqBody) *CreateBadgeImageReqBuilder
通过该接口可以上传勋章详情图、挂饰图的文件,获取对应的文件key
func (*CreateBadgeImageReqBuilder) Build ¶
func (builder *CreateBadgeImageReqBuilder) Build() *CreateBadgeImageReq
type CreateBadgeImageResp ¶
type CreateBadgeImageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateBadgeImageRespData `json:"data"` // 业务数据 }
func (*CreateBadgeImageResp) Success ¶
func (resp *CreateBadgeImageResp) Success() bool
type CreateBadgeImageRespData ¶
type CreateBadgeImageRespData struct {
ImageKey *string `json:"image_key,omitempty"` // 图片的key
}
type CreateBadgeReq ¶
type CreateBadgeReq struct { Badge *Badge `body:""` // contains filtered or unexported fields }
type CreateBadgeReqBuilder ¶
type CreateBadgeReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateBadgeReqBuilder ¶
func NewCreateBadgeReqBuilder() *CreateBadgeReqBuilder
func (*CreateBadgeReqBuilder) Badge ¶
func (builder *CreateBadgeReqBuilder) Badge(badge *Badge) *CreateBadgeReqBuilder
使用该接口可以创建一枚完整的勋章信息,一个租户下最多可创建1000枚勋章。
func (*CreateBadgeReqBuilder) Build ¶
func (builder *CreateBadgeReqBuilder) Build() *CreateBadgeReq
type CreateBadgeResp ¶
type CreateBadgeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateBadgeRespData `json:"data"` // 业务数据 }
func (*CreateBadgeResp) Success ¶
func (resp *CreateBadgeResp) Success() bool
type CreateBadgeRespData ¶
type CreateBadgeRespData struct {
Badge *Badge `json:"badge,omitempty"` // 勋章的信息
}
type DeleteBadgeGrantReq ¶
type DeleteBadgeGrantReq struct {
// contains filtered or unexported fields
}
type DeleteBadgeGrantReqBuilder ¶
type DeleteBadgeGrantReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteBadgeGrantReqBuilder ¶
func NewDeleteBadgeGrantReqBuilder() *DeleteBadgeGrantReqBuilder
func (*DeleteBadgeGrantReqBuilder) BadgeId ¶
func (builder *DeleteBadgeGrantReqBuilder) BadgeId(badgeId string) *DeleteBadgeGrantReqBuilder
企业勋章的唯一ID
示例值:m_DjMzaK
func (*DeleteBadgeGrantReqBuilder) Build ¶
func (builder *DeleteBadgeGrantReqBuilder) Build() *DeleteBadgeGrantReq
func (*DeleteBadgeGrantReqBuilder) GrantId ¶
func (builder *DeleteBadgeGrantReqBuilder) GrantId(grantId string) *DeleteBadgeGrantReqBuilder
租户内授予名单的唯一标识,该值由系统随机生成。
示例值:g_uS4yux
type DeleteBadgeGrantResp ¶
type DeleteBadgeGrantResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteBadgeGrantResp) Success ¶
func (resp *DeleteBadgeGrantResp) Success() bool
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) 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
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 ¶
type GetBadgeGrantReq struct {
// contains filtered or unexported fields
}
type GetBadgeGrantReqBuilder ¶
type GetBadgeGrantReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetBadgeGrantReqBuilder ¶
func NewGetBadgeGrantReqBuilder() *GetBadgeGrantReqBuilder
func (*GetBadgeGrantReqBuilder) BadgeId ¶
func (builder *GetBadgeGrantReqBuilder) BadgeId(badgeId string) *GetBadgeGrantReqBuilder
租户内勋章的唯一标识,该值由系统随机生成。
示例值:m_DjMzaK
func (*GetBadgeGrantReqBuilder) Build ¶
func (builder *GetBadgeGrantReqBuilder) Build() *GetBadgeGrantReq
func (*GetBadgeGrantReqBuilder) DepartmentIdType ¶
func (builder *GetBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *GetBadgeGrantReqBuilder
此次调用中使用的部门ID的类型。
示例值:open_department_id
func (*GetBadgeGrantReqBuilder) GrantId ¶
func (builder *GetBadgeGrantReqBuilder) GrantId(grantId string) *GetBadgeGrantReqBuilder
租户内授予名单的唯一标识,该值由系统随机生成。
示例值:g_uS4yux
func (*GetBadgeGrantReqBuilder) UserIdType ¶
func (builder *GetBadgeGrantReqBuilder) UserIdType(userIdType string) *GetBadgeGrantReqBuilder
用户 ID 类型
示例值:open_id
type GetBadgeGrantResp ¶
type GetBadgeGrantResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetBadgeGrantRespData `json:"data"` // 业务数据 }
func (*GetBadgeGrantResp) Success ¶
func (resp *GetBadgeGrantResp) Success() bool
type GetBadgeGrantRespData ¶
type GetBadgeGrantRespData struct {
Grant *Grant `json:"grant,omitempty"` // 授予名单信息
}
type GetBadgeReq ¶
type GetBadgeReq struct {
// contains filtered or unexported fields
}
type GetBadgeReqBuilder ¶
type GetBadgeReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetBadgeReqBuilder ¶
func NewGetBadgeReqBuilder() *GetBadgeReqBuilder
func (*GetBadgeReqBuilder) BadgeId ¶
func (builder *GetBadgeReqBuilder) BadgeId(badgeId string) *GetBadgeReqBuilder
勋章id
示例值:m_DjMzaK
func (*GetBadgeReqBuilder) Build ¶
func (builder *GetBadgeReqBuilder) Build() *GetBadgeReq
type GetBadgeResp ¶
type GetBadgeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetBadgeRespData `json:"data"` // 业务数据 }
func (*GetBadgeResp) Success ¶
func (resp *GetBadgeResp) Success() bool
type GetBadgeRespData ¶
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 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 (builder *ListAdminDeptStatReqBuilder) Build() *ListAdminDeptStatReq
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 ¶
func (builder *ListAdminDeptStatReqBuilder) EndDate(endDate string) *ListAdminDeptStatReqBuilder
终止日期(包含),格式是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
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 (builder *ListAdminUserStatReqBuilder) Build() *ListAdminUserStatReq
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 ¶
func (builder *ListAdminUserStatReqBuilder) EndDate(endDate string) *ListAdminUserStatReqBuilder
终止日期(包含),格式是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) UserId ¶
func (builder *ListAdminUserStatReqBuilder) UserId(userId string) *ListAdminUserStatReqBuilder
用户的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 ListBadgeGrantIterator ¶
type ListBadgeGrantIterator struct {
// contains filtered or unexported fields
}
func (*ListBadgeGrantIterator) Next ¶
func (iterator *ListBadgeGrantIterator) Next() (bool, *Grant, error)
func (*ListBadgeGrantIterator) NextPageToken ¶
func (iterator *ListBadgeGrantIterator) NextPageToken() *string
type ListBadgeGrantReq ¶
type ListBadgeGrantReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListBadgeGrantReqBuilder ¶
type ListBadgeGrantReqBuilder struct {
// contains filtered or unexported fields
}
func NewListBadgeGrantReqBuilder ¶
func NewListBadgeGrantReqBuilder() *ListBadgeGrantReqBuilder
func (*ListBadgeGrantReqBuilder) BadgeId ¶
func (builder *ListBadgeGrantReqBuilder) BadgeId(badgeId string) *ListBadgeGrantReqBuilder
企业勋章的唯一ID
示例值:m_DjMzaK
func (*ListBadgeGrantReqBuilder) Build ¶
func (builder *ListBadgeGrantReqBuilder) Build() *ListBadgeGrantReq
func (*ListBadgeGrantReqBuilder) DepartmentIdType ¶
func (builder *ListBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *ListBadgeGrantReqBuilder
此次调用中使用的部门ID的类型。
示例值:open_department_id
func (*ListBadgeGrantReqBuilder) Limit ¶
func (builder *ListBadgeGrantReqBuilder) Limit(limit int) *ListBadgeGrantReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListBadgeGrantReqBuilder) PageSize ¶
func (builder *ListBadgeGrantReqBuilder) PageSize(pageSize int) *ListBadgeGrantReqBuilder
分页大小
示例值:10
func (*ListBadgeGrantReqBuilder) PageToken ¶
func (builder *ListBadgeGrantReqBuilder) PageToken(pageToken string) *ListBadgeGrantReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:om5fn1
func (*ListBadgeGrantReqBuilder) UserIdType ¶
func (builder *ListBadgeGrantReqBuilder) UserIdType(userIdType string) *ListBadgeGrantReqBuilder
用户 ID 类型
示例值:open_id
type ListBadgeGrantResp ¶
type ListBadgeGrantResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListBadgeGrantRespData `json:"data"` // 业务数据 }
func (*ListBadgeGrantResp) Success ¶
func (resp *ListBadgeGrantResp) Success() bool
type ListBadgeGrantRespData ¶
type ListBadgeIterator ¶
type ListBadgeIterator struct {
// contains filtered or unexported fields
}
func (*ListBadgeIterator) NextPageToken ¶
func (iterator *ListBadgeIterator) NextPageToken() *string
type ListBadgeReq ¶
type ListBadgeReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListBadgeReqBuilder ¶
type ListBadgeReqBuilder struct {
// contains filtered or unexported fields
}
func NewListBadgeReqBuilder ¶
func NewListBadgeReqBuilder() *ListBadgeReqBuilder
func (*ListBadgeReqBuilder) Build ¶
func (builder *ListBadgeReqBuilder) Build() *ListBadgeReq
func (*ListBadgeReqBuilder) Limit ¶
func (builder *ListBadgeReqBuilder) Limit(limit int) *ListBadgeReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListBadgeReqBuilder) Name ¶
func (builder *ListBadgeReqBuilder) Name(name string) *ListBadgeReqBuilder
租户内唯一的勋章名称,精确匹配。
示例值:激励勋章
func (*ListBadgeReqBuilder) PageSize ¶
func (builder *ListBadgeReqBuilder) PageSize(pageSize int) *ListBadgeReqBuilder
分页大小
示例值:10
func (*ListBadgeReqBuilder) PageToken ¶
func (builder *ListBadgeReqBuilder) PageToken(pageToken string) *ListBadgeReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:b1fmUz
type ListBadgeResp ¶
type ListBadgeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListBadgeRespData `json:"data"` // 业务数据 }
func (*ListBadgeResp) Success ¶
func (resp *ListBadgeResp) Success() bool
type ListBadgeRespData ¶
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 (builder *ResetPasswordPathReqBodyBuilder) Build() (*ResetPasswordReqBody, error)
func (*ResetPasswordPathReqBodyBuilder) Password ¶
func (builder *ResetPasswordPathReqBodyBuilder) Password(password *Password) *ResetPasswordPathReqBodyBuilder
需要重置的密码参数,不少于8个字符,字母、数字和符号,至少三选二
示例值:1234abcd
func (*ResetPasswordPathReqBodyBuilder) UserId ¶
func (builder *ResetPasswordPathReqBodyBuilder) UserId(userId string) *ResetPasswordPathReqBodyBuilder
待修改密码的用户ID,只针对邮箱登录凭证与企业邮箱(包括别名)相等的用户生效
示例值:abc123
type ResetPasswordReq ¶
type ResetPasswordReq struct { Body *ResetPasswordReqBody `body:""` // contains filtered or unexported fields }
type ResetPasswordReqBody ¶
type ResetPasswordReqBodyBuilder ¶
type ResetPasswordReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewResetPasswordReqBodyBuilder ¶
func NewResetPasswordReqBodyBuilder() *ResetPasswordReqBodyBuilder
func (*ResetPasswordReqBodyBuilder) Build ¶
func (builder *ResetPasswordReqBodyBuilder) Build() *ResetPasswordReqBody
func (*ResetPasswordReqBodyBuilder) Password ¶
func (builder *ResetPasswordReqBodyBuilder) Password(password *Password) *ResetPasswordReqBodyBuilder
需要重置的密码参数,不少于8个字符,字母、数字和符号,至少三选二
示例值:1234abcd
func (*ResetPasswordReqBodyBuilder) UserId ¶
func (builder *ResetPasswordReqBodyBuilder) UserId(userId string) *ResetPasswordReqBodyBuilder
待修改密码的用户ID,只针对邮箱登录凭证与企业邮箱(包括别名)相等的用户生效
示例值:abc123
type ResetPasswordReqBuilder ¶
type ResetPasswordReqBuilder struct {
// contains filtered or unexported fields
}
func NewResetPasswordReqBuilder ¶
func NewResetPasswordReqBuilder() *ResetPasswordReqBuilder
func (*ResetPasswordReqBuilder) Body ¶
func (builder *ResetPasswordReqBuilder) Body(body *ResetPasswordReqBody) *ResetPasswordReqBuilder
重置用户的企业邮箱密码,仅当用户的邮箱和企业邮箱(别名)一致时生效,可用于处理飞书企业邮箱登录死锁的问题。;;邮箱死锁:当用户的登录凭证与飞书企业邮箱一致时,目前飞书登录流程要求用户输入验证码,由于飞书邮箱无单独的帐号体系,则未登录时无法收取邮箱验证码,即陷入死锁
func (*ResetPasswordReqBuilder) Build ¶
func (builder *ResetPasswordReqBuilder) Build() *ResetPasswordReq
func (*ResetPasswordReqBuilder) UserIdType ¶
func (builder *ResetPasswordReqBuilder) UserIdType(userIdType string) *ResetPasswordReqBuilder
示例值:
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 UpdateBadgeGrantReq ¶
type UpdateBadgeGrantReq struct { Grant *Grant `body:""` // contains filtered or unexported fields }
type UpdateBadgeGrantReqBuilder ¶
type UpdateBadgeGrantReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateBadgeGrantReqBuilder ¶
func NewUpdateBadgeGrantReqBuilder() *UpdateBadgeGrantReqBuilder
func (*UpdateBadgeGrantReqBuilder) BadgeId ¶
func (builder *UpdateBadgeGrantReqBuilder) BadgeId(badgeId string) *UpdateBadgeGrantReqBuilder
勋章ID
示例值:m_DjMzaK
func (*UpdateBadgeGrantReqBuilder) Build ¶
func (builder *UpdateBadgeGrantReqBuilder) Build() *UpdateBadgeGrantReq
func (*UpdateBadgeGrantReqBuilder) DepartmentIdType ¶
func (builder *UpdateBadgeGrantReqBuilder) DepartmentIdType(departmentIdType string) *UpdateBadgeGrantReqBuilder
此次调用中使用的部门ID的类型。
示例值:open_department_id
func (*UpdateBadgeGrantReqBuilder) Grant ¶
func (builder *UpdateBadgeGrantReqBuilder) Grant(grant *Grant) *UpdateBadgeGrantReqBuilder
通过该接口可以修改特定授予名单的相关信息
func (*UpdateBadgeGrantReqBuilder) GrantId ¶
func (builder *UpdateBadgeGrantReqBuilder) GrantId(grantId string) *UpdateBadgeGrantReqBuilder
授予名单ID
示例值:g_uS4yux
func (*UpdateBadgeGrantReqBuilder) UserIdType ¶
func (builder *UpdateBadgeGrantReqBuilder) UserIdType(userIdType string) *UpdateBadgeGrantReqBuilder
用户 ID 类型
示例值:open_id
type UpdateBadgeGrantResp ¶
type UpdateBadgeGrantResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UpdateBadgeGrantRespData `json:"data"` // 业务数据 }
func (*UpdateBadgeGrantResp) Success ¶
func (resp *UpdateBadgeGrantResp) Success() bool
type UpdateBadgeGrantRespData ¶
type UpdateBadgeGrantRespData struct {
Grant *Grant `json:"grant,omitempty"` // 授予名单
}
type UpdateBadgeReq ¶
type UpdateBadgeReq struct { Badge *Badge `body:""` // contains filtered or unexported fields }
type UpdateBadgeReqBuilder ¶
type UpdateBadgeReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateBadgeReqBuilder ¶
func NewUpdateBadgeReqBuilder() *UpdateBadgeReqBuilder
func (*UpdateBadgeReqBuilder) Badge ¶
func (builder *UpdateBadgeReqBuilder) Badge(badge *Badge) *UpdateBadgeReqBuilder
通过该接口可以修改勋章的信息
func (*UpdateBadgeReqBuilder) BadgeId ¶
func (builder *UpdateBadgeReqBuilder) BadgeId(badgeId string) *UpdateBadgeReqBuilder
勋章ID
示例值:m_MzfKDM
func (*UpdateBadgeReqBuilder) Build ¶
func (builder *UpdateBadgeReqBuilder) Build() *UpdateBadgeReq
type UpdateBadgeResp ¶
type UpdateBadgeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UpdateBadgeRespData `json:"data"` // 业务数据 }
func (*UpdateBadgeResp) Success ¶
func (resp *UpdateBadgeResp) Success() bool
type UpdateBadgeRespData ¶
type UpdateBadgeRespData struct {
Badge *Badge `json:"badge,omitempty"` // 勋章信息
}
type UserAnnualReport ¶
type UserAnnualReport struct {
Year2021 *UserReport2021 `json:"year_2021,omitempty"` // 2021用户年度报告
}
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用户年度报告
示例值:
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
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