Documentation ¶
Index ¶
- Constants
- type Accessibility
- type AccessibilityBuilder
- type AppAbility
- type AppAbilityBot
- type AppAbilityBotBuilder
- func (builder *AppAbilityBotBuilder) Build() *AppAbilityBot
- func (builder *AppAbilityBotBuilder) Enable(enable bool) *AppAbilityBotBuilder
- func (builder *AppAbilityBotBuilder) I18ns(i18ns []*AppAbilityBotI18n) *AppAbilityBotBuilder
- func (builder *AppAbilityBotBuilder) MessageCardCallbackUrl(messageCardCallbackUrl string) *AppAbilityBotBuilder
- type AppAbilityBotI18n
- type AppAbilityBotI18nBuilder
- 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 AppAbilityWeb
- type AppAbilityWebBuilder
- func (builder *AppAbilityWebBuilder) Build() *AppAbilityWeb
- func (builder *AppAbilityWebBuilder) Enable(enable bool) *AppAbilityWebBuilder
- func (builder *AppAbilityWebBuilder) MobileUrl(mobileUrl string) *AppAbilityWebBuilder
- func (builder *AppAbilityWebBuilder) PcNewPageOpenMode(pcNewPageOpenMode string) *AppAbilityWebBuilder
- func (builder *AppAbilityWebBuilder) PcUrl(pcUrl string) *AppAbilityWebBuilder
- 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 AppCollaborator
- type AppCollaboratorBuilder
- type AppCommonCategory
- type AppCommonCategoryBuilder
- type AppConfigContactsRange
- type AppConfigContactsRangeBuilder
- func (builder *AppConfigContactsRangeBuilder) Build() *AppConfigContactsRange
- func (builder *AppConfigContactsRangeBuilder) ContactsRangeType(contactsRangeType string) *AppConfigContactsRangeBuilder
- func (builder *AppConfigContactsRangeBuilder) VisibleList(visibleList *AppContactsRangeIdList) *AppConfigContactsRangeBuilder
- type AppConfigEvent
- type AppConfigEventBuilder
- func (builder *AppConfigEventBuilder) AddEvents(addEvents []string) *AppConfigEventBuilder
- func (builder *AppConfigEventBuilder) Build() *AppConfigEvent
- func (builder *AppConfigEventBuilder) RemoveEvents(removeEvents []string) *AppConfigEventBuilder
- func (builder *AppConfigEventBuilder) RequestUrl(requestUrl string) *AppConfigEventBuilder
- func (builder *AppConfigEventBuilder) SubscriptionType(subscriptionType string) *AppConfigEventBuilder
- type AppConfigScope
- type AppConfigScopeBuilder
- type AppConfigScopeItem
- type AppConfigScopeItemBuilder
- type AppConfigSecurity
- type AppConfigSecurityBuilder
- type AppConfigSecurityItem
- type AppConfigSecurityItemBuilder
- func (builder *AppConfigSecurityItemBuilder) AllowedIps(allowedIps []string) *AppConfigSecurityItemBuilder
- func (builder *AppConfigSecurityItemBuilder) AllowedSchemas(allowedSchemas []string) *AppConfigSecurityItemBuilder
- func (builder *AppConfigSecurityItemBuilder) AllowedServerDomains(allowedServerDomains []string) *AppConfigSecurityItemBuilder
- func (builder *AppConfigSecurityItemBuilder) Build() *AppConfigSecurityItem
- func (builder *AppConfigSecurityItemBuilder) H5TrustedDomains(h5TrustedDomains []string) *AppConfigSecurityItemBuilder
- func (builder *AppConfigSecurityItemBuilder) RedirectUrls(redirectUrls []string) *AppConfigSecurityItemBuilder
- func (builder *AppConfigSecurityItemBuilder) WebViewTrustedDomains(webViewTrustedDomains []string) *AppConfigSecurityItemBuilder
- type AppConfigVisibility
- type AppConfigVisibilityBuilder
- type AppContactsRangeIdList
- type AppContactsRangeIdListBuilder
- func (builder *AppContactsRangeIdListBuilder) Build() *AppContactsRangeIdList
- func (builder *AppContactsRangeIdListBuilder) DepartmentIds(departmentIds []string) *AppContactsRangeIdListBuilder
- func (builder *AppContactsRangeIdListBuilder) GroupIds(groupIds []string) *AppContactsRangeIdListBuilder
- func (builder *AppContactsRangeIdListBuilder) UserIds(userIds []string) *AppContactsRangeIdListBuilder
- 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 AppVisibilityIdList
- type AppVisibilityIdListBuilder
- func (builder *AppVisibilityIdListBuilder) Build() *AppVisibilityIdList
- func (builder *AppVisibilityIdListBuilder) DepartmentIds(departmentIds []string) *AppVisibilityIdListBuilder
- func (builder *AppVisibilityIdListBuilder) GroupIds(groupIds []string) *AppVisibilityIdListBuilder
- func (builder *AppVisibilityIdListBuilder) UserIds(userIds []string) *AppVisibilityIdListBuilder
- 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
- func (builder *AppVisibleListBuilder) Build() *AppVisibleList
- func (builder *AppVisibleListBuilder) DepartmentIds(departmentIds []string) *AppVisibleListBuilder
- func (builder *AppVisibleListBuilder) GroupIds(groupIds []string) *AppVisibleListBuilder
- func (builder *AppVisibleListBuilder) OpenIds(openIds []string) *AppVisibleListBuilder
- type AppVisibleListEvent
- type AppVisibleListEventBuilder
- type Application
- type ApplicationAppContactsRange
- type ApplicationAppContactsRangeBuilder
- func (builder *ApplicationAppContactsRangeBuilder) Build() *ApplicationAppContactsRange
- func (builder *ApplicationAppContactsRangeBuilder) ContactsScopeType(contactsScopeType string) *ApplicationAppContactsRangeBuilder
- func (builder *ApplicationAppContactsRangeBuilder) VisibleList(visibleList *AppVisibleList) *ApplicationAppContactsRangeBuilder
- 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) EventInfos(eventInfos []*Event) *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) CreateSource(createSource 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) MobileDefaultAbility(mobileDefaultAbility string) *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) PcDefaultAbility(pcDefaultAbility string) *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) CustomerServiceAccount(customerServiceAccount string) *ApplicationEventOwnerBuilder
- func (builder *ApplicationEventOwnerBuilder) Email(email string) *ApplicationEventOwnerBuilder
- func (builder *ApplicationEventOwnerBuilder) HelpDesk(helpDesk string) *ApplicationEventOwnerBuilder
- func (builder *ApplicationEventOwnerBuilder) Name(name string) *ApplicationEventOwnerBuilder
- func (builder *ApplicationEventOwnerBuilder) OwnerId(ownerId *UserId) *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) CustomerServiceAccount(customerServiceAccount string) *ApplicationOwnerBuilder
- 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 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 ApplicationVisibilityDepartmentWhiteBlackInfo
- type ApplicationVisibilityDepartmentWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) Build() *ApplicationVisibilityDepartmentWhiteBlackInfo
- func (builder *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) DepartmentId(departmentId string) *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) InBlackList(inBlackList bool) *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) InWhiteList(inWhiteList bool) *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder
- type ApplicationVisibilityGroupWhiteBlackInfo
- type ApplicationVisibilityGroupWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityGroupWhiteBlackInfoBuilder) Build() *ApplicationVisibilityGroupWhiteBlackInfo
- func (builder *ApplicationVisibilityGroupWhiteBlackInfoBuilder) GroupId(groupId string) *ApplicationVisibilityGroupWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityGroupWhiteBlackInfoBuilder) InBlackList(inBlackList bool) *ApplicationVisibilityGroupWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityGroupWhiteBlackInfoBuilder) InWhiteList(inWhiteList bool) *ApplicationVisibilityGroupWhiteBlackInfoBuilder
- type ApplicationVisibilityUserWhiteBlackInfo
- type ApplicationVisibilityUserWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) Build() *ApplicationVisibilityUserWhiteBlackInfo
- func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) InBlackList(inBlackList bool) *ApplicationVisibilityUserWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) InPaidList(inPaidList bool) *ApplicationVisibilityUserWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) InWhiteList(inWhiteList bool) *ApplicationVisibilityUserWhiteBlackInfoBuilder
- func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) UserId(userId string) *ApplicationVisibilityUserWhiteBlackInfoBuilder
- 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 CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) Build() (*CheckWhiteBlackListApplicationVisibilityReqBody, error)
- func (builder *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) DepartmentIds(departmentIds []string) *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) GroupIds(groupIds []string) *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) UserIds(userIds []string) *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder
- type CheckWhiteBlackListApplicationVisibilityReq
- type CheckWhiteBlackListApplicationVisibilityReqBody
- type CheckWhiteBlackListApplicationVisibilityReqBodyBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) Build() *CheckWhiteBlackListApplicationVisibilityReqBody
- func (builder *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) DepartmentIds(departmentIds []string) *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) GroupIds(groupIds []string) *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) UserIds(userIds []string) *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder
- type CheckWhiteBlackListApplicationVisibilityReqBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityReqBuilder) AppId(appId string) *CheckWhiteBlackListApplicationVisibilityReqBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityReqBuilder) Body(body *CheckWhiteBlackListApplicationVisibilityReqBody) *CheckWhiteBlackListApplicationVisibilityReqBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityReqBuilder) Build() *CheckWhiteBlackListApplicationVisibilityReq
- func (builder *CheckWhiteBlackListApplicationVisibilityReqBuilder) DepartmentIdType(departmentIdType string) *CheckWhiteBlackListApplicationVisibilityReqBuilder
- func (builder *CheckWhiteBlackListApplicationVisibilityReqBuilder) UserIdType(userIdType string) *CheckWhiteBlackListApplicationVisibilityReqBuilder
- type CheckWhiteBlackListApplicationVisibilityResp
- type CheckWhiteBlackListApplicationVisibilityRespData
- 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 ContactsRangeConfigurationApplicationReq
- type ContactsRangeConfigurationApplicationReqBuilder
- func (builder *ContactsRangeConfigurationApplicationReqBuilder) AppId(appId string) *ContactsRangeConfigurationApplicationReqBuilder
- func (builder *ContactsRangeConfigurationApplicationReqBuilder) Build() *ContactsRangeConfigurationApplicationReq
- func (builder *ContactsRangeConfigurationApplicationReqBuilder) DepartmentIdType(departmentIdType string) *ContactsRangeConfigurationApplicationReqBuilder
- func (builder *ContactsRangeConfigurationApplicationReqBuilder) PageSize(pageSize int) *ContactsRangeConfigurationApplicationReqBuilder
- func (builder *ContactsRangeConfigurationApplicationReqBuilder) PageToken(pageToken string) *ContactsRangeConfigurationApplicationReqBuilder
- func (builder *ContactsRangeConfigurationApplicationReqBuilder) UserIdType(userIdType string) *ContactsRangeConfigurationApplicationReqBuilder
- type ContactsRangeConfigurationApplicationResp
- type ContactsRangeConfigurationApplicationRespData
- type ContactsRangeSuggestApplicationAppVersionReq
- type ContactsRangeSuggestApplicationAppVersionReqBuilder
- func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) AppId(appId string) *ContactsRangeSuggestApplicationAppVersionReqBuilder
- func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) Build() *ContactsRangeSuggestApplicationAppVersionReq
- func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) DepartmentIdType(departmentIdType string) *ContactsRangeSuggestApplicationAppVersionReqBuilder
- func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) UserIdType(userIdType string) *ContactsRangeSuggestApplicationAppVersionReqBuilder
- func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) VersionId(versionId string) *ContactsRangeSuggestApplicationAppVersionReqBuilder
- type ContactsRangeSuggestApplicationAppVersionResp
- type ContactsRangeSuggestApplicationAppVersionRespData
- type DepartmentId
- type DepartmentIdBuilder
- type DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) Build() (*DepartmentOverviewApplicationAppUsageReqBody, error)
- func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) CycleType(cycleType int) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) Date(date string) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId(departmentId string) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) PageSize(pageSize int) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) PageToken(pageToken string) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) Recursion(recursion int) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
- type DepartmentOverviewApplicationAppUsageReq
- type DepartmentOverviewApplicationAppUsageReqBody
- type DepartmentOverviewApplicationAppUsageReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) Build() *DepartmentOverviewApplicationAppUsageReqBody
- func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) CycleType(cycleType int) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) Date(date string) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) DepartmentId(departmentId string) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) PageSize(pageSize int) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) PageToken(pageToken string) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
- func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) Recursion(recursion int) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
- type DepartmentOverviewApplicationAppUsageReqBuilder
- func (builder *DepartmentOverviewApplicationAppUsageReqBuilder) AppId(appId string) *DepartmentOverviewApplicationAppUsageReqBuilder
- func (builder *DepartmentOverviewApplicationAppUsageReqBuilder) Body(body *DepartmentOverviewApplicationAppUsageReqBody) *DepartmentOverviewApplicationAppUsageReqBuilder
- func (builder *DepartmentOverviewApplicationAppUsageReqBuilder) Build() *DepartmentOverviewApplicationAppUsageReq
- func (builder *DepartmentOverviewApplicationAppUsageReqBuilder) DepartmentIdType(departmentIdType string) *DepartmentOverviewApplicationAppUsageReqBuilder
- type DepartmentOverviewApplicationAppUsageResp
- type DepartmentOverviewApplicationAppUsageRespData
- 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 Event
- type EventAndCallbackEncryptStrategy
- type EventAndCallbackEncryptStrategyBuilder
- func (builder *EventAndCallbackEncryptStrategyBuilder) Build() *EventAndCallbackEncryptStrategy
- func (builder *EventAndCallbackEncryptStrategyBuilder) EncryptionKey(encryptionKey string) *EventAndCallbackEncryptStrategyBuilder
- func (builder *EventAndCallbackEncryptStrategyBuilder) VerificationToken(verificationToken string) *EventAndCallbackEncryptStrategyBuilder
- type EventBuilder
- 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 MessagePushOverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) Build() (*MessagePushOverviewApplicationAppUsageReqBody, error)
- func (builder *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) CycleType(cycleType int) *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) Date(date string) *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder
- func (builder *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId(departmentId string) *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder
- type MessagePushOverviewApplicationAppUsageReq
- type MessagePushOverviewApplicationAppUsageReqBody
- type MessagePushOverviewApplicationAppUsageReqBodyBuilder
- func (builder *MessagePushOverviewApplicationAppUsageReqBodyBuilder) Build() *MessagePushOverviewApplicationAppUsageReqBody
- func (builder *MessagePushOverviewApplicationAppUsageReqBodyBuilder) CycleType(cycleType int) *MessagePushOverviewApplicationAppUsageReqBodyBuilder
- func (builder *MessagePushOverviewApplicationAppUsageReqBodyBuilder) Date(date string) *MessagePushOverviewApplicationAppUsageReqBodyBuilder
- func (builder *MessagePushOverviewApplicationAppUsageReqBodyBuilder) DepartmentId(departmentId string) *MessagePushOverviewApplicationAppUsageReqBodyBuilder
- type MessagePushOverviewApplicationAppUsageReqBuilder
- func (builder *MessagePushOverviewApplicationAppUsageReqBuilder) AppId(appId string) *MessagePushOverviewApplicationAppUsageReqBuilder
- func (builder *MessagePushOverviewApplicationAppUsageReqBuilder) Body(body *MessagePushOverviewApplicationAppUsageReqBody) *MessagePushOverviewApplicationAppUsageReqBuilder
- func (builder *MessagePushOverviewApplicationAppUsageReqBuilder) Build() *MessagePushOverviewApplicationAppUsageReq
- func (builder *MessagePushOverviewApplicationAppUsageReqBuilder) DepartmentIdType(departmentIdType string) *MessagePushOverviewApplicationAppUsageReqBuilder
- type MessagePushOverviewApplicationAppUsageResp
- type MessagePushOverviewApplicationAppUsageRespData
- 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 OpenapiOption
- type OpenapiOptionBuilder
- func (builder *OpenapiOptionBuilder) Accessibility(accessibility *Accessibility) *OpenapiOptionBuilder
- func (builder *OpenapiOptionBuilder) Build() *OpenapiOption
- func (builder *OpenapiOptionBuilder) HttpMethod(httpMethod string) *OpenapiOptionBuilder
- func (builder *OpenapiOptionBuilder) UrlPattern(urlPattern string) *OpenapiOptionBuilder
- type Operator
- type OperatorBuilder
- 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 P2BotMenuV6
- type P2BotMenuV6Data
- type P2BotMenuV6Handler
- 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 PatchApplicationContactsRangePathReqBodyBuilder
- func (builder *PatchApplicationContactsRangePathReqBodyBuilder) AddVisibleList(addVisibleList *AppContactsRangeIdList) *PatchApplicationContactsRangePathReqBodyBuilder
- func (builder *PatchApplicationContactsRangePathReqBodyBuilder) Build() (*PatchApplicationContactsRangeReqBody, error)
- func (builder *PatchApplicationContactsRangePathReqBodyBuilder) ContactsRangeType(contactsRangeType string) *PatchApplicationContactsRangePathReqBodyBuilder
- func (builder *PatchApplicationContactsRangePathReqBodyBuilder) DelVisibleList(delVisibleList *AppContactsRangeIdList) *PatchApplicationContactsRangePathReqBodyBuilder
- type PatchApplicationContactsRangeReq
- type PatchApplicationContactsRangeReqBody
- type PatchApplicationContactsRangeReqBodyBuilder
- func (builder *PatchApplicationContactsRangeReqBodyBuilder) AddVisibleList(addVisibleList *AppContactsRangeIdList) *PatchApplicationContactsRangeReqBodyBuilder
- func (builder *PatchApplicationContactsRangeReqBodyBuilder) Build() *PatchApplicationContactsRangeReqBody
- func (builder *PatchApplicationContactsRangeReqBodyBuilder) ContactsRangeType(contactsRangeType string) *PatchApplicationContactsRangeReqBodyBuilder
- func (builder *PatchApplicationContactsRangeReqBodyBuilder) DelVisibleList(delVisibleList *AppContactsRangeIdList) *PatchApplicationContactsRangeReqBodyBuilder
- type PatchApplicationContactsRangeReqBuilder
- func (builder *PatchApplicationContactsRangeReqBuilder) AppId(appId string) *PatchApplicationContactsRangeReqBuilder
- func (builder *PatchApplicationContactsRangeReqBuilder) Body(body *PatchApplicationContactsRangeReqBody) *PatchApplicationContactsRangeReqBuilder
- func (builder *PatchApplicationContactsRangeReqBuilder) Build() *PatchApplicationContactsRangeReq
- func (builder *PatchApplicationContactsRangeReqBuilder) DepartmentIdType(departmentIdType string) *PatchApplicationContactsRangeReqBuilder
- func (builder *PatchApplicationContactsRangeReqBuilder) UserIdType(userIdType string) *PatchApplicationContactsRangeReqBuilder
- type PatchApplicationContactsRangeResp
- 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 PatchApplicationVisibilityPathReqBodyBuilder
- func (builder *PatchApplicationVisibilityPathReqBodyBuilder) AddInvisibleList(addInvisibleList *AppVisibilityIdList) *PatchApplicationVisibilityPathReqBodyBuilder
- func (builder *PatchApplicationVisibilityPathReqBodyBuilder) AddVisibleList(addVisibleList *AppVisibilityIdList) *PatchApplicationVisibilityPathReqBodyBuilder
- func (builder *PatchApplicationVisibilityPathReqBodyBuilder) Build() (*PatchApplicationVisibilityReqBody, error)
- func (builder *PatchApplicationVisibilityPathReqBodyBuilder) DelInvisibleList(delInvisibleList *AppVisibilityIdList) *PatchApplicationVisibilityPathReqBodyBuilder
- func (builder *PatchApplicationVisibilityPathReqBodyBuilder) DelVisibleList(delVisibleList *AppVisibilityIdList) *PatchApplicationVisibilityPathReqBodyBuilder
- func (builder *PatchApplicationVisibilityPathReqBodyBuilder) IsVisibleToAll(isVisibleToAll bool) *PatchApplicationVisibilityPathReqBodyBuilder
- type PatchApplicationVisibilityReq
- type PatchApplicationVisibilityReqBody
- type PatchApplicationVisibilityReqBodyBuilder
- func (builder *PatchApplicationVisibilityReqBodyBuilder) AddInvisibleList(addInvisibleList *AppVisibilityIdList) *PatchApplicationVisibilityReqBodyBuilder
- func (builder *PatchApplicationVisibilityReqBodyBuilder) AddVisibleList(addVisibleList *AppVisibilityIdList) *PatchApplicationVisibilityReqBodyBuilder
- func (builder *PatchApplicationVisibilityReqBodyBuilder) Build() *PatchApplicationVisibilityReqBody
- func (builder *PatchApplicationVisibilityReqBodyBuilder) DelInvisibleList(delInvisibleList *AppVisibilityIdList) *PatchApplicationVisibilityReqBodyBuilder
- func (builder *PatchApplicationVisibilityReqBodyBuilder) DelVisibleList(delVisibleList *AppVisibilityIdList) *PatchApplicationVisibilityReqBodyBuilder
- func (builder *PatchApplicationVisibilityReqBodyBuilder) IsVisibleToAll(isVisibleToAll bool) *PatchApplicationVisibilityReqBodyBuilder
- type PatchApplicationVisibilityReqBuilder
- func (builder *PatchApplicationVisibilityReqBuilder) AppId(appId string) *PatchApplicationVisibilityReqBuilder
- func (builder *PatchApplicationVisibilityReqBuilder) Body(body *PatchApplicationVisibilityReqBody) *PatchApplicationVisibilityReqBuilder
- func (builder *PatchApplicationVisibilityReqBuilder) Build() *PatchApplicationVisibilityReq
- func (builder *PatchApplicationVisibilityReqBuilder) DepartmentIdType(departmentIdType string) *PatchApplicationVisibilityReqBuilder
- func (builder *PatchApplicationVisibilityReqBuilder) UserIdType(userIdType string) *PatchApplicationVisibilityReqBuilder
- type PatchApplicationVisibilityResp
- type PlusMenu
- type PlusMenuBuilder
- type Scope
- type ScopeBuilder
- type SetAppBadgeReq
- type SetAppBadgeReqBuilder
- type SetAppBadgeResp
- 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 UpdateApplicationManagementPathReqBodyBuilder
- type UpdateApplicationManagementReq
- type UpdateApplicationManagementReqBody
- type UpdateApplicationManagementReqBodyBuilder
- type UpdateApplicationManagementReqBuilder
- func (builder *UpdateApplicationManagementReqBuilder) AppId(appId string) *UpdateApplicationManagementReqBuilder
- func (builder *UpdateApplicationManagementReqBuilder) Body(body *UpdateApplicationManagementReqBody) *UpdateApplicationManagementReqBuilder
- func (builder *UpdateApplicationManagementReqBuilder) Build() *UpdateApplicationManagementReq
- type UpdateApplicationManagementResp
- 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 V6
- 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 ( UserIdTypeListAppRecommendRuleUserId = "user_id" // 以user_id来识别用户 UserIdTypeListAppRecommendRuleUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListAppRecommendRuleOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeContactsRangeConfigurationApplicationUserId = "user_id" // 以user_id来识别用户 UserIdTypeContactsRangeConfigurationApplicationUnionId = "union_id" // 以union_id来识别用户 UserIdTypeContactsRangeConfigurationApplicationOpenId = "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 ( DepartmentIdTypeDepartmentOverviewApplicationAppUsageDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeDepartmentOverviewApplicationAppUsageOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( MessagePushOverviewApplicationAppUsageCycleTypeDay = 1 // 日活 MessagePushOverviewApplicationAppUsageCycleTypeWeek = 2 // 周活, date字段应该填自然周周一的日期 MessagePushOverviewApplicationAppUsageCycleTypeMonth = 3 // 月活, date字段应该填自然月1号的日期 )
const ( MessagePushOverviewApplicationAppUsageDepartmentIdTypeDepartmentId = "department_id" // 以自定义department_id来标识部门 MessagePushOverviewApplicationAppUsageDepartmentIdTypeOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( CycleTypeOverviewApplicationAppUsageDay = 1 // 日活 CycleTypeOverviewApplicationAppUsageWeek = 2 // 周活, date字段应该填自然周周一的日期 CycleTypeOverviewApplicationAppUsageMonth = 3 // 月活, date字段应该填自然月1号的日期 )
const ( AbilityApp = "app" // 返回应用整体的数据 AbilityMp = "mp" // 返回小程序的数据 AbilityH5 = "h5" // 返回网页的数据 AbilityBot = "bot" // 返回机器人的数据 )
const ( DepartmentIdTypeOverviewApplicationAppUsageDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeOverviewApplicationAppUsageOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( DepartmentIdTypeContactsRangeSuggestApplicationAppVersionDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeContactsRangeSuggestApplicationAppVersionOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeContactsRangeSuggestApplicationAppVersionUserId = "user_id" // 以user_id来识别用户 UserIdTypeContactsRangeSuggestApplicationAppVersionUnionId = "union_id" // 以union_id来识别用户 UserIdTypeContactsRangeSuggestApplicationAppVersionOpenId = "open_id" // 以open_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 ( ContactsRangeTypeEqualToAvailability = "equal_to_availability" // 与应用可用范围一致 ContactsRangeTypeSome = "some" // 修改部分成员 ContactsRangeTypeAll = "all" // 全部成员范围 )
const ( UserIdTypePatchApplicationContactsRangeOpenId = "open_id" // 以open_id 标识成员 UserIdTypePatchApplicationContactsRangeUserId = "user_id" // 以user_id 标识用户 UserIdTypePatchApplicationContactsRangeUnionId = "union_id" // 以union_id 标识用户 )
const ( DepartmentIdTypePatchApplicationContactsRangeOpenDepartmentId = "open_department_id" // 以open_department_id标识部门 DepartmentIdTypePatchApplicationContactsRangeDepartmentId = "department_id" // 以department_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 // 反馈已关闭 )
const ( UserIdTypeCheckWhiteBlackListApplicationVisibilityUserId = "user_id" // 以user_id来标识用户 UserIdTypeCheckWhiteBlackListApplicationVisibilityUnionId = "union_id" // 以union_id来标识用户 UserIdTypeCheckWhiteBlackListApplicationVisibilityOpenId = "open_id" // 以open_id来标识用户 )
const ( DepartmentIdTypeCheckWhiteBlackListApplicationVisibilityDepartmentId = "department_id" // 以department_id来标识部门 DepartmentIdTypeCheckWhiteBlackListApplicationVisibilityOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( DepartmentIdTypePatchApplicationVisibilityOpenDepartmentId = "open_department_id" // 以open_department_id标识部门 DepartmentIdTypePatchApplicationVisibilityDepartmentId = "department_id" // 以department_id标识部门 )
const ( UserIdTypePatchApplicationVisibilityOpenId = "open_id" // 以open_id 标识用户 UserIdTypePatchApplicationVisibilityUserId = "user_id" // 以user_id 标识用户 UserIdTypePatchApplicationVisibilityUnionId = "union_id" // 以union_id 标识用户 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accessibility ¶ added in v3.0.30
type AccessibilityBuilder ¶ added in v3.0.30
type AccessibilityBuilder struct {
// contains filtered or unexported fields
}
func NewAccessibilityBuilder ¶ added in v3.0.30
func NewAccessibilityBuilder() *AccessibilityBuilder
func (*AccessibilityBuilder) Build ¶ added in v3.0.30
func (builder *AccessibilityBuilder) Build() *Accessibility
func (*AccessibilityBuilder) Reason ¶ added in v3.0.30
func (builder *AccessibilityBuilder) Reason(reason string) *AccessibilityBuilder
更新访问状态原因说明,停用OpenAPI时将作为OpenAPI错误消息返回;若设置停用,则该字段必填.
示例值:应用发送消息过于频繁,暂停应用调用发送OpenAPI
func (*AccessibilityBuilder) State ¶ added in v3.0.30
func (builder *AccessibilityBuilder) State(state string) *AccessibilityBuilder
访问状态,取值"Enable"或"Disable"
示例值:Enable
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 AppAbilityBot ¶ added in v3.1.2
type AppAbilityBot struct { Enable *bool `json:"enable,omitempty"` // 是否开启 MessageCardCallbackUrl *string `json:"message_card_callback_url,omitempty"` // 消息卡片的回调地址 I18ns []*AppAbilityBotI18n `json:"i18ns,omitempty"` // 国际化内容 }
type AppAbilityBotBuilder ¶ added in v3.1.2
type AppAbilityBotBuilder struct {
// contains filtered or unexported fields
}
func NewAppAbilityBotBuilder ¶ added in v3.1.2
func NewAppAbilityBotBuilder() *AppAbilityBotBuilder
func (*AppAbilityBotBuilder) Build ¶ added in v3.1.2
func (builder *AppAbilityBotBuilder) Build() *AppAbilityBot
func (*AppAbilityBotBuilder) Enable ¶ added in v3.1.2
func (builder *AppAbilityBotBuilder) Enable(enable bool) *AppAbilityBotBuilder
是否开启
示例值:true
func (*AppAbilityBotBuilder) I18ns ¶ added in v3.1.2
func (builder *AppAbilityBotBuilder) I18ns(i18ns []*AppAbilityBotI18n) *AppAbilityBotBuilder
国际化内容
示例值:
func (*AppAbilityBotBuilder) MessageCardCallbackUrl ¶ added in v3.1.2
func (builder *AppAbilityBotBuilder) MessageCardCallbackUrl(messageCardCallbackUrl string) *AppAbilityBotBuilder
消息卡片的回调地址
type AppAbilityBotI18n ¶ added in v3.1.2
type AppAbilityBotI18nBuilder ¶ added in v3.1.2
type AppAbilityBotI18nBuilder struct {
// contains filtered or unexported fields
}
func NewAppAbilityBotI18nBuilder ¶ added in v3.1.2
func NewAppAbilityBotI18nBuilder() *AppAbilityBotI18nBuilder
func (*AppAbilityBotI18nBuilder) Build ¶ added in v3.1.2
func (builder *AppAbilityBotI18nBuilder) Build() *AppAbilityBotI18n
func (*AppAbilityBotI18nBuilder) GetStartedDesc ¶ added in v3.1.2
func (builder *AppAbilityBotI18nBuilder) GetStartedDesc(getStartedDesc string) *AppAbilityBotI18nBuilder
如何开始使用描述文案
示例值:如何使用机器人
func (*AppAbilityBotI18nBuilder) I18nKey ¶ added in v3.1.2
func (builder *AppAbilityBotI18nBuilder) I18nKey(i18nKey string) *AppAbilityBotI18nBuilder
语种类型
示例值:zh_cn
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 AppAbilityWeb ¶ added in v3.1.2
type AppAbilityWebBuilder ¶ added in v3.1.2
type AppAbilityWebBuilder struct {
// contains filtered or unexported fields
}
func NewAppAbilityWebBuilder ¶ added in v3.1.2
func NewAppAbilityWebBuilder() *AppAbilityWebBuilder
func (*AppAbilityWebBuilder) Build ¶ added in v3.1.2
func (builder *AppAbilityWebBuilder) Build() *AppAbilityWeb
func (*AppAbilityWebBuilder) Enable ¶ added in v3.1.2
func (builder *AppAbilityWebBuilder) Enable(enable bool) *AppAbilityWebBuilder
是否开启网页应用能力
示例值:true
func (*AppAbilityWebBuilder) MobileUrl ¶ added in v3.1.2
func (builder *AppAbilityWebBuilder) MobileUrl(mobileUrl string) *AppAbilityWebBuilder
移动端链接
func (*AppAbilityWebBuilder) PcNewPageOpenMode ¶ added in v3.1.2
func (builder *AppAbilityWebBuilder) PcNewPageOpenMode(pcNewPageOpenMode string) *AppAbilityWebBuilder
PC端新页面打开方式
示例值:new_tab
func (*AppAbilityWebBuilder) PcUrl ¶ added in v3.1.2
func (builder *AppAbilityWebBuilder) PcUrl(pcUrl string) *AppAbilityWebBuilder
PC端链接
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 AppCollaborator ¶ added in v3.1.2
type AppCollaboratorBuilder ¶ added in v3.1.2
type AppCollaboratorBuilder struct {
// contains filtered or unexported fields
}
func NewAppCollaboratorBuilder ¶ added in v3.1.2
func NewAppCollaboratorBuilder() *AppCollaboratorBuilder
func (*AppCollaboratorBuilder) Build ¶ added in v3.1.2
func (builder *AppCollaboratorBuilder) Build() *AppCollaborator
func (*AppCollaboratorBuilder) Type ¶ added in v3.1.2
func (builder *AppCollaboratorBuilder) Type(type_ string) *AppCollaboratorBuilder
人员类型
示例值:administrator
func (*AppCollaboratorBuilder) UserId ¶ added in v3.1.2
func (builder *AppCollaboratorBuilder) UserId(userId string) *AppCollaboratorBuilder
用户ID
示例值:ou_d317f090b7258ad0372aa53963cda70d
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 AppConfigContactsRange ¶ added in v3.1.2
type AppConfigContactsRange struct { ContactsRangeType *string `json:"contacts_range_type,omitempty"` // 更新范围方式 VisibleList *AppContactsRangeIdList `json:"visible_list,omitempty"` // 通讯录可用人员列表 }
type AppConfigContactsRangeBuilder ¶ added in v3.1.2
type AppConfigContactsRangeBuilder struct {
// contains filtered or unexported fields
}
func NewAppConfigContactsRangeBuilder ¶ added in v3.1.2
func NewAppConfigContactsRangeBuilder() *AppConfigContactsRangeBuilder
func (*AppConfigContactsRangeBuilder) Build ¶ added in v3.1.2
func (builder *AppConfigContactsRangeBuilder) Build() *AppConfigContactsRange
func (*AppConfigContactsRangeBuilder) ContactsRangeType ¶ added in v3.1.2
func (builder *AppConfigContactsRangeBuilder) ContactsRangeType(contactsRangeType string) *AppConfigContactsRangeBuilder
更新范围方式
示例值:some
func (*AppConfigContactsRangeBuilder) VisibleList ¶ added in v3.1.2
func (builder *AppConfigContactsRangeBuilder) VisibleList(visibleList *AppContactsRangeIdList) *AppConfigContactsRangeBuilder
通讯录可用人员列表
示例值:
type AppConfigEvent ¶ added in v3.1.2
type AppConfigEventBuilder ¶ added in v3.1.2
type AppConfigEventBuilder struct {
// contains filtered or unexported fields
}
func NewAppConfigEventBuilder ¶ added in v3.1.2
func NewAppConfigEventBuilder() *AppConfigEventBuilder
func (*AppConfigEventBuilder) AddEvents ¶ added in v3.1.2
func (builder *AppConfigEventBuilder) AddEvents(addEvents []string) *AppConfigEventBuilder
添加事件列表
示例值:
func (*AppConfigEventBuilder) Build ¶ added in v3.1.2
func (builder *AppConfigEventBuilder) Build() *AppConfigEvent
func (*AppConfigEventBuilder) RemoveEvents ¶ added in v3.1.2
func (builder *AppConfigEventBuilder) RemoveEvents(removeEvents []string) *AppConfigEventBuilder
删除事件列表
示例值:
func (*AppConfigEventBuilder) RequestUrl ¶ added in v3.1.2
func (builder *AppConfigEventBuilder) RequestUrl(requestUrl string) *AppConfigEventBuilder
接收事件的服务器地址
func (*AppConfigEventBuilder) SubscriptionType ¶ added in v3.1.2
func (builder *AppConfigEventBuilder) SubscriptionType(subscriptionType string) *AppConfigEventBuilder
订阅方式
示例值:webhook
type AppConfigScope ¶ added in v3.1.2
type AppConfigScope struct { AddScopes []*AppConfigScopeItem `json:"add_scopes,omitempty"` // 新增权限 RemoveScopes []*AppConfigScopeItem `json:"remove_scopes,omitempty"` // 删除权限 }
type AppConfigScopeBuilder ¶ added in v3.1.2
type AppConfigScopeBuilder struct {
// contains filtered or unexported fields
}
func NewAppConfigScopeBuilder ¶ added in v3.1.2
func NewAppConfigScopeBuilder() *AppConfigScopeBuilder
func (*AppConfigScopeBuilder) AddScopes ¶ added in v3.1.2
func (builder *AppConfigScopeBuilder) AddScopes(addScopes []*AppConfigScopeItem) *AppConfigScopeBuilder
新增权限
示例值:
func (*AppConfigScopeBuilder) Build ¶ added in v3.1.2
func (builder *AppConfigScopeBuilder) Build() *AppConfigScope
func (*AppConfigScopeBuilder) RemoveScopes ¶ added in v3.1.2
func (builder *AppConfigScopeBuilder) RemoveScopes(removeScopes []*AppConfigScopeItem) *AppConfigScopeBuilder
删除权限
示例值:
type AppConfigScopeItem ¶ added in v3.1.2
type AppConfigScopeItemBuilder ¶ added in v3.1.2
type AppConfigScopeItemBuilder struct {
// contains filtered or unexported fields
}
func NewAppConfigScopeItemBuilder ¶ added in v3.1.2
func NewAppConfigScopeItemBuilder() *AppConfigScopeItemBuilder
func (*AppConfigScopeItemBuilder) Build ¶ added in v3.1.2
func (builder *AppConfigScopeItemBuilder) Build() *AppConfigScopeItem
func (*AppConfigScopeItemBuilder) ScopeName ¶ added in v3.1.2
func (builder *AppConfigScopeItemBuilder) ScopeName(scopeName string) *AppConfigScopeItemBuilder
权限名称
示例值:im:message
func (*AppConfigScopeItemBuilder) TokenType ¶ added in v3.1.2
func (builder *AppConfigScopeItemBuilder) TokenType(tokenType string) *AppConfigScopeItemBuilder
身份类型
示例值:tenant
type AppConfigSecurity ¶ added in v3.1.2
type AppConfigSecurity struct { Add *AppConfigSecurityItem `json:"add,omitempty"` // 新增项 Remove *AppConfigSecurityItem `json:"remove,omitempty"` // 删除列表 }
type AppConfigSecurityBuilder ¶ added in v3.1.2
type AppConfigSecurityBuilder struct {
// contains filtered or unexported fields
}
func NewAppConfigSecurityBuilder ¶ added in v3.1.2
func NewAppConfigSecurityBuilder() *AppConfigSecurityBuilder
func (*AppConfigSecurityBuilder) Add ¶ added in v3.1.2
func (builder *AppConfigSecurityBuilder) Add(add *AppConfigSecurityItem) *AppConfigSecurityBuilder
新增项
示例值:
func (*AppConfigSecurityBuilder) Build ¶ added in v3.1.2
func (builder *AppConfigSecurityBuilder) Build() *AppConfigSecurity
func (*AppConfigSecurityBuilder) Remove ¶ added in v3.1.2
func (builder *AppConfigSecurityBuilder) Remove(remove *AppConfigSecurityItem) *AppConfigSecurityBuilder
删除列表
示例值:
type AppConfigSecurityItem ¶ added in v3.1.2
type AppConfigSecurityItem struct { RedirectUrls []string `json:"redirect_urls,omitempty"` // 重定向URL AllowedIps []string `json:"allowed_ips,omitempty"` // IP白名单 IP需要填写调用方出口公网IP地址 H5TrustedDomains []string `json:"h5_trusted_domains,omitempty"` // H5可信域名仅可信域名内的 H5 可以访问 JSAPI,部分需要鉴权的 JSAPI 必填。 WebViewTrustedDomains []string `json:"web_view_trusted_domains,omitempty"` // Web-View 可信域名 AllowedSchemas []string `json:"allowed_schemas,omitempty"` // 小程序协议名白名单 AllowedServerDomains []string `json:"allowed_server_domains,omitempty"` // 服务器可信域名 }
type AppConfigSecurityItemBuilder ¶ added in v3.1.2
type AppConfigSecurityItemBuilder struct {
// contains filtered or unexported fields
}
func NewAppConfigSecurityItemBuilder ¶ added in v3.1.2
func NewAppConfigSecurityItemBuilder() *AppConfigSecurityItemBuilder
func (*AppConfigSecurityItemBuilder) AllowedIps ¶ added in v3.1.2
func (builder *AppConfigSecurityItemBuilder) AllowedIps(allowedIps []string) *AppConfigSecurityItemBuilder
IP白名单 IP需要填写调用方出口公网IP地址
示例值:
func (*AppConfigSecurityItemBuilder) AllowedSchemas ¶ added in v3.1.2
func (builder *AppConfigSecurityItemBuilder) AllowedSchemas(allowedSchemas []string) *AppConfigSecurityItemBuilder
小程序协议名白名单
示例值:
func (*AppConfigSecurityItemBuilder) AllowedServerDomains ¶ added in v3.1.2
func (builder *AppConfigSecurityItemBuilder) AllowedServerDomains(allowedServerDomains []string) *AppConfigSecurityItemBuilder
服务器可信域名
示例值:
func (*AppConfigSecurityItemBuilder) Build ¶ added in v3.1.2
func (builder *AppConfigSecurityItemBuilder) Build() *AppConfigSecurityItem
func (*AppConfigSecurityItemBuilder) H5TrustedDomains ¶ added in v3.1.2
func (builder *AppConfigSecurityItemBuilder) H5TrustedDomains(h5TrustedDomains []string) *AppConfigSecurityItemBuilder
H5可信域名仅可信域名内的 H5 可以访问 JSAPI,部分需要鉴权的 JSAPI 必填。
示例值:
func (*AppConfigSecurityItemBuilder) RedirectUrls ¶ added in v3.1.2
func (builder *AppConfigSecurityItemBuilder) RedirectUrls(redirectUrls []string) *AppConfigSecurityItemBuilder
重定向URL
示例值:
func (*AppConfigSecurityItemBuilder) WebViewTrustedDomains ¶ added in v3.1.2
func (builder *AppConfigSecurityItemBuilder) WebViewTrustedDomains(webViewTrustedDomains []string) *AppConfigSecurityItemBuilder
Web-View 可信域名
示例值:
type AppConfigVisibility ¶ added in v3.1.2
type AppConfigVisibility struct { IsVisibleToAll *bool `json:"is_visible_to_all,omitempty"` // 是否全员可见,false:否;true:是;不填:继续当前状态不改变.如果可见范围为全员后添加的可用人员则无效,禁用人员仍然有效 VisibleList *AppVisibilityIdList `json:"visible_list,omitempty"` // 可用人员列表 }
type AppConfigVisibilityBuilder ¶ added in v3.1.2
type AppConfigVisibilityBuilder struct {
// contains filtered or unexported fields
}
func NewAppConfigVisibilityBuilder ¶ added in v3.1.2
func NewAppConfigVisibilityBuilder() *AppConfigVisibilityBuilder
func (*AppConfigVisibilityBuilder) Build ¶ added in v3.1.2
func (builder *AppConfigVisibilityBuilder) Build() *AppConfigVisibility
func (*AppConfigVisibilityBuilder) IsVisibleToAll ¶ added in v3.1.2
func (builder *AppConfigVisibilityBuilder) IsVisibleToAll(isVisibleToAll bool) *AppConfigVisibilityBuilder
是否全员可见,false:否;true:是;不填:继续当前状态不改变.如果可见范围为全员后添加的可用人员则无效,禁用人员仍然有效
示例值:false
func (*AppConfigVisibilityBuilder) VisibleList ¶ added in v3.1.2
func (builder *AppConfigVisibilityBuilder) VisibleList(visibleList *AppVisibilityIdList) *AppConfigVisibilityBuilder
可用人员列表
示例值:
type AppContactsRangeIdList ¶ added in v3.0.30
type AppContactsRangeIdListBuilder ¶ added in v3.0.30
type AppContactsRangeIdListBuilder struct {
// contains filtered or unexported fields
}
func NewAppContactsRangeIdListBuilder ¶ added in v3.0.30
func NewAppContactsRangeIdListBuilder() *AppContactsRangeIdListBuilder
func (*AppContactsRangeIdListBuilder) Build ¶ added in v3.0.30
func (builder *AppContactsRangeIdListBuilder) Build() *AppContactsRangeIdList
func (*AppContactsRangeIdListBuilder) DepartmentIds ¶ added in v3.0.30
func (builder *AppContactsRangeIdListBuilder) DepartmentIds(departmentIds []string) *AppContactsRangeIdListBuilder
部门id列表
示例值:
func (*AppContactsRangeIdListBuilder) GroupIds ¶ added in v3.0.30
func (builder *AppContactsRangeIdListBuilder) GroupIds(groupIds []string) *AppContactsRangeIdListBuilder
用户组列表
示例值:
func (*AppContactsRangeIdListBuilder) UserIds ¶ added in v3.0.30
func (builder *AppContactsRangeIdListBuilder) UserIds(userIds []string) *AppContactsRangeIdListBuilder
成员id列表
示例值:
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 AppVisibilityIdList ¶ added in v3.0.30
type AppVisibilityIdListBuilder ¶ added in v3.0.30
type AppVisibilityIdListBuilder struct {
// contains filtered or unexported fields
}
func NewAppVisibilityIdListBuilder ¶ added in v3.0.30
func NewAppVisibilityIdListBuilder() *AppVisibilityIdListBuilder
func (*AppVisibilityIdListBuilder) Build ¶ added in v3.0.30
func (builder *AppVisibilityIdListBuilder) Build() *AppVisibilityIdList
func (*AppVisibilityIdListBuilder) DepartmentIds ¶ added in v3.0.30
func (builder *AppVisibilityIdListBuilder) DepartmentIds(departmentIds []string) *AppVisibilityIdListBuilder
部门id列表(自定义部门id/open_department_id)
示例值:
func (*AppVisibilityIdListBuilder) GroupIds ¶ added in v3.0.30
func (builder *AppVisibilityIdListBuilder) GroupIds(groupIds []string) *AppVisibilityIdListBuilder
用户组id
示例值:
func (*AppVisibilityIdListBuilder) UserIds ¶ added in v3.0.30
func (builder *AppVisibilityIdListBuilder) UserIds(userIds []string) *AppVisibilityIdListBuilder
成员id列表(open_id/union_id/user_id)
示例值:
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) GroupIds ¶ added in v3.0.19
func (builder *AppVisibleListBuilder) GroupIds(groupIds []string) *AppVisibleListBuilder
可见性成员 group_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"` // 付费类型 CreateSource *string `json:"create_source,omitempty"` // 应用创建来源(目前仅Base应用返回) 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"` // 应用的所有者信息 MobileDefaultAbility *string `json:"mobile_default_ability,omitempty"` // 移动端默认能力 PcDefaultAbility *string `json:"pc_default_ability,omitempty"` // PC端默认能力 }
type ApplicationAppContactsRange ¶ added in v3.0.19
type ApplicationAppContactsRange struct { ContactsScopeType *string `json:"contacts_scope_type,omitempty"` // 通讯录可见性类型 VisibleList *AppVisibleList `json:"visible_list,omitempty"` // 可用名单 }
type ApplicationAppContactsRangeBuilder ¶ added in v3.0.19
type ApplicationAppContactsRangeBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationAppContactsRangeBuilder ¶ added in v3.0.19
func NewApplicationAppContactsRangeBuilder() *ApplicationAppContactsRangeBuilder
func (*ApplicationAppContactsRangeBuilder) Build ¶ added in v3.0.19
func (builder *ApplicationAppContactsRangeBuilder) Build() *ApplicationAppContactsRange
func (*ApplicationAppContactsRangeBuilder) ContactsScopeType ¶ added in v3.0.19
func (builder *ApplicationAppContactsRangeBuilder) ContactsScopeType(contactsScopeType string) *ApplicationAppContactsRangeBuilder
通讯录可见性类型
示例值:some
func (*ApplicationAppContactsRangeBuilder) VisibleList ¶ added in v3.0.19
func (builder *ApplicationAppContactsRangeBuilder) VisibleList(visibleList *AppVisibleList) *ApplicationAppContactsRangeBuilder
可用名单
示例值:
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"` // 跟随应用版本的信息 EventInfos []*Event `json:"event_infos,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) EventInfos ¶ added in v3.2.1
func (builder *ApplicationAppVersionBuilder) EventInfos(eventInfos []*Event) *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) CreateSource ¶ added in v3.0.31
func (builder *ApplicationBuilder) CreateSource(createSource string) *ApplicationBuilder
应用创建来源(目前仅Base应用返回)
示例值:base
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) MobileDefaultAbility ¶ added in v3.2.1
func (builder *ApplicationBuilder) MobileDefaultAbility(mobileDefaultAbility string) *ApplicationBuilder
移动端默认能力
示例值:gadget
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) PcDefaultAbility ¶ added in v3.2.1
func (builder *ApplicationBuilder) PcDefaultAbility(pcDefaultAbility string) *ApplicationBuilder
PC端默认能力
示例值:gadget
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"` // 应用开发商的手机号,进商店应用返回。仅当应用商店配置了这种联系方式时才会返回 OwnerId *UserId `json:"owner_id,omitempty"` // 应用所有者用户ID CustomerServiceAccount *string `json:"customer_service_account,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) CustomerServiceAccount ¶ added in v3.2.1
func (builder *ApplicationEventOwnerBuilder) CustomerServiceAccount(customerServiceAccount string) *ApplicationEventOwnerBuilder
客服账号
示例值:feishu@bytedance.com
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) OwnerId ¶ added in v3.2.1
func (builder *ApplicationEventOwnerBuilder) OwnerId(ownerId *UserId) *ApplicationEventOwnerBuilder
应用所有者用户ID
示例值:ou_155184d1e73cbfb8973e5a9e698e74f2
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"` // 应用开发商的手机号(仅商店应用返回) CustomerServiceAccount *string `json:"customer_service_account,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) CustomerServiceAccount ¶ added in v3.2.1
func (builder *ApplicationOwnerBuilder) CustomerServiceAccount(customerServiceAccount string) *ApplicationOwnerBuilder
客服账号,仅当商店应用配置了这种联系方式时才会返回
示例值:feishu@bytedance.com
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 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 ApplicationVisibilityDepartmentWhiteBlackInfo ¶ added in v3.0.19
type ApplicationVisibilityDepartmentWhiteBlackInfoBuilder ¶ added in v3.0.19
type ApplicationVisibilityDepartmentWhiteBlackInfoBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationVisibilityDepartmentWhiteBlackInfoBuilder ¶ added in v3.0.19
func NewApplicationVisibilityDepartmentWhiteBlackInfoBuilder() *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder
func (*ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) Build ¶ added in v3.0.19
func (builder *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) Build() *ApplicationVisibilityDepartmentWhiteBlackInfo
func (*ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) DepartmentId ¶ added in v3.0.19
func (builder *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) DepartmentId(departmentId string) *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder
部门ID
示例值:od-aa2c50a04769feefededb7a05b7525a8
func (*ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) InBlackList ¶ added in v3.0.19
func (builder *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) InBlackList(inBlackList bool) *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder
是否在黑名单中
示例值:false
func (*ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) InWhiteList ¶ added in v3.0.19
func (builder *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder) InWhiteList(inWhiteList bool) *ApplicationVisibilityDepartmentWhiteBlackInfoBuilder
是否在白名单中
示例值:false
type ApplicationVisibilityGroupWhiteBlackInfo ¶ added in v3.0.19
type ApplicationVisibilityGroupWhiteBlackInfoBuilder ¶ added in v3.0.19
type ApplicationVisibilityGroupWhiteBlackInfoBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationVisibilityGroupWhiteBlackInfoBuilder ¶ added in v3.0.19
func NewApplicationVisibilityGroupWhiteBlackInfoBuilder() *ApplicationVisibilityGroupWhiteBlackInfoBuilder
func (*ApplicationVisibilityGroupWhiteBlackInfoBuilder) Build ¶ added in v3.0.19
func (builder *ApplicationVisibilityGroupWhiteBlackInfoBuilder) Build() *ApplicationVisibilityGroupWhiteBlackInfo
func (*ApplicationVisibilityGroupWhiteBlackInfoBuilder) GroupId ¶ added in v3.0.19
func (builder *ApplicationVisibilityGroupWhiteBlackInfoBuilder) GroupId(groupId string) *ApplicationVisibilityGroupWhiteBlackInfoBuilder
用户组ID
示例值:96815a9cd9beg8g4
func (*ApplicationVisibilityGroupWhiteBlackInfoBuilder) InBlackList ¶ added in v3.0.19
func (builder *ApplicationVisibilityGroupWhiteBlackInfoBuilder) InBlackList(inBlackList bool) *ApplicationVisibilityGroupWhiteBlackInfoBuilder
是否在黑名单中
示例值:false
func (*ApplicationVisibilityGroupWhiteBlackInfoBuilder) InWhiteList ¶ added in v3.0.19
func (builder *ApplicationVisibilityGroupWhiteBlackInfoBuilder) InWhiteList(inWhiteList bool) *ApplicationVisibilityGroupWhiteBlackInfoBuilder
是否在白名单中
示例值:false
type ApplicationVisibilityUserWhiteBlackInfo ¶ added in v3.0.19
type ApplicationVisibilityUserWhiteBlackInfoBuilder ¶ added in v3.0.19
type ApplicationVisibilityUserWhiteBlackInfoBuilder struct {
// contains filtered or unexported fields
}
func NewApplicationVisibilityUserWhiteBlackInfoBuilder ¶ added in v3.0.19
func NewApplicationVisibilityUserWhiteBlackInfoBuilder() *ApplicationVisibilityUserWhiteBlackInfoBuilder
func (*ApplicationVisibilityUserWhiteBlackInfoBuilder) Build ¶ added in v3.0.19
func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) Build() *ApplicationVisibilityUserWhiteBlackInfo
func (*ApplicationVisibilityUserWhiteBlackInfoBuilder) InBlackList ¶ added in v3.0.19
func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) InBlackList(inBlackList bool) *ApplicationVisibilityUserWhiteBlackInfoBuilder
是否在黑名单中
示例值:false
func (*ApplicationVisibilityUserWhiteBlackInfoBuilder) InPaidList ¶ added in v3.0.19
func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) InPaidList(inPaidList bool) *ApplicationVisibilityUserWhiteBlackInfoBuilder
是否在付费名单中
示例值:false
func (*ApplicationVisibilityUserWhiteBlackInfoBuilder) InWhiteList ¶ added in v3.0.19
func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) InWhiteList(inWhiteList bool) *ApplicationVisibilityUserWhiteBlackInfoBuilder
是否在白名单中
示例值:false
func (*ApplicationVisibilityUserWhiteBlackInfoBuilder) UserId ¶ added in v3.0.19
func (builder *ApplicationVisibilityUserWhiteBlackInfoBuilder) UserId(userId string) *ApplicationVisibilityUserWhiteBlackInfoBuilder
用户ID
示例值:ou_d317f090b7258ad0372aa53963cda70d
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 CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder ¶ added in v3.0.20
type CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder ¶ added in v3.0.20
func NewCheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder() *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder
func (*CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) Build ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) Build() (*CheckWhiteBlackListApplicationVisibilityReqBody, error)
func (*CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) DepartmentIds ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) DepartmentIds(departmentIds []string) *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder
部门ID列表
示例值:
func (*CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) GroupIds ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) GroupIds(groupIds []string) *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder
用户组ID列表
示例值:
func (*CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) UserIds ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder) UserIds(userIds []string) *CheckWhiteBlackListApplicationVisibilityPathReqBodyBuilder
用户ID列表
示例值:
type CheckWhiteBlackListApplicationVisibilityReq ¶ added in v3.0.20
type CheckWhiteBlackListApplicationVisibilityReq struct { Body *CheckWhiteBlackListApplicationVisibilityReqBody `body:""` // contains filtered or unexported fields }
type CheckWhiteBlackListApplicationVisibilityReqBody ¶ added in v3.0.20
type CheckWhiteBlackListApplicationVisibilityReqBodyBuilder ¶ added in v3.0.20
type CheckWhiteBlackListApplicationVisibilityReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCheckWhiteBlackListApplicationVisibilityReqBodyBuilder ¶ added in v3.0.20
func NewCheckWhiteBlackListApplicationVisibilityReqBodyBuilder() *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder
func (*CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) Build ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) Build() *CheckWhiteBlackListApplicationVisibilityReqBody
func (*CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) DepartmentIds ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) DepartmentIds(departmentIds []string) *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder
部门ID列表
示例值:
func (*CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) GroupIds ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) GroupIds(groupIds []string) *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder
用户组ID列表
示例值:
func (*CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) UserIds ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder) UserIds(userIds []string) *CheckWhiteBlackListApplicationVisibilityReqBodyBuilder
用户ID列表
示例值:
type CheckWhiteBlackListApplicationVisibilityReqBuilder ¶ added in v3.0.20
type CheckWhiteBlackListApplicationVisibilityReqBuilder struct {
// contains filtered or unexported fields
}
func NewCheckWhiteBlackListApplicationVisibilityReqBuilder ¶ added in v3.0.20
func NewCheckWhiteBlackListApplicationVisibilityReqBuilder() *CheckWhiteBlackListApplicationVisibilityReqBuilder
func (*CheckWhiteBlackListApplicationVisibilityReqBuilder) AppId ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityReqBuilder) AppId(appId string) *CheckWhiteBlackListApplicationVisibilityReqBuilder
目标应用ID
示例值:cli_a3a3d00b40b8d01b
func (*CheckWhiteBlackListApplicationVisibilityReqBuilder) Build ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityReqBuilder) Build() *CheckWhiteBlackListApplicationVisibilityReq
func (*CheckWhiteBlackListApplicationVisibilityReqBuilder) DepartmentIdType ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityReqBuilder) DepartmentIdType(departmentIdType string) *CheckWhiteBlackListApplicationVisibilityReqBuilder
此次请求传参中的department_id的类型
示例值:department_id
func (*CheckWhiteBlackListApplicationVisibilityReqBuilder) UserIdType ¶ added in v3.0.20
func (builder *CheckWhiteBlackListApplicationVisibilityReqBuilder) UserIdType(userIdType string) *CheckWhiteBlackListApplicationVisibilityReqBuilder
此次请求传参中的user_id的类型
示例值:user_id
type CheckWhiteBlackListApplicationVisibilityResp ¶ added in v3.0.20
type CheckWhiteBlackListApplicationVisibilityResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CheckWhiteBlackListApplicationVisibilityRespData `json:"data"` // 业务数据 }
func (*CheckWhiteBlackListApplicationVisibilityResp) Success ¶ added in v3.0.20
func (resp *CheckWhiteBlackListApplicationVisibilityResp) Success() bool
type CheckWhiteBlackListApplicationVisibilityRespData ¶ added in v3.0.20
type CheckWhiteBlackListApplicationVisibilityRespData struct { UserVisibilityList []*ApplicationVisibilityUserWhiteBlackInfo `json:"user_visibility_list,omitempty"` // 用户可见性信息列表 DepartmentVisibilityList []*ApplicationVisibilityDepartmentWhiteBlackInfo `json:"department_visibility_list,omitempty"` // 部门可见性信息列表 GroupVisibilityList []*ApplicationVisibilityGroupWhiteBlackInfo `json:"group_visibility_list,omitempty"` // 用户组可见性信息列表 }
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 ContactsRangeConfigurationApplicationReq ¶ added in v3.0.20
type ContactsRangeConfigurationApplicationReq struct {
// contains filtered or unexported fields
}
type ContactsRangeConfigurationApplicationReqBuilder ¶ added in v3.0.20
type ContactsRangeConfigurationApplicationReqBuilder struct {
// contains filtered or unexported fields
}
func NewContactsRangeConfigurationApplicationReqBuilder ¶ added in v3.0.20
func NewContactsRangeConfigurationApplicationReqBuilder() *ContactsRangeConfigurationApplicationReqBuilder
func (*ContactsRangeConfigurationApplicationReqBuilder) AppId ¶ added in v3.0.20
func (builder *ContactsRangeConfigurationApplicationReqBuilder) AppId(appId string) *ContactsRangeConfigurationApplicationReqBuilder
应用的 id
示例值:cli_9b445f5258795107
func (*ContactsRangeConfigurationApplicationReqBuilder) Build ¶ added in v3.0.20
func (builder *ContactsRangeConfigurationApplicationReqBuilder) Build() *ContactsRangeConfigurationApplicationReq
func (*ContactsRangeConfigurationApplicationReqBuilder) DepartmentIdType ¶ added in v3.0.20
func (builder *ContactsRangeConfigurationApplicationReqBuilder) DepartmentIdType(departmentIdType string) *ContactsRangeConfigurationApplicationReqBuilder
返回值的部门ID的类型
示例值:department_id
func (*ContactsRangeConfigurationApplicationReqBuilder) PageSize ¶ added in v3.0.20
func (builder *ContactsRangeConfigurationApplicationReqBuilder) PageSize(pageSize int) *ContactsRangeConfigurationApplicationReqBuilder
分页大小
示例值:20
func (*ContactsRangeConfigurationApplicationReqBuilder) PageToken ¶ added in v3.0.20
func (builder *ContactsRangeConfigurationApplicationReqBuilder) PageToken(pageToken string) *ContactsRangeConfigurationApplicationReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:new-e3c5a0627cdf0c2e057da7257b90376a
func (*ContactsRangeConfigurationApplicationReqBuilder) UserIdType ¶ added in v3.0.20
func (builder *ContactsRangeConfigurationApplicationReqBuilder) UserIdType(userIdType string) *ContactsRangeConfigurationApplicationReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ContactsRangeConfigurationApplicationResp ¶ added in v3.0.20
type ContactsRangeConfigurationApplicationResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ContactsRangeConfigurationApplicationRespData `json:"data"` // 业务数据 }
func (*ContactsRangeConfigurationApplicationResp) Success ¶ added in v3.0.20
func (resp *ContactsRangeConfigurationApplicationResp) Success() bool
type ContactsRangeConfigurationApplicationRespData ¶ added in v3.0.20
type ContactsRangeConfigurationApplicationRespData struct { ContactsRange *ApplicationAppContactsRange `json:"contacts_range,omitempty"` // HasMore *bool `json:"has_more,omitempty"` // 是否还有更多项 PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token }
type ContactsRangeSuggestApplicationAppVersionReq ¶ added in v3.0.20
type ContactsRangeSuggestApplicationAppVersionReq struct {
// contains filtered or unexported fields
}
type ContactsRangeSuggestApplicationAppVersionReqBuilder ¶ added in v3.0.20
type ContactsRangeSuggestApplicationAppVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewContactsRangeSuggestApplicationAppVersionReqBuilder ¶ added in v3.0.20
func NewContactsRangeSuggestApplicationAppVersionReqBuilder() *ContactsRangeSuggestApplicationAppVersionReqBuilder
func (*ContactsRangeSuggestApplicationAppVersionReqBuilder) AppId ¶ added in v3.0.20
func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) AppId(appId string) *ContactsRangeSuggestApplicationAppVersionReqBuilder
应用 id
示例值:cli_9f3ca975326b501b
func (*ContactsRangeSuggestApplicationAppVersionReqBuilder) Build ¶ added in v3.0.20
func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) Build() *ContactsRangeSuggestApplicationAppVersionReq
func (*ContactsRangeSuggestApplicationAppVersionReqBuilder) DepartmentIdType ¶ added in v3.0.20
func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) DepartmentIdType(departmentIdType string) *ContactsRangeSuggestApplicationAppVersionReqBuilder
返回值的部门ID的类型
示例值:department_id
func (*ContactsRangeSuggestApplicationAppVersionReqBuilder) UserIdType ¶ added in v3.0.20
func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) UserIdType(userIdType string) *ContactsRangeSuggestApplicationAppVersionReqBuilder
此次调用中使用的用户ID的类型
示例值:
func (*ContactsRangeSuggestApplicationAppVersionReqBuilder) VersionId ¶ added in v3.0.20
func (builder *ContactsRangeSuggestApplicationAppVersionReqBuilder) VersionId(versionId string) *ContactsRangeSuggestApplicationAppVersionReqBuilder
唯一标识应用版本的 ID
示例值:oav_d317f090b7258ad0372aa53963cda70d
type ContactsRangeSuggestApplicationAppVersionResp ¶ added in v3.0.20
type ContactsRangeSuggestApplicationAppVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ContactsRangeSuggestApplicationAppVersionRespData `json:"data"` // 业务数据 }
func (*ContactsRangeSuggestApplicationAppVersionResp) Success ¶ added in v3.0.20
func (resp *ContactsRangeSuggestApplicationAppVersionResp) Success() bool
type ContactsRangeSuggestApplicationAppVersionRespData ¶ added in v3.0.20
type ContactsRangeSuggestApplicationAppVersionRespData struct {
ContactsRange *ApplicationAppContactsRange `json:"contacts_range,omitempty"` //
}
type DepartmentId ¶ added in v3.0.29
type DepartmentIdBuilder ¶ added in v3.0.29
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶ added in v3.0.29
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type DepartmentOverviewApplicationAppUsagePathReqBodyBuilder ¶ added in v3.0.25
type DepartmentOverviewApplicationAppUsagePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentOverviewApplicationAppUsagePathReqBodyBuilder ¶ added in v3.0.25
func NewDepartmentOverviewApplicationAppUsagePathReqBodyBuilder() *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
func (*DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) Build ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) Build() (*DepartmentOverviewApplicationAppUsageReqBody, error)
func (*DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) CycleType ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) CycleType(cycleType int) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
活跃周期的统计类型
示例值:1
func (*DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) Date ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) Date(date string) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
查询日期,格式为yyyy-mm-dd,若cycle_type为1,date可以为任何自然日;若cycle_type为2,则输入的date必须为周一; 若cycle_type为3,则输入的date必须为每月1号
示例值:2021-07-08
func (*DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId(departmentId string) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
查询的部门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
func (*DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) PageSize ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) PageSize(pageSize int) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
分页大小,取值范围 1~20
示例值:10
func (*DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) PageToken ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) PageToken(pageToken string) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
分页标记,第一次请求不填,表示从头开始遍历;当返回的has_more为true时,会返回新的page_token,再次调用接口,传入这个page_token,将获得下一页数据。
示例值:new-1a8f509162ca3c95405838d05ccded09
func (*DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) Recursion ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder) Recursion(recursion int) *DepartmentOverviewApplicationAppUsagePathReqBodyBuilder
是否需要查询部门下多层子部门的数据。未设置或为0时,仅查询department_id对应的部门。设置为n时,查询department_id及其n级子部门的数据。仅在department_id参数传递时有效,最大值为4。
示例值:0
type DepartmentOverviewApplicationAppUsageReq ¶ added in v3.0.25
type DepartmentOverviewApplicationAppUsageReq struct { Body *DepartmentOverviewApplicationAppUsageReqBody `body:""` // contains filtered or unexported fields }
type DepartmentOverviewApplicationAppUsageReqBody ¶ added in v3.0.25
type DepartmentOverviewApplicationAppUsageReqBody 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。;- 若不填写则返回整个租户的数据 Recursion *int `json:"recursion,omitempty"` // 是否需要查询部门下多层子部门的数据。未设置或为0时,仅查询department_id对应的部门。设置为n时,查询department_id及其n级子部门的数据。仅在department_id参数传递时有效,最大值为4。 PageSize *int `json:"page_size,omitempty"` // 分页大小,取值范围 1~20 PageToken *string `json:"page_token,omitempty"` // 分页标记,第一次请求不填,表示从头开始遍历;当返回的has_more为true时,会返回新的page_token,再次调用接口,传入这个page_token,将获得下一页数据。 }
type DepartmentOverviewApplicationAppUsageReqBodyBuilder ¶ added in v3.0.25
type DepartmentOverviewApplicationAppUsageReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentOverviewApplicationAppUsageReqBodyBuilder ¶ added in v3.0.25
func NewDepartmentOverviewApplicationAppUsageReqBodyBuilder() *DepartmentOverviewApplicationAppUsageReqBodyBuilder
func (*DepartmentOverviewApplicationAppUsageReqBodyBuilder) Build ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) Build() *DepartmentOverviewApplicationAppUsageReqBody
func (*DepartmentOverviewApplicationAppUsageReqBodyBuilder) CycleType ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) CycleType(cycleType int) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
活跃周期的统计类型
示例值:1
func (*DepartmentOverviewApplicationAppUsageReqBodyBuilder) Date ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) Date(date string) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
查询日期,格式为yyyy-mm-dd,若cycle_type为1,date可以为任何自然日;若cycle_type为2,则输入的date必须为周一; 若cycle_type为3,则输入的date必须为每月1号
示例值:2021-07-08
func (*DepartmentOverviewApplicationAppUsageReqBodyBuilder) DepartmentId ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) DepartmentId(departmentId string) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
查询的部门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
func (*DepartmentOverviewApplicationAppUsageReqBodyBuilder) PageSize ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) PageSize(pageSize int) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
分页大小,取值范围 1~20
示例值:10
func (*DepartmentOverviewApplicationAppUsageReqBodyBuilder) PageToken ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) PageToken(pageToken string) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
分页标记,第一次请求不填,表示从头开始遍历;当返回的has_more为true时,会返回新的page_token,再次调用接口,传入这个page_token,将获得下一页数据。
示例值:new-1a8f509162ca3c95405838d05ccded09
func (*DepartmentOverviewApplicationAppUsageReqBodyBuilder) Recursion ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBodyBuilder) Recursion(recursion int) *DepartmentOverviewApplicationAppUsageReqBodyBuilder
是否需要查询部门下多层子部门的数据。未设置或为0时,仅查询department_id对应的部门。设置为n时,查询department_id及其n级子部门的数据。仅在department_id参数传递时有效,最大值为4。
示例值:0
type DepartmentOverviewApplicationAppUsageReqBuilder ¶ added in v3.0.25
type DepartmentOverviewApplicationAppUsageReqBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentOverviewApplicationAppUsageReqBuilder ¶ added in v3.0.25
func NewDepartmentOverviewApplicationAppUsageReqBuilder() *DepartmentOverviewApplicationAppUsageReqBuilder
func (*DepartmentOverviewApplicationAppUsageReqBuilder) AppId ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBuilder) AppId(appId string) *DepartmentOverviewApplicationAppUsageReqBuilder
目标应用 ID
示例值:cli_9f115af860f7901b
func (*DepartmentOverviewApplicationAppUsageReqBuilder) Body ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBuilder) Body(body *DepartmentOverviewApplicationAppUsageReqBody) *DepartmentOverviewApplicationAppUsageReqBuilder
查看应用在某一天/某一周/某一个月的使用数据,可以根据部门做多层子部门的筛选
func (*DepartmentOverviewApplicationAppUsageReqBuilder) Build ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBuilder) Build() *DepartmentOverviewApplicationAppUsageReq
func (*DepartmentOverviewApplicationAppUsageReqBuilder) DepartmentIdType ¶ added in v3.0.25
func (builder *DepartmentOverviewApplicationAppUsageReqBuilder) DepartmentIdType(departmentIdType string) *DepartmentOverviewApplicationAppUsageReqBuilder
调用中使用的部门ID的类型
示例值:open_department_id
type DepartmentOverviewApplicationAppUsageResp ¶ added in v3.0.25
type DepartmentOverviewApplicationAppUsageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *DepartmentOverviewApplicationAppUsageRespData `json:"data"` // 业务数据 }
func (*DepartmentOverviewApplicationAppUsageResp) Success ¶ added in v3.0.25
func (resp *DepartmentOverviewApplicationAppUsageResp) Success() bool
type DepartmentOverviewApplicationAppUsageRespData ¶ added in v3.0.25
type DepartmentOverviewApplicationAppUsageRespData struct { HasMore *bool `json:"has_more,omitempty"` // 分页查询时返回,代表是否还有更多数据 PageToken *string `json:"page_token,omitempty"` // 分页标记,下一页分页的token Items []*ApplicationDepartmentAppUsage `json:"items,omitempty"` // 部门内员工使用应用的概览数据 }
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 EventAndCallbackEncryptStrategy ¶ added in v3.2.1
type EventAndCallbackEncryptStrategyBuilder ¶ added in v3.2.1
type EventAndCallbackEncryptStrategyBuilder struct {
// contains filtered or unexported fields
}
func NewEventAndCallbackEncryptStrategyBuilder ¶ added in v3.2.1
func NewEventAndCallbackEncryptStrategyBuilder() *EventAndCallbackEncryptStrategyBuilder
func (*EventAndCallbackEncryptStrategyBuilder) Build ¶ added in v3.2.1
func (builder *EventAndCallbackEncryptStrategyBuilder) Build() *EventAndCallbackEncryptStrategy
func (*EventAndCallbackEncryptStrategyBuilder) EncryptionKey ¶ added in v3.2.1
func (builder *EventAndCallbackEncryptStrategyBuilder) EncryptionKey(encryptionKey string) *EventAndCallbackEncryptStrategyBuilder
加密key, 配置 Encrypt Key 后,开放平台将向请求地址推送加密后的事件
示例值:xE4k2SkQgtbC8jZEviGRshiZrdPqdkRI
func (*EventAndCallbackEncryptStrategyBuilder) VerificationToken ¶ added in v3.2.1
func (builder *EventAndCallbackEncryptStrategyBuilder) VerificationToken(verificationToken string) *EventAndCallbackEncryptStrategyBuilder
开放平台向应用推送的事件中都带有此 Token,应用可以据此 Token 验证推送的事件是否属于该应用。
示例值:lVEjWtBAu6kVIgSLMV3C4f5W2sAAwvqS
type EventBuilder ¶ added in v3.2.1
type EventBuilder struct {
// contains filtered or unexported fields
}
func NewEventBuilder ¶ added in v3.2.1
func NewEventBuilder() *EventBuilder
func (*EventBuilder) Build ¶ added in v3.2.1
func (builder *EventBuilder) Build() *Event
func (*EventBuilder) EventDescription ¶ added in v3.2.1
func (builder *EventBuilder) EventDescription(eventDescription string) *EventBuilder
事件描述
示例值:群聊名称、头像、描述以及群编辑权限、群分享权限等被修改时推送事件
func (*EventBuilder) EventName ¶ added in v3.2.1
func (builder *EventBuilder) EventName(eventName string) *EventBuilder
事件名称
示例值:群配置修改事件
func (*EventBuilder) EventType ¶ added in v3.2.1
func (builder *EventBuilder) EventType(eventType string) *EventBuilder
事件类型,事件唯一标识
示例值:im.chat.updated_v1
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 MessagePushOverviewApplicationAppUsagePathReqBodyBuilder ¶ added in v3.3.0
type MessagePushOverviewApplicationAppUsagePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewMessagePushOverviewApplicationAppUsagePathReqBodyBuilder ¶ added in v3.3.0
func NewMessagePushOverviewApplicationAppUsagePathReqBodyBuilder() *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder
func (*MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) Build ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) Build() (*MessagePushOverviewApplicationAppUsageReqBody, error)
func (*MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) CycleType ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) CycleType(cycleType int) *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder
枚举值:day,week,month;week指自然周,返回当前日期所在周的数据;不满一周则从周一到当前日期算。month指自然月,返回当前日期所在月的数据。
示例值:1
func (*MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) Date ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) Date(date string) *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder
查询日期,若cycle_type为week,则输入的date必须为周一; 若cycle_type为month,则输入的date必须为每月1号
示例值:2021-07-08
func (*MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId(departmentId string) *MessagePushOverviewApplicationAppUsagePathReqBodyBuilder
需要查询的部门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 MessagePushOverviewApplicationAppUsageReq ¶ added in v3.3.0
type MessagePushOverviewApplicationAppUsageReq struct { Body *MessagePushOverviewApplicationAppUsageReqBody `body:""` // contains filtered or unexported fields }
type MessagePushOverviewApplicationAppUsageReqBody ¶ added in v3.3.0
type MessagePushOverviewApplicationAppUsageReqBody struct { Date *string `json:"date,omitempty"` // 查询日期,若cycle_type为week,则输入的date必须为周一; 若cycle_type为month,则输入的date必须为每月1号 CycleType *int `json:"cycle_type,omitempty"` // 枚举值:day,week,month;week指自然周,返回当前日期所在周的数据;不满一周则从周一到当前日期算。month指自然月,返回当前日期所在月的数据。 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。返回当前部门的使用数据; 若不填写,则返回当前租户的使用数据 }
type MessagePushOverviewApplicationAppUsageReqBodyBuilder ¶ added in v3.3.0
type MessagePushOverviewApplicationAppUsageReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewMessagePushOverviewApplicationAppUsageReqBodyBuilder ¶ added in v3.3.0
func NewMessagePushOverviewApplicationAppUsageReqBodyBuilder() *MessagePushOverviewApplicationAppUsageReqBodyBuilder
func (*MessagePushOverviewApplicationAppUsageReqBodyBuilder) Build ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsageReqBodyBuilder) Build() *MessagePushOverviewApplicationAppUsageReqBody
func (*MessagePushOverviewApplicationAppUsageReqBodyBuilder) CycleType ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsageReqBodyBuilder) CycleType(cycleType int) *MessagePushOverviewApplicationAppUsageReqBodyBuilder
枚举值:day,week,month;week指自然周,返回当前日期所在周的数据;不满一周则从周一到当前日期算。month指自然月,返回当前日期所在月的数据。
示例值:1
func (*MessagePushOverviewApplicationAppUsageReqBodyBuilder) Date ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsageReqBodyBuilder) Date(date string) *MessagePushOverviewApplicationAppUsageReqBodyBuilder
查询日期,若cycle_type为week,则输入的date必须为周一; 若cycle_type为month,则输入的date必须为每月1号
示例值:2021-07-08
func (*MessagePushOverviewApplicationAppUsageReqBodyBuilder) DepartmentId ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsageReqBodyBuilder) DepartmentId(departmentId string) *MessagePushOverviewApplicationAppUsageReqBodyBuilder
需要查询的部门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 MessagePushOverviewApplicationAppUsageReqBuilder ¶ added in v3.3.0
type MessagePushOverviewApplicationAppUsageReqBuilder struct {
// contains filtered or unexported fields
}
func NewMessagePushOverviewApplicationAppUsageReqBuilder ¶ added in v3.3.0
func NewMessagePushOverviewApplicationAppUsageReqBuilder() *MessagePushOverviewApplicationAppUsageReqBuilder
func (*MessagePushOverviewApplicationAppUsageReqBuilder) AppId ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsageReqBuilder) AppId(appId string) *MessagePushOverviewApplicationAppUsageReqBuilder
目标应用ID,支持自建应用
示例值:cli_9f115af860f7901b
func (*MessagePushOverviewApplicationAppUsageReqBuilder) Body ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsageReqBuilder) Body(body *MessagePushOverviewApplicationAppUsageReqBody) *MessagePushOverviewApplicationAppUsageReqBuilder
目标:查看应用在某一天/某一周/某一个月的机器人消息推送数据,可以根据部门做筛选
func (*MessagePushOverviewApplicationAppUsageReqBuilder) Build ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsageReqBuilder) Build() *MessagePushOverviewApplicationAppUsageReq
func (*MessagePushOverviewApplicationAppUsageReqBuilder) DepartmentIdType ¶ added in v3.3.0
func (builder *MessagePushOverviewApplicationAppUsageReqBuilder) DepartmentIdType(departmentIdType string) *MessagePushOverviewApplicationAppUsageReqBuilder
调用中使用的部门ID的类型
示例值:open_department_id
type MessagePushOverviewApplicationAppUsageResp ¶ added in v3.3.0
type MessagePushOverviewApplicationAppUsageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *MessagePushOverviewApplicationAppUsageRespData `json:"data"` // 业务数据 }
func (*MessagePushOverviewApplicationAppUsageResp) Success ¶ added in v3.3.0
func (resp *MessagePushOverviewApplicationAppUsageResp) Success() bool
type MessagePushOverviewApplicationAppUsageRespData ¶ added in v3.3.0
type MessagePushOverviewApplicationAppUsageRespData struct {
Items []*ApplicationAppUsage `json:"items,omitempty"` // 消息推送情况,指标值包括:send_msg_count:消息推送数、send_user_count:消息触达人数、read_in_1h_count:消息1h阅读量、read_in_12h_count:消息12h阅读量
}
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 OpenapiOption ¶ added in v3.0.30
type OpenapiOption struct { HttpMethod *string `json:"http_method,omitempty"` // OpenAPI HTTP method UrlPattern *string `json:"url_pattern,omitempty"` // OpenAPI HTTP URL Accessibility *Accessibility `json:"accessibility,omitempty"` // 可访问性 }
type OpenapiOptionBuilder ¶ added in v3.0.30
type OpenapiOptionBuilder struct {
// contains filtered or unexported fields
}
func NewOpenapiOptionBuilder ¶ added in v3.0.30
func NewOpenapiOptionBuilder() *OpenapiOptionBuilder
func (*OpenapiOptionBuilder) Accessibility ¶ added in v3.0.30
func (builder *OpenapiOptionBuilder) Accessibility(accessibility *Accessibility) *OpenapiOptionBuilder
可访问性
示例值:
func (*OpenapiOptionBuilder) Build ¶ added in v3.0.30
func (builder *OpenapiOptionBuilder) Build() *OpenapiOption
func (*OpenapiOptionBuilder) HttpMethod ¶ added in v3.0.30
func (builder *OpenapiOptionBuilder) HttpMethod(httpMethod string) *OpenapiOptionBuilder
OpenAPI HTTP method
示例值:GET
func (*OpenapiOptionBuilder) UrlPattern ¶ added in v3.0.30
func (builder *OpenapiOptionBuilder) UrlPattern(urlPattern string) *OpenapiOptionBuilder
OpenAPI HTTP URL
示例值:/open-apis/contact/v3/users/:user_id
type OperatorBuilder ¶ added in v3.0.12
type OperatorBuilder struct {
// contains filtered or unexported fields
}
func NewOperatorBuilder ¶ added in v3.0.12
func NewOperatorBuilder() *OperatorBuilder
func (*OperatorBuilder) Build ¶ added in v3.0.12
func (builder *OperatorBuilder) Build() *Operator
func (*OperatorBuilder) OperatorId ¶ added in v3.0.12
func (builder *OperatorBuilder) OperatorId(operatorId *UserId) *OperatorBuilder
用户 ID
示例值:ou_ff0b7ba35fb********67dfc8b885136
func (*OperatorBuilder) OperatorName ¶ added in v3.0.12
func (builder *OperatorBuilder) OperatorName(operatorName string) *OperatorBuilder
用户名称
示例值:张三
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"` // 应用主语言 CreateSource *string `json:"create_source,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 P2BotMenuV6 ¶ added in v3.0.20
type P2BotMenuV6 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2BotMenuV6Data `json:"event"` // 事件内容 }
func (*P2BotMenuV6) RawReq ¶ added in v3.0.20
func (m *P2BotMenuV6) RawReq(req *larkevent.EventReq)
type P2BotMenuV6Data ¶ added in v3.0.20
type P2BotMenuV6Handler ¶ added in v3.0.20
type P2BotMenuV6Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2BotMenuV6Handler ¶ added in v3.0.20
func NewP2BotMenuV6Handler(handler func(context.Context, *P2BotMenuV6) error) *P2BotMenuV6Handler
func (*P2BotMenuV6Handler) Event ¶ added in v3.0.20
func (h *P2BotMenuV6Handler) 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 PatchApplicationContactsRangePathReqBodyBuilder ¶ added in v3.0.30
type PatchApplicationContactsRangePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchApplicationContactsRangePathReqBodyBuilder ¶ added in v3.0.30
func NewPatchApplicationContactsRangePathReqBodyBuilder() *PatchApplicationContactsRangePathReqBodyBuilder
func (*PatchApplicationContactsRangePathReqBodyBuilder) AddVisibleList ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangePathReqBodyBuilder) AddVisibleList(addVisibleList *AppContactsRangeIdList) *PatchApplicationContactsRangePathReqBodyBuilder
可见范围新增列表
示例值:
func (*PatchApplicationContactsRangePathReqBodyBuilder) Build ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangePathReqBodyBuilder) Build() (*PatchApplicationContactsRangeReqBody, error)
func (*PatchApplicationContactsRangePathReqBodyBuilder) ContactsRangeType ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangePathReqBodyBuilder) ContactsRangeType(contactsRangeType string) *PatchApplicationContactsRangePathReqBodyBuilder
更新范围方式
示例值:some
func (*PatchApplicationContactsRangePathReqBodyBuilder) DelVisibleList ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangePathReqBodyBuilder) DelVisibleList(delVisibleList *AppContactsRangeIdList) *PatchApplicationContactsRangePathReqBodyBuilder
删除可用名单
示例值:
type PatchApplicationContactsRangeReq ¶ added in v3.0.30
type PatchApplicationContactsRangeReq struct { Body *PatchApplicationContactsRangeReqBody `body:""` // contains filtered or unexported fields }
type PatchApplicationContactsRangeReqBody ¶ added in v3.0.30
type PatchApplicationContactsRangeReqBody struct { ContactsRangeType *string `json:"contacts_range_type,omitempty"` // 更新范围方式 AddVisibleList *AppContactsRangeIdList `json:"add_visible_list,omitempty"` // 可见范围新增列表 DelVisibleList *AppContactsRangeIdList `json:"del_visible_list,omitempty"` // 删除可用名单 }
type PatchApplicationContactsRangeReqBodyBuilder ¶ added in v3.0.30
type PatchApplicationContactsRangeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchApplicationContactsRangeReqBodyBuilder ¶ added in v3.0.30
func NewPatchApplicationContactsRangeReqBodyBuilder() *PatchApplicationContactsRangeReqBodyBuilder
func (*PatchApplicationContactsRangeReqBodyBuilder) AddVisibleList ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangeReqBodyBuilder) AddVisibleList(addVisibleList *AppContactsRangeIdList) *PatchApplicationContactsRangeReqBodyBuilder
可见范围新增列表
示例值:
func (*PatchApplicationContactsRangeReqBodyBuilder) Build ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangeReqBodyBuilder) Build() *PatchApplicationContactsRangeReqBody
func (*PatchApplicationContactsRangeReqBodyBuilder) ContactsRangeType ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangeReqBodyBuilder) ContactsRangeType(contactsRangeType string) *PatchApplicationContactsRangeReqBodyBuilder
更新范围方式
示例值:some
func (*PatchApplicationContactsRangeReqBodyBuilder) DelVisibleList ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangeReqBodyBuilder) DelVisibleList(delVisibleList *AppContactsRangeIdList) *PatchApplicationContactsRangeReqBodyBuilder
删除可用名单
示例值:
type PatchApplicationContactsRangeReqBuilder ¶ added in v3.0.30
type PatchApplicationContactsRangeReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchApplicationContactsRangeReqBuilder ¶ added in v3.0.30
func NewPatchApplicationContactsRangeReqBuilder() *PatchApplicationContactsRangeReqBuilder
func (*PatchApplicationContactsRangeReqBuilder) AppId ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangeReqBuilder) AppId(appId string) *PatchApplicationContactsRangeReqBuilder
应用id
示例值:cli_dsfjksdfee1
func (*PatchApplicationContactsRangeReqBuilder) Body ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangeReqBuilder) Body(body *PatchApplicationContactsRangeReqBody) *PatchApplicationContactsRangeReqBuilder
func (*PatchApplicationContactsRangeReqBuilder) Build ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangeReqBuilder) Build() *PatchApplicationContactsRangeReq
func (*PatchApplicationContactsRangeReqBuilder) DepartmentIdType ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangeReqBuilder) DepartmentIdType(departmentIdType string) *PatchApplicationContactsRangeReqBuilder
部门id 类型
示例值:open_department_id
func (*PatchApplicationContactsRangeReqBuilder) UserIdType ¶ added in v3.0.30
func (builder *PatchApplicationContactsRangeReqBuilder) UserIdType(userIdType string) *PatchApplicationContactsRangeReqBuilder
成员id类型
示例值:open_id
type PatchApplicationContactsRangeResp ¶ added in v3.0.30
type PatchApplicationContactsRangeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*PatchApplicationContactsRangeResp) Success ¶ added in v3.0.30
func (resp *PatchApplicationContactsRangeResp) 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 PatchApplicationVisibilityPathReqBodyBuilder ¶ added in v3.0.30
type PatchApplicationVisibilityPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchApplicationVisibilityPathReqBodyBuilder ¶ added in v3.0.30
func NewPatchApplicationVisibilityPathReqBodyBuilder() *PatchApplicationVisibilityPathReqBodyBuilder
func (*PatchApplicationVisibilityPathReqBodyBuilder) AddInvisibleList ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityPathReqBodyBuilder) AddInvisibleList(addInvisibleList *AppVisibilityIdList) *PatchApplicationVisibilityPathReqBodyBuilder
添加禁用人员名单
示例值:
func (*PatchApplicationVisibilityPathReqBodyBuilder) AddVisibleList ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityPathReqBodyBuilder) AddVisibleList(addVisibleList *AppVisibilityIdList) *PatchApplicationVisibilityPathReqBodyBuilder
添加可用人员名单
示例值:
func (*PatchApplicationVisibilityPathReqBodyBuilder) Build ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityPathReqBodyBuilder) Build() (*PatchApplicationVisibilityReqBody, error)
func (*PatchApplicationVisibilityPathReqBodyBuilder) DelInvisibleList ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityPathReqBodyBuilder) DelInvisibleList(delInvisibleList *AppVisibilityIdList) *PatchApplicationVisibilityPathReqBodyBuilder
删除禁用人员名单
示例值:
func (*PatchApplicationVisibilityPathReqBodyBuilder) DelVisibleList ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityPathReqBodyBuilder) DelVisibleList(delVisibleList *AppVisibilityIdList) *PatchApplicationVisibilityPathReqBodyBuilder
删除可用人员名单
示例值:
func (*PatchApplicationVisibilityPathReqBodyBuilder) IsVisibleToAll ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityPathReqBodyBuilder) IsVisibleToAll(isVisibleToAll bool) *PatchApplicationVisibilityPathReqBodyBuilder
是否全员可见,false:否;true:是;不填:继续当前状态不改变.如果可见范围为全员后添加的可用人员则无效,禁用人员仍然有效
示例值:false
type PatchApplicationVisibilityReq ¶ added in v3.0.30
type PatchApplicationVisibilityReq struct { Body *PatchApplicationVisibilityReqBody `body:""` // contains filtered or unexported fields }
type PatchApplicationVisibilityReqBody ¶ added in v3.0.30
type PatchApplicationVisibilityReqBody struct { AddVisibleList *AppVisibilityIdList `json:"add_visible_list,omitempty"` // 添加可用人员名单 DelVisibleList *AppVisibilityIdList `json:"del_visible_list,omitempty"` // 删除可用人员名单 AddInvisibleList *AppVisibilityIdList `json:"add_invisible_list,omitempty"` // 添加禁用人员名单 DelInvisibleList *AppVisibilityIdList `json:"del_invisible_list,omitempty"` // 删除禁用人员名单 IsVisibleToAll *bool `json:"is_visible_to_all,omitempty"` // 是否全员可见,false:否;true:是;不填:继续当前状态不改变.如果可见范围为全员后添加的可用人员则无效,禁用人员仍然有效 }
type PatchApplicationVisibilityReqBodyBuilder ¶ added in v3.0.30
type PatchApplicationVisibilityReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchApplicationVisibilityReqBodyBuilder ¶ added in v3.0.30
func NewPatchApplicationVisibilityReqBodyBuilder() *PatchApplicationVisibilityReqBodyBuilder
func (*PatchApplicationVisibilityReqBodyBuilder) AddInvisibleList ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBodyBuilder) AddInvisibleList(addInvisibleList *AppVisibilityIdList) *PatchApplicationVisibilityReqBodyBuilder
添加禁用人员名单
示例值:
func (*PatchApplicationVisibilityReqBodyBuilder) AddVisibleList ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBodyBuilder) AddVisibleList(addVisibleList *AppVisibilityIdList) *PatchApplicationVisibilityReqBodyBuilder
添加可用人员名单
示例值:
func (*PatchApplicationVisibilityReqBodyBuilder) Build ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBodyBuilder) Build() *PatchApplicationVisibilityReqBody
func (*PatchApplicationVisibilityReqBodyBuilder) DelInvisibleList ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBodyBuilder) DelInvisibleList(delInvisibleList *AppVisibilityIdList) *PatchApplicationVisibilityReqBodyBuilder
删除禁用人员名单
示例值:
func (*PatchApplicationVisibilityReqBodyBuilder) DelVisibleList ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBodyBuilder) DelVisibleList(delVisibleList *AppVisibilityIdList) *PatchApplicationVisibilityReqBodyBuilder
删除可用人员名单
示例值:
func (*PatchApplicationVisibilityReqBodyBuilder) IsVisibleToAll ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBodyBuilder) IsVisibleToAll(isVisibleToAll bool) *PatchApplicationVisibilityReqBodyBuilder
是否全员可见,false:否;true:是;不填:继续当前状态不改变.如果可见范围为全员后添加的可用人员则无效,禁用人员仍然有效
示例值:false
type PatchApplicationVisibilityReqBuilder ¶ added in v3.0.30
type PatchApplicationVisibilityReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchApplicationVisibilityReqBuilder ¶ added in v3.0.30
func NewPatchApplicationVisibilityReqBuilder() *PatchApplicationVisibilityReqBuilder
func (*PatchApplicationVisibilityReqBuilder) AppId ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBuilder) AppId(appId string) *PatchApplicationVisibilityReqBuilder
应用id
示例值:cli_9b445f5258795107
func (*PatchApplicationVisibilityReqBuilder) Body ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBuilder) Body(body *PatchApplicationVisibilityReqBody) *PatchApplicationVisibilityReqBuilder
func (*PatchApplicationVisibilityReqBuilder) Build ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBuilder) Build() *PatchApplicationVisibilityReq
func (*PatchApplicationVisibilityReqBuilder) DepartmentIdType ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBuilder) DepartmentIdType(departmentIdType string) *PatchApplicationVisibilityReqBuilder
部门id 类型
示例值:open_department_id
func (*PatchApplicationVisibilityReqBuilder) UserIdType ¶ added in v3.0.30
func (builder *PatchApplicationVisibilityReqBuilder) UserIdType(userIdType string) *PatchApplicationVisibilityReqBuilder
open_id 类型
示例值:open_id
type PatchApplicationVisibilityResp ¶ added in v3.0.30
type PatchApplicationVisibilityResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*PatchApplicationVisibilityResp) Success ¶ added in v3.0.30
func (resp *PatchApplicationVisibilityResp) 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 SetAppBadgeReq ¶ added in v3.0.31
type SetAppBadgeReq struct { AppBadge *AppBadge `body:""` // contains filtered or unexported fields }
type SetAppBadgeReqBuilder ¶ added in v3.0.31
type SetAppBadgeReqBuilder struct {
// contains filtered or unexported fields
}
func NewSetAppBadgeReqBuilder ¶ added in v3.0.31
func NewSetAppBadgeReqBuilder() *SetAppBadgeReqBuilder
func (*SetAppBadgeReqBuilder) AppBadge ¶ added in v3.0.31
func (builder *SetAppBadgeReqBuilder) AppBadge(appBadge *AppBadge) *SetAppBadgeReqBuilder
更新应用红点信息,用于工作台场景
func (*SetAppBadgeReqBuilder) Build ¶ added in v3.0.31
func (builder *SetAppBadgeReqBuilder) Build() *SetAppBadgeReq
func (*SetAppBadgeReqBuilder) UserIdType ¶ added in v3.0.31
func (builder *SetAppBadgeReqBuilder) UserIdType(userIdType string) *SetAppBadgeReqBuilder
此次调用中使用的用户ID的类型
示例值:
type SetAppBadgeResp ¶ added in v3.0.31
type SetAppBadgeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*SetAppBadgeResp) Success ¶ added in v3.0.31
func (resp *SetAppBadgeResp) Success() bool
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
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果
示例值: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 UpdateApplicationManagementPathReqBodyBuilder ¶ added in v3.1.3
type UpdateApplicationManagementPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateApplicationManagementPathReqBodyBuilder ¶ added in v3.1.3
func NewUpdateApplicationManagementPathReqBodyBuilder() *UpdateApplicationManagementPathReqBodyBuilder
func (*UpdateApplicationManagementPathReqBodyBuilder) Build ¶ added in v3.1.3
func (builder *UpdateApplicationManagementPathReqBodyBuilder) Build() (*UpdateApplicationManagementReqBody, error)
func (*UpdateApplicationManagementPathReqBodyBuilder) Enable ¶ added in v3.1.3
func (builder *UpdateApplicationManagementPathReqBodyBuilder) Enable(enable bool) *UpdateApplicationManagementPathReqBodyBuilder
启用/停用应用
示例值:true
type UpdateApplicationManagementReq ¶ added in v3.1.3
type UpdateApplicationManagementReq struct { Body *UpdateApplicationManagementReqBody `body:""` // contains filtered or unexported fields }
type UpdateApplicationManagementReqBody ¶ added in v3.1.3
type UpdateApplicationManagementReqBody struct {
Enable *bool `json:"enable,omitempty"` // 启用/停用应用
}
type UpdateApplicationManagementReqBodyBuilder ¶ added in v3.1.3
type UpdateApplicationManagementReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateApplicationManagementReqBodyBuilder ¶ added in v3.1.3
func NewUpdateApplicationManagementReqBodyBuilder() *UpdateApplicationManagementReqBodyBuilder
func (*UpdateApplicationManagementReqBodyBuilder) Build ¶ added in v3.1.3
func (builder *UpdateApplicationManagementReqBodyBuilder) Build() *UpdateApplicationManagementReqBody
func (*UpdateApplicationManagementReqBodyBuilder) Enable ¶ added in v3.1.3
func (builder *UpdateApplicationManagementReqBodyBuilder) Enable(enable bool) *UpdateApplicationManagementReqBodyBuilder
启用/停用应用
示例值:true
type UpdateApplicationManagementReqBuilder ¶ added in v3.1.3
type UpdateApplicationManagementReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateApplicationManagementReqBuilder ¶ added in v3.1.3
func NewUpdateApplicationManagementReqBuilder() *UpdateApplicationManagementReqBuilder
func (*UpdateApplicationManagementReqBuilder) AppId ¶ added in v3.1.3
func (builder *UpdateApplicationManagementReqBuilder) AppId(appId string) *UpdateApplicationManagementReqBuilder
应用ID
示例值:cli_a4517c8461f8100a
func (*UpdateApplicationManagementReqBuilder) Body ¶ added in v3.1.3
func (builder *UpdateApplicationManagementReqBuilder) Body(body *UpdateApplicationManagementReqBody) *UpdateApplicationManagementReqBuilder
func (*UpdateApplicationManagementReqBuilder) Build ¶ added in v3.1.3
func (builder *UpdateApplicationManagementReqBuilder) Build() *UpdateApplicationManagementReq
type UpdateApplicationManagementResp ¶ added in v3.1.3
type UpdateApplicationManagementResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UpdateApplicationManagementResp) Success ¶ added in v3.1.3
func (resp *UpdateApplicationManagementResp) Success() bool
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 V6 ¶ added in v3.1.0
type V6 struct { AppBadge *appBadge // 应用红点 AppRecommendRule *appRecommendRule // 我的常用推荐规则 Application *application // 应用 ApplicationAppUsage *applicationAppUsage // 应用使用情况 ApplicationAppVersion *applicationAppVersion // 事件 ApplicationContactsRange *applicationContactsRange // application.contacts_range ApplicationFeedback *applicationFeedback // 应用反馈 ApplicationManagement *applicationManagement // application.management ApplicationVisibility *applicationVisibility // 事件 Bot *bot // 事件 }
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