Documentation
¶
Overview ¶
Code generated by lark suite oapi sdk gen
Code generated by lark suite oapi sdk gen ¶
Code generated by lark suite oapi sdk gen
Index ¶
- func SetApplicationVisibilityAddedEventHandler(conf *config.Config, ...)
- type AppAbility
- type AppBadge
- type AppCommonCategory
- type AppCustomCategory
- type AppCustomCategoryI18nInfo
- type AppI18nInfo
- type AppMessageTrendItem
- type AppScope
- type AppScopeI18nInfo
- type AppScopes
- type AppUsageTrendItems
- type AppVersionId
- type AppVersionRemark
- type AppVisibility
- type AppVisibleList
- type Application
- type ApplicationAppUsage
- type ApplicationAppUsageOverviewReqBody
- type ApplicationAppUsageOverviewReqCall
- type ApplicationAppUsageOverviewResult
- type ApplicationAppUsageService
- type ApplicationAppVersion
- type ApplicationVisibility
- type ApplicationVisibilityAddedEvent
- type ApplicationVisibilityAddedEventData
- type ApplicationVisibilityAddedEventHandler
- type ApplicationVisibilityService
- type Block
- type BlockI18nInfo
- type Bot
- type ClientBadgeNum
- type CloudDoc
- type CloudDocI18nInfo
- type DocsBlock
- type Gadget
- type MessageAction
- type MessageActionI18nInfo
- type MessageOverviewItem
- type Miniprogram
- type MsgAction
- type MsgActionI18nInfo
- type Navigate
- type NavigateMeta
- type PlusMenu
- type Scope
- type Service
- type UsageOverviewItem
- type UsageTrendItem
- type UsageUser
- type User
- type UserId
- type WebApp
- type WorkplaceWidget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppAbility ¶
type AppAbility struct { Gadget *Gadget `json:"gadget,omitempty"` WebApp *WebApp `json:"web_app,omitempty"` Bot *Bot `json:"bot,omitempty"` WorkplaceWidgets []*WorkplaceWidget `json:"workplace_widgets,omitempty"` CloudDoc *CloudDoc `json:"cloud_doc,omitempty"` DocsBlocks []*DocsBlock `json:"docs_blocks,omitempty"` MessageAction *MessageAction `json:"message_action,omitempty"` PlusMenu *PlusMenu `json:"plus_menu,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppAbility) MarshalJSON ¶
func (s *AppAbility) MarshalJSON() ([]byte, error)
type AppBadge ¶
type AppBadge struct { UserId int64 `json:"user_id,omitempty,string"` Version int64 `json:"version,omitempty,string"` Pc *ClientBadgeNum `json:"pc,omitempty"` Mobile *ClientBadgeNum `json:"mobile,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppBadge) MarshalJSON ¶
type AppCommonCategory ¶
type AppCommonCategory struct { I18nKey string `json:"i18n_key,omitempty"` Category string `json:"category,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppCommonCategory) MarshalJSON ¶
func (s *AppCommonCategory) MarshalJSON() ([]byte, error)
type AppCustomCategory ¶
type AppCustomCategory struct { I18nKey string `json:"i18n_key,omitempty"` Description string `json:"description,omitempty"` AppIds []string `json:"app_ids,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppCustomCategory) MarshalJSON ¶
func (s *AppCustomCategory) MarshalJSON() ([]byte, error)
type AppCustomCategoryI18nInfo ¶
type AppCustomCategoryI18nInfo struct { I18nKey string `json:"i18n_key,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppCustomCategoryI18nInfo) MarshalJSON ¶
func (s *AppCustomCategoryI18nInfo) MarshalJSON() ([]byte, error)
type AppI18nInfo ¶
type AppI18nInfo struct { I18nKey string `json:"i18n_key,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` HelpUse string `json:"help_use,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppI18nInfo) MarshalJSON ¶
func (s *AppI18nInfo) MarshalJSON() ([]byte, error)
type AppMessageTrendItem ¶
type AppMessageTrendItem struct { ChatType string `json:"chat_type,omitempty"` EventType string `json:"event_type,omitempty"` MessageType string `json:"message_type,omitempty"` Trend []*UsageTrendItem `json:"trend,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppMessageTrendItem) MarshalJSON ¶
func (s *AppMessageTrendItem) MarshalJSON() ([]byte, error)
type AppScope ¶
type AppScope struct { Scope string `json:"scope,omitempty"` Description string `json:"description,omitempty"` Level string `json:"level,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppScope) MarshalJSON ¶
type AppScopeI18nInfo ¶
type AppScopeI18nInfo struct { I18nKey string `json:"i18n_key,omitempty"` Description string `json:"description,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppScopeI18nInfo) MarshalJSON ¶
func (s *AppScopeI18nInfo) MarshalJSON() ([]byte, error)
type AppScopes ¶
type AppScopes struct { HighLevelScopes []string `json:"high_level_scopes,omitempty"` LowLevelScopes []string `json:"low_level_scopes,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppScopes) MarshalJSON ¶
type AppUsageTrendItems ¶
type AppUsageTrendItems struct { Id string `json:"id,omitempty"` Trend []*UsageTrendItem `json:"trend,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppUsageTrendItems) MarshalJSON ¶
func (s *AppUsageTrendItems) MarshalJSON() ([]byte, error)
type AppVersionId ¶
type AppVersionId struct { Version string `json:"version,omitempty"` VersionId string `json:"version_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppVersionId) MarshalJSON ¶
func (s *AppVersionId) MarshalJSON() ([]byte, error)
type AppVersionRemark ¶
type AppVersionRemark struct { Remark string `json:"remark,omitempty"` UpdateRemark string `json:"update_remark,omitempty"` Visibility *AppVisibility `json:"visibility,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppVersionRemark) MarshalJSON ¶
func (s *AppVersionRemark) MarshalJSON() ([]byte, error)
type AppVisibility ¶
type AppVisibility struct { IsAll bool `json:"is_all,omitempty"` VisibleList *AppVisibleList `json:"visible_list,omitempty"` InvisibleList *AppVisibleList `json:"invisible_list,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppVisibility) MarshalJSON ¶
func (s *AppVisibility) MarshalJSON() ([]byte, error)
type AppVisibleList ¶
type AppVisibleList struct { OpenIds []int64 `json:"open_ids,omitempty"` DepartmentIds []int64 `json:"department_ids,omitempty"` ForceSendFields []string `json:"-"` }
func (*AppVisibleList) MarshalJSON ¶
func (s *AppVisibleList) MarshalJSON() ([]byte, error)
type Application ¶
type Application struct { AppId string `json:"app_id,omitempty"` CreatorId int64 `json:"creator_id,omitempty,string"` Status int `json:"status,omitempty"` SceneType int `json:"scene_type,omitempty"` RedirectUrls []string `json:"redirect_urls,omitempty"` OnlineVersionId int64 `json:"online_version_id,omitempty,string"` UnauditVersionId int64 `json:"unaudit_version_id,omitempty,string"` AppName string `json:"app_name,omitempty"` AvatarUrl string `json:"avatar_url,omitempty"` 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"` ForceSendFields []string `json:"-"` }
func (*Application) MarshalJSON ¶
func (s *Application) MarshalJSON() ([]byte, error)
type ApplicationAppUsage ¶
type ApplicationAppUsage struct { MetricName string `json:"metric_name,omitempty"` MetricValue int `json:"metric_value,omitempty"` ForceSendFields []string `json:"-"` }
func (*ApplicationAppUsage) MarshalJSON ¶
func (s *ApplicationAppUsage) MarshalJSON() ([]byte, error)
type ApplicationAppUsageOverviewReqBody ¶
type ApplicationAppUsageOverviewReqBody struct { Date string `json:"date,omitempty"` CycleType int `json:"cycle_type,omitempty"` DepartmentId string `json:"department_id,omitempty"` Ability string `json:"ability,omitempty"` ForceSendFields []string `json:"-"` }
func (*ApplicationAppUsageOverviewReqBody) MarshalJSON ¶
func (s *ApplicationAppUsageOverviewReqBody) MarshalJSON() ([]byte, error)
type ApplicationAppUsageOverviewReqCall ¶
type ApplicationAppUsageOverviewReqCall struct {
// contains filtered or unexported fields
}
func (*ApplicationAppUsageOverviewReqCall) Do ¶
func (rc *ApplicationAppUsageOverviewReqCall) Do() (*ApplicationAppUsageOverviewResult, error)
func (*ApplicationAppUsageOverviewReqCall) SetAppId ¶
func (rc *ApplicationAppUsageOverviewReqCall) SetAppId(appId string)
func (*ApplicationAppUsageOverviewReqCall) SetDepartmentIdType ¶
func (rc *ApplicationAppUsageOverviewReqCall) SetDepartmentIdType(departmentIdType string)
type ApplicationAppUsageOverviewResult ¶
type ApplicationAppUsageOverviewResult struct {
Items []*ApplicationAppUsage `json:"items,omitempty"`
}
type ApplicationAppUsageService ¶
type ApplicationAppUsageService struct {
// contains filtered or unexported fields
}
func (*ApplicationAppUsageService) Overview ¶
func (applicationAppUsages *ApplicationAppUsageService) Overview(ctx *core.Context, body *ApplicationAppUsageOverviewReqBody, optFns ...request.OptFn) *ApplicationAppUsageOverviewReqCall
type ApplicationAppVersion ¶
type ApplicationAppVersion struct { AppId string `json:"app_id,omitempty"` Version string `json:"version,omitempty"` VersionId int64 `json:"version_id,omitempty,string"` AppName string `json:"app_name,omitempty"` AvatarUrl string `json:"avatar_url,omitempty"` 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 int64 `json:"create_time,omitempty,string"` PublishTime int64 `json:"publish_time,omitempty,string"` Ability *AppAbility `json:"ability,omitempty"` Remark *AppVersionRemark `json:"remark,omitempty"` ForceSendFields []string `json:"-"` }
func (*ApplicationAppVersion) MarshalJSON ¶
func (s *ApplicationAppVersion) MarshalJSON() ([]byte, error)
type ApplicationVisibility ¶
type ApplicationVisibility struct { IsAll bool `json:"is_all,omitempty"` VisibleList *AppVisibleList `json:"visible_list,omitempty"` InvisibleList *AppVisibleList `json:"invisible_list,omitempty"` ForceSendFields []string `json:"-"` }
func (*ApplicationVisibility) MarshalJSON ¶
func (s *ApplicationVisibility) MarshalJSON() ([]byte, error)
type ApplicationVisibilityAddedEvent ¶
type ApplicationVisibilityAddedEvent struct { *model.BaseEventV2 Event *ApplicationVisibilityAddedEventData `json:"event"` }
type ApplicationVisibilityAddedEventHandler ¶
type ApplicationVisibilityAddedEventHandler struct {
Fn func(*core.Context, *ApplicationVisibilityAddedEvent) error
}
func (*ApplicationVisibilityAddedEventHandler) GetEvent ¶
func (h *ApplicationVisibilityAddedEventHandler) GetEvent() interface{}
type ApplicationVisibilityService ¶
type ApplicationVisibilityService struct {
// contains filtered or unexported fields
}
type Block ¶
type Block struct { BlockTypeId string `json:"block_type_id,omitempty"` VersionId string `json:"version_id,omitempty"` I18n []*BlockI18nInfo `json:"i18n,omitempty"` MobileIconUrl string `json:"mobile_icon_url,omitempty"` PcIconUrl string `json:"pc_icon_url,omitempty"` ForceSendFields []string `json:"-"` }
func (*Block) MarshalJSON ¶
type BlockI18nInfo ¶
type BlockI18nInfo struct { I18nKey string `json:"i18n_key,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*BlockI18nInfo) MarshalJSON ¶
func (s *BlockI18nInfo) MarshalJSON() ([]byte, error)
type Bot ¶
type Bot struct { CardRequestUrl string `json:"card_request_url,omitempty"` ForceSendFields []string `json:"-"` }
func (*Bot) MarshalJSON ¶
type ClientBadgeNum ¶
type ClientBadgeNum struct { WebApp int `json:"web_app,omitempty"` Gadget int `json:"gadget,omitempty"` ForceSendFields []string `json:"-"` }
func (*ClientBadgeNum) MarshalJSON ¶
func (s *ClientBadgeNum) MarshalJSON() ([]byte, error)
type CloudDoc ¶
type CloudDoc struct { SpaceUrl string `json:"space_url,omitempty"` I18n []*CloudDocI18nInfo `json:"i18n,omitempty"` IconUrl string `json:"icon_url,omitempty"` Mode int `json:"mode,omitempty"` ForceSendFields []string `json:"-"` }
func (*CloudDoc) MarshalJSON ¶
type CloudDocI18nInfo ¶
type CloudDocI18nInfo struct { I18nKey string `json:"i18n_key,omitempty"` Name string `json:"name,omitempty"` ReadDescription string `json:"read_description,omitempty"` WriteDescription string `json:"write_description,omitempty"` ForceSendFields []string `json:"-"` }
func (*CloudDocI18nInfo) MarshalJSON ¶
func (s *CloudDocI18nInfo) MarshalJSON() ([]byte, error)
type DocsBlock ¶
type DocsBlock struct { BlockTypeId string `json:"block_type_id,omitempty"` I18n []*BlockI18nInfo `json:"i18n,omitempty"` MobileIconUrl string `json:"mobile_icon_url,omitempty"` PcIconUrl string `json:"pc_icon_url,omitempty"` ForceSendFields []string `json:"-"` }
func (*DocsBlock) MarshalJSON ¶
type Gadget ¶
type Gadget struct { EnablePcMode int `json:"enable_pc_mode,omitempty"` SchemaUrls []string `json:"schema_urls,omitempty"` PcUseMobilePkg bool `json:"pc_use_mobile_pkg,omitempty"` PcVersion string `json:"pc_version,omitempty"` MobileVersion string `json:"mobile_version,omitempty"` MobileMinLarkVersion string `json:"mobile_min_lark_version,omitempty"` PcMinLarkVersion string `json:"pc_min_lark_version,omitempty"` ForceSendFields []string `json:"-"` }
func (*Gadget) MarshalJSON ¶
type MessageAction ¶
type MessageAction struct { PcAppLink string `json:"pc_app_link,omitempty"` MobileAppLink string `json:"mobile_app_link,omitempty"` I18n []*MessageActionI18nInfo `json:"i18n,omitempty"` ForceSendFields []string `json:"-"` }
func (*MessageAction) MarshalJSON ¶
func (s *MessageAction) MarshalJSON() ([]byte, error)
type MessageActionI18nInfo ¶
type MessageActionI18nInfo struct { I18nKey string `json:"i18n_key,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*MessageActionI18nInfo) MarshalJSON ¶
func (s *MessageActionI18nInfo) MarshalJSON() ([]byte, error)
type MessageOverviewItem ¶
type MessageOverviewItem struct { PageView int64 `json:"page_view,omitempty,string"` UniqueVisitor int64 `json:"unique_visitor,omitempty,string"` ChatType string `json:"chat_type,omitempty"` MessageType string `json:"message_type,omitempty"` EventType string `json:"event_type,omitempty"` ForceSendFields []string `json:"-"` }
func (*MessageOverviewItem) MarshalJSON ¶
func (s *MessageOverviewItem) MarshalJSON() ([]byte, error)
type Miniprogram ¶
type Miniprogram struct { EnablePcMode int `json:"enable_pc_mode,omitempty"` SchemaUrls []string `json:"schema_urls,omitempty"` PcUseMobilePkg bool `json:"pc_use_mobile_pkg,omitempty"` PcVersionId string `json:"pc_version_id,omitempty"` MobileVersionId string `json:"mobile_version_id,omitempty"` MobileMinLarkVersion string `json:"mobile_min_lark_version,omitempty"` PcMinLarkVersion string `json:"pc_min_lark_version,omitempty"` ForceSendFields []string `json:"-"` }
func (*Miniprogram) MarshalJSON ¶
func (s *Miniprogram) MarshalJSON() ([]byte, error)
type MsgAction ¶
type MsgAction struct { PcAppLink string `json:"pc_app_link,omitempty"` MobileAppLink string `json:"mobile_app_link,omitempty"` I18n []*MsgActionI18nInfo `json:"i18n,omitempty"` ForceSendFields []string `json:"-"` }
func (*MsgAction) MarshalJSON ¶
type MsgActionI18nInfo ¶
type MsgActionI18nInfo struct { I18nKey string `json:"i18n_key,omitempty"` Name string `json:"name,omitempty"` ForceSendFields []string `json:"-"` }
func (*MsgActionI18nInfo) MarshalJSON ¶
func (s *MsgActionI18nInfo) MarshalJSON() ([]byte, error)
type NavigateMeta ¶
type NavigateMeta struct {}
func (*NavigateMeta) MarshalJSON ¶
func (s *NavigateMeta) MarshalJSON() ([]byte, error)
type PlusMenu ¶
type PlusMenu struct { PcAppLink string `json:"pc_app_link,omitempty"` MobileAppLink string `json:"mobile_app_link,omitempty"` ForceSendFields []string `json:"-"` }
func (*PlusMenu) MarshalJSON ¶
type Scope ¶
type Scope struct { ScopeName string `json:"scope_name,omitempty"` GrantStatus int `json:"grant_status,omitempty"` ForceSendFields []string `json:"-"` }
func (*Scope) MarshalJSON ¶
type Service ¶
type Service struct { ApplicationVisibilitys *ApplicationVisibilityService ApplicationAppUsages *ApplicationAppUsageService // contains filtered or unexported fields }
func NewService ¶
type UsageOverviewItem ¶
type UsageOverviewItem struct { PageView int64 `json:"page_view,omitempty,string"` UniqueVisitor int64 `json:"unique_visitor,omitempty,string"` DepartmentId string `json:"department_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*UsageOverviewItem) MarshalJSON ¶
func (s *UsageOverviewItem) MarshalJSON() ([]byte, error)
type UsageTrendItem ¶
type UsageTrendItem struct { Timestamp int64 `json:"timestamp,omitempty,string"` PageView int64 `json:"page_view,omitempty,string"` UniqueVisitor int64 `json:"unique_visitor,omitempty,string"` ForceSendFields []string `json:"-"` }
func (*UsageTrendItem) MarshalJSON ¶
func (s *UsageTrendItem) MarshalJSON() ([]byte, error)
type UsageUser ¶
type UsageUser struct { UserId string `json:"user_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*UsageUser) MarshalJSON ¶
type User ¶
func (*User) MarshalJSON ¶
type UserId ¶
type UserId struct { UserId string `json:"user_id,omitempty"` OpenId string `json:"open_id,omitempty"` UnionId string `json:"union_id,omitempty"` ForceSendFields []string `json:"-"` }
func (*UserId) MarshalJSON ¶
type WebApp ¶
type WebApp struct { PcUrl string `json:"pc_url,omitempty"` MobileUrl string `json:"mobile_url,omitempty"` ForceSendFields []string `json:"-"` }
func (*WebApp) MarshalJSON ¶
type WorkplaceWidget ¶
type WorkplaceWidget struct { MinLarkVersion string `json:"min_lark_version,omitempty"` ForceSendFields []string `json:"-"` }
func (*WorkplaceWidget) MarshalJSON ¶
func (s *WorkplaceWidget) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.