Documentation ¶
Index ¶
- Constants
- type AppAbility
- type AppAbilityBuilder
- func (builder *AppAbilityBuilder) Bot(bot *Bot) *AppAbilityBuilder
- func (builder *AppAbilityBuilder) Build() *AppAbility
- func (builder *AppAbilityBuilder) CloudDoc(cloudDoc *CloudDoc) *AppAbilityBuilder
- func (builder *AppAbilityBuilder) DocsBlocks(docsBlocks []*DocsBlock) *AppAbilityBuilder
- func (builder *AppAbilityBuilder) Gadget(gadget *Gadget) *AppAbilityBuilder
- func (builder *AppAbilityBuilder) MessageAction(messageAction *MessageAction) *AppAbilityBuilder
- func (builder *AppAbilityBuilder) Navigate(navigate *Navigate) *AppAbilityBuilder
- func (builder *AppAbilityBuilder) PlusMenu(plusMenu *PlusMenu) *AppAbilityBuilder
- func (builder *AppAbilityBuilder) WebApp(webApp *WebApp) *AppAbilityBuilder
- func (builder *AppAbilityBuilder) WorkplaceWidgets(workplaceWidgets []*WorkplaceWidget) *AppAbilityBuilder
- type AppAdminUser
- type AppAdminUserBuilder
- type AppBadge
- type AppBadgeBuilder
- func (builder *AppBadgeBuilder) Build() *AppBadge
- func (builder *AppBadgeBuilder) Extra(extra string) *AppBadgeBuilder
- func (builder *AppBadgeBuilder) Mobile(mobile *ClientBadgeNum) *AppBadgeBuilder
- func (builder *AppBadgeBuilder) Pc(pc *ClientBadgeNum) *AppBadgeBuilder
- func (builder *AppBadgeBuilder) UserId(userId string) *AppBadgeBuilder
- func (builder *AppBadgeBuilder) Version(version string) *AppBadgeBuilder
- type AppCommonCategory
- type AppCommonCategoryBuilder
- type AppCustomCategory
- type AppCustomCategoryBuilder
- func (builder *AppCustomCategoryBuilder) AppIds(appIds []string) *AppCustomCategoryBuilder
- func (builder *AppCustomCategoryBuilder) Build() *AppCustomCategory
- func (builder *AppCustomCategoryBuilder) Description(description string) *AppCustomCategoryBuilder
- func (builder *AppCustomCategoryBuilder) I18nKey(i18nKey string) *AppCustomCategoryBuilder
- type AppCustomCategoryI18nInfo
- type AppCustomCategoryI18nInfoBuilder
- type AppI18nInfo
- type AppI18nInfoBuilder
- func (builder *AppI18nInfoBuilder) Build() *AppI18nInfo
- func (builder *AppI18nInfoBuilder) Description(description string) *AppI18nInfoBuilder
- func (builder *AppI18nInfoBuilder) HelpUse(helpUse string) *AppI18nInfoBuilder
- func (builder *AppI18nInfoBuilder) I18nKey(i18nKey string) *AppI18nInfoBuilder
- func (builder *AppI18nInfoBuilder) Name(name string) *AppI18nInfoBuilder
- type AppMessageTrendItem
- type AppMessageTrendItemBuilder
- func (builder *AppMessageTrendItemBuilder) Build() *AppMessageTrendItem
- func (builder *AppMessageTrendItemBuilder) ChatType(chatType string) *AppMessageTrendItemBuilder
- func (builder *AppMessageTrendItemBuilder) EventType(eventType string) *AppMessageTrendItemBuilder
- func (builder *AppMessageTrendItemBuilder) MessageType(messageType string) *AppMessageTrendItemBuilder
- func (builder *AppMessageTrendItemBuilder) Trend(trend []*UsageTrendItem) *AppMessageTrendItemBuilder
- type AppRecommendRule
- type AppRecommendRuleBuilder
- func (builder *AppRecommendRuleBuilder) Build() *AppRecommendRule
- func (builder *AppRecommendRuleBuilder) DistributedRecommendItemInfos(distributedRecommendItemInfos []*AppRecommendRuleItemInfo) *AppRecommendRuleBuilder
- func (builder *AppRecommendRuleBuilder) Id(id string) *AppRecommendRuleBuilder
- func (builder *AppRecommendRuleBuilder) Name(name string) *AppRecommendRuleBuilder
- func (builder *AppRecommendRuleBuilder) RecommendItemInfos(recommendItemInfos []*AppRecommendRuleItemInfo) *AppRecommendRuleBuilder
- func (builder *AppRecommendRuleBuilder) Status(status string) *AppRecommendRuleBuilder
- func (builder *AppRecommendRuleBuilder) VisibilityInfo(visibilityInfo *AppRecommendRuleVisibilityInfo) *AppRecommendRuleBuilder
- type AppRecommendRuleItemInfo
- type AppRecommendRuleItemInfoBuilder
- func (builder *AppRecommendRuleItemInfoBuilder) Build() *AppRecommendRuleItemInfo
- func (builder *AppRecommendRuleItemInfoBuilder) ClientId(clientId string) *AppRecommendRuleItemInfoBuilder
- func (builder *AppRecommendRuleItemInfoBuilder) DefaultLocale(defaultLocale string) *AppRecommendRuleItemInfoBuilder
- func (builder *AppRecommendRuleItemInfoBuilder) Description(description string) *AppRecommendRuleItemInfoBuilder
- func (builder *AppRecommendRuleItemInfoBuilder) I18nName(i18nName *AppRecommendRuleItemInfoI18nName) *AppRecommendRuleItemInfoBuilder
- func (builder *AppRecommendRuleItemInfoBuilder) IconUrl(iconUrl string) *AppRecommendRuleItemInfoBuilder
- func (builder *AppRecommendRuleItemInfoBuilder) ItemId(itemId string) *AppRecommendRuleItemInfoBuilder
- func (builder *AppRecommendRuleItemInfoBuilder) ItemType(itemType string) *AppRecommendRuleItemInfoBuilder
- func (builder *AppRecommendRuleItemInfoBuilder) LinkUrl(linkUrl string) *AppRecommendRuleItemInfoBuilder
- func (builder *AppRecommendRuleItemInfoBuilder) Name(name string) *AppRecommendRuleItemInfoBuilder
- type AppRecommendRuleItemInfoI18nName
- type AppRecommendRuleItemInfoI18nNameBuilder
- func (builder *AppRecommendRuleItemInfoI18nNameBuilder) Build() *AppRecommendRuleItemInfoI18nName
- func (builder *AppRecommendRuleItemInfoI18nNameBuilder) EnUs(enUs string) *AppRecommendRuleItemInfoI18nNameBuilder
- func (builder *AppRecommendRuleItemInfoI18nNameBuilder) JaJp(jaJp string) *AppRecommendRuleItemInfoI18nNameBuilder
- func (builder *AppRecommendRuleItemInfoI18nNameBuilder) ZhCn(zhCn string) *AppRecommendRuleItemInfoI18nNameBuilder
- func (builder *AppRecommendRuleItemInfoI18nNameBuilder) ZhHk(zhHk string) *AppRecommendRuleItemInfoI18nNameBuilder
- func (builder *AppRecommendRuleItemInfoI18nNameBuilder) ZhTw(zhTw string) *AppRecommendRuleItemInfoI18nNameBuilder
- type AppRecommendRuleVisibilityInfo
- type AppRecommendRuleVisibilityInfoBuilder
- func (builder *AppRecommendRuleVisibilityInfoBuilder) Build() *AppRecommendRuleVisibilityInfo
- func (builder *AppRecommendRuleVisibilityInfoBuilder) DepartmentIds(departmentIds []string) *AppRecommendRuleVisibilityInfoBuilder
- func (builder *AppRecommendRuleVisibilityInfoBuilder) GroupIds(groupIds []string) *AppRecommendRuleVisibilityInfoBuilder
- func (builder *AppRecommendRuleVisibilityInfoBuilder) IsAll(isAll bool) *AppRecommendRuleVisibilityInfoBuilder
- func (builder *AppRecommendRuleVisibilityInfoBuilder) UserIds(userIds []string) *AppRecommendRuleVisibilityInfoBuilder
- type AppScope
- type AppScopeBuilder
- type AppScopeI18nInfo
- type AppScopeI18nInfoBuilder
- type AppScopes
- type AppScopesBuilder
- type AppUsageTrendItems
- type AppUsageTrendItemsBuilder
- type AppVersionId
- type AppVersionIdBuilder
- type AppVersionRemark
- type AppVersionRemarkBuilder
- func (builder *AppVersionRemarkBuilder) Build() *AppVersionRemark
- func (builder *AppVersionRemarkBuilder) Remark(remark string) *AppVersionRemarkBuilder
- func (builder *AppVersionRemarkBuilder) UpdateRemark(updateRemark string) *AppVersionRemarkBuilder
- func (builder *AppVersionRemarkBuilder) Visibility(visibility *AppVisibility) *AppVersionRemarkBuilder
- type AppVersionRemarkEvent
- type AppVersionRemarkEventBuilder
- func (builder *AppVersionRemarkEventBuilder) Build() *AppVersionRemarkEvent
- func (builder *AppVersionRemarkEventBuilder) Remark(remark string) *AppVersionRemarkEventBuilder
- func (builder *AppVersionRemarkEventBuilder) UpdateRemark(updateRemark string) *AppVersionRemarkEventBuilder
- func (builder *AppVersionRemarkEventBuilder) Visibility(visibility *AppVisibilityEvent) *AppVersionRemarkEventBuilder
- type AppVisibility
- type AppVisibilityBuilder
- func (builder *AppVisibilityBuilder) Build() *AppVisibility
- func (builder *AppVisibilityBuilder) InvisibleList(invisibleList *AppVisibleList) *AppVisibilityBuilder
- func (builder *AppVisibilityBuilder) IsAll(isAll bool) *AppVisibilityBuilder
- func (builder *AppVisibilityBuilder) VisibleList(visibleList *AppVisibleList) *AppVisibilityBuilder
- type AppVisibilityEvent
- type AppVisibilityEventBuilder
- func (builder *AppVisibilityEventBuilder) Build() *AppVisibilityEvent
- func (builder *AppVisibilityEventBuilder) InvisibleList(invisibleList *AppVisibleListEvent) *AppVisibilityEventBuilder
- func (builder *AppVisibilityEventBuilder) IsAll(isAll bool) *AppVisibilityEventBuilder
- func (builder *AppVisibilityEventBuilder) VisibleList(visibleList *AppVisibleListEvent) *AppVisibilityEventBuilder
- type AppVisibilityItem
- type AppVisibilityItemBuilder
- func (builder *AppVisibilityItemBuilder) Build() *AppVisibilityItem
- func (builder *AppVisibilityItemBuilder) DepartmentId(departmentId string) *AppVisibilityItemBuilder
- func (builder *AppVisibilityItemBuilder) GroupId(groupId string) *AppVisibilityItemBuilder
- func (builder *AppVisibilityItemBuilder) UserId(userId string) *AppVisibilityItemBuilder
- type AppVisibleList
- type AppVisibleListBuilder
- type AppVisibleListEvent
- type AppVisibleListEventBuilder
- type Application
- type ApplicationAppUsage
- type ApplicationAppUsageBuilder
- type ApplicationAppVersion
- type ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) Ability(ability *AppAbility) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) AppId(appId string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) AppName(appName string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) AvatarUrl(avatarUrl string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) BackHomeUrl(backHomeUrl string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) Build() *ApplicationAppVersion
- func (builder *ApplicationAppVersionBuilder) CommonCategories(commonCategories []string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) CreateTime(createTime string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) Description(description string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) Events(events []string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) I18n(i18n []*AppI18nInfo) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) PublishTime(publishTime string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) Remark(remark *AppVersionRemark) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) Scopes(scopes []*AppScope) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) Status(status int) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) Version(version string) *ApplicationAppVersionBuilder
- func (builder *ApplicationAppVersionBuilder) VersionId(versionId string) *ApplicationAppVersionBuilder
- type ApplicationAppVersionEvent
- type ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) Ability(ability *AppAbility) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) AppId(appId string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) AppName(appName string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) AvatarUrl(avatarUrl string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) BackHomeUrl(backHomeUrl string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) Build() *ApplicationAppVersionEvent
- func (builder *ApplicationAppVersionEventBuilder) CommonCategories(commonCategories []string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) CreateTime(createTime string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) Description(description string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) Events(events []string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) I18n(i18n []*AppI18nInfo) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) PublishTime(publishTime string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) Remark(remark *AppVersionRemarkEvent) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) Scopes(scopes []*AppScope) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) Status(status int) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) Version(version string) *ApplicationAppVersionEventBuilder
- func (builder *ApplicationAppVersionEventBuilder) VersionId(versionId string) *ApplicationAppVersionEventBuilder
- type ApplicationBuilder
- func (builder *ApplicationBuilder) AppId(appId string) *ApplicationBuilder
- func (builder *ApplicationBuilder) AppName(appName string) *ApplicationBuilder
- func (builder *ApplicationBuilder) AvatarUrl(avatarUrl string) *ApplicationBuilder
- func (builder *ApplicationBuilder) BackHomeUrl(backHomeUrl string) *ApplicationBuilder
- func (builder *ApplicationBuilder) Build() *Application
- func (builder *ApplicationBuilder) CommonCategories(commonCategories []string) *ApplicationBuilder
- func (builder *ApplicationBuilder) CreatorId(creatorId string) *ApplicationBuilder
- func (builder *ApplicationBuilder) Description(description string) *ApplicationBuilder
- func (builder *ApplicationBuilder) I18n(i18n []*AppI18nInfo) *ApplicationBuilder
- func (builder *ApplicationBuilder) OnlineVersionId(onlineVersionId string) *ApplicationBuilder
- func (builder *ApplicationBuilder) Owner(owner *ApplicationOwner) *ApplicationBuilder
- func (builder *ApplicationBuilder) PaymentType(paymentType int) *ApplicationBuilder
- func (builder *ApplicationBuilder) PrimaryLanguage(primaryLanguage string) *ApplicationBuilder
- func (builder *ApplicationBuilder) RedirectUrls(redirectUrls []string) *ApplicationBuilder
- func (builder *ApplicationBuilder) SceneType(sceneType int) *ApplicationBuilder
- func (builder *ApplicationBuilder) Scopes(scopes []*AppScope) *ApplicationBuilder
- func (builder *ApplicationBuilder) Status(status int) *ApplicationBuilder
- func (builder *ApplicationBuilder) UnauditVersionId(unauditVersionId string) *ApplicationBuilder
- type ApplicationDepartmentAppUsage
- type ApplicationDepartmentAppUsageBuilder
- func (builder *ApplicationDepartmentAppUsageBuilder) App(app []*ApplicationAppUsage) *ApplicationDepartmentAppUsageBuilder
- func (builder *ApplicationDepartmentAppUsageBuilder) Bot(bot []*ApplicationAppUsage) *ApplicationDepartmentAppUsageBuilder
- func (builder *ApplicationDepartmentAppUsageBuilder) Build() *ApplicationDepartmentAppUsage
- func (builder *ApplicationDepartmentAppUsageBuilder) DepartmentId(departmentId string) *ApplicationDepartmentAppUsageBuilder
- func (builder *ApplicationDepartmentAppUsageBuilder) Gadget(gadget []*ApplicationAppUsage) *ApplicationDepartmentAppUsageBuilder
- func (builder *ApplicationDepartmentAppUsageBuilder) Webapp(webapp []*ApplicationAppUsage) *ApplicationDepartmentAppUsageBuilder
- type ApplicationEventOwner
- type ApplicationEventOwnerBuilder
- func (builder *ApplicationEventOwnerBuilder) Build() *ApplicationEventOwner
- func (builder *ApplicationEventOwnerBuilder) Email(email string) *ApplicationEventOwnerBuilder
- func (builder *ApplicationEventOwnerBuilder) HelpDesk(helpDesk string) *ApplicationEventOwnerBuilder
- func (builder *ApplicationEventOwnerBuilder) Name(name string) *ApplicationEventOwnerBuilder
- func (builder *ApplicationEventOwnerBuilder) Phone(phone string) *ApplicationEventOwnerBuilder
- func (builder *ApplicationEventOwnerBuilder) Type(type_ int) *ApplicationEventOwnerBuilder
- type ApplicationFeedback
- type ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) AppId(appId string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) Build() *ApplicationFeedback
- func (builder *ApplicationFeedbackBuilder) Contact(contact string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) Description(description string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) FaultTime(faultTime string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) FaultType(faultType []int) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) FeedbackId(feedbackId string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) FeedbackPath(feedbackPath string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) FeedbackTime(feedbackTime string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) FeedbackType(feedbackType int) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) Images(images []string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) OperatorId(operatorId string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) Source(source int) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) Status(status int) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) TenantName(tenantName string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) UpdateTime(updateTime string) *ApplicationFeedbackBuilder
- func (builder *ApplicationFeedbackBuilder) UserId(userId string) *ApplicationFeedbackBuilder
- type ApplicationOwner
- type ApplicationOwnerBuilder
- func (builder *ApplicationOwnerBuilder) Build() *ApplicationOwner
- func (builder *ApplicationOwnerBuilder) Email(email string) *ApplicationOwnerBuilder
- func (builder *ApplicationOwnerBuilder) HelpDesk(helpDesk string) *ApplicationOwnerBuilder
- func (builder *ApplicationOwnerBuilder) Name(name string) *ApplicationOwnerBuilder
- func (builder *ApplicationOwnerBuilder) OwnerId(ownerId string) *ApplicationOwnerBuilder
- func (builder *ApplicationOwnerBuilder) Phone(phone string) *ApplicationOwnerBuilder
- func (builder *ApplicationOwnerBuilder) Type(type_ int) *ApplicationOwnerBuilder
- type ApplicationService
- type ApplicationVisibility
- type ApplicationVisibilityBuilder
- func (builder *ApplicationVisibilityBuilder) Build() *ApplicationVisibility
- func (builder *ApplicationVisibilityBuilder) InvisibleList(invisibleList *AppVisibleList) *ApplicationVisibilityBuilder
- func (builder *ApplicationVisibilityBuilder) IsAll(isAll bool) *ApplicationVisibilityBuilder
- func (builder *ApplicationVisibilityBuilder) VisibleList(visibleList *AppVisibleList) *ApplicationVisibilityBuilder
- type Block
- type BlockBuilder
- func (builder *BlockBuilder) BlockTypeId(blockTypeId string) *BlockBuilder
- func (builder *BlockBuilder) Build() *Block
- func (builder *BlockBuilder) I18n(i18n []*BlockI18nInfo) *BlockBuilder
- func (builder *BlockBuilder) MobileIconUrl(mobileIconUrl string) *BlockBuilder
- func (builder *BlockBuilder) PcIconUrl(pcIconUrl string) *BlockBuilder
- func (builder *BlockBuilder) VersionId(versionId string) *BlockBuilder
- type BlockI18nInfo
- type BlockI18nInfoBuilder
- type Bot
- type BotBuilder
- type ClientBadgeNum
- type ClientBadgeNumBuilder
- type CloudDoc
- type CloudDocBuilder
- func (builder *CloudDocBuilder) Build() *CloudDoc
- func (builder *CloudDocBuilder) I18n(i18n []*CloudDocI18nInfo) *CloudDocBuilder
- func (builder *CloudDocBuilder) IconUrl(iconUrl string) *CloudDocBuilder
- func (builder *CloudDocBuilder) Mode(mode int) *CloudDocBuilder
- func (builder *CloudDocBuilder) SpaceUrl(spaceUrl string) *CloudDocBuilder
- type CloudDocI18nInfo
- type CloudDocI18nInfoBuilder
- func (builder *CloudDocI18nInfoBuilder) Build() *CloudDocI18nInfo
- func (builder *CloudDocI18nInfoBuilder) I18nKey(i18nKey string) *CloudDocI18nInfoBuilder
- func (builder *CloudDocI18nInfoBuilder) Name(name string) *CloudDocI18nInfoBuilder
- func (builder *CloudDocI18nInfoBuilder) ReadDescription(readDescription string) *CloudDocI18nInfoBuilder
- func (builder *CloudDocI18nInfoBuilder) WriteDescription(writeDescription string) *CloudDocI18nInfoBuilder
- type DocsBlock
- type DocsBlockBuilder
- func (builder *DocsBlockBuilder) BlockTypeId(blockTypeId string) *DocsBlockBuilder
- func (builder *DocsBlockBuilder) Build() *DocsBlock
- func (builder *DocsBlockBuilder) I18n(i18n []*BlockI18nInfo) *DocsBlockBuilder
- func (builder *DocsBlockBuilder) MobileIconUrl(mobileIconUrl string) *DocsBlockBuilder
- func (builder *DocsBlockBuilder) PcIconUrl(pcIconUrl string) *DocsBlockBuilder
- type Gadget
- type GadgetBuilder
- func (builder *GadgetBuilder) Build() *Gadget
- func (builder *GadgetBuilder) EnablePcMode(enablePcMode int) *GadgetBuilder
- func (builder *GadgetBuilder) MobileMinLarkVersion(mobileMinLarkVersion string) *GadgetBuilder
- func (builder *GadgetBuilder) MobileVersion(mobileVersion string) *GadgetBuilder
- func (builder *GadgetBuilder) PcMinLarkVersion(pcMinLarkVersion string) *GadgetBuilder
- func (builder *GadgetBuilder) PcUseMobilePkg(pcUseMobilePkg bool) *GadgetBuilder
- func (builder *GadgetBuilder) PcVersion(pcVersion string) *GadgetBuilder
- func (builder *GadgetBuilder) SchemaUrls(schemaUrls []string) *GadgetBuilder
- type GetApplicationAppVersionReq
- type GetApplicationAppVersionReqBuilder
- func (builder *GetApplicationAppVersionReqBuilder) AppId(appId string) *GetApplicationAppVersionReqBuilder
- func (builder *GetApplicationAppVersionReqBuilder) Build() *GetApplicationAppVersionReq
- func (builder *GetApplicationAppVersionReqBuilder) Lang(lang string) *GetApplicationAppVersionReqBuilder
- func (builder *GetApplicationAppVersionReqBuilder) UserIdType(userIdType string) *GetApplicationAppVersionReqBuilder
- func (builder *GetApplicationAppVersionReqBuilder) VersionId(versionId string) *GetApplicationAppVersionReqBuilder
- type GetApplicationAppVersionResp
- type GetApplicationAppVersionRespData
- type GetApplicationReq
- type GetApplicationReqBuilder
- func (builder *GetApplicationReqBuilder) AppId(appId string) *GetApplicationReqBuilder
- func (builder *GetApplicationReqBuilder) Build() *GetApplicationReq
- func (builder *GetApplicationReqBuilder) Lang(lang string) *GetApplicationReqBuilder
- func (builder *GetApplicationReqBuilder) UserIdType(userIdType string) *GetApplicationReqBuilder
- type GetApplicationResp
- type GetApplicationRespData
- type ListAppRecommendRuleIterator
- type ListAppRecommendRuleReq
- type ListAppRecommendRuleReqBuilder
- func (builder *ListAppRecommendRuleReqBuilder) Build() *ListAppRecommendRuleReq
- func (builder *ListAppRecommendRuleReqBuilder) Limit(limit int) *ListAppRecommendRuleReqBuilder
- func (builder *ListAppRecommendRuleReqBuilder) PageSize(pageSize int) *ListAppRecommendRuleReqBuilder
- func (builder *ListAppRecommendRuleReqBuilder) PageToken(pageToken string) *ListAppRecommendRuleReqBuilder
- func (builder *ListAppRecommendRuleReqBuilder) UserIdType(userIdType string) *ListAppRecommendRuleReqBuilder
- type ListAppRecommendRuleResp
- type ListAppRecommendRuleRespData
- type ListApplicationAppVersionIterator
- type ListApplicationAppVersionReq
- type ListApplicationAppVersionReqBuilder
- func (builder *ListApplicationAppVersionReqBuilder) AppId(appId string) *ListApplicationAppVersionReqBuilder
- func (builder *ListApplicationAppVersionReqBuilder) Build() *ListApplicationAppVersionReq
- func (builder *ListApplicationAppVersionReqBuilder) Lang(lang string) *ListApplicationAppVersionReqBuilder
- func (builder *ListApplicationAppVersionReqBuilder) Limit(limit int) *ListApplicationAppVersionReqBuilder
- func (builder *ListApplicationAppVersionReqBuilder) Order(order int) *ListApplicationAppVersionReqBuilder
- func (builder *ListApplicationAppVersionReqBuilder) PageSize(pageSize int) *ListApplicationAppVersionReqBuilder
- func (builder *ListApplicationAppVersionReqBuilder) PageToken(pageToken string) *ListApplicationAppVersionReqBuilder
- func (builder *ListApplicationAppVersionReqBuilder) UserIdType(userIdType string) *ListApplicationAppVersionReqBuilder
- type ListApplicationAppVersionResp
- type ListApplicationAppVersionRespData
- type ListApplicationFeedbackReq
- type ListApplicationFeedbackReqBuilder
- func (builder *ListApplicationFeedbackReqBuilder) AppId(appId string) *ListApplicationFeedbackReqBuilder
- func (builder *ListApplicationFeedbackReqBuilder) Build() *ListApplicationFeedbackReq
- func (builder *ListApplicationFeedbackReqBuilder) FeedbackType(feedbackType int) *ListApplicationFeedbackReqBuilder
- func (builder *ListApplicationFeedbackReqBuilder) FromDate(fromDate string) *ListApplicationFeedbackReqBuilder
- func (builder *ListApplicationFeedbackReqBuilder) PageSize(pageSize int) *ListApplicationFeedbackReqBuilder
- func (builder *ListApplicationFeedbackReqBuilder) PageToken(pageToken string) *ListApplicationFeedbackReqBuilder
- func (builder *ListApplicationFeedbackReqBuilder) Status(status int) *ListApplicationFeedbackReqBuilder
- func (builder *ListApplicationFeedbackReqBuilder) ToDate(toDate string) *ListApplicationFeedbackReqBuilder
- func (builder *ListApplicationFeedbackReqBuilder) UserIdType(userIdType string) *ListApplicationFeedbackReqBuilder
- type ListApplicationFeedbackResp
- type ListApplicationFeedbackRespData
- type MessageAction
- type MessageActionBuilder
- func (builder *MessageActionBuilder) Build() *MessageAction
- func (builder *MessageActionBuilder) I18n(i18n []*MessageActionI18nInfo) *MessageActionBuilder
- func (builder *MessageActionBuilder) MobileAppLink(mobileAppLink string) *MessageActionBuilder
- func (builder *MessageActionBuilder) PcAppLink(pcAppLink string) *MessageActionBuilder
- type MessageActionI18nInfo
- type MessageActionI18nInfoBuilder
- type MessageOverviewItem
- type MessageOverviewItemBuilder
- func (builder *MessageOverviewItemBuilder) Build() *MessageOverviewItem
- func (builder *MessageOverviewItemBuilder) ChatType(chatType string) *MessageOverviewItemBuilder
- func (builder *MessageOverviewItemBuilder) EventType(eventType string) *MessageOverviewItemBuilder
- func (builder *MessageOverviewItemBuilder) MessageType(messageType string) *MessageOverviewItemBuilder
- func (builder *MessageOverviewItemBuilder) PageView(pageView string) *MessageOverviewItemBuilder
- func (builder *MessageOverviewItemBuilder) UniqueVisitor(uniqueVisitor string) *MessageOverviewItemBuilder
- type Miniprogram
- type MiniprogramBuilder
- func (builder *MiniprogramBuilder) Build() *Miniprogram
- func (builder *MiniprogramBuilder) EnablePcMode(enablePcMode int) *MiniprogramBuilder
- func (builder *MiniprogramBuilder) MobileMinLarkVersion(mobileMinLarkVersion string) *MiniprogramBuilder
- func (builder *MiniprogramBuilder) MobileVersionId(mobileVersionId string) *MiniprogramBuilder
- func (builder *MiniprogramBuilder) PcMinLarkVersion(pcMinLarkVersion string) *MiniprogramBuilder
- func (builder *MiniprogramBuilder) PcUseMobilePkg(pcUseMobilePkg bool) *MiniprogramBuilder
- func (builder *MiniprogramBuilder) PcVersionId(pcVersionId string) *MiniprogramBuilder
- func (builder *MiniprogramBuilder) SchemaUrls(schemaUrls []string) *MiniprogramBuilder
- type MsgAction
- type MsgActionBuilder
- func (builder *MsgActionBuilder) Build() *MsgAction
- func (builder *MsgActionBuilder) I18n(i18n []*MsgActionI18nInfo) *MsgActionBuilder
- func (builder *MsgActionBuilder) MobileAppLink(mobileAppLink string) *MsgActionBuilder
- func (builder *MsgActionBuilder) PcAppLink(pcAppLink string) *MsgActionBuilder
- type MsgActionI18nInfo
- type MsgActionI18nInfoBuilder
- type Navigate
- type NavigateBuilder
- type NavigateMeta
- type NavigateMetaBuilder
- func (builder *NavigateMetaBuilder) Build() *NavigateMeta
- func (builder *NavigateMetaBuilder) HoverImageUrl(hoverImageUrl string) *NavigateMetaBuilder
- func (builder *NavigateMetaBuilder) ImageUrl(imageUrl string) *NavigateMetaBuilder
- func (builder *NavigateMetaBuilder) Version(version string) *NavigateMetaBuilder
- type OverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) Ability(ability string) *OverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) Build() (*OverviewApplicationAppUsageReqBody, error)
- func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) CycleType(cycleType int) *OverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) Date(date string) *OverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId(departmentId string) *OverviewApplicationAppUsagePathReqBodyBuilder
- type OverviewApplicationAppUsageReq
- type OverviewApplicationAppUsageReqBody
- type OverviewApplicationAppUsageReqBodyBuilder
- func (builder *OverviewApplicationAppUsageReqBodyBuilder) Ability(ability string) *OverviewApplicationAppUsageReqBodyBuilder
- func (builder *OverviewApplicationAppUsageReqBodyBuilder) Build() *OverviewApplicationAppUsageReqBody
- func (builder *OverviewApplicationAppUsageReqBodyBuilder) CycleType(cycleType int) *OverviewApplicationAppUsageReqBodyBuilder
- func (builder *OverviewApplicationAppUsageReqBodyBuilder) Date(date string) *OverviewApplicationAppUsageReqBodyBuilder
- func (builder *OverviewApplicationAppUsageReqBodyBuilder) DepartmentId(departmentId string) *OverviewApplicationAppUsageReqBodyBuilder
- type OverviewApplicationAppUsageReqBuilder
- func (builder *OverviewApplicationAppUsageReqBuilder) AppId(appId string) *OverviewApplicationAppUsageReqBuilder
- func (builder *OverviewApplicationAppUsageReqBuilder) Body(body *OverviewApplicationAppUsageReqBody) *OverviewApplicationAppUsageReqBuilder
- func (builder *OverviewApplicationAppUsageReqBuilder) Build() *OverviewApplicationAppUsageReq
- func (builder *OverviewApplicationAppUsageReqBuilder) DepartmentIdType(departmentIdType string) *OverviewApplicationAppUsageReqBuilder
- type OverviewApplicationAppUsageResp
- type OverviewApplicationAppUsageRespData
- type P1AppOpenApplicantV6
- type P1AppOpenInstallerEmployeeV6
- type P1AppOpenInstallerV6
- type P1AppOpenV6
- type P1AppOpenV6Data
- type P1AppOpenV6Handler
- type P1AppStatusChangeOperatorV6
- type P1AppStatusChangedV6
- type P1AppStatusChangedV6Data
- type P1AppStatusChangedV6Handler
- type P1AppUninstalledV6
- type P1AppUninstalledV6Data
- type P1AppUninstalledV6Handler
- type P1OrderPaidV6
- type P1OrderPaidV6Data
- type P1OrderPaidV6Handler
- type P2ApplicationAppVersionAuditV6
- type P2ApplicationAppVersionAuditV6Data
- type P2ApplicationAppVersionAuditV6Handler
- type P2ApplicationAppVersionPublishApplyV6
- type P2ApplicationAppVersionPublishApplyV6Data
- type P2ApplicationAppVersionPublishApplyV6Handler
- type P2ApplicationAppVersionPublishRevokeV6
- type P2ApplicationAppVersionPublishRevokeV6Data
- type P2ApplicationAppVersionPublishRevokeV6Handler
- type P2ApplicationCreatedV6
- type P2ApplicationCreatedV6Data
- type P2ApplicationCreatedV6Handler
- type P2ApplicationFeedbackCreatedV6
- type P2ApplicationFeedbackCreatedV6Data
- type P2ApplicationFeedbackCreatedV6Handler
- type P2ApplicationFeedbackUpdatedV6
- type P2ApplicationFeedbackUpdatedV6Data
- type P2ApplicationFeedbackUpdatedV6Handler
- type P2ApplicationVisibilityAddedV6
- type P2ApplicationVisibilityAddedV6Data
- type P2ApplicationVisibilityAddedV6Handler
- type PatchApplicationAppVersionReq
- type PatchApplicationAppVersionReqBuilder
- func (builder *PatchApplicationAppVersionReqBuilder) AppId(appId string) *PatchApplicationAppVersionReqBuilder
- func (builder *PatchApplicationAppVersionReqBuilder) ApplicationAppVersion(applicationAppVersion *ApplicationAppVersion) *PatchApplicationAppVersionReqBuilder
- func (builder *PatchApplicationAppVersionReqBuilder) Build() *PatchApplicationAppVersionReq
- func (builder *PatchApplicationAppVersionReqBuilder) OperatorId(operatorId string) *PatchApplicationAppVersionReqBuilder
- func (builder *PatchApplicationAppVersionReqBuilder) RejectReason(rejectReason string) *PatchApplicationAppVersionReqBuilder
- func (builder *PatchApplicationAppVersionReqBuilder) UserIdType(userIdType string) *PatchApplicationAppVersionReqBuilder
- func (builder *PatchApplicationAppVersionReqBuilder) VersionId(versionId string) *PatchApplicationAppVersionReqBuilder
- type PatchApplicationAppVersionResp
- type PatchApplicationFeedbackReq
- type PatchApplicationFeedbackReqBuilder
- func (builder *PatchApplicationFeedbackReqBuilder) AppId(appId string) *PatchApplicationFeedbackReqBuilder
- func (builder *PatchApplicationFeedbackReqBuilder) Build() *PatchApplicationFeedbackReq
- func (builder *PatchApplicationFeedbackReqBuilder) FeedbackId(feedbackId string) *PatchApplicationFeedbackReqBuilder
- func (builder *PatchApplicationFeedbackReqBuilder) OperatorId(operatorId string) *PatchApplicationFeedbackReqBuilder
- func (builder *PatchApplicationFeedbackReqBuilder) Status(status int) *PatchApplicationFeedbackReqBuilder
- func (builder *PatchApplicationFeedbackReqBuilder) UserIdType(userIdType string) *PatchApplicationFeedbackReqBuilder
- type PatchApplicationFeedbackResp
- type PatchApplicationReq
- type PatchApplicationReqBuilder
- func (builder *PatchApplicationReqBuilder) AppId(appId string) *PatchApplicationReqBuilder
- func (builder *PatchApplicationReqBuilder) Application(application *Application) *PatchApplicationReqBuilder
- func (builder *PatchApplicationReqBuilder) Build() *PatchApplicationReq
- func (builder *PatchApplicationReqBuilder) Lang(lang string) *PatchApplicationReqBuilder
- type PatchApplicationResp
- type PlusMenu
- type PlusMenuBuilder
- type Scope
- type ScopeBuilder
- type UnderauditlistApplicationIterator
- type UnderauditlistApplicationReq
- type UnderauditlistApplicationReqBuilder
- func (builder *UnderauditlistApplicationReqBuilder) Build() *UnderauditlistApplicationReq
- func (builder *UnderauditlistApplicationReqBuilder) Lang(lang string) *UnderauditlistApplicationReqBuilder
- func (builder *UnderauditlistApplicationReqBuilder) Limit(limit int) *UnderauditlistApplicationReqBuilder
- func (builder *UnderauditlistApplicationReqBuilder) PageSize(pageSize int) *UnderauditlistApplicationReqBuilder
- func (builder *UnderauditlistApplicationReqBuilder) PageToken(pageToken string) *UnderauditlistApplicationReqBuilder
- func (builder *UnderauditlistApplicationReqBuilder) UserIdType(userIdType string) *UnderauditlistApplicationReqBuilder
- type UnderauditlistApplicationResp
- type UnderauditlistApplicationRespData
- type UsageOverviewItem
- type UsageOverviewItemBuilder
- func (builder *UsageOverviewItemBuilder) Build() *UsageOverviewItem
- func (builder *UsageOverviewItemBuilder) DepartmentId(departmentId string) *UsageOverviewItemBuilder
- func (builder *UsageOverviewItemBuilder) PageView(pageView string) *UsageOverviewItemBuilder
- func (builder *UsageOverviewItemBuilder) UniqueVisitor(uniqueVisitor string) *UsageOverviewItemBuilder
- type UsageTrendItem
- type UsageTrendItemBuilder
- func (builder *UsageTrendItemBuilder) Build() *UsageTrendItem
- func (builder *UsageTrendItemBuilder) PageView(pageView string) *UsageTrendItemBuilder
- func (builder *UsageTrendItemBuilder) Timestamp(timestamp string) *UsageTrendItemBuilder
- func (builder *UsageTrendItemBuilder) UniqueVisitor(uniqueVisitor string) *UsageTrendItemBuilder
- type UsageUser
- type UsageUserBuilder
- type User
- type UserBuilder
- type UserId
- type UserIdBuilder
- type WebApp
- type WebAppBuilder
- type Widget
- type WorkplaceWidget
- type WorkplaceWidgetBuilder
Constants ¶
const ( UserIdTypeUserId = "user_id" // 以user_id来识别用户 UserIdTypeUnionId = "union_id" // 以union_id来识别用户 UserIdTypeOpenId = "open_id" // 以open_id来识别用户 )
const ( I18nKeyZhCn = "zh_cn" // 中文 I18nKeyEnUs = "en_us" // 英文 I18nKeyJaJp = "ja_jp" // 日文 )
const ( UserIdTypeGetApplicationUserId = "user_id" // 以user_id来识别用户 UserIdTypeGetApplicationUnionId = "union_id" // 以union_id来识别用户 UserIdTypeGetApplicationOpenId = "open_id" // 以open_id来识别用户 )
const ( I18nKeyPatchApplicationZhCn = "zh_cn" // 中文 I18nKeyPatchApplicationEnUs = "en_us" // 英文 I18nKeyPatchApplicationJaJp = "ja_jp" // 日文 )
const ( I18nKeyUnderauditlistApplicationZhCn = "zh_cn" // 中文 I18nKeyUnderauditlistApplicationEnUs = "en_us" // 英文 I18nKeyUnderauditlistApplicationJaJp = "ja_jp" // 日文 )
const ( UserIdTypeUnderauditlistApplicationUserId = "user_id" // 以user_id来识别用户 UserIdTypeUnderauditlistApplicationUnionId = "union_id" // 以union_id来识别用户 UserIdTypeUnderauditlistApplicationOpenId = "open_id" // 以open_id来识别用户 )
const ( CycleTypeDay = 1 // 日活 CycleTypeWeek = 2 // 周活, date字段应该填自然周周一的日期 CycleTypeMonth = 3 // 月活, date字段应该填自然月1号的日期 )
const ( AbilityApp = "app" // 返回应用整体的数据 AbilityMp = "mp" // 返回小程序的数据 AbilityH5 = "h5" // 返回网页的数据 AbilityBot = "bot" // 返回机器人的数据 )
const ( DepartmentIdTypeDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( I18nKeyGetApplicationAppVersionZhCn = "zh_cn" // 中文 I18nKeyGetApplicationAppVersionEnUs = "en_us" // 英文 I18nKeyGetApplicationAppVersionJaJp = "ja_jp" // 日文 )
const ( UserIdTypeGetApplicationAppVersionUserId = "user_id" // 以user_id来识别用户 UserIdTypeGetApplicationAppVersionUnionId = "union_id" // 以union_id来识别用户 UserIdTypeGetApplicationAppVersionOpenId = "open_id" // 以open_id来识别用户 )
const ( I18nKeyListApplicationAppVersionZhCn = "zh_cn" // 中文 I18nKeyListApplicationAppVersionEnUs = "en_us" // 英文 I18nKeyListApplicationAppVersionJaJp = "ja_jp" // 日文 )
const ( UserIdTypeListApplicationAppVersionUserId = "user_id" // 以user_id来识别用户 UserIdTypeListApplicationAppVersionUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListApplicationAppVersionOpenId = "open_id" // 以open_id来识别用户 )
const ( AppVersionStatusUnknown = 0 // 未知状态 AppVersionStatusAudited = 1 // 审核通过 AppVersionStatusReject = 2 // 审核拒绝 AppVersionStatusUnderAudit = 3 // 审核中 AppVersionStatusUnaudit = 4 // 未提交审核 )
const ( UserIdTypePatchApplicationAppVersionUserId = "user_id" // 以user_id来识别用户 UserIdTypePatchApplicationAppVersionUnionId = "union_id" // 以union_id来识别用户 UserIdTypePatchApplicationAppVersionOpenId = "open_id" // 以open_id来识别用户 )
const ( OpenFeedbackTypeFault = 1 // 故障反馈 OpenFeedbackTypeAdvice = 2 // 产品建议 )
const ( OpenMarkStatusUnmarked = 0 // 反馈未处理 OpenMarkStatusMarked = 1 // 反馈已处理 OpenMarkStatusProcessing = 2 // 反馈处理中 OpenMarkStatusClosed = 3 // 反馈已关闭 )
const ( UserIdTypeListApplicationFeedbackOpenId = "open_id" // 用户的 open id UserIdTypeListApplicationFeedbackUnionId = "union_id" // 用户的 union id UserIdTypeListApplicationFeedbackUserId = "user_id" // 用户的 user id )
const ( UserIdTypePatchApplicationFeedbackOpenId = "open_id" // 用户的 open id UserIdTypePatchApplicationFeedbackUnionId = "union_id" // 用户的 union id UserIdTypePatchApplicationFeedbackUserId = "user_id" // 用户的 user id )
const ( OpenMarkStatusPatchApplicationFeedbackUnmarked = 0 // 反馈未处理 OpenMarkStatusPatchApplicationFeedbackMarked = 1 // 反馈已处理 OpenMarkStatusPatchApplicationFeedbackProcessing = 2 // 反馈处理中 OpenMarkStatusPatchApplicationFeedbackClosed = 3 // 反馈已关闭 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAbility ¶
type AppAbility struct { Gadget *Gadget `json:"gadget,omitempty"` // 小程序能力 WebApp *WebApp `json:"web_app,omitempty"` // 网页能力 Bot *Bot `json:"bot,omitempty"` // 机器人能力 WorkplaceWidgets []*WorkplaceWidget `json:"workplace_widgets,omitempty"` // 小组件能力 CloudDoc *CloudDoc `json:"cloud_doc,omitempty"` // 云文档应用 DocsBlocks []*DocsBlock `json:"docs_blocks,omitempty"` // 云文档小组件 MessageAction *MessageAction `json:"message_action,omitempty"` // 消息快捷操作 PlusMenu *PlusMenu `json:"plus_menu,omitempty"` // 加号菜单 }
type AppAbilityBuilder ¶
type AppAbilityBuilder struct {
// contains filtered or unexported fields
}
func NewAppAbilityBuilder ¶
func NewAppAbilityBuilder() *AppAbilityBuilder
func (*AppAbilityBuilder) Bot ¶
func (builder *AppAbilityBuilder) Bot(bot *Bot) *AppAbilityBuilder
机器人能力
示例值:
func (*AppAbilityBuilder) Build ¶
func (builder *AppAbilityBuilder) Build() *AppAbility
func (*AppAbilityBuilder) CloudDoc ¶
func (builder *AppAbilityBuilder) CloudDoc(cloudDoc *CloudDoc) *AppAbilityBuilder
云文档应用
示例值:
func (*AppAbilityBuilder) DocsBlocks ¶
func (builder *AppAbilityBuilder) DocsBlocks(docsBlocks []*DocsBlock) *AppAbilityBuilder
云文档小组件
示例值:
func (*AppAbilityBuilder) Gadget ¶
func (builder *AppAbilityBuilder) Gadget(gadget *Gadget) *AppAbilityBuilder
小程序能力
示例值:
func (*AppAbilityBuilder) MessageAction ¶
func (builder *AppAbilityBuilder) MessageAction(messageAction *MessageAction) *AppAbilityBuilder
消息快捷操作
示例值:
func (*AppAbilityBuilder) Navigate ¶
func (builder *AppAbilityBuilder) Navigate(navigate *Navigate) *AppAbilityBuilder
主导航小程序
示例值:
func (*AppAbilityBuilder) PlusMenu ¶
func (builder *AppAbilityBuilder) PlusMenu(plusMenu *PlusMenu) *AppAbilityBuilder
加号菜单
示例值:
func (*AppAbilityBuilder) WebApp ¶
func (builder *AppAbilityBuilder) WebApp(webApp *WebApp) *AppAbilityBuilder
网页能力
示例值:
func (*AppAbilityBuilder) WorkplaceWidgets ¶
func (builder *AppAbilityBuilder) WorkplaceWidgets(workplaceWidgets []*WorkplaceWidget) *AppAbilityBuilder
小组件能力
示例值:
type AppAdminUser ¶
type AppAdminUserBuilder ¶
type AppAdminUserBuilder struct {
// contains filtered or unexported fields
}
func NewAppAdminUserBuilder ¶
func NewAppAdminUserBuilder() *AppAdminUserBuilder
func (*AppAdminUserBuilder) AdminType ¶
func (builder *AppAdminUserBuilder) AdminType(adminType []string) *AppAdminUserBuilder
管理员类型列表,如果该管理员同时是超级管理员 又是管理员,则同时返回两个角色。 ""super_admin"":超级管理员 ""admin"":管理员 返回示例:[""super_admin"",""admin""]"
示例值:["admin","super_admin"]
func (*AppAdminUserBuilder) Build ¶
func (builder *AppAdminUserBuilder) Build() *AppAdminUser
func (*AppAdminUserBuilder) UserId ¶
func (builder *AppAdminUserBuilder) UserId(userId string) *AppAdminUserBuilder
反馈用户id,租户内用户的唯一标识 ,ID值与查询参数中的user_id_type对应
示例值:6865121785549946899
type AppBadge ¶
type AppBadge struct { UserId *string `json:"user_id,omitempty"` // 用户ID Version *string `json:"version,omitempty"` // badge数据版本号 Extra *string `json:"extra,omitempty"` // badge extra 信息 Pc *ClientBadgeNum `json:"pc,omitempty"` // pc端badge数量 Mobile *ClientBadgeNum `json:"mobile,omitempty"` // 移动端badge数量 }
type AppBadgeBuilder ¶
type AppBadgeBuilder struct {
// contains filtered or unexported fields
}
func NewAppBadgeBuilder ¶
func NewAppBadgeBuilder() *AppBadgeBuilder
func (*AppBadgeBuilder) Build ¶
func (builder *AppBadgeBuilder) Build() *AppBadge
func (*AppBadgeBuilder) Extra ¶
func (builder *AppBadgeBuilder) Extra(extra string) *AppBadgeBuilder
badge extra 信息
示例值:{}
func (*AppBadgeBuilder) Mobile ¶
func (builder *AppBadgeBuilder) Mobile(mobile *ClientBadgeNum) *AppBadgeBuilder
移动端badge数量
示例值:
func (*AppBadgeBuilder) Pc ¶
func (builder *AppBadgeBuilder) Pc(pc *ClientBadgeNum) *AppBadgeBuilder
pc端badge数量
示例值:
func (*AppBadgeBuilder) UserId ¶
func (builder *AppBadgeBuilder) UserId(userId string) *AppBadgeBuilder
用户ID
示例值:ou_d317f090b7258ad0372aa53963cda70d
func (*AppBadgeBuilder) Version ¶
func (builder *AppBadgeBuilder) Version(version string) *AppBadgeBuilder
badge数据版本号
示例值:1664360599355
type AppCommonCategory ¶
type AppCommonCategoryBuilder ¶
type AppCommonCategoryBuilder struct {
// contains filtered or unexported fields
}
func NewAppCommonCategoryBuilder ¶
func NewAppCommonCategoryBuilder() *AppCommonCategoryBuilder
func (*AppCommonCategoryBuilder) Build ¶
func (builder *AppCommonCategoryBuilder) Build() *AppCommonCategory
func (*AppCommonCategoryBuilder) Category ¶
func (builder *AppCommonCategoryBuilder) Category(category string) *AppCommonCategoryBuilder
应用分类
示例值:分析工具
func (*AppCommonCategoryBuilder) I18nKey ¶
func (builder *AppCommonCategoryBuilder) I18nKey(i18nKey string) *AppCommonCategoryBuilder
国际化语言的 key
示例值:zh_cn
type AppCustomCategory ¶
type AppCustomCategoryBuilder ¶
type AppCustomCategoryBuilder struct {
// contains filtered or unexported fields
}
func NewAppCustomCategoryBuilder ¶
func NewAppCustomCategoryBuilder() *AppCustomCategoryBuilder
func (*AppCustomCategoryBuilder) AppIds ¶
func (builder *AppCustomCategoryBuilder) AppIds(appIds []string) *AppCustomCategoryBuilder
在该分组下的应用 id 列表
示例值:
func (*AppCustomCategoryBuilder) Build ¶
func (builder *AppCustomCategoryBuilder) Build() *AppCustomCategory
func (*AppCustomCategoryBuilder) Description ¶
func (builder *AppCustomCategoryBuilder) Description(description string) *AppCustomCategoryBuilder
应用权限的国际化描述
示例值:获取应用信息
func (*AppCustomCategoryBuilder) I18nKey ¶
func (builder *AppCustomCategoryBuilder) I18nKey(i18nKey string) *AppCustomCategoryBuilder
国际化语言的 key
示例值:zh_cn
type AppCustomCategoryI18nInfoBuilder ¶
type AppCustomCategoryI18nInfoBuilder struct {
// contains filtered or unexported fields
}
func NewAppCustomCategoryI18nInfoBuilder ¶
func NewAppCustomCategoryI18nInfoBuilder() *AppCustomCategoryI18nInfoBuilder
func (*AppCustomCategoryI18nInfoBuilder) Build ¶
func (builder *AppCustomCategoryI18nInfoBuilder) Build() *AppCustomCategoryI18nInfo
func (*AppCustomCategoryI18nInfoBuilder) I18nKey ¶
func (builder *AppCustomCategoryI18nInfoBuilder) I18nKey(i18nKey string) *AppCustomCategoryI18nInfoBuilder
国际化语言的 key
示例值:zh_cn
func (*AppCustomCategoryI18nInfoBuilder) Name ¶
func (builder *AppCustomCategoryI18nInfoBuilder) Name(name string) *AppCustomCategoryI18nInfoBuilder
自定义分组的国际化名称
示例值:名称
type AppI18nInfo ¶
type AppI18nInfoBuilder ¶
type AppI18nInfoBuilder struct {
// contains filtered or unexported fields
}
func NewAppI18nInfoBuilder ¶
func NewAppI18nInfoBuilder() *AppI18nInfoBuilder
func (*AppI18nInfoBuilder) Build ¶
func (builder *AppI18nInfoBuilder) Build() *AppI18nInfo
func (*AppI18nInfoBuilder) Description ¶
func (builder *AppI18nInfoBuilder) Description(description string) *AppI18nInfoBuilder
应用国际化描述(副标题)
示例值:应用描述
func (*AppI18nInfoBuilder) HelpUse ¶
func (builder *AppI18nInfoBuilder) HelpUse(helpUse string) *AppI18nInfoBuilder
帮助国际化文档链接
func (*AppI18nInfoBuilder) I18nKey ¶
func (builder *AppI18nInfoBuilder) I18nKey(i18nKey string) *AppI18nInfoBuilder
国际化语言的 key
示例值:zh_cn
func (*AppI18nInfoBuilder) Name ¶
func (builder *AppI18nInfoBuilder) Name(name string) *AppI18nInfoBuilder
应用国际化名称
示例值:应用名称
type AppMessageTrendItem ¶
type AppMessageTrendItem struct { ChatType *string `json:"chat_type,omitempty"` // 聊天类型,private:私聊;group:群聊 EventType *string `json:"event_type,omitempty"` // 消息事件类型,message_send:已发送消息;bot_notify_get_message:bot 通知收到消息;message_read:消息已读 MessageType *string `json:"message_type,omitempty"` // 消息类型,大小写不敏感,text:文本消息;image:图片消息;interactive:卡片消息;post:富文本消息;share_chat:群名片 Trend []*UsageTrendItem `json:"trend,omitempty"` // }
type AppMessageTrendItemBuilder ¶
type AppMessageTrendItemBuilder struct {
// contains filtered or unexported fields
}
func NewAppMessageTrendItemBuilder ¶
func NewAppMessageTrendItemBuilder() *AppMessageTrendItemBuilder
func (*AppMessageTrendItemBuilder) Build ¶
func (builder *AppMessageTrendItemBuilder) Build() *AppMessageTrendItem
func (*AppMessageTrendItemBuilder) ChatType ¶
func (builder *AppMessageTrendItemBuilder) ChatType(chatType string) *AppMessageTrendItemBuilder
聊天类型,private:私聊;group:群聊
示例值:
func (*AppMessageTrendItemBuilder) EventType ¶
func (builder *AppMessageTrendItemBuilder) EventType(eventType string) *AppMessageTrendItemBuilder
消息事件类型,message_send:已发送消息;bot_notify_get_message:bot 通知收到消息;message_read:消息已读
示例值:
func (*AppMessageTrendItemBuilder) MessageType ¶
func (builder *AppMessageTrendItemBuilder) MessageType(messageType string) *AppMessageTrendItemBuilder
消息类型,大小写不敏感,text:文本消息;image:图片消息;interactive:卡片消息;post:富文本消息;share_chat:群名片
示例值:
func (*AppMessageTrendItemBuilder) Trend ¶
func (builder *AppMessageTrendItemBuilder) Trend(trend []*UsageTrendItem) *AppMessageTrendItemBuilder
示例值:
type AppRecommendRule ¶ added in v3.0.3
type AppRecommendRule struct { Id *string `json:"id,omitempty"` // 推荐规则 ID Name *string `json:"name,omitempty"` // 推荐规则名称 Status *string `json:"status,omitempty"` // 推荐规则启用状态 VisibilityInfo *AppRecommendRuleVisibilityInfo `json:"visibility_info,omitempty"` // 推荐规则可见性信息 RecommendItemInfos []*AppRecommendRuleItemInfo `json:"recommend_item_infos,omitempty"` // 不可移除推荐应用项列表 DistributedRecommendItemInfos []*AppRecommendRuleItemInfo `json:"distributed_recommend_item_infos,omitempty"` // 可移除推荐应用项列表 }
type AppRecommendRuleBuilder ¶ added in v3.0.3
type AppRecommendRuleBuilder struct {
// contains filtered or unexported fields
}
func NewAppRecommendRuleBuilder ¶ added in v3.0.3
func NewAppRecommendRuleBuilder() *AppRecommendRuleBuilder
func (*AppRecommendRuleBuilder) Build ¶ added in v3.0.3
func (builder *AppRecommendRuleBuilder) Build() *AppRecommendRule
func (*AppRecommendRuleBuilder) DistributedRecommendItemInfos ¶ added in v3.0.3
func (builder *AppRecommendRuleBuilder) DistributedRecommendItemInfos(distributedRecommendItemInfos []*AppRecommendRuleItemInfo) *AppRecommendRuleBuilder
可移除推荐应用项列表
示例值:
func (*AppRecommendRuleBuilder) Id ¶ added in v3.0.3
func (builder *AppRecommendRuleBuilder) Id(id string) *AppRecommendRuleBuilder
推荐规则 ID
示例值:7137896480337641492
func (*AppRecommendRuleBuilder) Name ¶ added in v3.0.3
func (builder *AppRecommendRuleBuilder) Name(name string) *AppRecommendRuleBuilder
推荐规则名称
示例值:管理员小白的推荐规则
func (*AppRecommendRuleBuilder) RecommendItemInfos ¶ added in v3.0.3
func (builder *AppRecommendRuleBuilder) RecommendItemInfos(recommendItemInfos []*AppRecommendRuleItemInfo) *AppRecommendRuleBuilder
不可移除推荐应用项列表
示例值:
func (*AppRecommendRuleBuilder) Status ¶ added in v3.0.3
func (builder *AppRecommendRuleBuilder) Status(status string) *AppRecommendRuleBuilder
推荐规则启用状态
示例值:open
func (*AppRecommendRuleBuilder) VisibilityInfo ¶ added in v3.0.3
func (builder *AppRecommendRuleBuilder) VisibilityInfo(visibilityInfo *AppRecommendRuleVisibilityInfo) *AppRecommendRuleBuilder
推荐规则可见性信息
示例值:
type AppRecommendRuleItemInfo ¶ added in v3.0.3
type AppRecommendRuleItemInfo struct { ItemId *string `json:"item_id,omitempty"` // 推荐应用项 ID ItemType *string `json:"item_type,omitempty"` // 推荐应用项类型 Name *string `json:"name,omitempty"` // 推荐应用项名称 Description *string `json:"description,omitempty"` // 推荐应用项描述 LinkUrl *string `json:"link_url,omitempty"` // 链接类型应用项的跳转链接(应用类型该字段为空) ClientId *string `json:"client_id,omitempty"` // 应用类型应用项的 app id(链接类型该字段为空) IconUrl *string `json:"icon_url,omitempty"` // 应用项图标链接 DefaultLocale *string `json:"default_locale,omitempty"` // 链接类型应用项的默认展示语种(应用类型该字段为空) I18nName *AppRecommendRuleItemInfoI18nName `json:"i18n_name,omitempty"` // 应用项的多语种名称 }
type AppRecommendRuleItemInfoBuilder ¶ added in v3.0.3
type AppRecommendRuleItemInfoBuilder struct {
// contains filtered or unexported fields
}
func NewAppRecommendRuleItemInfoBuilder ¶ added in v3.0.3
func NewAppRecommendRuleItemInfoBuilder() *AppRecommendRuleItemInfoBuilder
func (*AppRecommendRuleItemInfoBuilder) Build ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) Build() *AppRecommendRuleItemInfo
func (*AppRecommendRuleItemInfoBuilder) ClientId ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) ClientId(clientId string) *AppRecommendRuleItemInfoBuilder
应用类型应用项的 app id(链接类型该字段为空)
示例值:cli_a274440757b8901c
func (*AppRecommendRuleItemInfoBuilder) DefaultLocale ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) DefaultLocale(defaultLocale string) *AppRecommendRuleItemInfoBuilder
链接类型应用项的默认展示语种(应用类型该字段为空)
示例值:zh_cn
func (*AppRecommendRuleItemInfoBuilder) Description ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) Description(description string) *AppRecommendRuleItemInfoBuilder
推荐应用项描述
示例值:审批应用的描述
func (*AppRecommendRuleItemInfoBuilder) I18nName ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) I18nName(i18nName *AppRecommendRuleItemInfoI18nName) *AppRecommendRuleItemInfoBuilder
应用项的多语种名称
示例值:
func (*AppRecommendRuleItemInfoBuilder) IconUrl ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) IconUrl(iconUrl string) *AppRecommendRuleItemInfoBuilder
应用项图标链接
func (*AppRecommendRuleItemInfoBuilder) ItemId ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) ItemId(itemId string) *AppRecommendRuleItemInfoBuilder
推荐应用项 ID
示例值:7137896480337625108
func (*AppRecommendRuleItemInfoBuilder) ItemType ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) ItemType(itemType string) *AppRecommendRuleItemInfoBuilder
推荐应用项类型
示例值:application
func (*AppRecommendRuleItemInfoBuilder) LinkUrl ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) LinkUrl(linkUrl string) *AppRecommendRuleItemInfoBuilder
链接类型应用项的跳转链接(应用类型该字段为空)
func (*AppRecommendRuleItemInfoBuilder) Name ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoBuilder) Name(name string) *AppRecommendRuleItemInfoBuilder
推荐应用项名称
示例值:审批
type AppRecommendRuleItemInfoI18nName ¶ added in v3.0.3
type AppRecommendRuleItemInfoI18nName struct { ZhCn *string `json:"zh_cn,omitempty"` // 应用项的简体中文名称 ZhHk *string `json:"zh_hk,omitempty"` // 应用项的繁体中文(中国香港)名称 ZhTw *string `json:"zh_tw,omitempty"` // 应用项的繁体中文(中国台湾)名称 EnUs *string `json:"en_us,omitempty"` // 应用项的英文名称 JaJp *string `json:"ja_jp,omitempty"` // 应用项的日文名称 }
type AppRecommendRuleItemInfoI18nNameBuilder ¶ added in v3.0.3
type AppRecommendRuleItemInfoI18nNameBuilder struct {
// contains filtered or unexported fields
}
func NewAppRecommendRuleItemInfoI18nNameBuilder ¶ added in v3.0.3
func NewAppRecommendRuleItemInfoI18nNameBuilder() *AppRecommendRuleItemInfoI18nNameBuilder
func (*AppRecommendRuleItemInfoI18nNameBuilder) Build ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoI18nNameBuilder) Build() *AppRecommendRuleItemInfoI18nName
func (*AppRecommendRuleItemInfoI18nNameBuilder) EnUs ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoI18nNameBuilder) EnUs(enUs string) *AppRecommendRuleItemInfoI18nNameBuilder
应用项的英文名称
示例值:Approval
func (*AppRecommendRuleItemInfoI18nNameBuilder) JaJp ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoI18nNameBuilder) JaJp(jaJp string) *AppRecommendRuleItemInfoI18nNameBuilder
应用项的日文名称
示例值:承認
func (*AppRecommendRuleItemInfoI18nNameBuilder) ZhCn ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoI18nNameBuilder) ZhCn(zhCn string) *AppRecommendRuleItemInfoI18nNameBuilder
应用项的简体中文名称
示例值:审批
func (*AppRecommendRuleItemInfoI18nNameBuilder) ZhHk ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoI18nNameBuilder) ZhHk(zhHk string) *AppRecommendRuleItemInfoI18nNameBuilder
应用项的繁体中文(中国香港)名称
示例值:審批
func (*AppRecommendRuleItemInfoI18nNameBuilder) ZhTw ¶ added in v3.0.3
func (builder *AppRecommendRuleItemInfoI18nNameBuilder) ZhTw(zhTw string) *AppRecommendRuleItemInfoI18nNameBuilder
应用项的繁体中文(中国台湾)名称
示例值:審批
type AppRecommendRuleVisibilityInfo ¶ added in v3.0.3
type AppRecommendRuleVisibilityInfoBuilder ¶ added in v3.0.3
type AppRecommendRuleVisibilityInfoBuilder struct {
// contains filtered or unexported fields
}
func NewAppRecommendRuleVisibilityInfoBuilder ¶ added in v3.0.3
func NewAppRecommendRuleVisibilityInfoBuilder() *AppRecommendRuleVisibilityInfoBuilder
func (*AppRecommendRuleVisibilityInfoBuilder) Build ¶ added in v3.0.3
func (builder *AppRecommendRuleVisibilityInfoBuilder) Build() *AppRecommendRuleVisibilityInfo
func (*AppRecommendRuleVisibilityInfoBuilder) DepartmentIds ¶ added in v3.0.3
func (builder *AppRecommendRuleVisibilityInfoBuilder) DepartmentIds(departmentIds []string) *AppRecommendRuleVisibilityInfoBuilder
可见部门 ID 列表
示例值:od-fef5204d44fa03fad66278cb8e8036e4
func (*AppRecommendRuleVisibilityInfoBuilder) GroupIds ¶ added in v3.0.3
func (builder *AppRecommendRuleVisibilityInfoBuilder) GroupIds(groupIds []string) *AppRecommendRuleVisibilityInfoBuilder
可见用户组 ID 列表
示例值:7137608198773686291
func (*AppRecommendRuleVisibilityInfoBuilder) IsAll ¶ added in v3.0.3
func (builder *AppRecommendRuleVisibilityInfoBuilder) IsAll(isAll bool) *AppRecommendRuleVisibilityInfoBuilder
是否全员可见
示例值:true
func (*AppRecommendRuleVisibilityInfoBuilder) UserIds ¶ added in v3.0.3
func (builder *AppRecommendRuleVisibilityInfoBuilder) UserIds(userIds []string) *AppRecommendRuleVisibilityInfoBuilder
可见用户 ID 列表
示例值:ou_35101d538d5b3ad10a5f3480f4c27972
type AppScopeBuilder ¶
type AppScopeBuilder struct {
// contains filtered or unexported fields
}
func NewAppScopeBuilder ¶
func NewAppScopeBuilder() *AppScopeBuilder
func (*AppScopeBuilder) Build ¶
func (builder *AppScopeBuilder) Build() *AppScope
func (*AppScopeBuilder) Description ¶
func (builder *AppScopeBuilder) Description(description string) *AppScopeBuilder
应用权限的国际化描述
示例值:获取应用信息
func (*AppScopeBuilder) Level ¶
func (builder *AppScopeBuilder) Level(level int) *AppScopeBuilder
权限等级描述
示例值:1
func (*AppScopeBuilder) Scope ¶
func (builder *AppScopeBuilder) Scope(scope string) *AppScopeBuilder
应用权限
示例值:contact:user.base
type AppScopeI18nInfo ¶
type AppScopeI18nInfoBuilder ¶
type AppScopeI18nInfoBuilder struct {
// contains filtered or unexported fields
}
func NewAppScopeI18nInfoBuilder ¶
func NewAppScopeI18nInfoBuilder() *AppScopeI18nInfoBuilder
func (*AppScopeI18nInfoBuilder) Build ¶
func (builder *AppScopeI18nInfoBuilder) Build() *AppScopeI18nInfo
func (*AppScopeI18nInfoBuilder) Description ¶
func (builder *AppScopeI18nInfoBuilder) Description(description string) *AppScopeI18nInfoBuilder
应用权限的国际化描述
示例值:获取应用信息
func (*AppScopeI18nInfoBuilder) I18nKey ¶
func (builder *AppScopeI18nInfoBuilder) I18nKey(i18nKey string) *AppScopeI18nInfoBuilder
国际化语言的 key
示例值:zh_cn
type AppScopesBuilder ¶
type AppScopesBuilder struct {
// contains filtered or unexported fields
}
func NewAppScopesBuilder ¶
func NewAppScopesBuilder() *AppScopesBuilder
func (*AppScopesBuilder) Build ¶
func (builder *AppScopesBuilder) Build() *AppScopes
func (*AppScopesBuilder) HighLevelScopes ¶
func (builder *AppScopesBuilder) HighLevelScopes(highLevelScopes []string) *AppScopesBuilder
应用高级权限列表
示例值:
func (*AppScopesBuilder) LowLevelScopes ¶
func (builder *AppScopesBuilder) LowLevelScopes(lowLevelScopes []string) *AppScopesBuilder
应用低级权限列表
示例值:
type AppUsageTrendItems ¶
type AppUsageTrendItems struct { Id *string `json:"id,omitempty"` // 部门号 Trend []*UsageTrendItem `json:"trend,omitempty"` // 趋势统计 }
type AppUsageTrendItemsBuilder ¶
type AppUsageTrendItemsBuilder struct {
// contains filtered or unexported fields
}
func NewAppUsageTrendItemsBuilder ¶
func NewAppUsageTrendItemsBuilder() *AppUsageTrendItemsBuilder
func (*AppUsageTrendItemsBuilder) Build ¶
func (builder *AppUsageTrendItemsBuilder) Build() *AppUsageTrendItems
func (*AppUsageTrendItemsBuilder) Id ¶
func (builder *AppUsageTrendItemsBuilder) Id(id string) *AppUsageTrendItemsBuilder
部门号
示例值:
func (*AppUsageTrendItemsBuilder) Trend ¶
func (builder *AppUsageTrendItemsBuilder) Trend(trend []*UsageTrendItem) *AppUsageTrendItemsBuilder
趋势统计
示例值:
type AppVersionId ¶
type AppVersionIdBuilder ¶
type AppVersionIdBuilder struct {
// contains filtered or unexported fields
}
func NewAppVersionIdBuilder ¶
func NewAppVersionIdBuilder() *AppVersionIdBuilder
func (*AppVersionIdBuilder) Build ¶
func (builder *AppVersionIdBuilder) Build() *AppVersionId
func (*AppVersionIdBuilder) Version ¶
func (builder *AppVersionIdBuilder) Version(version string) *AppVersionIdBuilder
开发者填入的应用版本 ID
示例值:1.0.0
func (*AppVersionIdBuilder) VersionId ¶
func (builder *AppVersionIdBuilder) VersionId(versionId string) *AppVersionIdBuilder
唯一标识应用版本的 ID
示例值:oav_d317f090b7258ad0372aa53963cda70d
type AppVersionRemark ¶
type AppVersionRemark struct { Remark *string `json:"remark,omitempty"` // 备注说明 UpdateRemark *string `json:"update_remark,omitempty"` // 更新说明 Visibility *AppVisibility `json:"visibility,omitempty"` // 应用当前版本开发者编辑的可见性建议,若开发者未编辑可见性建议,则该字段无内容 }
type AppVersionRemarkBuilder ¶
type AppVersionRemarkBuilder struct {
// contains filtered or unexported fields
}
func NewAppVersionRemarkBuilder ¶
func NewAppVersionRemarkBuilder() *AppVersionRemarkBuilder
func (*AppVersionRemarkBuilder) Build ¶
func (builder *AppVersionRemarkBuilder) Build() *AppVersionRemark
func (*AppVersionRemarkBuilder) Remark ¶
func (builder *AppVersionRemarkBuilder) Remark(remark string) *AppVersionRemarkBuilder
备注说明
示例值:备注说明
func (*AppVersionRemarkBuilder) UpdateRemark ¶
func (builder *AppVersionRemarkBuilder) UpdateRemark(updateRemark string) *AppVersionRemarkBuilder
更新说明
示例值:更新说明
func (*AppVersionRemarkBuilder) Visibility ¶
func (builder *AppVersionRemarkBuilder) Visibility(visibility *AppVisibility) *AppVersionRemarkBuilder
应用当前版本开发者编辑的可见性建议,若开发者未编辑可见性建议,则该字段无内容
示例值:
type AppVersionRemarkEvent ¶
type AppVersionRemarkEvent struct { Remark *string `json:"remark,omitempty"` // 备注说明 UpdateRemark *string `json:"update_remark,omitempty"` // 更新说明 Visibility *AppVisibilityEvent `json:"visibility,omitempty"` // 可见性名单 }
type AppVersionRemarkEventBuilder ¶
type AppVersionRemarkEventBuilder struct {
// contains filtered or unexported fields
}
func NewAppVersionRemarkEventBuilder ¶
func NewAppVersionRemarkEventBuilder() *AppVersionRemarkEventBuilder
func (*AppVersionRemarkEventBuilder) Build ¶
func (builder *AppVersionRemarkEventBuilder) Build() *AppVersionRemarkEvent
func (*AppVersionRemarkEventBuilder) Remark ¶
func (builder *AppVersionRemarkEventBuilder) Remark(remark string) *AppVersionRemarkEventBuilder
备注说明
示例值:备注说明
func (*AppVersionRemarkEventBuilder) UpdateRemark ¶
func (builder *AppVersionRemarkEventBuilder) UpdateRemark(updateRemark string) *AppVersionRemarkEventBuilder
更新说明
示例值:更新说明
func (*AppVersionRemarkEventBuilder) Visibility ¶
func (builder *AppVersionRemarkEventBuilder) Visibility(visibility *AppVisibilityEvent) *AppVersionRemarkEventBuilder
可见性名单
示例值:
type AppVisibility ¶
type AppVisibility struct { IsAll *bool `json:"is_all,omitempty"` // 是否全员可见 VisibleList *AppVisibleList `json:"visible_list,omitempty"` // 可见名单 InvisibleList *AppVisibleList `json:"invisible_list,omitempty"` // 不可见名单 }
type AppVisibilityBuilder ¶
type AppVisibilityBuilder struct {
// contains filtered or unexported fields
}
func NewAppVisibilityBuilder ¶
func NewAppVisibilityBuilder() *AppVisibilityBuilder
func (*AppVisibilityBuilder) Build ¶
func (builder *AppVisibilityBuilder) Build() *AppVisibility
func (*AppVisibilityBuilder) InvisibleList ¶
func (builder *AppVisibilityBuilder) InvisibleList(invisibleList *AppVisibleList) *AppVisibilityBuilder
不可见名单
示例值:
func (*AppVisibilityBuilder) IsAll ¶
func (builder *AppVisibilityBuilder) IsAll(isAll bool) *AppVisibilityBuilder
是否全员可见
示例值:false
func (*AppVisibilityBuilder) VisibleList ¶
func (builder *AppVisibilityBuilder) VisibleList(visibleList *AppVisibleList) *AppVisibilityBuilder
可见名单
示例值:
type AppVisibilityEvent ¶
type AppVisibilityEvent struct { IsAll *bool `json:"is_all,omitempty"` // 是否全员可见 VisibleList *AppVisibleListEvent `json:"visible_list,omitempty"` // 可见名单 InvisibleList *AppVisibleListEvent `json:"invisible_list,omitempty"` // 不可见名单 }
type AppVisibilityEventBuilder ¶
type AppVisibilityEventBuilder struct {
// contains filtered or unexported fields
}
func NewAppVisibilityEventBuilder ¶
func NewAppVisibilityEventBuilder() *AppVisibilityEventBuilder
func (*AppVisibilityEventBuilder) Build ¶
func (builder *AppVisibilityEventBuilder) Build() *AppVisibilityEvent
func (*AppVisibilityEventBuilder) InvisibleList ¶
func (builder *AppVisibilityEventBuilder) InvisibleList(invisibleList *AppVisibleListEvent) *AppVisibilityEventBuilder
不可见名单
示例值:
func (*AppVisibilityEventBuilder) IsAll ¶
func (builder *AppVisibilityEventBuilder) IsAll(isAll bool) *AppVisibilityEventBuilder
是否全员可见
示例值:false
func (*AppVisibilityEventBuilder) VisibleList ¶
func (builder *AppVisibilityEventBuilder) VisibleList(visibleList *AppVisibleListEvent) *AppVisibilityEventBuilder
可见名单
示例值:
type AppVisibilityItem ¶
type AppVisibilityItemBuilder ¶
type AppVisibilityItemBuilder struct {
// contains filtered or unexported fields
}
func NewAppVisibilityItemBuilder ¶
func NewAppVisibilityItemBuilder() *AppVisibilityItemBuilder
func (*AppVisibilityItemBuilder) Build ¶
func (builder *AppVisibilityItemBuilder) Build() *AppVisibilityItem
func (*AppVisibilityItemBuilder) DepartmentId ¶
func (builder *AppVisibilityItemBuilder) DepartmentId(departmentId string) *AppVisibilityItemBuilder
用户所属部门的ID,ID值与查询参数中的department_id_type 对应
示例值:od-aa2c50a04769feefededb7a05b7525a8
func (*AppVisibilityItemBuilder) GroupId ¶
func (builder *AppVisibilityItemBuilder) GroupId(groupId string) *AppVisibilityItemBuilder
用户组 ID group_id 用来标识租户内一个唯一的用户组
示例值:
func (*AppVisibilityItemBuilder) UserId ¶
func (builder *AppVisibilityItemBuilder) UserId(userId string) *AppVisibilityItemBuilder
租户内用户的唯一标识,ID值与查询参数中的user_id_type 对应
示例值:ou_d317f090b7258ad0372aa53963cda70d
type AppVisibleList ¶
type AppVisibleListBuilder ¶
type AppVisibleListBuilder struct {
// contains filtered or unexported fields
}
func NewAppVisibleListBuilder ¶
func NewAppVisibleListBuilder() *AppVisibleListBuilder
func (*AppVisibleListBuilder) Build ¶
func (builder *AppVisibleListBuilder) Build() *AppVisibleList
func (*AppVisibleListBuilder) DepartmentIds ¶
func (builder *AppVisibleListBuilder) DepartmentIds(departmentIds []string) *AppVisibleListBuilder
可见性部门的 id 列表
示例值:
func (*AppVisibleListBuilder) OpenIds ¶
func (builder *AppVisibleListBuilder) OpenIds(openIds []string) *AppVisibleListBuilder
可见性成员 open_id 列表
示例值:
type AppVisibleListEvent ¶
type AppVisibleListEventBuilder ¶
type AppVisibleListEventBuilder struct {
// contains filtered or unexported fields
}
func NewAppVisibleListEventBuilder ¶
func NewAppVisibleListEventBuilder() *AppVisibleListEventBuilder
func (*AppVisibleListEventBuilder) Build ¶
func (builder *AppVisibleListEventBuilder) Build() *AppVisibleListEvent
func (*AppVisibleListEventBuilder) DepartmentIds ¶
func (builder *AppVisibleListEventBuilder) DepartmentIds(departmentIds []string) *AppVisibleListEventBuilder
可见性部门的 id 列表
示例值:
func (*AppVisibleListEventBuilder) OpenIds ¶
func (builder *AppVisibleListEventBuilder) OpenIds(openIds []*UserId) *AppVisibleListEventBuilder
可见性成员 id 列表
示例值:
type Application ¶
type Application struct { AppId *string `json:"app_id,omitempty"` // 应用的 app_id CreatorId *string `json:"creator_id,omitempty"` // 应用创建者(所有者) Status *int `json:"status,omitempty"` // 应用状态 SceneType *int `json:"scene_type,omitempty"` // 应用类型 PaymentType *int `json:"payment_type,omitempty"` // 付费类型 RedirectUrls []string `json:"redirect_urls,omitempty"` // 安全设置中的重定向 URL OnlineVersionId *string `json:"online_version_id,omitempty"` // 发布在线上的应用版本 ID,若没有则为空 UnauditVersionId *string `json:"unaudit_version_id,omitempty"` // 在审核中的版本 ID,若没有则为空 AppName *string `json:"app_name,omitempty"` // 应用名称 AvatarUrl *string `json:"avatar_url,omitempty"` // 应用图标 url Description *string `json:"description,omitempty"` // 应用默认描述 Scopes []*AppScope `json:"scopes,omitempty"` // 应用权限列表 BackHomeUrl *string `json:"back_home_url,omitempty"` // 后台主页地址 I18n []*AppI18nInfo `json:"i18n,omitempty"` // 应用的国际化信息列表 PrimaryLanguage *string `json:"primary_language,omitempty"` // 应用主语言 CommonCategories []string `json:"common_categories,omitempty"` // 应用分类的国际化描述 Owner *ApplicationOwner `json:"owner,omitempty"` // 应用的所有者信息 }
type ApplicationAppUsage ¶
type ApplicationAppUsageBuilder ¶
type ApplicationAppUsageBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationAppUsageBuilder ¶
func NewApplicationAppUsageBuilder() *ApplicationAppUsageBuilder
func (*ApplicationAppUsageBuilder) Build ¶
func (builder *ApplicationAppUsageBuilder) Build() *ApplicationAppUsage
func (*ApplicationAppUsageBuilder) MetricName ¶
func (builder *ApplicationAppUsageBuilder) MetricName(metricName string) *ApplicationAppUsageBuilder
指标名称
示例值:pv
func (*ApplicationAppUsageBuilder) MetricValue ¶
func (builder *ApplicationAppUsageBuilder) MetricValue(metricValue int) *ApplicationAppUsageBuilder
指标值
示例值:100
type ApplicationAppVersion ¶
type ApplicationAppVersion struct { AppId *string `json:"app_id,omitempty"` // 应用 id Version *string `json:"version,omitempty"` // 在开发者后台填入的应用版本号 VersionId *string `json:"version_id,omitempty"` // 唯一标识应用版本的 ID AppName *string `json:"app_name,omitempty"` // 应用默认名称 AvatarUrl *string `json:"avatar_url,omitempty"` // 应用头像 url Description *string `json:"description,omitempty"` // 应用默认描述 Scopes []*AppScope `json:"scopes,omitempty"` // 应用权限列表 BackHomeUrl *string `json:"back_home_url,omitempty"` // 后台主页地址 I18n []*AppI18nInfo `json:"i18n,omitempty"` // 应用的国际化信息列表 CommonCategories []string `json:"common_categories,omitempty"` // 应用分类的国际化描述 Events []string `json:"events,omitempty"` // 应用已订阅开放平台事件列表 Status *int `json:"status,omitempty"` // 版本状态 CreateTime *string `json:"create_time,omitempty"` // 版本创建时间(单位:s) PublishTime *string `json:"publish_time,omitempty"` // 版本发布时间(单位:s) Ability *AppAbility `json:"ability,omitempty"` // 当前版本下应用开启的能力 Remark *AppVersionRemark `json:"remark,omitempty"` // 跟随应用版本的信息 }
type ApplicationAppVersionBuilder ¶
type ApplicationAppVersionBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationAppVersionBuilder ¶
func NewApplicationAppVersionBuilder() *ApplicationAppVersionBuilder
func (*ApplicationAppVersionBuilder) Ability ¶
func (builder *ApplicationAppVersionBuilder) Ability(ability *AppAbility) *ApplicationAppVersionBuilder
当前版本下应用开启的能力
示例值:
func (*ApplicationAppVersionBuilder) AppId ¶
func (builder *ApplicationAppVersionBuilder) AppId(appId string) *ApplicationAppVersionBuilder
应用 id
示例值:cli_9f3ca975326b501b
func (*ApplicationAppVersionBuilder) AppName ¶
func (builder *ApplicationAppVersionBuilder) AppName(appName string) *ApplicationAppVersionBuilder
应用默认名称
示例值:应用名称
func (*ApplicationAppVersionBuilder) AvatarUrl ¶
func (builder *ApplicationAppVersionBuilder) AvatarUrl(avatarUrl string) *ApplicationAppVersionBuilder
应用头像 url
func (*ApplicationAppVersionBuilder) BackHomeUrl ¶
func (builder *ApplicationAppVersionBuilder) BackHomeUrl(backHomeUrl string) *ApplicationAppVersionBuilder
后台主页地址
func (*ApplicationAppVersionBuilder) Build ¶
func (builder *ApplicationAppVersionBuilder) Build() *ApplicationAppVersion
func (*ApplicationAppVersionBuilder) CommonCategories ¶
func (builder *ApplicationAppVersionBuilder) CommonCategories(commonCategories []string) *ApplicationAppVersionBuilder
应用分类的国际化描述
示例值:
func (*ApplicationAppVersionBuilder) CreateTime ¶
func (builder *ApplicationAppVersionBuilder) CreateTime(createTime string) *ApplicationAppVersionBuilder
版本创建时间(单位:s)
示例值:1610462759
func (*ApplicationAppVersionBuilder) Description ¶
func (builder *ApplicationAppVersionBuilder) Description(description string) *ApplicationAppVersionBuilder
应用默认描述
示例值:应用描述
func (*ApplicationAppVersionBuilder) Events ¶
func (builder *ApplicationAppVersionBuilder) Events(events []string) *ApplicationAppVersionBuilder
应用已订阅开放平台事件列表
示例值:
func (*ApplicationAppVersionBuilder) I18n ¶
func (builder *ApplicationAppVersionBuilder) I18n(i18n []*AppI18nInfo) *ApplicationAppVersionBuilder
应用的国际化信息列表
示例值:
func (*ApplicationAppVersionBuilder) PublishTime ¶
func (builder *ApplicationAppVersionBuilder) PublishTime(publishTime string) *ApplicationAppVersionBuilder
版本发布时间(单位:s)
示例值:1610462759
func (*ApplicationAppVersionBuilder) Remark ¶
func (builder *ApplicationAppVersionBuilder) Remark(remark *AppVersionRemark) *ApplicationAppVersionBuilder
跟随应用版本的信息
示例值:
func (*ApplicationAppVersionBuilder) Scopes ¶
func (builder *ApplicationAppVersionBuilder) Scopes(scopes []*AppScope) *ApplicationAppVersionBuilder
应用权限列表
示例值:
func (*ApplicationAppVersionBuilder) Status ¶
func (builder *ApplicationAppVersionBuilder) Status(status int) *ApplicationAppVersionBuilder
版本状态
示例值:1
func (*ApplicationAppVersionBuilder) Version ¶
func (builder *ApplicationAppVersionBuilder) Version(version string) *ApplicationAppVersionBuilder
在开发者后台填入的应用版本号
示例值:1.0.0
func (*ApplicationAppVersionBuilder) VersionId ¶
func (builder *ApplicationAppVersionBuilder) VersionId(versionId string) *ApplicationAppVersionBuilder
唯一标识应用版本的 ID
示例值:oav_d317f090b7258ad0372aa53963cda70d
type ApplicationAppVersionEvent ¶
type ApplicationAppVersionEvent struct { AppId *string `json:"app_id,omitempty"` // 应用 id Version *string `json:"version,omitempty"` // 开发者填入的应用版本 ID VersionId *string `json:"version_id,omitempty"` // 唯一标识应用版本的 ID AppName *string `json:"app_name,omitempty"` // 应用默认名称 AvatarUrl *string `json:"avatar_url,omitempty"` // 应用头像 url Description *string `json:"description,omitempty"` // 应用默认描述 Scopes []*AppScope `json:"scopes,omitempty"` // 应用权限列表 BackHomeUrl *string `json:"back_home_url,omitempty"` // 后台主页地址 I18n []*AppI18nInfo `json:"i18n,omitempty"` // 应用的国际化信息列表 CommonCategories []string `json:"common_categories,omitempty"` // 应用分类的国际化描述 Events []string `json:"events,omitempty"` // 应用已订阅开放平台事件列表 Status *int `json:"status,omitempty"` // 版本状态 CreateTime *string `json:"create_time,omitempty"` // 版本创建时间(单位:s) PublishTime *string `json:"publish_time,omitempty"` // 版本发布时间(单位:s) Ability *AppAbility `json:"ability,omitempty"` // 当前版本下应用开启的能力 Remark *AppVersionRemarkEvent `json:"remark,omitempty"` // 跟随应用版本的信息 }
type ApplicationAppVersionEventBuilder ¶
type ApplicationAppVersionEventBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationAppVersionEventBuilder ¶
func NewApplicationAppVersionEventBuilder() *ApplicationAppVersionEventBuilder
func (*ApplicationAppVersionEventBuilder) Ability ¶
func (builder *ApplicationAppVersionEventBuilder) Ability(ability *AppAbility) *ApplicationAppVersionEventBuilder
当前版本下应用开启的能力
示例值:
func (*ApplicationAppVersionEventBuilder) AppId ¶
func (builder *ApplicationAppVersionEventBuilder) AppId(appId string) *ApplicationAppVersionEventBuilder
应用 id
示例值:cli_9f3ca975326b501b
func (*ApplicationAppVersionEventBuilder) AppName ¶
func (builder *ApplicationAppVersionEventBuilder) AppName(appName string) *ApplicationAppVersionEventBuilder
应用默认名称
示例值:应用名称
func (*ApplicationAppVersionEventBuilder) AvatarUrl ¶
func (builder *ApplicationAppVersionEventBuilder) AvatarUrl(avatarUrl string) *ApplicationAppVersionEventBuilder
应用头像 url
func (*ApplicationAppVersionEventBuilder) BackHomeUrl ¶
func (builder *ApplicationAppVersionEventBuilder) BackHomeUrl(backHomeUrl string) *ApplicationAppVersionEventBuilder
后台主页地址
func (*ApplicationAppVersionEventBuilder) Build ¶
func (builder *ApplicationAppVersionEventBuilder) Build() *ApplicationAppVersionEvent
func (*ApplicationAppVersionEventBuilder) CommonCategories ¶
func (builder *ApplicationAppVersionEventBuilder) CommonCategories(commonCategories []string) *ApplicationAppVersionEventBuilder
应用分类的国际化描述
示例值:
func (*ApplicationAppVersionEventBuilder) CreateTime ¶
func (builder *ApplicationAppVersionEventBuilder) CreateTime(createTime string) *ApplicationAppVersionEventBuilder
版本创建时间(单位:s)
示例值:1610462759
func (*ApplicationAppVersionEventBuilder) Description ¶
func (builder *ApplicationAppVersionEventBuilder) Description(description string) *ApplicationAppVersionEventBuilder
应用默认描述
示例值:应用描述
func (*ApplicationAppVersionEventBuilder) Events ¶
func (builder *ApplicationAppVersionEventBuilder) Events(events []string) *ApplicationAppVersionEventBuilder
应用已订阅开放平台事件列表
示例值:
func (*ApplicationAppVersionEventBuilder) I18n ¶
func (builder *ApplicationAppVersionEventBuilder) I18n(i18n []*AppI18nInfo) *ApplicationAppVersionEventBuilder
应用的国际化信息列表
示例值:
func (*ApplicationAppVersionEventBuilder) PublishTime ¶
func (builder *ApplicationAppVersionEventBuilder) PublishTime(publishTime string) *ApplicationAppVersionEventBuilder
版本发布时间(单位:s)
示例值:1610462759
func (*ApplicationAppVersionEventBuilder) Remark ¶
func (builder *ApplicationAppVersionEventBuilder) Remark(remark *AppVersionRemarkEvent) *ApplicationAppVersionEventBuilder
跟随应用版本的信息
示例值:
func (*ApplicationAppVersionEventBuilder) Scopes ¶
func (builder *ApplicationAppVersionEventBuilder) Scopes(scopes []*AppScope) *ApplicationAppVersionEventBuilder
应用权限列表
示例值:
func (*ApplicationAppVersionEventBuilder) Status ¶
func (builder *ApplicationAppVersionEventBuilder) Status(status int) *ApplicationAppVersionEventBuilder
版本状态
示例值:1
func (*ApplicationAppVersionEventBuilder) Version ¶
func (builder *ApplicationAppVersionEventBuilder) Version(version string) *ApplicationAppVersionEventBuilder
开发者填入的应用版本 ID
示例值:1.0.0
func (*ApplicationAppVersionEventBuilder) VersionId ¶
func (builder *ApplicationAppVersionEventBuilder) VersionId(versionId string) *ApplicationAppVersionEventBuilder
唯一标识应用版本的 ID
示例值:oav_d317f090b7258ad0372aa53963cda70d
type ApplicationBuilder ¶
type ApplicationBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationBuilder ¶
func NewApplicationBuilder() *ApplicationBuilder
func (*ApplicationBuilder) AppId ¶
func (builder *ApplicationBuilder) AppId(appId string) *ApplicationBuilder
应用的 app_id
示例值:cli_9b445f5258795107
func (*ApplicationBuilder) AppName ¶
func (builder *ApplicationBuilder) AppName(appName string) *ApplicationBuilder
应用名称
示例值:应用名称
func (*ApplicationBuilder) AvatarUrl ¶
func (builder *ApplicationBuilder) AvatarUrl(avatarUrl string) *ApplicationBuilder
应用图标 url
示例值:https://sf1-ttcdn-tos.pstatp.com/img/avatar/d279000ca4d3f7f6aaff~72x72.jpg
func (*ApplicationBuilder) BackHomeUrl ¶
func (builder *ApplicationBuilder) BackHomeUrl(backHomeUrl string) *ApplicationBuilder
后台主页地址
func (*ApplicationBuilder) Build ¶
func (builder *ApplicationBuilder) Build() *Application
func (*ApplicationBuilder) CommonCategories ¶
func (builder *ApplicationBuilder) CommonCategories(commonCategories []string) *ApplicationBuilder
应用分类的国际化描述
示例值:["办公效率"]
func (*ApplicationBuilder) CreatorId ¶
func (builder *ApplicationBuilder) CreatorId(creatorId string) *ApplicationBuilder
应用创建者(所有者)
示例值:ou_d317f090b7258ad0372aa53963cda70d
func (*ApplicationBuilder) Description ¶
func (builder *ApplicationBuilder) Description(description string) *ApplicationBuilder
应用默认描述
示例值:应用描述
func (*ApplicationBuilder) I18n ¶
func (builder *ApplicationBuilder) I18n(i18n []*AppI18nInfo) *ApplicationBuilder
应用的国际化信息列表
示例值:
func (*ApplicationBuilder) OnlineVersionId ¶
func (builder *ApplicationBuilder) OnlineVersionId(onlineVersionId string) *ApplicationBuilder
发布在线上的应用版本 ID,若没有则为空
示例值:oav_d317f090b7258ad0372aa53963cda70d
func (*ApplicationBuilder) Owner ¶ added in v3.0.1
func (builder *ApplicationBuilder) Owner(owner *ApplicationOwner) *ApplicationBuilder
应用的所有者信息
示例值:
func (*ApplicationBuilder) PaymentType ¶ added in v3.0.1
func (builder *ApplicationBuilder) PaymentType(paymentType int) *ApplicationBuilder
付费类型
示例值:0
func (*ApplicationBuilder) PrimaryLanguage ¶
func (builder *ApplicationBuilder) PrimaryLanguage(primaryLanguage string) *ApplicationBuilder
应用主语言
示例值:zh_cn
func (*ApplicationBuilder) RedirectUrls ¶
func (builder *ApplicationBuilder) RedirectUrls(redirectUrls []string) *ApplicationBuilder
安全设置中的重定向 URL
示例值:
func (*ApplicationBuilder) SceneType ¶
func (builder *ApplicationBuilder) SceneType(sceneType int) *ApplicationBuilder
应用类型
示例值:0
func (*ApplicationBuilder) Scopes ¶
func (builder *ApplicationBuilder) Scopes(scopes []*AppScope) *ApplicationBuilder
应用权限列表
示例值:
func (*ApplicationBuilder) Status ¶
func (builder *ApplicationBuilder) Status(status int) *ApplicationBuilder
应用状态
示例值:1
func (*ApplicationBuilder) UnauditVersionId ¶
func (builder *ApplicationBuilder) UnauditVersionId(unauditVersionId string) *ApplicationBuilder
在审核中的版本 ID,若没有则为空
示例值:oav_d317f090b7258ad0372aa53963cda70d
type ApplicationDepartmentAppUsage ¶
type ApplicationDepartmentAppUsage struct { DepartmentId *string `json:"department_id,omitempty"` // 租户内部门的唯一标识,ID值与查询参数中的department_id_type 对应。 App []*ApplicationAppUsage `json:"app,omitempty"` // 应用整体使用情况,指标值包括:uv:活跃用户数,total_users:累计用户数,new_users:新增用户数,pv:在应用(小程序或网页)中访问的页面数,lifecycle:打开应用(小程序或网页)的次数 Gadget []*ApplicationAppUsage `json:"gadget,omitempty"` // 小程序使用情况,没有小程序形态时为null,指标值包括:uv(小程序活跃用户数)、pv(用户在小程序中的访问页面数)、lifecycle(小程序的打开次数) Webapp []*ApplicationAppUsage `json:"webapp,omitempty"` // 网页应用使用情况,没有网页应用形态时为null,指标值包括:uv(网页应用活跃用户数)、pv(用户在网页应用中的访问页面数)、lifecycle(网页应用的打开次数) Bot []*ApplicationAppUsage `json:"bot,omitempty"` // 机器人使用情况,没有机器人形态时为null,;指标值包括:uv(机器人的活跃用户数) }
type ApplicationDepartmentAppUsageBuilder ¶
type ApplicationDepartmentAppUsageBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationDepartmentAppUsageBuilder ¶
func NewApplicationDepartmentAppUsageBuilder() *ApplicationDepartmentAppUsageBuilder
func (*ApplicationDepartmentAppUsageBuilder) App ¶
func (builder *ApplicationDepartmentAppUsageBuilder) App(app []*ApplicationAppUsage) *ApplicationDepartmentAppUsageBuilder
应用整体使用情况,指标值包括:uv:活跃用户数,total_users:累计用户数,new_users:新增用户数,pv:在应用(小程序或网页)中访问的页面数,lifecycle:打开应用(小程序或网页)的次数
示例值:
func (*ApplicationDepartmentAppUsageBuilder) Bot ¶
func (builder *ApplicationDepartmentAppUsageBuilder) Bot(bot []*ApplicationAppUsage) *ApplicationDepartmentAppUsageBuilder
机器人使用情况,没有机器人形态时为null,;指标值包括:uv(机器人的活跃用户数)
示例值:
func (*ApplicationDepartmentAppUsageBuilder) Build ¶
func (builder *ApplicationDepartmentAppUsageBuilder) Build() *ApplicationDepartmentAppUsage
func (*ApplicationDepartmentAppUsageBuilder) DepartmentId ¶
func (builder *ApplicationDepartmentAppUsageBuilder) DepartmentId(departmentId string) *ApplicationDepartmentAppUsageBuilder
租户内部门的唯一标识,ID值与查询参数中的department_id_type 对应。
示例值:
func (*ApplicationDepartmentAppUsageBuilder) Gadget ¶
func (builder *ApplicationDepartmentAppUsageBuilder) Gadget(gadget []*ApplicationAppUsage) *ApplicationDepartmentAppUsageBuilder
小程序使用情况,没有小程序形态时为null,指标值包括:uv(小程序活跃用户数)、pv(用户在小程序中的访问页面数)、lifecycle(小程序的打开次数)
示例值:
func (*ApplicationDepartmentAppUsageBuilder) Webapp ¶
func (builder *ApplicationDepartmentAppUsageBuilder) Webapp(webapp []*ApplicationAppUsage) *ApplicationDepartmentAppUsageBuilder
网页应用使用情况,没有网页应用形态时为null,指标值包括:uv(网页应用活跃用户数)、pv(用户在网页应用中的访问页面数)、lifecycle(网页应用的打开次数)
示例值:
type ApplicationEventOwner ¶ added in v3.0.1
type ApplicationEventOwner struct { Type *int `json:"type,omitempty"` // 应用所有者类型,可选值有:0:飞书科技(海外是另个名字企业),1:飞书合作伙伴,2:企业内成员 Name *string `json:"name,omitempty"` // 应用开发商名称,仅商店应用返回 HelpDesk *string `json:"help_desk,omitempty"` // 应用开发商的服务台链接,进商店应用返回。仅当应用商店配置了这种联系方式时才会返回 Email *string `json:"email,omitempty"` // 应用开发商的邮箱,仅商店应用返回。仅当应用商店配置了这种联系方式时才会返回 Phone *string `json:"phone,omitempty"` // 应用开发商的手机号,进商店应用返回。仅当应用商店配置了这种联系方式时才会返回 }
type ApplicationEventOwnerBuilder ¶ added in v3.0.1
type ApplicationEventOwnerBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationEventOwnerBuilder ¶ added in v3.0.1
func NewApplicationEventOwnerBuilder() *ApplicationEventOwnerBuilder
func (*ApplicationEventOwnerBuilder) Build ¶ added in v3.0.1
func (builder *ApplicationEventOwnerBuilder) Build() *ApplicationEventOwner
func (*ApplicationEventOwnerBuilder) Email ¶ added in v3.0.1
func (builder *ApplicationEventOwnerBuilder) Email(email string) *ApplicationEventOwnerBuilder
应用开发商的邮箱,仅商店应用返回。仅当应用商店配置了这种联系方式时才会返回
示例值:
func (*ApplicationEventOwnerBuilder) HelpDesk ¶ added in v3.0.1
func (builder *ApplicationEventOwnerBuilder) HelpDesk(helpDesk string) *ApplicationEventOwnerBuilder
应用开发商的服务台链接,进商店应用返回。仅当应用商店配置了这种联系方式时才会返回
示例值:
func (*ApplicationEventOwnerBuilder) Name ¶ added in v3.0.1
func (builder *ApplicationEventOwnerBuilder) Name(name string) *ApplicationEventOwnerBuilder
应用开发商名称,仅商店应用返回
示例值:应用名称
func (*ApplicationEventOwnerBuilder) Phone ¶ added in v3.0.1
func (builder *ApplicationEventOwnerBuilder) Phone(phone string) *ApplicationEventOwnerBuilder
应用开发商的手机号,进商店应用返回。仅当应用商店配置了这种联系方式时才会返回
示例值:
func (*ApplicationEventOwnerBuilder) Type ¶ added in v3.0.1
func (builder *ApplicationEventOwnerBuilder) Type(type_ int) *ApplicationEventOwnerBuilder
应用所有者类型,可选值有:0:飞书科技(海外是另个名字企业),1:飞书合作伙伴,2:企业内成员
示例值:0
type ApplicationFeedback ¶
type ApplicationFeedback struct { FeedbackId *string `json:"feedback_id,omitempty"` // 应用反馈 ID,应用反馈记录唯一标识 AppId *string `json:"app_id,omitempty"` // 被反馈应用ID FeedbackTime *string `json:"feedback_time,omitempty"` // 反馈提交时间,格式为yyyy-mm-dd hh:mm:ss TenantName *string `json:"tenant_name,omitempty"` // 反馈用户的租户名, 查询 isv 应用时返回 FeedbackType *int `json:"feedback_type,omitempty"` // 反馈类型 Status *int `json:"status,omitempty"` // 反馈处理状态 FaultType []int `json:"fault_type,omitempty"` // 故障类型列表:1: 黑屏 2: 白屏 3: 无法打开小程序 4: 卡顿 5: 小程序闪退 6: 页面加载慢 7: 死机 8: 其他异常 FaultTime *string `json:"fault_time,omitempty"` // 故障时间,格式为yyyy-mm-dd hh:mm:ss Source *int `json:"source,omitempty"` // 反馈来源:1: 小程序 2:网页应用 3:机器人 4:webSDK Contact *string `json:"contact,omitempty"` // 用户联系方式,只有用户填写联系方式后返回 UpdateTime *string `json:"update_time,omitempty"` // 反馈处理时间,格式为yyyy-mm-dd hh:mm:ss Description *string `json:"description,omitempty"` // 反馈问题描述 UserId *string `json:"user_id,omitempty"` // 反馈用户id,租户内用户的唯一标识 ,ID值与查询参数中的user_id_type对应 OperatorId *string `json:"operator_id,omitempty"` // 操作者id,租户内用户的唯一标识, ID值与查询参数中的user_id_type 对应 Images []string `json:"images,omitempty"` // 反馈图片url列表,url 过期时间三天 FeedbackPath *string `json:"feedback_path,omitempty"` // 反馈页面路径;- 如触发反馈的应用类型为小程序,则上报小程序当前页面的path信息;- 如触发反馈的应用类型为网页或网页应用,则上报当前网页的url信息;- 如为其他应用类型,则字段返回值为空 }
type ApplicationFeedbackBuilder ¶
type ApplicationFeedbackBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationFeedbackBuilder ¶
func NewApplicationFeedbackBuilder() *ApplicationFeedbackBuilder
func (*ApplicationFeedbackBuilder) AppId ¶
func (builder *ApplicationFeedbackBuilder) AppId(appId string) *ApplicationFeedbackBuilder
被反馈应用ID
示例值:cli_9b445f5258795107
func (*ApplicationFeedbackBuilder) Build ¶
func (builder *ApplicationFeedbackBuilder) Build() *ApplicationFeedback
func (*ApplicationFeedbackBuilder) Contact ¶
func (builder *ApplicationFeedbackBuilder) Contact(contact string) *ApplicationFeedbackBuilder
用户联系方式,只有用户填写联系方式后返回
示例值:wang@bytedance.com
func (*ApplicationFeedbackBuilder) Description ¶
func (builder *ApplicationFeedbackBuilder) Description(description string) *ApplicationFeedbackBuilder
反馈问题描述
示例值:反馈描述
func (*ApplicationFeedbackBuilder) FaultTime ¶
func (builder *ApplicationFeedbackBuilder) FaultTime(faultTime string) *ApplicationFeedbackBuilder
故障时间,格式为yyyy-mm-dd hh:mm:ss
示例值:2022-01-30 11:30:12
func (*ApplicationFeedbackBuilder) FaultType ¶
func (builder *ApplicationFeedbackBuilder) FaultType(faultType []int) *ApplicationFeedbackBuilder
故障类型列表:1: 黑屏 2: 白屏 3: 无法打开小程序 4: 卡顿 5: 小程序闪退 6: 页面加载慢 7: 死机 8: 其他异常
示例值:[1,2,3]
func (*ApplicationFeedbackBuilder) FeedbackId ¶
func (builder *ApplicationFeedbackBuilder) FeedbackId(feedbackId string) *ApplicationFeedbackBuilder
应用反馈 ID,应用反馈记录唯一标识
示例值:7057888018203574291
func (*ApplicationFeedbackBuilder) FeedbackPath ¶ added in v3.0.1
func (builder *ApplicationFeedbackBuilder) FeedbackPath(feedbackPath string) *ApplicationFeedbackBuilder
反馈页面路径;- 如触发反馈的应用类型为小程序,则上报小程序当前页面的path信息;- 如触发反馈的应用类型为网页或网页应用,则上报当前网页的url信息;- 如为其他应用类型,则字段返回值为空
示例值:index/page
func (*ApplicationFeedbackBuilder) FeedbackTime ¶
func (builder *ApplicationFeedbackBuilder) FeedbackTime(feedbackTime string) *ApplicationFeedbackBuilder
反馈提交时间,格式为yyyy-mm-dd hh:mm:ss
示例值:2022-01-30 11:30:12
func (*ApplicationFeedbackBuilder) FeedbackType ¶
func (builder *ApplicationFeedbackBuilder) FeedbackType(feedbackType int) *ApplicationFeedbackBuilder
反馈类型
示例值:1
func (*ApplicationFeedbackBuilder) Images ¶
func (builder *ApplicationFeedbackBuilder) Images(images []string) *ApplicationFeedbackBuilder
反馈图片url列表,url 过期时间三天
示例值:
func (*ApplicationFeedbackBuilder) OperatorId ¶
func (builder *ApplicationFeedbackBuilder) OperatorId(operatorId string) *ApplicationFeedbackBuilder
操作者id,租户内用户的唯一标识, ID值与查询参数中的user_id_type 对应
示例值:ou_9565b69967831233761cc2f11b4c089f
func (*ApplicationFeedbackBuilder) Source ¶
func (builder *ApplicationFeedbackBuilder) Source(source int) *ApplicationFeedbackBuilder
反馈来源:1: 小程序 2:网页应用 3:机器人 4:webSDK
示例值:1
func (*ApplicationFeedbackBuilder) Status ¶
func (builder *ApplicationFeedbackBuilder) Status(status int) *ApplicationFeedbackBuilder
反馈处理状态
示例值:0
func (*ApplicationFeedbackBuilder) TenantName ¶
func (builder *ApplicationFeedbackBuilder) TenantName(tenantName string) *ApplicationFeedbackBuilder
反馈用户的租户名, 查询 isv 应用时返回
示例值:字节跳动
func (*ApplicationFeedbackBuilder) UpdateTime ¶
func (builder *ApplicationFeedbackBuilder) UpdateTime(updateTime string) *ApplicationFeedbackBuilder
反馈处理时间,格式为yyyy-mm-dd hh:mm:ss
示例值:2022-01-30 11:30:12
func (*ApplicationFeedbackBuilder) UserId ¶
func (builder *ApplicationFeedbackBuilder) UserId(userId string) *ApplicationFeedbackBuilder
反馈用户id,租户内用户的唯一标识 ,ID值与查询参数中的user_id_type对应
示例值:ou_9565b69967831233761cc2f11b4c089f
type ApplicationOwner ¶ added in v3.0.1
type ApplicationOwner struct { Type *int `json:"type,omitempty"` // 应用所有者类型 OwnerId *string `json:"owner_id,omitempty"` // 应用所有者ID Name *string `json:"name,omitempty"` // 应用开发商名称(仅商店应用返回) HelpDesk *string `json:"help_desk,omitempty"` // 应用开发商服务台链接(仅商店应用返回) Email *string `json:"email,omitempty"` // 应用开发商的邮箱(仅商店应用返回) Phone *string `json:"phone,omitempty"` // 应用开发商的手机号(仅商店应用返回) }
type ApplicationOwnerBuilder ¶ added in v3.0.1
type ApplicationOwnerBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationOwnerBuilder ¶ added in v3.0.1
func NewApplicationOwnerBuilder() *ApplicationOwnerBuilder
func (*ApplicationOwnerBuilder) Build ¶ added in v3.0.1
func (builder *ApplicationOwnerBuilder) Build() *ApplicationOwner
func (*ApplicationOwnerBuilder) Email ¶ added in v3.0.1
func (builder *ApplicationOwnerBuilder) Email(email string) *ApplicationOwnerBuilder
应用开发商的邮箱(仅商店应用返回)
示例值:test123@163.com
func (*ApplicationOwnerBuilder) HelpDesk ¶ added in v3.0.1
func (builder *ApplicationOwnerBuilder) HelpDesk(helpDesk string) *ApplicationOwnerBuilder
应用开发商服务台链接(仅商店应用返回)
示例值:https://applink.feishu.cn/client/helpdesk/open?id=6940534140529803284
func (*ApplicationOwnerBuilder) Name ¶ added in v3.0.1
func (builder *ApplicationOwnerBuilder) Name(name string) *ApplicationOwnerBuilder
应用开发商名称(仅商店应用返回)
示例值:test tenant
func (*ApplicationOwnerBuilder) OwnerId ¶ added in v3.0.1
func (builder *ApplicationOwnerBuilder) OwnerId(ownerId string) *ApplicationOwnerBuilder
应用所有者ID
示例值:ou_d317f090b7258ad0372aa53963cda70d
func (*ApplicationOwnerBuilder) Phone ¶ added in v3.0.1
func (builder *ApplicationOwnerBuilder) Phone(phone string) *ApplicationOwnerBuilder
应用开发商的手机号(仅商店应用返回)
示例值:1234534234234
func (*ApplicationOwnerBuilder) Type ¶ added in v3.0.1
func (builder *ApplicationOwnerBuilder) Type(type_ int) *ApplicationOwnerBuilder
应用所有者类型
示例值:0
type ApplicationService ¶
type ApplicationService struct { AppRecommendRule *appRecommendRule // 推荐规则 Application *application // 应用 ApplicationAppUsage *applicationAppUsage // 应用使用情况 ApplicationAppVersion *applicationAppVersion // 事件 ApplicationFeedback *applicationFeedback // 应用反馈 ApplicationVisibility *applicationVisibility // 事件 // contains filtered or unexported fields }
func NewService ¶
func NewService(config *larkcore.Config) *ApplicationService
type ApplicationVisibility ¶
type ApplicationVisibility struct { IsAll *bool `json:"is_all,omitempty"` // 是否全员可见 VisibleList *AppVisibleList `json:"visible_list,omitempty"` // 可见名单 InvisibleList *AppVisibleList `json:"invisible_list,omitempty"` // 不可见名单 }
type ApplicationVisibilityBuilder ¶
type ApplicationVisibilityBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationVisibilityBuilder ¶
func NewApplicationVisibilityBuilder() *ApplicationVisibilityBuilder
func (*ApplicationVisibilityBuilder) Build ¶
func (builder *ApplicationVisibilityBuilder) Build() *ApplicationVisibility
func (*ApplicationVisibilityBuilder) InvisibleList ¶
func (builder *ApplicationVisibilityBuilder) InvisibleList(invisibleList *AppVisibleList) *ApplicationVisibilityBuilder
不可见名单
示例值:
func (*ApplicationVisibilityBuilder) IsAll ¶
func (builder *ApplicationVisibilityBuilder) IsAll(isAll bool) *ApplicationVisibilityBuilder
是否全员可见
示例值:false
func (*ApplicationVisibilityBuilder) VisibleList ¶
func (builder *ApplicationVisibilityBuilder) VisibleList(visibleList *AppVisibleList) *ApplicationVisibilityBuilder
可见名单
示例值:
type Block ¶
type Block struct { BlockTypeId *string `json:"block_type_id,omitempty"` // BlockTypeID VersionId *string `json:"version_id,omitempty"` // 上传 block 小程序的 version id I18n []*BlockI18nInfo `json:"i18n,omitempty"` // block 的国际化信息 MobileIconUrl *string `json:"mobile_icon_url,omitempty"` // 移动端 icon 链接 PcIconUrl *string `json:"pc_icon_url,omitempty"` // pc 端口 icon 链接 }
type BlockBuilder ¶
type BlockBuilder struct {
// contains filtered or unexported fields
}
func NewBlockBuilder ¶
func NewBlockBuilder() *BlockBuilder
func (*BlockBuilder) BlockTypeId ¶
func (builder *BlockBuilder) BlockTypeId(blockTypeId string) *BlockBuilder
BlockTypeID
示例值:blk_4fb61568435880110854c1d0
func (*BlockBuilder) Build ¶
func (builder *BlockBuilder) Build() *Block
func (*BlockBuilder) I18n ¶
func (builder *BlockBuilder) I18n(i18n []*BlockI18nInfo) *BlockBuilder
block 的国际化信息
示例值:
func (*BlockBuilder) MobileIconUrl ¶
func (builder *BlockBuilder) MobileIconUrl(mobileIconUrl string) *BlockBuilder
移动端 icon 链接
func (*BlockBuilder) PcIconUrl ¶
func (builder *BlockBuilder) PcIconUrl(pcIconUrl string) *BlockBuilder
pc 端口 icon 链接
func (*BlockBuilder) VersionId ¶
func (builder *BlockBuilder) VersionId(versionId string) *BlockBuilder
上传 block 小程序的 version id
示例值:1.0.0
type BlockI18nInfo ¶
type BlockI18nInfoBuilder ¶
type BlockI18nInfoBuilder struct {
// contains filtered or unexported fields
}
func NewBlockI18nInfoBuilder ¶
func NewBlockI18nInfoBuilder() *BlockI18nInfoBuilder
func (*BlockI18nInfoBuilder) Build ¶
func (builder *BlockI18nInfoBuilder) Build() *BlockI18nInfo
func (*BlockI18nInfoBuilder) I18nKey ¶
func (builder *BlockI18nInfoBuilder) I18nKey(i18nKey string) *BlockI18nInfoBuilder
国际化语言的 key
示例值:zh_cn
func (*BlockI18nInfoBuilder) Name ¶
func (builder *BlockI18nInfoBuilder) Name(name string) *BlockI18nInfoBuilder
名称
示例值:名称
type Bot ¶
type Bot struct {
CardRequestUrl *string `json:"card_request_url,omitempty"` // 消息卡片回调地址
}
type BotBuilder ¶
type BotBuilder struct {
// contains filtered or unexported fields
}
func NewBotBuilder ¶
func NewBotBuilder() *BotBuilder
func (*BotBuilder) Build ¶
func (builder *BotBuilder) Build() *Bot
func (*BotBuilder) CardRequestUrl ¶
func (builder *BotBuilder) CardRequestUrl(cardRequestUrl string) *BotBuilder
消息卡片回调地址
type ClientBadgeNum ¶
type ClientBadgeNumBuilder ¶
type ClientBadgeNumBuilder struct {
// contains filtered or unexported fields
}
func NewClientBadgeNumBuilder ¶
func NewClientBadgeNumBuilder() *ClientBadgeNumBuilder
func (*ClientBadgeNumBuilder) Build ¶
func (builder *ClientBadgeNumBuilder) Build() *ClientBadgeNum
func (*ClientBadgeNumBuilder) Gadget ¶
func (builder *ClientBadgeNumBuilder) Gadget(gadget int) *ClientBadgeNumBuilder
小程序能力的badge数量
示例值:2
func (*ClientBadgeNumBuilder) WebApp ¶
func (builder *ClientBadgeNumBuilder) WebApp(webApp int) *ClientBadgeNumBuilder
h5能力的badge数量
示例值:1
type CloudDoc ¶
type CloudDoc struct { SpaceUrl *string `json:"space_url,omitempty"` // 云空间重定向 url I18n []*CloudDocI18nInfo `json:"i18n,omitempty"` // 国际化信息 IconUrl *string `json:"icon_url,omitempty"` // 图标链接 Mode *int `json:"mode,omitempty"` // 云文档支持模式 }
type CloudDocBuilder ¶
type CloudDocBuilder struct {
// contains filtered or unexported fields
}
func NewCloudDocBuilder ¶
func NewCloudDocBuilder() *CloudDocBuilder
func (*CloudDocBuilder) Build ¶
func (builder *CloudDocBuilder) Build() *CloudDoc
func (*CloudDocBuilder) I18n ¶
func (builder *CloudDocBuilder) I18n(i18n []*CloudDocI18nInfo) *CloudDocBuilder
国际化信息
示例值:
func (*CloudDocBuilder) IconUrl ¶
func (builder *CloudDocBuilder) IconUrl(iconUrl string) *CloudDocBuilder
图标链接
func (*CloudDocBuilder) Mode ¶
func (builder *CloudDocBuilder) Mode(mode int) *CloudDocBuilder
云文档支持模式
示例值:1
func (*CloudDocBuilder) SpaceUrl ¶
func (builder *CloudDocBuilder) SpaceUrl(spaceUrl string) *CloudDocBuilder
云空间重定向 url
type CloudDocI18nInfo ¶
type CloudDocI18nInfoBuilder ¶
type CloudDocI18nInfoBuilder struct {
// contains filtered or unexported fields
}
func NewCloudDocI18nInfoBuilder ¶
func NewCloudDocI18nInfoBuilder() *CloudDocI18nInfoBuilder
func (*CloudDocI18nInfoBuilder) Build ¶
func (builder *CloudDocI18nInfoBuilder) Build() *CloudDocI18nInfo
func (*CloudDocI18nInfoBuilder) I18nKey ¶
func (builder *CloudDocI18nInfoBuilder) I18nKey(i18nKey string) *CloudDocI18nInfoBuilder
国际化语言的 key
示例值:zh_cn
func (*CloudDocI18nInfoBuilder) Name ¶
func (builder *CloudDocI18nInfoBuilder) Name(name string) *CloudDocI18nInfoBuilder
云文档国际化名称
示例值:名称
func (*CloudDocI18nInfoBuilder) ReadDescription ¶
func (builder *CloudDocI18nInfoBuilder) ReadDescription(readDescription string) *CloudDocI18nInfoBuilder
云文档国际化读权限说明
示例值:读权限说明
func (*CloudDocI18nInfoBuilder) WriteDescription ¶
func (builder *CloudDocI18nInfoBuilder) WriteDescription(writeDescription string) *CloudDocI18nInfoBuilder
云文档国际化写权限说明
示例值:写权限说明
type DocsBlock ¶
type DocsBlock struct { BlockTypeId *string `json:"block_type_id,omitempty"` // BlockTypeID I18n []*BlockI18nInfo `json:"i18n,omitempty"` // block 的国际化信息 MobileIconUrl *string `json:"mobile_icon_url,omitempty"` // 移动端 icon 链接 PcIconUrl *string `json:"pc_icon_url,omitempty"` // pc 端口 icon 链接 }
type DocsBlockBuilder ¶
type DocsBlockBuilder struct {
// contains filtered or unexported fields
}
func NewDocsBlockBuilder ¶
func NewDocsBlockBuilder() *DocsBlockBuilder
func (*DocsBlockBuilder) BlockTypeId ¶
func (builder *DocsBlockBuilder) BlockTypeId(blockTypeId string) *DocsBlockBuilder
BlockTypeID
示例值:blk_4fb61568435880110854c1d0
func (*DocsBlockBuilder) Build ¶
func (builder *DocsBlockBuilder) Build() *DocsBlock
func (*DocsBlockBuilder) I18n ¶
func (builder *DocsBlockBuilder) I18n(i18n []*BlockI18nInfo) *DocsBlockBuilder
block 的国际化信息
示例值:
func (*DocsBlockBuilder) MobileIconUrl ¶
func (builder *DocsBlockBuilder) MobileIconUrl(mobileIconUrl string) *DocsBlockBuilder
移动端 icon 链接
func (*DocsBlockBuilder) PcIconUrl ¶
func (builder *DocsBlockBuilder) PcIconUrl(pcIconUrl string) *DocsBlockBuilder
pc 端口 icon 链接
type Gadget ¶
type Gadget struct { EnablePcMode *int `json:"enable_pc_mode,omitempty"` // pc 支持的小程序模式,bit 位表示 SchemaUrls []string `json:"schema_urls,omitempty"` // schema url 列表 PcUseMobilePkg *bool `json:"pc_use_mobile_pkg,omitempty"` // pc 端是否使用小程序版本 PcVersion *string `json:"pc_version,omitempty"` // pc 的小程序版本号 MobileVersion *string `json:"mobile_version,omitempty"` // 移动端小程序版本号 MobileMinLarkVersion *string `json:"mobile_min_lark_version,omitempty"` // 移动端兼容的最低飞书版本 PcMinLarkVersion *string `json:"pc_min_lark_version,omitempty"` // pc 端兼容的最低飞书版本 }
type GadgetBuilder ¶
type GadgetBuilder struct {
// contains filtered or unexported fields
}
func NewGadgetBuilder ¶
func NewGadgetBuilder() *GadgetBuilder
func (*GadgetBuilder) Build ¶
func (builder *GadgetBuilder) Build() *Gadget
func (*GadgetBuilder) EnablePcMode ¶
func (builder *GadgetBuilder) EnablePcMode(enablePcMode int) *GadgetBuilder
pc 支持的小程序模式,bit 位表示
示例值:1
func (*GadgetBuilder) MobileMinLarkVersion ¶
func (builder *GadgetBuilder) MobileMinLarkVersion(mobileMinLarkVersion string) *GadgetBuilder
移动端兼容的最低飞书版本
示例值:2.0
func (*GadgetBuilder) MobileVersion ¶
func (builder *GadgetBuilder) MobileVersion(mobileVersion string) *GadgetBuilder
移动端小程序版本号
示例值:1.0.0
func (*GadgetBuilder) PcMinLarkVersion ¶
func (builder *GadgetBuilder) PcMinLarkVersion(pcMinLarkVersion string) *GadgetBuilder
pc 端兼容的最低飞书版本
示例值:2.0
func (*GadgetBuilder) PcUseMobilePkg ¶
func (builder *GadgetBuilder) PcUseMobilePkg(pcUseMobilePkg bool) *GadgetBuilder
pc 端是否使用小程序版本
示例值:false
func (*GadgetBuilder) PcVersion ¶
func (builder *GadgetBuilder) PcVersion(pcVersion string) *GadgetBuilder
pc 的小程序版本号
示例值:1.0.0
func (*GadgetBuilder) SchemaUrls ¶
func (builder *GadgetBuilder) SchemaUrls(schemaUrls []string) *GadgetBuilder
schema url 列表
示例值:
type GetApplicationAppVersionReq ¶
type GetApplicationAppVersionReq struct {
// contains filtered or unexported fields
}
type GetApplicationAppVersionReqBuilder ¶
type GetApplicationAppVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetApplicationAppVersionReqBuilder ¶
func NewGetApplicationAppVersionReqBuilder() *GetApplicationAppVersionReqBuilder
func (*GetApplicationAppVersionReqBuilder) AppId ¶
func (builder *GetApplicationAppVersionReqBuilder) AppId(appId string) *GetApplicationAppVersionReqBuilder
应用的 app_id,需要查询其他应用版本信息时,必须申请[获取应用版本信息](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN)权限,仅查询本应用版本信息时,可填入 "me" 或者应用自身 app_id
示例值:cli_9f3ca975326b501b
func (*GetApplicationAppVersionReqBuilder) Build ¶
func (builder *GetApplicationAppVersionReqBuilder) Build() *GetApplicationAppVersionReq
func (*GetApplicationAppVersionReqBuilder) Lang ¶
func (builder *GetApplicationAppVersionReqBuilder) Lang(lang string) *GetApplicationAppVersionReqBuilder
应用信息的语言版本
示例值:zh_cn
func (*GetApplicationAppVersionReqBuilder) UserIdType ¶
func (builder *GetApplicationAppVersionReqBuilder) UserIdType(userIdType string) *GetApplicationAppVersionReqBuilder
此次调用中使用的用户ID的类型
示例值:
func (*GetApplicationAppVersionReqBuilder) VersionId ¶
func (builder *GetApplicationAppVersionReqBuilder) VersionId(versionId string) *GetApplicationAppVersionReqBuilder
唯一标识应用版本的 ID
示例值:oav_d317f090b7258ad0372aa53963cda70d
type GetApplicationAppVersionResp ¶
type GetApplicationAppVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetApplicationAppVersionRespData `json:"data"` // 业务数据 }
func (*GetApplicationAppVersionResp) Success ¶
func (resp *GetApplicationAppVersionResp) Success() bool
type GetApplicationAppVersionRespData ¶
type GetApplicationAppVersionRespData struct {
AppVersion *ApplicationAppVersion `json:"app_version,omitempty"` // 应用版本信息
}
type GetApplicationReq ¶
type GetApplicationReq struct {
// contains filtered or unexported fields
}
type GetApplicationReqBuilder ¶
type GetApplicationReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetApplicationReqBuilder ¶
func NewGetApplicationReqBuilder() *GetApplicationReqBuilder
func (*GetApplicationReqBuilder) AppId ¶
func (builder *GetApplicationReqBuilder) AppId(appId string) *GetApplicationReqBuilder
应用的 app_id,需要查询其他应用信息时,必须申请[获取应用信息](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN)权限,仅查询本应用信息时,可填入 "me" 或者应用自身 app_id
示例值:cli_9b445f5258795107
func (*GetApplicationReqBuilder) Build ¶
func (builder *GetApplicationReqBuilder) Build() *GetApplicationReq
func (*GetApplicationReqBuilder) Lang ¶
func (builder *GetApplicationReqBuilder) Lang(lang string) *GetApplicationReqBuilder
指定获取应用在该语言下的信息
示例值:zh_cn
func (*GetApplicationReqBuilder) UserIdType ¶
func (builder *GetApplicationReqBuilder) UserIdType(userIdType string) *GetApplicationReqBuilder
此次调用中使用的用户ID的类型
示例值:
type GetApplicationResp ¶
type GetApplicationResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetApplicationRespData `json:"data"` // 业务数据 }
func (*GetApplicationResp) Success ¶
func (resp *GetApplicationResp) Success() bool
type GetApplicationRespData ¶
type GetApplicationRespData struct {
App *Application `json:"app,omitempty"` // 应用数据
}
type ListAppRecommendRuleIterator ¶ added in v3.0.8
type ListAppRecommendRuleIterator struct {
// contains filtered or unexported fields
}
func (*ListAppRecommendRuleIterator) Next ¶ added in v3.0.8
func (iterator *ListAppRecommendRuleIterator) Next() (bool, *AppRecommendRule, error)
func (*ListAppRecommendRuleIterator) NextPageToken ¶ added in v3.0.8
func (iterator *ListAppRecommendRuleIterator) NextPageToken() *string
type ListAppRecommendRuleReq ¶ added in v3.0.8
type ListAppRecommendRuleReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListAppRecommendRuleReqBuilder ¶ added in v3.0.8
type ListAppRecommendRuleReqBuilder struct {
// contains filtered or unexported fields
}
func NewListAppRecommendRuleReqBuilder ¶ added in v3.0.8
func NewListAppRecommendRuleReqBuilder() *ListAppRecommendRuleReqBuilder
func (*ListAppRecommendRuleReqBuilder) Build ¶ added in v3.0.8
func (builder *ListAppRecommendRuleReqBuilder) Build() *ListAppRecommendRuleReq
func (*ListAppRecommendRuleReqBuilder) Limit ¶ added in v3.0.8
func (builder *ListAppRecommendRuleReqBuilder) Limit(limit int) *ListAppRecommendRuleReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListAppRecommendRuleReqBuilder) PageSize ¶ added in v3.0.8
func (builder *ListAppRecommendRuleReqBuilder) PageSize(pageSize int) *ListAppRecommendRuleReqBuilder
分页大小
示例值:10
func (*ListAppRecommendRuleReqBuilder) PageToken ¶ added in v3.0.8
func (builder *ListAppRecommendRuleReqBuilder) PageToken(pageToken string) *ListAppRecommendRuleReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:new-e11ee058b4a8ed2881da11ac7e37c4fc
func (*ListAppRecommendRuleReqBuilder) UserIdType ¶ added in v3.0.8
func (builder *ListAppRecommendRuleReqBuilder) UserIdType(userIdType string) *ListAppRecommendRuleReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListAppRecommendRuleResp ¶ added in v3.0.8
type ListAppRecommendRuleResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListAppRecommendRuleRespData `json:"data"` // 业务数据 }
func (*ListAppRecommendRuleResp) Success ¶ added in v3.0.8
func (resp *ListAppRecommendRuleResp) Success() bool
type ListAppRecommendRuleRespData ¶ added in v3.0.8
type ListAppRecommendRuleRespData struct { Rules []*AppRecommendRule `json:"rules,omitempty"` // 推荐规则列表 PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore *bool `json:"has_more,omitempty"` // 是否还有更多项 }
type ListApplicationAppVersionIterator ¶ added in v3.0.3
type ListApplicationAppVersionIterator struct {
// contains filtered or unexported fields
}
func (*ListApplicationAppVersionIterator) Next ¶ added in v3.0.3
func (iterator *ListApplicationAppVersionIterator) Next() (bool, *ApplicationAppVersion, error)
func (*ListApplicationAppVersionIterator) NextPageToken ¶ added in v3.0.3
func (iterator *ListApplicationAppVersionIterator) NextPageToken() *string
type ListApplicationAppVersionReq ¶ added in v3.0.3
type ListApplicationAppVersionReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListApplicationAppVersionReqBuilder ¶ added in v3.0.3
type ListApplicationAppVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewListApplicationAppVersionReqBuilder ¶ added in v3.0.3
func NewListApplicationAppVersionReqBuilder() *ListApplicationAppVersionReqBuilder
func (*ListApplicationAppVersionReqBuilder) AppId ¶ added in v3.0.3
func (builder *ListApplicationAppVersionReqBuilder) AppId(appId string) *ListApplicationAppVersionReqBuilder
应用的 app_id,需要查询其他应用版本信息时,必须申请[获取应用版本信息](https://open.feishu.cn/document/ukTMukTMukTM/uQjN3QjL0YzN04CN2cDN)权限,仅查询本应用版本信息时,可填入 "me" 或者应用自身 app_id
示例值:cli_9b445f5258795107
func (*ListApplicationAppVersionReqBuilder) Build ¶ added in v3.0.3
func (builder *ListApplicationAppVersionReqBuilder) Build() *ListApplicationAppVersionReq
func (*ListApplicationAppVersionReqBuilder) Lang ¶ added in v3.0.3
func (builder *ListApplicationAppVersionReqBuilder) Lang(lang string) *ListApplicationAppVersionReqBuilder
应用信息的语言版本
示例值:zh_cn
func (*ListApplicationAppVersionReqBuilder) Limit ¶ added in v3.0.3
func (builder *ListApplicationAppVersionReqBuilder) Limit(limit int) *ListApplicationAppVersionReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListApplicationAppVersionReqBuilder) Order ¶ added in v3.0.3
func (builder *ListApplicationAppVersionReqBuilder) Order(order int) *ListApplicationAppVersionReqBuilder
0:按照时间倒序 1:按照时间正序
示例值:0
func (*ListApplicationAppVersionReqBuilder) PageSize ¶ added in v3.0.3
func (builder *ListApplicationAppVersionReqBuilder) PageSize(pageSize int) *ListApplicationAppVersionReqBuilder
分页大小
示例值:10
func (*ListApplicationAppVersionReqBuilder) PageToken ¶ added in v3.0.3
func (builder *ListApplicationAppVersionReqBuilder) PageToken(pageToken string) *ListApplicationAppVersionReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:new-e3c5a0627cdf0c2e057da7257b90376a
func (*ListApplicationAppVersionReqBuilder) UserIdType ¶ added in v3.0.3
func (builder *ListApplicationAppVersionReqBuilder) UserIdType(userIdType string) *ListApplicationAppVersionReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListApplicationAppVersionResp ¶ added in v3.0.3
type ListApplicationAppVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListApplicationAppVersionRespData `json:"data"` // 业务数据 }
func (*ListApplicationAppVersionResp) Success ¶ added in v3.0.3
func (resp *ListApplicationAppVersionResp) Success() bool
type ListApplicationAppVersionRespData ¶ added in v3.0.3
type ListApplicationAppVersionRespData struct { Items []*ApplicationAppVersion `json:"items,omitempty"` // 应用版本列表 PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore *bool `json:"has_more,omitempty"` // 是否还有更多项 }
type ListApplicationFeedbackReq ¶
type ListApplicationFeedbackReq struct {
// contains filtered or unexported fields
}
type ListApplicationFeedbackReqBuilder ¶
type ListApplicationFeedbackReqBuilder struct {
// contains filtered or unexported fields
}
func NewListApplicationFeedbackReqBuilder ¶
func NewListApplicationFeedbackReqBuilder() *ListApplicationFeedbackReqBuilder
func (*ListApplicationFeedbackReqBuilder) AppId ¶
func (builder *ListApplicationFeedbackReqBuilder) AppId(appId string) *ListApplicationFeedbackReqBuilder
目标应用 ID(本租户创建的所有应用)
示例值:cli_9f115af860f7901b
func (*ListApplicationFeedbackReqBuilder) Build ¶
func (builder *ListApplicationFeedbackReqBuilder) Build() *ListApplicationFeedbackReq
func (*ListApplicationFeedbackReqBuilder) FeedbackType ¶
func (builder *ListApplicationFeedbackReqBuilder) FeedbackType(feedbackType int) *ListApplicationFeedbackReqBuilder
反馈类型,不填写则表示查询所有反馈类型。
示例值:1
func (*ListApplicationFeedbackReqBuilder) FromDate ¶
func (builder *ListApplicationFeedbackReqBuilder) FromDate(fromDate string) *ListApplicationFeedbackReqBuilder
查询的起始日期,格式为yyyy-mm-dd。不填则默认为当前日期减去180天。
示例值:2022-01-30
func (*ListApplicationFeedbackReqBuilder) PageSize ¶
func (builder *ListApplicationFeedbackReqBuilder) PageSize(pageSize int) *ListApplicationFeedbackReqBuilder
本次拉取反馈列表最大个数
示例值:100
func (*ListApplicationFeedbackReqBuilder) PageToken ¶
func (builder *ListApplicationFeedbackReqBuilder) PageToken(pageToken string) *ListApplicationFeedbackReqBuilder
分页拉取反馈列表起始位置标示,不填表示从头开始
示例值:"7064688334618378259"
func (*ListApplicationFeedbackReqBuilder) Status ¶
func (builder *ListApplicationFeedbackReqBuilder) Status(status int) *ListApplicationFeedbackReqBuilder
反馈处理状态,不填写则表示查询所有处理类型。
示例值:0
func (*ListApplicationFeedbackReqBuilder) ToDate ¶
func (builder *ListApplicationFeedbackReqBuilder) ToDate(toDate string) *ListApplicationFeedbackReqBuilder
查询的结束日期,格式为yyyy-mm-dd。不填默认为当前日期。;只能查询 180 天内的数据。
示例值:2022-01-30
func (*ListApplicationFeedbackReqBuilder) UserIdType ¶
func (builder *ListApplicationFeedbackReqBuilder) UserIdType(userIdType string) *ListApplicationFeedbackReqBuilder
示例值:open_id
type ListApplicationFeedbackResp ¶
type ListApplicationFeedbackResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListApplicationFeedbackRespData `json:"data"` // 业务数据 }
func (*ListApplicationFeedbackResp) Success ¶
func (resp *ListApplicationFeedbackResp) Success() bool
type ListApplicationFeedbackRespData ¶
type ListApplicationFeedbackRespData struct { FeedbackList []*ApplicationFeedback `json:"feedback_list,omitempty"` // 应用的反馈列表 HasMore *bool `json:"has_more,omitempty"` // 是否还有更多用户反馈列表,true:是,false:否 PageToken *string `json:"page_token,omitempty"` // 拉取下一页应用反馈列表时使用的 page_token }
type MessageAction ¶
type MessageAction struct { PcAppLink *string `json:"pc_app_link,omitempty"` // pc 端链接 MobileAppLink *string `json:"mobile_app_link,omitempty"` // 移动端链接 I18n []*MessageActionI18nInfo `json:"i18n,omitempty"` // 国际化信息 }
type MessageActionBuilder ¶
type MessageActionBuilder struct {
// contains filtered or unexported fields
}
func NewMessageActionBuilder ¶
func NewMessageActionBuilder() *MessageActionBuilder
func (*MessageActionBuilder) Build ¶
func (builder *MessageActionBuilder) Build() *MessageAction
func (*MessageActionBuilder) I18n ¶
func (builder *MessageActionBuilder) I18n(i18n []*MessageActionI18nInfo) *MessageActionBuilder
国际化信息
示例值:
func (*MessageActionBuilder) MobileAppLink ¶
func (builder *MessageActionBuilder) MobileAppLink(mobileAppLink string) *MessageActionBuilder
移动端链接
func (*MessageActionBuilder) PcAppLink ¶
func (builder *MessageActionBuilder) PcAppLink(pcAppLink string) *MessageActionBuilder
pc 端链接
type MessageActionI18nInfo ¶
type MessageActionI18nInfoBuilder ¶
type MessageActionI18nInfoBuilder struct {
// contains filtered or unexported fields
}
func NewMessageActionI18nInfoBuilder ¶
func NewMessageActionI18nInfoBuilder() *MessageActionI18nInfoBuilder
func (*MessageActionI18nInfoBuilder) Build ¶
func (builder *MessageActionI18nInfoBuilder) Build() *MessageActionI18nInfo
func (*MessageActionI18nInfoBuilder) I18nKey ¶
func (builder *MessageActionI18nInfoBuilder) I18nKey(i18nKey string) *MessageActionI18nInfoBuilder
国际化语言的 key
示例值:zh_cn
func (*MessageActionI18nInfoBuilder) Name ¶
func (builder *MessageActionI18nInfoBuilder) Name(name string) *MessageActionI18nInfoBuilder
国际化名称
示例值:名称
type MessageOverviewItem ¶
type MessageOverviewItem struct { PageView *string `json:"page_view,omitempty"` // 用户访问量 UniqueVisitor *string `json:"unique_visitor,omitempty"` // unique 访问量 ChatType *string `json:"chat_type,omitempty"` // 聊天类型,大小写不敏感,private:私聊;group:群聊 MessageType *string `json:"message_type,omitempty"` // 消息类型,大小写不敏感,text:文本消息;image:图片消息;interactive:卡片消息;post:富文本消息;share_chat:群名片 EventType *string `json:"event_type,omitempty"` // 事件类型 }
type MessageOverviewItemBuilder ¶
type MessageOverviewItemBuilder struct {
// contains filtered or unexported fields
}
func NewMessageOverviewItemBuilder ¶
func NewMessageOverviewItemBuilder() *MessageOverviewItemBuilder
func (*MessageOverviewItemBuilder) Build ¶
func (builder *MessageOverviewItemBuilder) Build() *MessageOverviewItem
func (*MessageOverviewItemBuilder) ChatType ¶
func (builder *MessageOverviewItemBuilder) ChatType(chatType string) *MessageOverviewItemBuilder
聊天类型,大小写不敏感,private:私聊;group:群聊
示例值:
func (*MessageOverviewItemBuilder) EventType ¶
func (builder *MessageOverviewItemBuilder) EventType(eventType string) *MessageOverviewItemBuilder
事件类型
示例值:
func (*MessageOverviewItemBuilder) MessageType ¶
func (builder *MessageOverviewItemBuilder) MessageType(messageType string) *MessageOverviewItemBuilder
消息类型,大小写不敏感,text:文本消息;image:图片消息;interactive:卡片消息;post:富文本消息;share_chat:群名片
示例值:
func (*MessageOverviewItemBuilder) PageView ¶
func (builder *MessageOverviewItemBuilder) PageView(pageView string) *MessageOverviewItemBuilder
用户访问量
示例值:
func (*MessageOverviewItemBuilder) UniqueVisitor ¶
func (builder *MessageOverviewItemBuilder) UniqueVisitor(uniqueVisitor string) *MessageOverviewItemBuilder
unique 访问量
示例值:
type Miniprogram ¶
type Miniprogram struct { EnablePcMode *int `json:"enable_pc_mode,omitempty"` // pc 支持的小程序模式,bit 位表示 SchemaUrls []string `json:"schema_urls,omitempty"` // schema url 列表 PcUseMobilePkg *bool `json:"pc_use_mobile_pkg,omitempty"` // pc 端是否使用小程序版本 PcVersionId *string `json:"pc_version_id,omitempty"` // pc 的小程序版本号 MobileVersionId *string `json:"mobile_version_id,omitempty"` // 移动端小程序版本号 MobileMinLarkVersion *string `json:"mobile_min_lark_version,omitempty"` // 移动端兼容的最低飞书版本 PcMinLarkVersion *string `json:"pc_min_lark_version,omitempty"` // pc 端兼容的最低飞书版本 }
type MiniprogramBuilder ¶
type MiniprogramBuilder struct {
// contains filtered or unexported fields
}
func NewMiniprogramBuilder ¶
func NewMiniprogramBuilder() *MiniprogramBuilder
func (*MiniprogramBuilder) Build ¶
func (builder *MiniprogramBuilder) Build() *Miniprogram
func (*MiniprogramBuilder) EnablePcMode ¶
func (builder *MiniprogramBuilder) EnablePcMode(enablePcMode int) *MiniprogramBuilder
pc 支持的小程序模式,bit 位表示
示例值:1
func (*MiniprogramBuilder) MobileMinLarkVersion ¶
func (builder *MiniprogramBuilder) MobileMinLarkVersion(mobileMinLarkVersion string) *MiniprogramBuilder
移动端兼容的最低飞书版本
示例值:2.0
func (*MiniprogramBuilder) MobileVersionId ¶
func (builder *MiniprogramBuilder) MobileVersionId(mobileVersionId string) *MiniprogramBuilder
移动端小程序版本号
示例值:1.0.0
func (*MiniprogramBuilder) PcMinLarkVersion ¶
func (builder *MiniprogramBuilder) PcMinLarkVersion(pcMinLarkVersion string) *MiniprogramBuilder
pc 端兼容的最低飞书版本
示例值:2.0
func (*MiniprogramBuilder) PcUseMobilePkg ¶
func (builder *MiniprogramBuilder) PcUseMobilePkg(pcUseMobilePkg bool) *MiniprogramBuilder
pc 端是否使用小程序版本
示例值:false
func (*MiniprogramBuilder) PcVersionId ¶
func (builder *MiniprogramBuilder) PcVersionId(pcVersionId string) *MiniprogramBuilder
pc 的小程序版本号
示例值:1.0.0
func (*MiniprogramBuilder) SchemaUrls ¶
func (builder *MiniprogramBuilder) SchemaUrls(schemaUrls []string) *MiniprogramBuilder
schema url 列表
示例值:
type MsgAction ¶
type MsgAction struct { PcAppLink *string `json:"pc_app_link,omitempty"` // pc 端链接 MobileAppLink *string `json:"mobile_app_link,omitempty"` // 移动端链接 I18n []*MsgActionI18nInfo `json:"i18n,omitempty"` // 国际化信息 }
type MsgActionBuilder ¶
type MsgActionBuilder struct {
// contains filtered or unexported fields
}
func NewMsgActionBuilder ¶
func NewMsgActionBuilder() *MsgActionBuilder
func (*MsgActionBuilder) Build ¶
func (builder *MsgActionBuilder) Build() *MsgAction
func (*MsgActionBuilder) I18n ¶
func (builder *MsgActionBuilder) I18n(i18n []*MsgActionI18nInfo) *MsgActionBuilder
国际化信息
示例值:
func (*MsgActionBuilder) MobileAppLink ¶
func (builder *MsgActionBuilder) MobileAppLink(mobileAppLink string) *MsgActionBuilder
移动端链接
func (*MsgActionBuilder) PcAppLink ¶
func (builder *MsgActionBuilder) PcAppLink(pcAppLink string) *MsgActionBuilder
pc 端链接
type MsgActionI18nInfo ¶
type MsgActionI18nInfoBuilder ¶
type MsgActionI18nInfoBuilder struct {
// contains filtered or unexported fields
}
func NewMsgActionI18nInfoBuilder ¶
func NewMsgActionI18nInfoBuilder() *MsgActionI18nInfoBuilder
func (*MsgActionI18nInfoBuilder) Build ¶
func (builder *MsgActionI18nInfoBuilder) Build() *MsgActionI18nInfo
func (*MsgActionI18nInfoBuilder) I18nKey ¶
func (builder *MsgActionI18nInfoBuilder) I18nKey(i18nKey string) *MsgActionI18nInfoBuilder
国际化语言的 key
示例值:zh_cn
func (*MsgActionI18nInfoBuilder) Name ¶
func (builder *MsgActionI18nInfoBuilder) Name(name string) *MsgActionI18nInfoBuilder
国际化名称
示例值:名称
type NavigateBuilder ¶
type NavigateBuilder struct {
// contains filtered or unexported fields
}
func NewNavigateBuilder ¶
func NewNavigateBuilder() *NavigateBuilder
func (*NavigateBuilder) Build ¶
func (builder *NavigateBuilder) Build() *Navigate
func (*NavigateBuilder) Mobile ¶
func (builder *NavigateBuilder) Mobile(mobile *NavigateMeta) *NavigateBuilder
移动端主导航信息
示例值:
func (*NavigateBuilder) Pc ¶
func (builder *NavigateBuilder) Pc(pc *NavigateMeta) *NavigateBuilder
pc 端主导航信息
示例值:
type NavigateMeta ¶
type NavigateMeta struct {}
type NavigateMetaBuilder ¶
type NavigateMetaBuilder struct {
// contains filtered or unexported fields
}
func NewNavigateMetaBuilder ¶
func NewNavigateMetaBuilder() *NavigateMetaBuilder
func (*NavigateMetaBuilder) Build ¶
func (builder *NavigateMetaBuilder) Build() *NavigateMeta
func (*NavigateMetaBuilder) HoverImageUrl ¶
func (builder *NavigateMetaBuilder) HoverImageUrl(hoverImageUrl string) *NavigateMetaBuilder
选中态图片 url
func (*NavigateMetaBuilder) ImageUrl ¶
func (builder *NavigateMetaBuilder) ImageUrl(imageUrl string) *NavigateMetaBuilder
默认图片 url
func (*NavigateMetaBuilder) Version ¶
func (builder *NavigateMetaBuilder) Version(version string) *NavigateMetaBuilder
主导航小程序版本号
示例值:1.0.0
type OverviewApplicationAppUsagePathReqBodyBuilder ¶
type OverviewApplicationAppUsagePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewOverviewApplicationAppUsagePathReqBodyBuilder ¶
func NewOverviewApplicationAppUsagePathReqBodyBuilder() *OverviewApplicationAppUsagePathReqBodyBuilder
func (*OverviewApplicationAppUsagePathReqBodyBuilder) Ability ¶
func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) Ability(ability string) *OverviewApplicationAppUsagePathReqBodyBuilder
能力类型,按能力类型进行筛选,返回对应能力的活跃数据
示例值:app
func (*OverviewApplicationAppUsagePathReqBodyBuilder) Build ¶
func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) Build() (*OverviewApplicationAppUsageReqBody, error)
func (*OverviewApplicationAppUsagePathReqBodyBuilder) CycleType ¶
func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) CycleType(cycleType int) *OverviewApplicationAppUsagePathReqBodyBuilder
活跃周期的统计类型
示例值:1
func (*OverviewApplicationAppUsagePathReqBodyBuilder) Date ¶
func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) Date(date string) *OverviewApplicationAppUsagePathReqBodyBuilder
查询日期,格式为yyyy-mm-dd,若cycle_type为1,date可以为任何自然日;若cycle_type为2,则输入的date必须为周一; 若cycle_type为3,则输入的date必须为每月1号
示例值:2021-07-08
func (*OverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId ¶
func (builder *OverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId(departmentId string) *OverviewApplicationAppUsagePathReqBodyBuilder
查询的部门id,获取方法可参考[部门ID概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview);- 若部门id为空,则返回当前租户的使用数据;若填写部门id,则返回当前部门的使用数据(包含子部门的用户); ;- 若路径参数中department_id_type为空或者为open_department_id,则此处应该填写部门的 open_department_id;若路径参数中department_id_type为department_id,则此处应该填写部门的 department_id。
示例值:od-4e6ac4d14bcd5071a37a39de902c7141
type OverviewApplicationAppUsageReq ¶
type OverviewApplicationAppUsageReq struct { Body *OverviewApplicationAppUsageReqBody `body:""` // contains filtered or unexported fields }
type OverviewApplicationAppUsageReqBody ¶
type OverviewApplicationAppUsageReqBody struct { Date *string `json:"date,omitempty"` // 查询日期,格式为yyyy-mm-dd,若cycle_type为1,date可以为任何自然日;若cycle_type为2,则输入的date必须为周一; 若cycle_type为3,则输入的date必须为每月1号 CycleType *int `json:"cycle_type,omitempty"` // 活跃周期的统计类型 DepartmentId *string `json:"department_id,omitempty"` // 查询的部门id,获取方法可参考[部门ID概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview);- 若部门id为空,则返回当前租户的使用数据;若填写部门id,则返回当前部门的使用数据(包含子部门的用户); ;- 若路径参数中department_id_type为空或者为open_department_id,则此处应该填写部门的 open_department_id;若路径参数中department_id_type为department_id,则此处应该填写部门的 department_id。 Ability *string `json:"ability,omitempty"` // 能力类型,按能力类型进行筛选,返回对应能力的活跃数据 }
type OverviewApplicationAppUsageReqBodyBuilder ¶
type OverviewApplicationAppUsageReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewOverviewApplicationAppUsageReqBodyBuilder ¶
func NewOverviewApplicationAppUsageReqBodyBuilder() *OverviewApplicationAppUsageReqBodyBuilder
func (*OverviewApplicationAppUsageReqBodyBuilder) Ability ¶
func (builder *OverviewApplicationAppUsageReqBodyBuilder) Ability(ability string) *OverviewApplicationAppUsageReqBodyBuilder
能力类型,按能力类型进行筛选,返回对应能力的活跃数据
示例值:app
func (*OverviewApplicationAppUsageReqBodyBuilder) Build ¶
func (builder *OverviewApplicationAppUsageReqBodyBuilder) Build() *OverviewApplicationAppUsageReqBody
func (*OverviewApplicationAppUsageReqBodyBuilder) CycleType ¶
func (builder *OverviewApplicationAppUsageReqBodyBuilder) CycleType(cycleType int) *OverviewApplicationAppUsageReqBodyBuilder
活跃周期的统计类型
示例值:1
func (*OverviewApplicationAppUsageReqBodyBuilder) Date ¶
func (builder *OverviewApplicationAppUsageReqBodyBuilder) Date(date string) *OverviewApplicationAppUsageReqBodyBuilder
查询日期,格式为yyyy-mm-dd,若cycle_type为1,date可以为任何自然日;若cycle_type为2,则输入的date必须为周一; 若cycle_type为3,则输入的date必须为每月1号
示例值:2021-07-08
func (*OverviewApplicationAppUsageReqBodyBuilder) DepartmentId ¶
func (builder *OverviewApplicationAppUsageReqBodyBuilder) DepartmentId(departmentId string) *OverviewApplicationAppUsageReqBodyBuilder
查询的部门id,获取方法可参考[部门ID概述](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/contact-v3/department/field-overview);- 若部门id为空,则返回当前租户的使用数据;若填写部门id,则返回当前部门的使用数据(包含子部门的用户); ;- 若路径参数中department_id_type为空或者为open_department_id,则此处应该填写部门的 open_department_id;若路径参数中department_id_type为department_id,则此处应该填写部门的 department_id。
示例值:od-4e6ac4d14bcd5071a37a39de902c7141
type OverviewApplicationAppUsageReqBuilder ¶
type OverviewApplicationAppUsageReqBuilder struct {
// contains filtered or unexported fields
}
func NewOverviewApplicationAppUsageReqBuilder ¶
func NewOverviewApplicationAppUsageReqBuilder() *OverviewApplicationAppUsageReqBuilder
func (*OverviewApplicationAppUsageReqBuilder) AppId ¶
func (builder *OverviewApplicationAppUsageReqBuilder) AppId(appId string) *OverviewApplicationAppUsageReqBuilder
目标应用 ID
示例值:cli_9f115af860f7901b
func (*OverviewApplicationAppUsageReqBuilder) Body ¶
func (builder *OverviewApplicationAppUsageReqBuilder) Body(body *OverviewApplicationAppUsageReqBody) *OverviewApplicationAppUsageReqBuilder
查看应用在某一天/某一周/某一个月的使用数据,可以查看租户整体对应用的使用情况,也可以分部门查看。
func (*OverviewApplicationAppUsageReqBuilder) Build ¶
func (builder *OverviewApplicationAppUsageReqBuilder) Build() *OverviewApplicationAppUsageReq
func (*OverviewApplicationAppUsageReqBuilder) DepartmentIdType ¶
func (builder *OverviewApplicationAppUsageReqBuilder) DepartmentIdType(departmentIdType string) *OverviewApplicationAppUsageReqBuilder
调用中使用的部门ID的类型
示例值:open_department_id
type OverviewApplicationAppUsageResp ¶
type OverviewApplicationAppUsageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *OverviewApplicationAppUsageRespData `json:"data"` // 业务数据 }
func (*OverviewApplicationAppUsageResp) Success ¶
func (resp *OverviewApplicationAppUsageResp) Success() bool
type OverviewApplicationAppUsageRespData ¶
type OverviewApplicationAppUsageRespData struct {
Items []*ApplicationAppUsage `json:"items,omitempty"` // 员工使用应用概览数据
}
type P1AppOpenApplicantV6 ¶
type P1AppOpenApplicantV6 struct {
OpenID string `json:"open_id,omitempty"` // 用户对此应用的唯一标识,同一用户对不同应用的open_id不同
}
type P1AppOpenInstallerEmployeeV6 ¶
type P1AppOpenInstallerEmployeeV6 struct {
OpenID string `json:"open_id,omitempty"` // 用户对此应用的唯一标识,同一用户对不同应用的open_id不同
}
type P1AppOpenInstallerV6 ¶
type P1AppOpenInstallerV6 struct {
OpenID string `json:"open_id,omitempty"` // 用户对此应用的唯一标识,同一用户对不同应用的open_id不同
}
type P1AppOpenV6 ¶
type P1AppOpenV6 struct { *larkevent.EventReq *larkevent.EventBase Event *P1AppOpenV6Data `json:"event"` }
func (*P1AppOpenV6) RawReq ¶
func (m *P1AppOpenV6) RawReq(req *larkevent.EventReq)
type P1AppOpenV6Data ¶
type P1AppOpenV6Data struct { AppID string `json:"app_id,omitempty"` // App ID TenantKey string `json:"tenant_key,omitempty"` // 企业标识 Type string `json:"type,omitempty"` // 事件类型 Applicants []*P1AppOpenApplicantV6 `json:"applicants,omitempty"` // 应用的申请者,可能有多个 Installer *P1AppOpenInstallerV6 `json:"installer,omitempty"` // 当应用被管理员安装时,返回此字段。如果是自动安装或由普通成员获取时,没有此字段 InstallerEmployee *P1AppOpenInstallerEmployeeV6 `json:"installer_employee,omitempty"` // 当应用被普通成员安装时,返回此字段 }
type P1AppOpenV6Handler ¶
type P1AppOpenV6Handler struct {
// contains filtered or unexported fields
}
func NewP1AppOpenV6Handler ¶
func NewP1AppOpenV6Handler(handler func(context.Context, *P1AppOpenV6) error) *P1AppOpenV6Handler
func (*P1AppOpenV6Handler) Event ¶
func (h *P1AppOpenV6Handler) Event() interface{}
type P1AppStatusChangedV6 ¶
type P1AppStatusChangedV6 struct { *larkevent.EventReq *larkevent.EventBase Event *P1AppStatusChangedV6Data `json:"event"` }
func (*P1AppStatusChangedV6) RawReq ¶
func (m *P1AppStatusChangedV6) RawReq(req *larkevent.EventReq)
type P1AppStatusChangedV6Data ¶
type P1AppStatusChangedV6Data struct { AppID string `json:"app_id,omitempty"` // App ID TenantKey string `json:"tenant_key,omitempty"` // 企业标识 Type string `json:"type,omitempty"` // 事件类型 Status string `json:"status,omitempty"` //应用状态 start_by_tenant: 租户启用; stop_by_tenant: 租户停用; stop_by_platform: 平台停用 Operator *P1AppStatusChangeOperatorV6 `json:"operator,omitempty"` // 仅status=start_by_tenant时有此字段 }
type P1AppStatusChangedV6Handler ¶
type P1AppStatusChangedV6Handler struct {
// contains filtered or unexported fields
}
func NewP1AppStatusChangedV6Handler ¶
func NewP1AppStatusChangedV6Handler(handler func(context.Context, *P1AppStatusChangedV6) error) *P1AppStatusChangedV6Handler
func (*P1AppStatusChangedV6Handler) Event ¶
func (h *P1AppStatusChangedV6Handler) Event() interface{}
type P1AppUninstalledV6 ¶
type P1AppUninstalledV6 struct { *larkevent.EventReq *larkevent.EventBase Event *P1AppUninstalledV6Data `json:"event"` }
func (*P1AppUninstalledV6) RawReq ¶
func (m *P1AppUninstalledV6) RawReq(req *larkevent.EventReq)
type P1AppUninstalledV6Data ¶
type P1AppUninstalledV6Handler ¶
type P1AppUninstalledV6Handler struct {
// contains filtered or unexported fields
}
func NewP1AppUninstalledV6Handler ¶
func NewP1AppUninstalledV6Handler(handler func(context.Context, *P1AppUninstalledV6) error) *P1AppUninstalledV6Handler
func (*P1AppUninstalledV6Handler) Event ¶
func (h *P1AppUninstalledV6Handler) Event() interface{}
type P1OrderPaidV6 ¶
type P1OrderPaidV6 struct { *larkevent.EventReq *larkevent.EventBase Event *P1OrderPaidV6Data `json:"event"` }
func (*P1OrderPaidV6) RawReq ¶
func (m *P1OrderPaidV6) RawReq(req *larkevent.EventReq)
type P1OrderPaidV6Data ¶
type P1OrderPaidV6Data struct { Type string `json:"type,omitempty"` // 事件类型 AppID string `json:"app_id,omitempty"` // APP ID OrderID string `json:"order_id,omitempty"` // 用户购买付费方案时对订单ID 可作为唯一标识 PricePlanID string `json:"price_plan_id,omitempty"` // 付费方案ID PricePlanType string `json:"price_plan_type,omitempty"` // 用户购买方案类型 "trial" -试用;"permanent"-免费;"per_year"-企业年付费;"per_month"-企业月付费;"per_seat_per_year"-按人按年付费;"per_seat_per_month"-按人按月付费;"permanent_count"-按次付费 BuyCount int64 `json:"buy_count,omitempty"` // 套餐购买数量 目前都为1 Seats int64 `json:"seats,omitempty"` // 表示购买了多少人份 CreateTime string `json:"create_time,omitempty"` // PayTime string `json:"pay_time,omitempty"` // BuyType string `json:"buy_type,omitempty"` // 购买类型 buy普通购买 upgrade为升级购买 renew为续费购买 SrcOrderID string `json:"src_order_id,omitempty"` // 当前为升级购买时(buy_type 为upgrade),该字段表示原订单ID,升级后原订单失效,状态变为已升级(业务方需要处理) OrderPayPrice int64 `json:"order_pay_price,omitempty"` // 订单支付价格 单位分, TenantKey string `json:"tenant_key,omitempty"` // 企业标识 }
type P1OrderPaidV6Handler ¶
type P1OrderPaidV6Handler struct {
// contains filtered or unexported fields
}
func NewP1OrderPaidV6Handler ¶
func NewP1OrderPaidV6Handler(handler func(context.Context, *P1OrderPaidV6) error) *P1OrderPaidV6Handler
func (*P1OrderPaidV6Handler) Event ¶
func (h *P1OrderPaidV6Handler) Event() interface{}
type P2ApplicationAppVersionAuditV6 ¶
type P2ApplicationAppVersionAuditV6 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ApplicationAppVersionAuditV6Data `json:"event"` // 事件内容 }
func (*P2ApplicationAppVersionAuditV6) RawReq ¶
func (m *P2ApplicationAppVersionAuditV6) RawReq(req *larkevent.EventReq)
type P2ApplicationAppVersionAuditV6Data ¶
type P2ApplicationAppVersionAuditV6Data struct { OperatorId *UserId `json:"operator_id,omitempty"` // 通过 / 拒绝应用审核的管理员 id VersionId *string `json:"version_id,omitempty"` // 被审核的应用版本 id CreatorId *UserId `json:"creator_id,omitempty"` // 应用创建者的 id AppId *string `json:"app_id,omitempty"` // 撤回应用的 id Operation *string `json:"operation,omitempty"` // 审核通过 / 拒绝 Remark *string `json:"remark,omitempty"` // 审核信息,当审核拒绝时,管理员填写的拒绝理由 AuditSource *string `json:"audit_source,omitempty"` // 应用审核的方式 }
type P2ApplicationAppVersionAuditV6Handler ¶
type P2ApplicationAppVersionAuditV6Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ApplicationAppVersionAuditV6Handler ¶
func NewP2ApplicationAppVersionAuditV6Handler(handler func(context.Context, *P2ApplicationAppVersionAuditV6) error) *P2ApplicationAppVersionAuditV6Handler
func (*P2ApplicationAppVersionAuditV6Handler) Event ¶
func (h *P2ApplicationAppVersionAuditV6Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2ApplicationAppVersionPublishApplyV6 ¶
type P2ApplicationAppVersionPublishApplyV6 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ApplicationAppVersionPublishApplyV6Data `json:"event"` // 事件内容 }
func (*P2ApplicationAppVersionPublishApplyV6) RawReq ¶
func (m *P2ApplicationAppVersionPublishApplyV6) RawReq(req *larkevent.EventReq)
type P2ApplicationAppVersionPublishApplyV6Data ¶
type P2ApplicationAppVersionPublishApplyV6Data struct { OperatorId *UserId `json:"operator_id,omitempty"` // 用户 ID OnlineVersion *ApplicationAppVersionEvent `json:"online_version,omitempty"` // 当前线上版本信息 UnderAuditVersion *ApplicationAppVersionEvent `json:"under_audit_version,omitempty"` // 当前在审核的应用版本 AppStatus *int `json:"app_status,omitempty"` // 应用状态 }
type P2ApplicationAppVersionPublishApplyV6Handler ¶
type P2ApplicationAppVersionPublishApplyV6Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ApplicationAppVersionPublishApplyV6Handler ¶
func NewP2ApplicationAppVersionPublishApplyV6Handler(handler func(context.Context, *P2ApplicationAppVersionPublishApplyV6) error) *P2ApplicationAppVersionPublishApplyV6Handler
func (*P2ApplicationAppVersionPublishApplyV6Handler) Event ¶
func (h *P2ApplicationAppVersionPublishApplyV6Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2ApplicationAppVersionPublishRevokeV6 ¶
type P2ApplicationAppVersionPublishRevokeV6 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ApplicationAppVersionPublishRevokeV6Data `json:"event"` // 事件内容 }
func (*P2ApplicationAppVersionPublishRevokeV6) RawReq ¶
func (m *P2ApplicationAppVersionPublishRevokeV6) RawReq(req *larkevent.EventReq)
type P2ApplicationAppVersionPublishRevokeV6Handler ¶
type P2ApplicationAppVersionPublishRevokeV6Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ApplicationAppVersionPublishRevokeV6Handler ¶
func NewP2ApplicationAppVersionPublishRevokeV6Handler(handler func(context.Context, *P2ApplicationAppVersionPublishRevokeV6) error) *P2ApplicationAppVersionPublishRevokeV6Handler
func (*P2ApplicationAppVersionPublishRevokeV6Handler) Event ¶
func (h *P2ApplicationAppVersionPublishRevokeV6Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2ApplicationCreatedV6 ¶
type P2ApplicationCreatedV6 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ApplicationCreatedV6Data `json:"event"` // 事件内容 }
func (*P2ApplicationCreatedV6) RawReq ¶
func (m *P2ApplicationCreatedV6) RawReq(req *larkevent.EventReq)
type P2ApplicationCreatedV6Data ¶
type P2ApplicationCreatedV6Data struct { OperatorId *UserId `json:"operator_id,omitempty"` // 用户 ID AppId *string `json:"app_id,omitempty"` // 应用 ID Name *string `json:"name,omitempty"` // 应用名称 Description *string `json:"description,omitempty"` // 应用描述 Avatar *string `json:"avatar,omitempty"` // 应用图标链接 AppSceneType *int `json:"app_scene_type,omitempty"` // 应用类型,0: 自建应用,1: 应用商店应用 PrimaryLanguage *string `json:"primary_language,omitempty"` // 应用主语言 }
type P2ApplicationCreatedV6Handler ¶
type P2ApplicationCreatedV6Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ApplicationCreatedV6Handler ¶
func NewP2ApplicationCreatedV6Handler(handler func(context.Context, *P2ApplicationCreatedV6) error) *P2ApplicationCreatedV6Handler
func (*P2ApplicationCreatedV6Handler) Event ¶
func (h *P2ApplicationCreatedV6Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2ApplicationFeedbackCreatedV6 ¶
type P2ApplicationFeedbackCreatedV6 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ApplicationFeedbackCreatedV6Data `json:"event"` // 事件内容 }
func (*P2ApplicationFeedbackCreatedV6) RawReq ¶
func (m *P2ApplicationFeedbackCreatedV6) RawReq(req *larkevent.EventReq)
type P2ApplicationFeedbackCreatedV6Data ¶
type P2ApplicationFeedbackCreatedV6Data struct { UserId *UserId `json:"user_id,omitempty"` // 用户 ID AppId *string `json:"app_id,omitempty"` // 被反馈应用 ID FeedbackTime *string `json:"feedback_time,omitempty"` // 反馈提交时间,格式为yyyy-mm-dd hh:mm:ss TenantName *string `json:"tenant_name,omitempty"` // 反馈用户的租户名 FeedbackType *int `json:"feedback_type,omitempty"` // 反馈类型(枚举值,1:故障反馈,2:产品建议) FaultType []int `json:"fault_type,omitempty"` // 故障类型列表:1: 黑屏 2: 白屏 3: 无法打开小程序 4: 卡顿 5: 小程序闪退 6: 页面加载慢 7: 死机 8: 其他异常 FaultTime *string `json:"fault_time,omitempty"` // 故障时间,格式为yyyy-mm-dd hh:mm:ss Source *int `json:"source,omitempty"` // 反馈来源:1: 小程序 2:网页应用 3:机器人 4:webSDK Contact *string `json:"contact,omitempty"` // 用户填写的联系方式 Description *string `json:"description,omitempty"` // 反馈详情 Images []string `json:"images,omitempty"` // 反馈图片url列表,url 过期时间三天 FeedbackId *string `json:"feedback_id,omitempty"` // 应用反馈 ID,应用反馈记录唯一标识 FeedbackPath *string `json:"feedback_path,omitempty"` // 反馈页面路径 }
type P2ApplicationFeedbackCreatedV6Handler ¶
type P2ApplicationFeedbackCreatedV6Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ApplicationFeedbackCreatedV6Handler ¶
func NewP2ApplicationFeedbackCreatedV6Handler(handler func(context.Context, *P2ApplicationFeedbackCreatedV6) error) *P2ApplicationFeedbackCreatedV6Handler
func (*P2ApplicationFeedbackCreatedV6Handler) Event ¶
func (h *P2ApplicationFeedbackCreatedV6Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2ApplicationFeedbackUpdatedV6 ¶
type P2ApplicationFeedbackUpdatedV6 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ApplicationFeedbackUpdatedV6Data `json:"event"` // 事件内容 }
func (*P2ApplicationFeedbackUpdatedV6) RawReq ¶
func (m *P2ApplicationFeedbackUpdatedV6) RawReq(req *larkevent.EventReq)
type P2ApplicationFeedbackUpdatedV6Data ¶
type P2ApplicationFeedbackUpdatedV6Data struct { FeedbackIds []string `json:"feedback_ids,omitempty"` // 反馈id列表 Status *int `json:"status,omitempty"` // 反馈处理状态(枚举值,0: 未处理 1: 已处理 2: 处理中 3: 已关闭) AppId *string `json:"app_id,omitempty"` // 应用的 app_id UpdateTime *string `json:"update_time,omitempty"` // 反馈处理时间,格式为yyyy-mm-dd hh:mm:ss OperatorId *UserId `json:"operator_id,omitempty"` // 操作者用户 ID }
type P2ApplicationFeedbackUpdatedV6Handler ¶
type P2ApplicationFeedbackUpdatedV6Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ApplicationFeedbackUpdatedV6Handler ¶
func NewP2ApplicationFeedbackUpdatedV6Handler(handler func(context.Context, *P2ApplicationFeedbackUpdatedV6) error) *P2ApplicationFeedbackUpdatedV6Handler
func (*P2ApplicationFeedbackUpdatedV6Handler) Event ¶
func (h *P2ApplicationFeedbackUpdatedV6Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2ApplicationVisibilityAddedV6 ¶
type P2ApplicationVisibilityAddedV6 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2ApplicationVisibilityAddedV6Data `json:"event"` // 事件内容 }
func (*P2ApplicationVisibilityAddedV6) RawReq ¶
func (m *P2ApplicationVisibilityAddedV6) RawReq(req *larkevent.EventReq)
type P2ApplicationVisibilityAddedV6Handler ¶
type P2ApplicationVisibilityAddedV6Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2ApplicationVisibilityAddedV6Handler ¶
func NewP2ApplicationVisibilityAddedV6Handler(handler func(context.Context, *P2ApplicationVisibilityAddedV6) error) *P2ApplicationVisibilityAddedV6Handler
func (*P2ApplicationVisibilityAddedV6Handler) Event ¶
func (h *P2ApplicationVisibilityAddedV6Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type PatchApplicationAppVersionReq ¶
type PatchApplicationAppVersionReq struct { ApplicationAppVersion *ApplicationAppVersion `body:""` // contains filtered or unexported fields }
type PatchApplicationAppVersionReqBuilder ¶
type PatchApplicationAppVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchApplicationAppVersionReqBuilder ¶
func NewPatchApplicationAppVersionReqBuilder() *PatchApplicationAppVersionReqBuilder
func (*PatchApplicationAppVersionReqBuilder) AppId ¶
func (builder *PatchApplicationAppVersionReqBuilder) AppId(appId string) *PatchApplicationAppVersionReqBuilder
应用 id
示例值:cli_9f3ca975326b501b
func (*PatchApplicationAppVersionReqBuilder) ApplicationAppVersion ¶
func (builder *PatchApplicationAppVersionReqBuilder) ApplicationAppVersion(applicationAppVersion *ApplicationAppVersion) *PatchApplicationAppVersionReqBuilder
通过接口来更新应用版本的审核结果:通过后应用可以直接上架;拒绝后则开发者可以看到拒绝理由,并在修改后再次申请发布。
func (*PatchApplicationAppVersionReqBuilder) Build ¶
func (builder *PatchApplicationAppVersionReqBuilder) Build() *PatchApplicationAppVersionReq
func (*PatchApplicationAppVersionReqBuilder) OperatorId ¶
func (builder *PatchApplicationAppVersionReqBuilder) OperatorId(operatorId string) *PatchApplicationAppVersionReqBuilder
操作者的 open_id
示例值:ou_4065981088f8ef67a504ba8bd6b24d85
func (*PatchApplicationAppVersionReqBuilder) RejectReason ¶
func (builder *PatchApplicationAppVersionReqBuilder) RejectReason(rejectReason string) *PatchApplicationAppVersionReqBuilder
当修改版本状态为被驳回时,这一项必填
示例值:拒绝理由
func (*PatchApplicationAppVersionReqBuilder) UserIdType ¶
func (builder *PatchApplicationAppVersionReqBuilder) UserIdType(userIdType string) *PatchApplicationAppVersionReqBuilder
此次调用中使用的用户ID的类型
示例值:
func (*PatchApplicationAppVersionReqBuilder) VersionId ¶
func (builder *PatchApplicationAppVersionReqBuilder) VersionId(versionId string) *PatchApplicationAppVersionReqBuilder
唯一标识应用版本的 ID
示例值:oav_d317f090b7258ad0372aa53963cda70d
type PatchApplicationAppVersionResp ¶
type PatchApplicationAppVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*PatchApplicationAppVersionResp) Success ¶
func (resp *PatchApplicationAppVersionResp) Success() bool
type PatchApplicationFeedbackReq ¶
type PatchApplicationFeedbackReq struct {
// contains filtered or unexported fields
}
type PatchApplicationFeedbackReqBuilder ¶
type PatchApplicationFeedbackReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchApplicationFeedbackReqBuilder ¶
func NewPatchApplicationFeedbackReqBuilder() *PatchApplicationFeedbackReqBuilder
func (*PatchApplicationFeedbackReqBuilder) AppId ¶
func (builder *PatchApplicationFeedbackReqBuilder) AppId(appId string) *PatchApplicationFeedbackReqBuilder
目标应用 ID(本租户创建的所有应用)
示例值:cli_9f115af860f7901b
func (*PatchApplicationFeedbackReqBuilder) Build ¶
func (builder *PatchApplicationFeedbackReqBuilder) Build() *PatchApplicationFeedbackReq
func (*PatchApplicationFeedbackReqBuilder) FeedbackId ¶
func (builder *PatchApplicationFeedbackReqBuilder) FeedbackId(feedbackId string) *PatchApplicationFeedbackReqBuilder
应用反馈记录id
示例值:7057888018203574291
func (*PatchApplicationFeedbackReqBuilder) OperatorId ¶
func (builder *PatchApplicationFeedbackReqBuilder) OperatorId(operatorId string) *PatchApplicationFeedbackReqBuilder
反馈处理人员id,租户内用户的唯一标识, ID值与查询参数中的user_id_type 对应
示例值:ou_9565b69967831233761cc2f11b4c089f
func (*PatchApplicationFeedbackReqBuilder) Status ¶
func (builder *PatchApplicationFeedbackReqBuilder) Status(status int) *PatchApplicationFeedbackReqBuilder
反馈处理状态
示例值:1
func (*PatchApplicationFeedbackReqBuilder) UserIdType ¶
func (builder *PatchApplicationFeedbackReqBuilder) UserIdType(userIdType string) *PatchApplicationFeedbackReqBuilder
示例值:open_id
type PatchApplicationFeedbackResp ¶
type PatchApplicationFeedbackResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*PatchApplicationFeedbackResp) Success ¶
func (resp *PatchApplicationFeedbackResp) Success() bool
type PatchApplicationReq ¶
type PatchApplicationReq struct { Application *Application `body:""` // contains filtered or unexported fields }
type PatchApplicationReqBuilder ¶
type PatchApplicationReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchApplicationReqBuilder ¶
func NewPatchApplicationReqBuilder() *PatchApplicationReqBuilder
func (*PatchApplicationReqBuilder) AppId ¶
func (builder *PatchApplicationReqBuilder) AppId(appId string) *PatchApplicationReqBuilder
应用的 id
示例值:cli_9b445f5258795107
func (*PatchApplicationReqBuilder) Application ¶
func (builder *PatchApplicationReqBuilder) Application(application *Application) *PatchApplicationReqBuilder
更新应用的分组信息(分组会影响应用在工作台中的分类情况,请谨慎更新)
func (*PatchApplicationReqBuilder) Build ¶
func (builder *PatchApplicationReqBuilder) Build() *PatchApplicationReq
func (*PatchApplicationReqBuilder) Lang ¶
func (builder *PatchApplicationReqBuilder) Lang(lang string) *PatchApplicationReqBuilder
指定返回的语言
示例值:zh_cn
type PatchApplicationResp ¶
type PatchApplicationResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*PatchApplicationResp) Success ¶
func (resp *PatchApplicationResp) Success() bool
type PlusMenuBuilder ¶
type PlusMenuBuilder struct {
// contains filtered or unexported fields
}
func NewPlusMenuBuilder ¶
func NewPlusMenuBuilder() *PlusMenuBuilder
func (*PlusMenuBuilder) Build ¶
func (builder *PlusMenuBuilder) Build() *PlusMenu
func (*PlusMenuBuilder) MobileAppLink ¶
func (builder *PlusMenuBuilder) MobileAppLink(mobileAppLink string) *PlusMenuBuilder
移动端链接
func (*PlusMenuBuilder) PcAppLink ¶
func (builder *PlusMenuBuilder) PcAppLink(pcAppLink string) *PlusMenuBuilder
pc 端链接
type ScopeBuilder ¶
type ScopeBuilder struct {
// contains filtered or unexported fields
}
func NewScopeBuilder ¶
func NewScopeBuilder() *ScopeBuilder
func (*ScopeBuilder) Build ¶
func (builder *ScopeBuilder) Build() *Scope
func (*ScopeBuilder) GrantStatus ¶
func (builder *ScopeBuilder) GrantStatus(grantStatus int) *ScopeBuilder
租户应用权限授予状态
示例值:
func (*ScopeBuilder) ScopeName ¶
func (builder *ScopeBuilder) ScopeName(scopeName string) *ScopeBuilder
权限名称,形如 user.phone:readonly
示例值:
type UnderauditlistApplicationIterator ¶
type UnderauditlistApplicationIterator struct {
// contains filtered or unexported fields
}
func (*UnderauditlistApplicationIterator) Next ¶
func (iterator *UnderauditlistApplicationIterator) Next() (bool, *Application, error)
func (*UnderauditlistApplicationIterator) NextPageToken ¶
func (iterator *UnderauditlistApplicationIterator) NextPageToken() *string
type UnderauditlistApplicationReq ¶
type UnderauditlistApplicationReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type UnderauditlistApplicationReqBuilder ¶
type UnderauditlistApplicationReqBuilder struct {
// contains filtered or unexported fields
}
func NewUnderauditlistApplicationReqBuilder ¶
func NewUnderauditlistApplicationReqBuilder() *UnderauditlistApplicationReqBuilder
func (*UnderauditlistApplicationReqBuilder) Build ¶
func (builder *UnderauditlistApplicationReqBuilder) Build() *UnderauditlistApplicationReq
func (*UnderauditlistApplicationReqBuilder) Lang ¶
func (builder *UnderauditlistApplicationReqBuilder) Lang(lang string) *UnderauditlistApplicationReqBuilder
指定返回的语言
示例值:zh_cn
func (*UnderauditlistApplicationReqBuilder) Limit ¶
func (builder *UnderauditlistApplicationReqBuilder) Limit(limit int) *UnderauditlistApplicationReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*UnderauditlistApplicationReqBuilder) PageSize ¶
func (builder *UnderauditlistApplicationReqBuilder) PageSize(pageSize int) *UnderauditlistApplicationReqBuilder
示例值:10
func (*UnderauditlistApplicationReqBuilder) PageToken ¶
func (builder *UnderauditlistApplicationReqBuilder) PageToken(pageToken string) *UnderauditlistApplicationReqBuilder
示例值:new-e3c5a0627cdf0c2e057da7257b90376a
func (*UnderauditlistApplicationReqBuilder) UserIdType ¶
func (builder *UnderauditlistApplicationReqBuilder) UserIdType(userIdType string) *UnderauditlistApplicationReqBuilder
此次调用中使用的用户ID的类型
示例值:
type UnderauditlistApplicationResp ¶
type UnderauditlistApplicationResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UnderauditlistApplicationRespData `json:"data"` // 业务数据 }
func (*UnderauditlistApplicationResp) Success ¶
func (resp *UnderauditlistApplicationResp) Success() bool
type UnderauditlistApplicationRespData ¶
type UnderauditlistApplicationRespData struct { Items []*Application `json:"items,omitempty"` // 待审核应用列表 HasMore *bool `json:"has_more,omitempty"` // 是否有下一页数据 PageToken *string `json:"page_token,omitempty"` // 下一页分页的token }
type UsageOverviewItem ¶
type UsageOverviewItemBuilder ¶
type UsageOverviewItemBuilder struct {
// contains filtered or unexported fields
}
func NewUsageOverviewItemBuilder ¶
func NewUsageOverviewItemBuilder() *UsageOverviewItemBuilder
func (*UsageOverviewItemBuilder) Build ¶
func (builder *UsageOverviewItemBuilder) Build() *UsageOverviewItem
func (*UsageOverviewItemBuilder) DepartmentId ¶
func (builder *UsageOverviewItemBuilder) DepartmentId(departmentId string) *UsageOverviewItemBuilder
部门号
示例值:
func (*UsageOverviewItemBuilder) PageView ¶
func (builder *UsageOverviewItemBuilder) PageView(pageView string) *UsageOverviewItemBuilder
应用使用pv
示例值:
func (*UsageOverviewItemBuilder) UniqueVisitor ¶
func (builder *UsageOverviewItemBuilder) UniqueVisitor(uniqueVisitor string) *UsageOverviewItemBuilder
应用使用uv
示例值:
type UsageTrendItem ¶
type UsageTrendItemBuilder ¶
type UsageTrendItemBuilder struct {
// contains filtered or unexported fields
}
func NewUsageTrendItemBuilder ¶
func NewUsageTrendItemBuilder() *UsageTrendItemBuilder
func (*UsageTrendItemBuilder) Build ¶
func (builder *UsageTrendItemBuilder) Build() *UsageTrendItem
func (*UsageTrendItemBuilder) PageView ¶
func (builder *UsageTrendItemBuilder) PageView(pageView string) *UsageTrendItemBuilder
应用使用pv
示例值:
func (*UsageTrendItemBuilder) Timestamp ¶
func (builder *UsageTrendItemBuilder) Timestamp(timestamp string) *UsageTrendItemBuilder
时间戳
示例值:
func (*UsageTrendItemBuilder) UniqueVisitor ¶
func (builder *UsageTrendItemBuilder) UniqueVisitor(uniqueVisitor string) *UsageTrendItemBuilder
应用使用uv
示例值:
type UsageUserBuilder ¶
type UsageUserBuilder struct {
// contains filtered or unexported fields
}
func NewUsageUserBuilder ¶
func NewUsageUserBuilder() *UsageUserBuilder
func (*UsageUserBuilder) Build ¶
func (builder *UsageUserBuilder) Build() *UsageUser
func (*UsageUserBuilder) UserId ¶
func (builder *UsageUserBuilder) UserId(userId string) *UsageUserBuilder
用户id
示例值:
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) UserId ¶
func (builder *UserBuilder) UserId(userId *UserId) *UserBuilder
user_id
示例值:
type UserIdBuilder ¶
type UserIdBuilder struct {
// contains filtered or unexported fields
}
func NewUserIdBuilder ¶
func NewUserIdBuilder() *UserIdBuilder
func (*UserIdBuilder) Build ¶
func (builder *UserIdBuilder) Build() *UserId
func (*UserIdBuilder) OpenId ¶
func (builder *UserIdBuilder) OpenId(openId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UnionId ¶
func (builder *UserIdBuilder) UnionId(unionId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UserId ¶
func (builder *UserIdBuilder) UserId(userId string) *UserIdBuilder
示例值:
type WebAppBuilder ¶
type WebAppBuilder struct {
// contains filtered or unexported fields
}
func NewWebAppBuilder ¶
func NewWebAppBuilder() *WebAppBuilder
func (*WebAppBuilder) Build ¶
func (builder *WebAppBuilder) Build() *WebApp
func (*WebAppBuilder) MobileUrl ¶
func (builder *WebAppBuilder) MobileUrl(mobileUrl string) *WebAppBuilder
移动端 url
func (*WebAppBuilder) PcUrl ¶
func (builder *WebAppBuilder) PcUrl(pcUrl string) *WebAppBuilder
pc 端 url
type WorkplaceWidget ¶
type WorkplaceWidget struct {
MinLarkVersion *string `json:"min_lark_version,omitempty"` // 最低兼容飞书版本号
}
type WorkplaceWidgetBuilder ¶
type WorkplaceWidgetBuilder struct {
// contains filtered or unexported fields
}
func NewWorkplaceWidgetBuilder ¶
func NewWorkplaceWidgetBuilder() *WorkplaceWidgetBuilder
func (*WorkplaceWidgetBuilder) Build ¶
func (builder *WorkplaceWidgetBuilder) Build() *WorkplaceWidget
func (*WorkplaceWidgetBuilder) MinLarkVersion ¶
func (builder *WorkplaceWidgetBuilder) MinLarkVersion(minLarkVersion string) *WorkplaceWidgetBuilder
最低兼容飞书版本号
示例值:1.0.0