larkapplication

package
v3.0.0-beta-1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 6 Imported by: 19

Documentation

Overview

Package application code generated by oapi sdk gen

Package application code generated by oapi sdk gen

Package application code generated by oapi sdk gen

Index

Constants

View Source
const (
	I18nKeyZhCn = "zh_cn"
	I18nKeyEnUs = "en_us"
	I18nKeyJaJp = "ja_jp"
)
View Source
const (
	UserIdTypeUserId  = "user_id"
	UserIdTypeUnionId = "union_id"
	UserIdTypeOpenId  = "open_id"
)
View Source
const (
	CycleTypeDay   = 1
	CycleTypeWeek  = 2
	CycleTypeMonth = 3
)
View Source
const (
	AbilityApp = "app"
	AbilityMp  = "mp"
	AbilityH5  = "h5"
	AbilityBot = "bot"
)
View Source
const (
	DepartmentIdTypeDepartmentId     = "department_id"
	DepartmentIdTypeOpenDepartmentId = "open_department_id"
)
View Source
const (
	AppVersionStatusUnknown    = 0
	AppVersionStatusAudited    = 1
	AppVersionStatusReject     = 2
	AppVersionStatusUnderAudit = 3
	AppVersionStatusUnaudit    = 4
)
View Source
const (
	OpenFeedbackTypeFault  = 1
	OpenFeedbackTypeAdvice = 2
)
View Source
const (
	OpenMarkStatusUnmarked   = 0
	OpenMarkStatusMarked     = 1
	OpenMarkStatusProcessing = 2
	OpenMarkStatusClosed     = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppAbility

type AppAbility struct {
	Gadget           *Gadget            `json:"gadget,omitempty"`
	WebApp           *WebApp            `json:"web_app,omitempty"`
	Bot              *Bot               `json:"bot,omitempty"`
	WorkplaceWidgets []*WorkplaceWidget `json:"workplace_widgets,omitempty"`
	Navigate         *Navigate          `json:"navigate,omitempty"`
	CloudDoc         *CloudDoc          `json:"cloud_doc,omitempty"`
	DocsBlocks       []*DocsBlock       `json:"docs_blocks,omitempty"`
	MessageAction    *MessageAction     `json:"message_action,omitempty"`
	PlusMenu         *PlusMenu          `json:"plus_menu,omitempty"`
}

type AppAbilityBuilder

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

builder开始

func NewAppAbilityBuilder

func NewAppAbilityBuilder() *AppAbilityBuilder

func (*AppAbilityBuilder) Bot

func (builder *AppAbilityBuilder) Bot(bot *Bot) *AppAbilityBuilder

func (*AppAbilityBuilder) Build

func (builder *AppAbilityBuilder) Build() *AppAbility

func (*AppAbilityBuilder) CloudDoc

func (builder *AppAbilityBuilder) CloudDoc(cloudDoc *CloudDoc) *AppAbilityBuilder

func (*AppAbilityBuilder) DocsBlocks

func (builder *AppAbilityBuilder) DocsBlocks(docsBlocks []*DocsBlock) *AppAbilityBuilder

func (*AppAbilityBuilder) Gadget

func (builder *AppAbilityBuilder) Gadget(gadget *Gadget) *AppAbilityBuilder

func (*AppAbilityBuilder) MessageAction

func (builder *AppAbilityBuilder) MessageAction(messageAction *MessageAction) *AppAbilityBuilder

func (*AppAbilityBuilder) Navigate

func (builder *AppAbilityBuilder) Navigate(navigate *Navigate) *AppAbilityBuilder

func (*AppAbilityBuilder) PlusMenu

func (builder *AppAbilityBuilder) PlusMenu(plusMenu *PlusMenu) *AppAbilityBuilder

func (*AppAbilityBuilder) WebApp

func (builder *AppAbilityBuilder) WebApp(webApp *WebApp) *AppAbilityBuilder

func (*AppAbilityBuilder) WorkplaceWidgets

func (builder *AppAbilityBuilder) WorkplaceWidgets(workplaceWidgets []*WorkplaceWidget) *AppAbilityBuilder

type AppAdminUser

type AppAdminUser struct {
	AdminType []string `json:"admin_type,omitempty"`
	UserId    *string  `json:"user_id,omitempty"`
}

type AppAdminUserBuilder

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

builder开始

func NewAppAdminUserBuilder

func NewAppAdminUserBuilder() *AppAdminUserBuilder

func (*AppAdminUserBuilder) AdminType

func (builder *AppAdminUserBuilder) AdminType(adminType []string) *AppAdminUserBuilder

func (*AppAdminUserBuilder) Build

func (builder *AppAdminUserBuilder) Build() *AppAdminUser

func (*AppAdminUserBuilder) UserId

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

type AppBadge

type AppBadge struct {
	UserId  *int64          `json:"user_id,omitempty,string"`
	Version *int64          `json:"version,omitempty,string"`
	Extra   *string         `json:"extra,omitempty"`
	Pc      *ClientBadgeNum `json:"pc,omitempty"`
	Mobile  *ClientBadgeNum `json:"mobile,omitempty"`
}

type AppBadgeBuilder

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

builder开始

func NewAppBadgeBuilder

func NewAppBadgeBuilder() *AppBadgeBuilder

func (*AppBadgeBuilder) Build

func (builder *AppBadgeBuilder) Build() *AppBadge

func (*AppBadgeBuilder) Extra

func (builder *AppBadgeBuilder) Extra(extra string) *AppBadgeBuilder

func (*AppBadgeBuilder) Mobile

func (builder *AppBadgeBuilder) Mobile(mobile *ClientBadgeNum) *AppBadgeBuilder

func (*AppBadgeBuilder) Pc

func (*AppBadgeBuilder) UserId

func (builder *AppBadgeBuilder) UserId(userId int64) *AppBadgeBuilder

func (*AppBadgeBuilder) Version

func (builder *AppBadgeBuilder) Version(version int64) *AppBadgeBuilder

type AppCommonCategory

type AppCommonCategory struct {
	I18nKey  *string `json:"i18n_key,omitempty"`
	Category *string `json:"category,omitempty"`
}

type AppCommonCategoryBuilder

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

builder开始

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

type AppCustomCategory

type AppCustomCategory struct {
	I18nKey     *string  `json:"i18n_key,omitempty"`
	Description *string  `json:"description,omitempty"`
	AppIds      []string `json:"app_ids,omitempty"`
}

type AppCustomCategoryBuilder

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

builder开始

func NewAppCustomCategoryBuilder

func NewAppCustomCategoryBuilder() *AppCustomCategoryBuilder

func (*AppCustomCategoryBuilder) AppIds

func (builder *AppCustomCategoryBuilder) AppIds(appIds []string) *AppCustomCategoryBuilder

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

type AppCustomCategoryI18nInfo

type AppCustomCategoryI18nInfo struct {
	I18nKey *string `json:"i18n_key,omitempty"`
	Name    *string `json:"name,omitempty"`
}

type AppCustomCategoryI18nInfoBuilder

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

builder开始

func NewAppCustomCategoryI18nInfoBuilder

func NewAppCustomCategoryI18nInfoBuilder() *AppCustomCategoryI18nInfoBuilder

func (*AppCustomCategoryI18nInfoBuilder) Build

func (*AppCustomCategoryI18nInfoBuilder) I18nKey

func (*AppCustomCategoryI18nInfoBuilder) Name

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"`
}

type AppI18nInfoBuilder

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

builder开始

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

func (*AppI18nInfoBuilder) Name

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

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"`
}

type AppMessageTrendItemBuilder

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

builder开始

func NewAppMessageTrendItemBuilder

func NewAppMessageTrendItemBuilder() *AppMessageTrendItemBuilder

func (*AppMessageTrendItemBuilder) Build

func (*AppMessageTrendItemBuilder) ChatType

func (builder *AppMessageTrendItemBuilder) ChatType(chatType string) *AppMessageTrendItemBuilder

func (*AppMessageTrendItemBuilder) EventType

func (builder *AppMessageTrendItemBuilder) EventType(eventType string) *AppMessageTrendItemBuilder

func (*AppMessageTrendItemBuilder) MessageType

func (builder *AppMessageTrendItemBuilder) MessageType(messageType string) *AppMessageTrendItemBuilder

func (*AppMessageTrendItemBuilder) Trend

type AppScope

type AppScope struct {
	Scope       *string `json:"scope,omitempty"`
	Description *string `json:"description,omitempty"`
	Level       *int    `json:"level,omitempty"`
}

type AppScopeBuilder

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

builder开始

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

func (*AppScopeBuilder) Scope

func (builder *AppScopeBuilder) Scope(scope string) *AppScopeBuilder

type AppScopeI18nInfo

type AppScopeI18nInfo struct {
	I18nKey     *string `json:"i18n_key,omitempty"`
	Description *string `json:"description,omitempty"`
}

type AppScopeI18nInfoBuilder

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

builder开始

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

type AppScopes

type AppScopes struct {
	HighLevelScopes []string `json:"high_level_scopes,omitempty"`
	LowLevelScopes  []string `json:"low_level_scopes,omitempty"`
}

type AppScopesBuilder

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

builder开始

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
}

builder开始

func NewAppUsageTrendItemsBuilder

func NewAppUsageTrendItemsBuilder() *AppUsageTrendItemsBuilder

func (*AppUsageTrendItemsBuilder) Build

func (*AppUsageTrendItemsBuilder) Id

func (*AppUsageTrendItemsBuilder) Trend

type AppVersionId

type AppVersionId struct {
	Version   *string `json:"version,omitempty"`
	VersionId *string `json:"version_id,omitempty"`
}

type AppVersionIdBuilder

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

builder开始

func NewAppVersionIdBuilder

func NewAppVersionIdBuilder() *AppVersionIdBuilder

func (*AppVersionIdBuilder) Build

func (builder *AppVersionIdBuilder) Build() *AppVersionId

func (*AppVersionIdBuilder) Version

func (builder *AppVersionIdBuilder) Version(version string) *AppVersionIdBuilder

func (*AppVersionIdBuilder) VersionId

func (builder *AppVersionIdBuilder) VersionId(versionId string) *AppVersionIdBuilder

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
}

builder开始

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
}

builder开始

func NewAppVersionRemarkEventBuilder

func NewAppVersionRemarkEventBuilder() *AppVersionRemarkEventBuilder

func (*AppVersionRemarkEventBuilder) Build

func (*AppVersionRemarkEventBuilder) Remark

func (*AppVersionRemarkEventBuilder) UpdateRemark

func (builder *AppVersionRemarkEventBuilder) UpdateRemark(updateRemark string) *AppVersionRemarkEventBuilder

func (*AppVersionRemarkEventBuilder) Visibility

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
}

builder开始

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

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
}

builder开始

func NewAppVisibilityEventBuilder

func NewAppVisibilityEventBuilder() *AppVisibilityEventBuilder

func (*AppVisibilityEventBuilder) Build

func (*AppVisibilityEventBuilder) InvisibleList

func (builder *AppVisibilityEventBuilder) InvisibleList(invisibleList *AppVisibleListEvent) *AppVisibilityEventBuilder

func (*AppVisibilityEventBuilder) IsAll

func (*AppVisibilityEventBuilder) VisibleList

func (builder *AppVisibilityEventBuilder) VisibleList(visibleList *AppVisibleListEvent) *AppVisibilityEventBuilder

type AppVisibilityItem

type AppVisibilityItem struct {
	UserId       *string `json:"user_id,omitempty"`
	DepartmentId *string `json:"department_id,omitempty"`
	GroupId      *string `json:"group_id,omitempty"`
}

type AppVisibilityItemBuilder

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

builder开始

func NewAppVisibilityItemBuilder

func NewAppVisibilityItemBuilder() *AppVisibilityItemBuilder

func (*AppVisibilityItemBuilder) Build

func (builder *AppVisibilityItemBuilder) Build() *AppVisibilityItem

func (*AppVisibilityItemBuilder) DepartmentId

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

func (*AppVisibilityItemBuilder) GroupId

func (builder *AppVisibilityItemBuilder) GroupId(groupId string) *AppVisibilityItemBuilder

func (*AppVisibilityItemBuilder) UserId

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

type AppVisibleList

type AppVisibleList struct {
	OpenIds       []int64 `json:"open_ids,omitempty"`
	DepartmentIds []int64 `json:"department_ids,omitempty"`
}

type AppVisibleListBuilder

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

builder开始

func NewAppVisibleListBuilder

func NewAppVisibleListBuilder() *AppVisibleListBuilder

func (*AppVisibleListBuilder) Build

func (builder *AppVisibleListBuilder) Build() *AppVisibleList

func (*AppVisibleListBuilder) DepartmentIds

func (builder *AppVisibleListBuilder) DepartmentIds(departmentIds []int64) *AppVisibleListBuilder

func (*AppVisibleListBuilder) OpenIds

func (builder *AppVisibleListBuilder) OpenIds(openIds []int64) *AppVisibleListBuilder

type AppVisibleListEvent

type AppVisibleListEvent struct {
	OpenIds       []*UserId `json:"open_ids,omitempty"`
	DepartmentIds []string  `json:"department_ids,omitempty"`
}

type AppVisibleListEventBuilder

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

builder开始

func NewAppVisibleListEventBuilder

func NewAppVisibleListEventBuilder() *AppVisibleListEventBuilder

func (*AppVisibleListEventBuilder) Build

func (*AppVisibleListEventBuilder) DepartmentIds

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

func (*AppVisibleListEventBuilder) OpenIds

func (builder *AppVisibleListEventBuilder) OpenIds(openIds []*UserId) *AppVisibleListEventBuilder

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"`
}

type ApplicationAppUsage

type ApplicationAppUsage struct {
	MetricName  *string `json:"metric_name,omitempty"`
	MetricValue *int    `json:"metric_value,omitempty"`
}

type ApplicationAppUsageBuilder

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

builder开始

func NewApplicationAppUsageBuilder

func NewApplicationAppUsageBuilder() *ApplicationAppUsageBuilder

func (*ApplicationAppUsageBuilder) Build

func (*ApplicationAppUsageBuilder) MetricName

func (builder *ApplicationAppUsageBuilder) MetricName(metricName string) *ApplicationAppUsageBuilder

func (*ApplicationAppUsageBuilder) MetricValue

func (builder *ApplicationAppUsageBuilder) MetricValue(metricValue int) *ApplicationAppUsageBuilder

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"`
}

type ApplicationAppVersionBuilder

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

builder开始

func NewApplicationAppVersionBuilder

func NewApplicationAppVersionBuilder() *ApplicationAppVersionBuilder

func (*ApplicationAppVersionBuilder) Ability

func (*ApplicationAppVersionBuilder) AppId

func (*ApplicationAppVersionBuilder) AppName

func (*ApplicationAppVersionBuilder) AvatarUrl

func (builder *ApplicationAppVersionBuilder) AvatarUrl(avatarUrl string) *ApplicationAppVersionBuilder

func (*ApplicationAppVersionBuilder) BackHomeUrl

func (builder *ApplicationAppVersionBuilder) BackHomeUrl(backHomeUrl string) *ApplicationAppVersionBuilder

func (*ApplicationAppVersionBuilder) Build

func (*ApplicationAppVersionBuilder) CommonCategories

func (builder *ApplicationAppVersionBuilder) CommonCategories(commonCategories []string) *ApplicationAppVersionBuilder

func (*ApplicationAppVersionBuilder) CreateTime

func (builder *ApplicationAppVersionBuilder) CreateTime(createTime int64) *ApplicationAppVersionBuilder

func (*ApplicationAppVersionBuilder) Description

func (builder *ApplicationAppVersionBuilder) Description(description string) *ApplicationAppVersionBuilder

func (*ApplicationAppVersionBuilder) Events

func (*ApplicationAppVersionBuilder) I18n

func (*ApplicationAppVersionBuilder) PublishTime

func (builder *ApplicationAppVersionBuilder) PublishTime(publishTime int64) *ApplicationAppVersionBuilder

func (*ApplicationAppVersionBuilder) Remark

func (*ApplicationAppVersionBuilder) Scopes

func (*ApplicationAppVersionBuilder) Status

func (*ApplicationAppVersionBuilder) Version

func (*ApplicationAppVersionBuilder) VersionId

func (builder *ApplicationAppVersionBuilder) VersionId(versionId int64) *ApplicationAppVersionBuilder

type ApplicationAppVersionEvent

type ApplicationAppVersionEvent struct {
	AppId            *string                `json:"app_id,omitempty"`
	Version          *string                `json:"version,omitempty"`
	VersionId        *string                `json:"version_id,omitempty"`
	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           *AppVersionRemarkEvent `json:"remark,omitempty"`
}

type ApplicationAppVersionEventBuilder

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

builder开始

func NewApplicationAppVersionEventBuilder

func NewApplicationAppVersionEventBuilder() *ApplicationAppVersionEventBuilder

func (*ApplicationAppVersionEventBuilder) Ability

func (*ApplicationAppVersionEventBuilder) AppId

func (*ApplicationAppVersionEventBuilder) AppName

func (*ApplicationAppVersionEventBuilder) AvatarUrl

func (*ApplicationAppVersionEventBuilder) BackHomeUrl

func (*ApplicationAppVersionEventBuilder) Build

func (*ApplicationAppVersionEventBuilder) CommonCategories

func (builder *ApplicationAppVersionEventBuilder) CommonCategories(commonCategories []string) *ApplicationAppVersionEventBuilder

func (*ApplicationAppVersionEventBuilder) CreateTime

func (*ApplicationAppVersionEventBuilder) Description

func (*ApplicationAppVersionEventBuilder) Events

func (*ApplicationAppVersionEventBuilder) I18n

func (*ApplicationAppVersionEventBuilder) PublishTime

func (*ApplicationAppVersionEventBuilder) Remark

func (*ApplicationAppVersionEventBuilder) Scopes

func (*ApplicationAppVersionEventBuilder) Status

func (*ApplicationAppVersionEventBuilder) Version

func (*ApplicationAppVersionEventBuilder) VersionId

type ApplicationBuilder

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

builder开始

func NewApplicationBuilder

func NewApplicationBuilder() *ApplicationBuilder

func (*ApplicationBuilder) AppId

func (builder *ApplicationBuilder) AppId(appId string) *ApplicationBuilder

func (*ApplicationBuilder) AppName

func (builder *ApplicationBuilder) AppName(appName string) *ApplicationBuilder

func (*ApplicationBuilder) AvatarUrl

func (builder *ApplicationBuilder) AvatarUrl(avatarUrl string) *ApplicationBuilder

func (*ApplicationBuilder) BackHomeUrl

func (builder *ApplicationBuilder) BackHomeUrl(backHomeUrl string) *ApplicationBuilder

func (*ApplicationBuilder) Build

func (builder *ApplicationBuilder) Build() *Application

func (*ApplicationBuilder) CommonCategories

func (builder *ApplicationBuilder) CommonCategories(commonCategories []string) *ApplicationBuilder

func (*ApplicationBuilder) CreatorId

func (builder *ApplicationBuilder) CreatorId(creatorId int64) *ApplicationBuilder

func (*ApplicationBuilder) Description

func (builder *ApplicationBuilder) Description(description string) *ApplicationBuilder

func (*ApplicationBuilder) I18n

func (builder *ApplicationBuilder) I18n(i18n []*AppI18nInfo) *ApplicationBuilder

func (*ApplicationBuilder) OnlineVersionId

func (builder *ApplicationBuilder) OnlineVersionId(onlineVersionId int64) *ApplicationBuilder

func (*ApplicationBuilder) PrimaryLanguage

func (builder *ApplicationBuilder) PrimaryLanguage(primaryLanguage string) *ApplicationBuilder

func (*ApplicationBuilder) RedirectUrls

func (builder *ApplicationBuilder) RedirectUrls(redirectUrls []string) *ApplicationBuilder

func (*ApplicationBuilder) SceneType

func (builder *ApplicationBuilder) SceneType(sceneType int) *ApplicationBuilder

func (*ApplicationBuilder) Scopes

func (builder *ApplicationBuilder) Scopes(scopes []*AppScope) *ApplicationBuilder

func (*ApplicationBuilder) Status

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

func (*ApplicationBuilder) UnauditVersionId

func (builder *ApplicationBuilder) UnauditVersionId(unauditVersionId int64) *ApplicationBuilder

type ApplicationDepartmentAppUsage

type ApplicationDepartmentAppUsage struct {
	DepartmentId *string                `json:"department_id,omitempty"`
	App          []*ApplicationAppUsage `json:"app,omitempty"`
	Gadget       []*ApplicationAppUsage `json:"gadget,omitempty"`
	Webapp       []*ApplicationAppUsage `json:"webapp,omitempty"`
	Bot          []*ApplicationAppUsage `json:"bot,omitempty"`
}

type ApplicationDepartmentAppUsageBuilder

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

builder开始

func NewApplicationDepartmentAppUsageBuilder

func NewApplicationDepartmentAppUsageBuilder() *ApplicationDepartmentAppUsageBuilder

func (*ApplicationDepartmentAppUsageBuilder) App

func (*ApplicationDepartmentAppUsageBuilder) Bot

func (*ApplicationDepartmentAppUsageBuilder) Build

func (*ApplicationDepartmentAppUsageBuilder) DepartmentId

func (*ApplicationDepartmentAppUsageBuilder) Gadget

func (*ApplicationDepartmentAppUsageBuilder) Webapp

type ApplicationFeedback

type ApplicationFeedback struct {
	FeedbackId   *int64   `json:"feedback_id,omitempty,string"`
	AppId        *string  `json:"app_id,omitempty"`
	FeedbackTime *string  `json:"feedback_time,omitempty"`
	TenantName   *string  `json:"tenant_name,omitempty"`
	FeedbackType *int     `json:"feedback_type,omitempty"`
	Status       *int     `json:"status,omitempty"`
	FaultType    []int    `json:"fault_type,omitempty"`
	FaultTime    *string  `json:"fault_time,omitempty"`
	Source       *int     `json:"source,omitempty"`
	Contact      *string  `json:"contact,omitempty"`
	UpdateTime   *string  `json:"update_time,omitempty"`
	Description  *string  `json:"description,omitempty"`
	UserId       *string  `json:"user_id,omitempty"`
	OperatorId   *string  `json:"operator_id,omitempty"`
	Images       []string `json:"images,omitempty"`
}

type ApplicationFeedbackBuilder

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

builder开始

func NewApplicationFeedbackBuilder

func NewApplicationFeedbackBuilder() *ApplicationFeedbackBuilder

func (*ApplicationFeedbackBuilder) AppId

func (*ApplicationFeedbackBuilder) Build

func (*ApplicationFeedbackBuilder) Contact

func (*ApplicationFeedbackBuilder) Description

func (builder *ApplicationFeedbackBuilder) Description(description string) *ApplicationFeedbackBuilder

func (*ApplicationFeedbackBuilder) FaultTime

func (builder *ApplicationFeedbackBuilder) FaultTime(faultTime string) *ApplicationFeedbackBuilder

func (*ApplicationFeedbackBuilder) FaultType

func (builder *ApplicationFeedbackBuilder) FaultType(faultType []int) *ApplicationFeedbackBuilder

func (*ApplicationFeedbackBuilder) FeedbackId

func (builder *ApplicationFeedbackBuilder) FeedbackId(feedbackId int64) *ApplicationFeedbackBuilder

func (*ApplicationFeedbackBuilder) FeedbackTime

func (builder *ApplicationFeedbackBuilder) FeedbackTime(feedbackTime string) *ApplicationFeedbackBuilder

func (*ApplicationFeedbackBuilder) FeedbackType

func (builder *ApplicationFeedbackBuilder) FeedbackType(feedbackType int) *ApplicationFeedbackBuilder

func (*ApplicationFeedbackBuilder) Images

func (*ApplicationFeedbackBuilder) OperatorId

func (builder *ApplicationFeedbackBuilder) OperatorId(operatorId string) *ApplicationFeedbackBuilder

func (*ApplicationFeedbackBuilder) Source

func (*ApplicationFeedbackBuilder) Status

func (*ApplicationFeedbackBuilder) TenantName

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

func (*ApplicationFeedbackBuilder) UpdateTime

func (builder *ApplicationFeedbackBuilder) UpdateTime(updateTime string) *ApplicationFeedbackBuilder

func (*ApplicationFeedbackBuilder) UserId

type ApplicationService

type ApplicationService struct {
	Application           *application
	ApplicationAppUsage   *applicationAppUsage
	ApplicationAppVersion *applicationAppVersion
	ApplicationFeedback   *applicationFeedback
	ApplicationVisibility *applicationVisibility
	// contains filtered or unexported fields
}

业务域服务定义

func NewService

func NewService(config *larkcore.Config) *ApplicationService

构建业务域服务实例

type ApplicationVisibility

type ApplicationVisibility struct {
	IsAll         *bool           `json:"is_all,omitempty"`
	VisibleList   *AppVisibleList `json:"visible_list,omitempty"`
	InvisibleList *AppVisibleList `json:"invisible_list,omitempty"`
}

type ApplicationVisibilityBuilder

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

builder开始

func NewApplicationVisibilityBuilder

func NewApplicationVisibilityBuilder() *ApplicationVisibilityBuilder

func (*ApplicationVisibilityBuilder) Build

func (*ApplicationVisibilityBuilder) InvisibleList

func (builder *ApplicationVisibilityBuilder) InvisibleList(invisibleList *AppVisibleList) *ApplicationVisibilityBuilder

func (*ApplicationVisibilityBuilder) IsAll

func (*ApplicationVisibilityBuilder) VisibleList

func (builder *ApplicationVisibilityBuilder) VisibleList(visibleList *AppVisibleList) *ApplicationVisibilityBuilder

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"`
}

type BlockBuilder

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

builder开始

func NewBlockBuilder

func NewBlockBuilder() *BlockBuilder

func (*BlockBuilder) BlockTypeId

func (builder *BlockBuilder) BlockTypeId(blockTypeId string) *BlockBuilder

func (*BlockBuilder) Build

func (builder *BlockBuilder) Build() *Block

func (*BlockBuilder) I18n

func (builder *BlockBuilder) I18n(i18n []*BlockI18nInfo) *BlockBuilder

func (*BlockBuilder) MobileIconUrl

func (builder *BlockBuilder) MobileIconUrl(mobileIconUrl string) *BlockBuilder

func (*BlockBuilder) PcIconUrl

func (builder *BlockBuilder) PcIconUrl(pcIconUrl string) *BlockBuilder

func (*BlockBuilder) VersionId

func (builder *BlockBuilder) VersionId(versionId string) *BlockBuilder

type BlockI18nInfo

type BlockI18nInfo struct {
	I18nKey *string `json:"i18n_key,omitempty"`
	Name    *string `json:"name,omitempty"`
}

type BlockI18nInfoBuilder

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

builder开始

func NewBlockI18nInfoBuilder

func NewBlockI18nInfoBuilder() *BlockI18nInfoBuilder

func (*BlockI18nInfoBuilder) Build

func (builder *BlockI18nInfoBuilder) Build() *BlockI18nInfo

func (*BlockI18nInfoBuilder) I18nKey

func (builder *BlockI18nInfoBuilder) I18nKey(i18nKey string) *BlockI18nInfoBuilder

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
}

builder开始

func NewBotBuilder

func NewBotBuilder() *BotBuilder

func (*BotBuilder) Build

func (builder *BotBuilder) Build() *Bot

func (*BotBuilder) CardRequestUrl

func (builder *BotBuilder) CardRequestUrl(cardRequestUrl string) *BotBuilder

type ClientBadgeNum

type ClientBadgeNum struct {
	WebApp *int `json:"web_app,omitempty"`
	Gadget *int `json:"gadget,omitempty"`
}

type ClientBadgeNumBuilder

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

builder开始

func NewClientBadgeNumBuilder

func NewClientBadgeNumBuilder() *ClientBadgeNumBuilder

func (*ClientBadgeNumBuilder) Build

func (builder *ClientBadgeNumBuilder) Build() *ClientBadgeNum

func (*ClientBadgeNumBuilder) Gadget

func (builder *ClientBadgeNumBuilder) Gadget(gadget int) *ClientBadgeNumBuilder

func (*ClientBadgeNumBuilder) WebApp

func (builder *ClientBadgeNumBuilder) WebApp(webApp int) *ClientBadgeNumBuilder

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"`
}

type CloudDocBuilder

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

builder开始

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

func (*CloudDocBuilder) SpaceUrl

func (builder *CloudDocBuilder) SpaceUrl(spaceUrl string) *CloudDocBuilder

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"`
}

type CloudDocI18nInfoBuilder

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

builder开始

func NewCloudDocI18nInfoBuilder

func NewCloudDocI18nInfoBuilder() *CloudDocI18nInfoBuilder

func (*CloudDocI18nInfoBuilder) Build

func (builder *CloudDocI18nInfoBuilder) Build() *CloudDocI18nInfo

func (*CloudDocI18nInfoBuilder) I18nKey

func (builder *CloudDocI18nInfoBuilder) I18nKey(i18nKey string) *CloudDocI18nInfoBuilder

func (*CloudDocI18nInfoBuilder) Name

func (*CloudDocI18nInfoBuilder) ReadDescription

func (builder *CloudDocI18nInfoBuilder) ReadDescription(readDescription string) *CloudDocI18nInfoBuilder

func (*CloudDocI18nInfoBuilder) WriteDescription

func (builder *CloudDocI18nInfoBuilder) WriteDescription(writeDescription string) *CloudDocI18nInfoBuilder

type DocsBlock

type DocsBlock struct {
	BlockTypeId   *string          `json:"block_type_id,omitempty"`
	I18n          []*BlockI18nInfo `json:"i18n,omitempty"`
	MobileIconUrl *string          `json:"mobile_icon_url,omitempty"`
	PcIconUrl     *string          `json:"pc_icon_url,omitempty"`
}

type DocsBlockBuilder

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

builder开始

func NewDocsBlockBuilder

func NewDocsBlockBuilder() *DocsBlockBuilder

func (*DocsBlockBuilder) BlockTypeId

func (builder *DocsBlockBuilder) BlockTypeId(blockTypeId string) *DocsBlockBuilder

func (*DocsBlockBuilder) Build

func (builder *DocsBlockBuilder) Build() *DocsBlock

func (*DocsBlockBuilder) I18n

func (builder *DocsBlockBuilder) I18n(i18n []*BlockI18nInfo) *DocsBlockBuilder

func (*DocsBlockBuilder) MobileIconUrl

func (builder *DocsBlockBuilder) MobileIconUrl(mobileIconUrl string) *DocsBlockBuilder

func (*DocsBlockBuilder) PcIconUrl

func (builder *DocsBlockBuilder) PcIconUrl(pcIconUrl string) *DocsBlockBuilder

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"`
}

type GadgetBuilder

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

builder开始

func NewGadgetBuilder

func NewGadgetBuilder() *GadgetBuilder

func (*GadgetBuilder) Build

func (builder *GadgetBuilder) Build() *Gadget

func (*GadgetBuilder) EnablePcMode

func (builder *GadgetBuilder) EnablePcMode(enablePcMode int) *GadgetBuilder

func (*GadgetBuilder) MobileMinLarkVersion

func (builder *GadgetBuilder) MobileMinLarkVersion(mobileMinLarkVersion string) *GadgetBuilder

func (*GadgetBuilder) MobileVersion

func (builder *GadgetBuilder) MobileVersion(mobileVersion string) *GadgetBuilder

func (*GadgetBuilder) PcMinLarkVersion

func (builder *GadgetBuilder) PcMinLarkVersion(pcMinLarkVersion string) *GadgetBuilder

func (*GadgetBuilder) PcUseMobilePkg

func (builder *GadgetBuilder) PcUseMobilePkg(pcUseMobilePkg bool) *GadgetBuilder

func (*GadgetBuilder) PcVersion

func (builder *GadgetBuilder) PcVersion(pcVersion string) *GadgetBuilder

func (*GadgetBuilder) SchemaUrls

func (builder *GadgetBuilder) SchemaUrls(schemaUrls []string) *GadgetBuilder

type GetApplicationAppVersionReq

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

type GetApplicationAppVersionReqBuilder

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

1.4 生成请求的builder结构体

func NewGetApplicationAppVersionReqBuilder

func NewGetApplicationAppVersionReqBuilder() *GetApplicationAppVersionReqBuilder

生成请求的New构造器

func (*GetApplicationAppVersionReqBuilder) AppId

1.5 生成请求的builder属性方法

func (*GetApplicationAppVersionReqBuilder) Build

1.5 生成请求的builder的build方法

func (*GetApplicationAppVersionReqBuilder) Lang

func (*GetApplicationAppVersionReqBuilder) UserIdType

func (*GetApplicationAppVersionReqBuilder) VersionId

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
}

1.4 生成请求的builder结构体

func NewGetApplicationReqBuilder

func NewGetApplicationReqBuilder() *GetApplicationReqBuilder

生成请求的New构造器

func (*GetApplicationReqBuilder) AppId

1.5 生成请求的builder属性方法

func (*GetApplicationReqBuilder) Build

func (builder *GetApplicationReqBuilder) Build() *GetApplicationReq

1.5 生成请求的builder的build方法

func (*GetApplicationReqBuilder) Lang

func (*GetApplicationReqBuilder) UserIdType

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

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 ListApplicationFeedbackReq

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

type ListApplicationFeedbackReqBuilder

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

1.4 生成请求的builder结构体

func NewListApplicationFeedbackReqBuilder

func NewListApplicationFeedbackReqBuilder() *ListApplicationFeedbackReqBuilder

生成请求的New构造器

func (*ListApplicationFeedbackReqBuilder) AppId

1.5 生成请求的builder属性方法

func (*ListApplicationFeedbackReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListApplicationFeedbackReqBuilder) FeedbackType

func (builder *ListApplicationFeedbackReqBuilder) FeedbackType(feedbackType int) *ListApplicationFeedbackReqBuilder

func (*ListApplicationFeedbackReqBuilder) FromDate

func (*ListApplicationFeedbackReqBuilder) PageSize

func (*ListApplicationFeedbackReqBuilder) PageToken

func (*ListApplicationFeedbackReqBuilder) Status

func (*ListApplicationFeedbackReqBuilder) ToDate

func (*ListApplicationFeedbackReqBuilder) UserIdType

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"`
	PageToken    *string                `json:"page_token,omitempty"`
}

type MessageAction

type MessageAction struct {
	PcAppLink     *string                  `json:"pc_app_link,omitempty"`
	MobileAppLink *string                  `json:"mobile_app_link,omitempty"`
	I18n          []*MessageActionI18nInfo `json:"i18n,omitempty"`
}

type MessageActionBuilder

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

builder开始

func NewMessageActionBuilder

func NewMessageActionBuilder() *MessageActionBuilder

func (*MessageActionBuilder) Build

func (builder *MessageActionBuilder) Build() *MessageAction

func (*MessageActionBuilder) I18n

func (builder *MessageActionBuilder) MobileAppLink(mobileAppLink string) *MessageActionBuilder
func (builder *MessageActionBuilder) PcAppLink(pcAppLink string) *MessageActionBuilder

type MessageActionI18nInfo

type MessageActionI18nInfo struct {
	I18nKey *string `json:"i18n_key,omitempty"`
	Name    *string `json:"name,omitempty"`
}

type MessageActionI18nInfoBuilder

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

builder开始

func NewMessageActionI18nInfoBuilder

func NewMessageActionI18nInfoBuilder() *MessageActionI18nInfoBuilder

func (*MessageActionI18nInfoBuilder) Build

func (*MessageActionI18nInfoBuilder) I18nKey

func (*MessageActionI18nInfoBuilder) Name

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"`
}

type MessageOverviewItemBuilder

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

builder开始

func NewMessageOverviewItemBuilder

func NewMessageOverviewItemBuilder() *MessageOverviewItemBuilder

func (*MessageOverviewItemBuilder) Build

func (*MessageOverviewItemBuilder) ChatType

func (builder *MessageOverviewItemBuilder) ChatType(chatType string) *MessageOverviewItemBuilder

func (*MessageOverviewItemBuilder) EventType

func (builder *MessageOverviewItemBuilder) EventType(eventType string) *MessageOverviewItemBuilder

func (*MessageOverviewItemBuilder) MessageType

func (builder *MessageOverviewItemBuilder) MessageType(messageType string) *MessageOverviewItemBuilder

func (*MessageOverviewItemBuilder) PageView

func (builder *MessageOverviewItemBuilder) PageView(pageView int64) *MessageOverviewItemBuilder

func (*MessageOverviewItemBuilder) UniqueVisitor

func (builder *MessageOverviewItemBuilder) UniqueVisitor(uniqueVisitor int64) *MessageOverviewItemBuilder

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"`
}

type MiniprogramBuilder

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

builder开始

func NewMiniprogramBuilder

func NewMiniprogramBuilder() *MiniprogramBuilder

func (*MiniprogramBuilder) Build

func (builder *MiniprogramBuilder) Build() *Miniprogram

func (*MiniprogramBuilder) EnablePcMode

func (builder *MiniprogramBuilder) EnablePcMode(enablePcMode int) *MiniprogramBuilder

func (*MiniprogramBuilder) MobileMinLarkVersion

func (builder *MiniprogramBuilder) MobileMinLarkVersion(mobileMinLarkVersion string) *MiniprogramBuilder

func (*MiniprogramBuilder) MobileVersionId

func (builder *MiniprogramBuilder) MobileVersionId(mobileVersionId string) *MiniprogramBuilder

func (*MiniprogramBuilder) PcMinLarkVersion

func (builder *MiniprogramBuilder) PcMinLarkVersion(pcMinLarkVersion string) *MiniprogramBuilder

func (*MiniprogramBuilder) PcUseMobilePkg

func (builder *MiniprogramBuilder) PcUseMobilePkg(pcUseMobilePkg bool) *MiniprogramBuilder

func (*MiniprogramBuilder) PcVersionId

func (builder *MiniprogramBuilder) PcVersionId(pcVersionId string) *MiniprogramBuilder

func (*MiniprogramBuilder) SchemaUrls

func (builder *MiniprogramBuilder) SchemaUrls(schemaUrls []string) *MiniprogramBuilder

type MsgAction

type MsgAction struct {
	PcAppLink     *string              `json:"pc_app_link,omitempty"`
	MobileAppLink *string              `json:"mobile_app_link,omitempty"`
	I18n          []*MsgActionI18nInfo `json:"i18n,omitempty"`
}

type MsgActionBuilder

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

builder开始

func NewMsgActionBuilder

func NewMsgActionBuilder() *MsgActionBuilder

func (*MsgActionBuilder) Build

func (builder *MsgActionBuilder) Build() *MsgAction

func (*MsgActionBuilder) I18n

func (builder *MsgActionBuilder) I18n(i18n []*MsgActionI18nInfo) *MsgActionBuilder
func (builder *MsgActionBuilder) MobileAppLink(mobileAppLink string) *MsgActionBuilder
func (builder *MsgActionBuilder) PcAppLink(pcAppLink string) *MsgActionBuilder

type MsgActionI18nInfo

type MsgActionI18nInfo struct {
	I18nKey *string `json:"i18n_key,omitempty"`
	Name    *string `json:"name,omitempty"`
}

type MsgActionI18nInfoBuilder

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

builder开始

func NewMsgActionI18nInfoBuilder

func NewMsgActionI18nInfoBuilder() *MsgActionI18nInfoBuilder

func (*MsgActionI18nInfoBuilder) Build

func (builder *MsgActionI18nInfoBuilder) Build() *MsgActionI18nInfo

func (*MsgActionI18nInfoBuilder) I18nKey

func (builder *MsgActionI18nInfoBuilder) I18nKey(i18nKey string) *MsgActionI18nInfoBuilder

func (*MsgActionI18nInfoBuilder) Name

type Navigate struct {
	Pc     *NavigateMeta `json:"pc,omitempty"`
	Mobile *NavigateMeta `json:"mobile,omitempty"`
}
type NavigateBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewNavigateBuilder

func NewNavigateBuilder() *NavigateBuilder
func (builder *NavigateBuilder) Build() *Navigate
func (builder *NavigateBuilder) Mobile(mobile *NavigateMeta) *NavigateBuilder
func (builder *NavigateBuilder) Pc(pc *NavigateMeta) *NavigateBuilder
type NavigateMeta struct {
	Version       *string `json:"version,omitempty"`
	ImageUrl      *string `json:"image_url,omitempty"`
	HoverImageUrl *string `json:"hover_image_url,omitempty"`
}
type NavigateMetaBuilder struct {
	// contains filtered or unexported fields
}

builder开始

func NewNavigateMetaBuilder

func NewNavigateMetaBuilder() *NavigateMetaBuilder
func (builder *NavigateMetaBuilder) Build() *NavigateMeta
func (builder *NavigateMetaBuilder) HoverImageUrl(hoverImageUrl string) *NavigateMetaBuilder
func (builder *NavigateMetaBuilder) ImageUrl(imageUrl string) *NavigateMetaBuilder
func (builder *NavigateMetaBuilder) Version(version string) *NavigateMetaBuilder

type OverviewApplicationAppUsagePathReqBodyBuilder

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

上传文件path开始

func NewOverviewApplicationAppUsagePathReqBodyBuilder

func NewOverviewApplicationAppUsagePathReqBodyBuilder() *OverviewApplicationAppUsagePathReqBodyBuilder

func (*OverviewApplicationAppUsagePathReqBodyBuilder) Ability

func (*OverviewApplicationAppUsagePathReqBodyBuilder) Build

func (*OverviewApplicationAppUsagePathReqBodyBuilder) CycleType

func (*OverviewApplicationAppUsagePathReqBodyBuilder) Date

func (*OverviewApplicationAppUsagePathReqBodyBuilder) DepartmentId

type OverviewApplicationAppUsageReq

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

type OverviewApplicationAppUsageReqBody

type OverviewApplicationAppUsageReqBody struct {
	Date         *string `json:"date,omitempty"`
	CycleType    *int    `json:"cycle_type,omitempty"`
	DepartmentId *string `json:"department_id,omitempty"`
	Ability      *string `json:"ability,omitempty"`
}

type OverviewApplicationAppUsageReqBodyBuilder

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

func NewOverviewApplicationAppUsageReqBodyBuilder

func NewOverviewApplicationAppUsageReqBodyBuilder() *OverviewApplicationAppUsageReqBodyBuilder

生成body的New构造器

func (*OverviewApplicationAppUsageReqBodyBuilder) Ability

func (*OverviewApplicationAppUsageReqBodyBuilder) Build

1.3 生成body的build方法

func (*OverviewApplicationAppUsageReqBodyBuilder) CycleType

func (*OverviewApplicationAppUsageReqBodyBuilder) Date

1.2 生成body的builder属性方法

func (*OverviewApplicationAppUsageReqBodyBuilder) DepartmentId

type OverviewApplicationAppUsageReqBuilder

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

1.4 生成请求的builder结构体

func NewOverviewApplicationAppUsageReqBuilder

func NewOverviewApplicationAppUsageReqBuilder() *OverviewApplicationAppUsageReqBuilder

生成请求的New构造器

func (*OverviewApplicationAppUsageReqBuilder) AppId

1.5 生成请求的builder属性方法

func (*OverviewApplicationAppUsageReqBuilder) Body

func (*OverviewApplicationAppUsageReqBuilder) Build

1.5 生成请求的builder的build方法

func (*OverviewApplicationAppUsageReqBuilder) DepartmentIdType

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

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"`
}

type P1AppOpenInstallerEmployeeV6

type P1AppOpenInstallerEmployeeV6 struct {
	OpenID string `json:"open_id,omitempty"`
}

type P1AppOpenInstallerV6

type P1AppOpenInstallerV6 struct {
	OpenID string `json:"open_id,omitempty"`
}

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"`
	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{}

func (*P1AppOpenV6Handler) Handle

func (h *P1AppOpenV6Handler) Handle(ctx context.Context, event interface{}) error

type P1AppStatusChangeOperatorV6

type P1AppStatusChangeOperatorV6 struct {
	OpenID  string `json:"open_id,omitempty"`
	UserID  string `json:"user_id,omitempty"`
	UnionId string `json:"union_id,omitempty"`
}

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"`
	TenantKey string                       `json:"tenant_key,omitempty"`
	Type      string                       `json:"type,omitempty"`
	Status    string                       `json:"status,omitempty"`
	Operator  *P1AppStatusChangeOperatorV6 `json:"operator,omitempty"`
}

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{}

func (*P1AppStatusChangedV6Handler) Handle

func (h *P1AppStatusChangedV6Handler) Handle(ctx context.Context, event interface{}) error

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 P1AppUninstalledV6Data struct {
	AppID     string `json:"app_id,omitempty"`
	TenantKey string `json:"tenant_key,omitempty"`
	Type      string `json:"type,omitempty"`
}

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{}

func (*P1AppUninstalledV6Handler) Handle

func (h *P1AppUninstalledV6Handler) Handle(ctx context.Context, event interface{}) error

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"`
	OrderID       string `json:"order_id,omitempty"`
	PricePlanID   string `json:"price_plan_id,omitempty"`
	PricePlanType string `json:"price_plan_type,omitempty"`
	BuyCount      int64  `json:"buy_count,omitempty"`
	Seats         int64  `json:"seats,omitempty"`
	CreateTime    string `json:"create_time,omitempty"`
	PayTime       string `json:"pay_time,omitempty"`
	BuyType       string `json:"buy_type,omitempty"`
	SrcOrderID    string `json:"src_order_id,omitempty"`
	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{}

func (*P1OrderPaidV6Handler) Handle

func (h *P1OrderPaidV6Handler) Handle(ctx context.Context, event interface{}) error

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"`
	VersionId   *string `json:"version_id,omitempty"`
	CreatorId   *UserId `json:"creator_id,omitempty"`
	AppId       *string `json:"app_id,omitempty"`
	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 (*P2ApplicationAppVersionAuditV6Handler) Event

func (h *P2ApplicationAppVersionAuditV6Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ApplicationAppVersionAuditV6Handler) Handle

func (h *P2ApplicationAppVersionAuditV6Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

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"`
	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 (*P2ApplicationAppVersionPublishApplyV6Handler) Event

func (h *P2ApplicationAppVersionPublishApplyV6Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ApplicationAppVersionPublishApplyV6Handler) Handle

func (h *P2ApplicationAppVersionPublishApplyV6Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2ApplicationAppVersionPublishRevokeV6

type P2ApplicationAppVersionPublishRevokeV6 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2ApplicationAppVersionPublishRevokeV6Data `json:"event"`
}

func (*P2ApplicationAppVersionPublishRevokeV6) RawReq

func (m *P2ApplicationAppVersionPublishRevokeV6) RawReq(req *larkevent.EventReq)

type P2ApplicationAppVersionPublishRevokeV6Data

type P2ApplicationAppVersionPublishRevokeV6Data struct {
	OperatorId *UserId `json:"operator_id,omitempty"`
	CreatorId  *UserId `json:"creator_id,omitempty"`
	AppId      *string `json:"app_id,omitempty"`
	VersionId  *string `json:"version_id,omitempty"`
}

type P2ApplicationAppVersionPublishRevokeV6Handler

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

消息处理器定义

func (*P2ApplicationAppVersionPublishRevokeV6Handler) Event

func (h *P2ApplicationAppVersionPublishRevokeV6Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ApplicationAppVersionPublishRevokeV6Handler) Handle

func (h *P2ApplicationAppVersionPublishRevokeV6Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

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"`
	AppId           *string `json:"app_id,omitempty"`
	Name            *string `json:"name,omitempty"`
	Description     *string `json:"description,omitempty"`
	Avatar          *string `json:"avatar,omitempty"`
	AppSceneType    *int    `json:"app_scene_type,omitempty"`
	PrimaryLanguage *string `json:"primary_language,omitempty"`
}

type P2ApplicationCreatedV6Handler

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

消息处理器定义

func (*P2ApplicationCreatedV6Handler) Event

func (h *P2ApplicationCreatedV6Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ApplicationCreatedV6Handler) Handle

func (h *P2ApplicationCreatedV6Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

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"`
	AppId        *string  `json:"app_id,omitempty"`
	FeedbackTime *string  `json:"feedback_time,omitempty"`
	TenantName   *string  `json:"tenant_name,omitempty"`
	FeedbackType *int     `json:"feedback_type,omitempty"`
	FaultType    []int    `json:"fault_type,omitempty"`
	FaultTime    *string  `json:"fault_time,omitempty"`
	Source       *int     `json:"source,omitempty"`
	Contact      *string  `json:"contact,omitempty"`
	Description  *string  `json:"description,omitempty"`
	Images       []string `json:"images,omitempty"`
	FeedbackId   *string  `json:"feedback_id,omitempty"`
}

type P2ApplicationFeedbackCreatedV6Handler

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

消息处理器定义

func (*P2ApplicationFeedbackCreatedV6Handler) Event

func (h *P2ApplicationFeedbackCreatedV6Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ApplicationFeedbackCreatedV6Handler) Handle

func (h *P2ApplicationFeedbackCreatedV6Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

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"`
	Status      *int     `json:"status,omitempty"`
	AppId       *string  `json:"app_id,omitempty"`
	UpdateTime  *string  `json:"update_time,omitempty"`
	OperatorId  *UserId  `json:"operator_id,omitempty"`
}

type P2ApplicationFeedbackUpdatedV6Handler

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

消息处理器定义

func (*P2ApplicationFeedbackUpdatedV6Handler) Event

func (h *P2ApplicationFeedbackUpdatedV6Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ApplicationFeedbackUpdatedV6Handler) Handle

func (h *P2ApplicationFeedbackUpdatedV6Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type P2ApplicationVisibilityAddedV6

type P2ApplicationVisibilityAddedV6 struct {
	*larkevent.EventV2Base
	*larkevent.EventReq
	Event *P2ApplicationVisibilityAddedV6Data `json:"event"`
}

func (*P2ApplicationVisibilityAddedV6) RawReq

func (m *P2ApplicationVisibilityAddedV6) RawReq(req *larkevent.EventReq)

type P2ApplicationVisibilityAddedV6Data

type P2ApplicationVisibilityAddedV6Data struct {
	Users  []*User `json:"users,omitempty"`
	Source *int    `json:"source,omitempty"`
}

type P2ApplicationVisibilityAddedV6Handler

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

消息处理器定义

func (*P2ApplicationVisibilityAddedV6Handler) Event

func (h *P2ApplicationVisibilityAddedV6Handler) Event() interface{}

返回事件的消息体的实例,用于反序列化用

func (*P2ApplicationVisibilityAddedV6Handler) Handle

func (h *P2ApplicationVisibilityAddedV6Handler) Handle(ctx context.Context, event interface{}) error

回调开发者注册的handle

type PatchApplicationAppVersionReq

type PatchApplicationAppVersionReq struct {
	ApplicationAppVersion *ApplicationAppVersion `body:""`
	// contains filtered or unexported fields
}

type PatchApplicationAppVersionReqBuilder

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

1.4 生成请求的builder结构体

func NewPatchApplicationAppVersionReqBuilder

func NewPatchApplicationAppVersionReqBuilder() *PatchApplicationAppVersionReqBuilder

生成请求的New构造器

func (*PatchApplicationAppVersionReqBuilder) AppId

1.5 生成请求的builder属性方法

func (*PatchApplicationAppVersionReqBuilder) ApplicationAppVersion

func (builder *PatchApplicationAppVersionReqBuilder) ApplicationAppVersion(applicationAppVersion *ApplicationAppVersion) *PatchApplicationAppVersionReqBuilder

func (*PatchApplicationAppVersionReqBuilder) Build

1.5 生成请求的builder的build方法

func (*PatchApplicationAppVersionReqBuilder) OperatorId

func (*PatchApplicationAppVersionReqBuilder) RejectReason

func (*PatchApplicationAppVersionReqBuilder) UserIdType

func (*PatchApplicationAppVersionReqBuilder) VersionId

type PatchApplicationAppVersionResp

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

func (*PatchApplicationAppVersionResp) Success

func (resp *PatchApplicationAppVersionResp) Success() bool

type PatchApplicationFeedbackReq

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

type PatchApplicationFeedbackReqBuilder

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

1.4 生成请求的builder结构体

func NewPatchApplicationFeedbackReqBuilder

func NewPatchApplicationFeedbackReqBuilder() *PatchApplicationFeedbackReqBuilder

生成请求的New构造器

func (*PatchApplicationFeedbackReqBuilder) AppId

1.5 生成请求的builder属性方法

func (*PatchApplicationFeedbackReqBuilder) Build

1.5 生成请求的builder的build方法

func (*PatchApplicationFeedbackReqBuilder) FeedbackId

func (*PatchApplicationFeedbackReqBuilder) OperatorId

func (*PatchApplicationFeedbackReqBuilder) Status

func (*PatchApplicationFeedbackReqBuilder) UserIdType

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
}

1.4 生成请求的builder结构体

func NewPatchApplicationReqBuilder

func NewPatchApplicationReqBuilder() *PatchApplicationReqBuilder

生成请求的New构造器

func (*PatchApplicationReqBuilder) AppId

1.5 生成请求的builder属性方法

func (*PatchApplicationReqBuilder) Application

func (builder *PatchApplicationReqBuilder) Application(application *Application) *PatchApplicationReqBuilder

func (*PatchApplicationReqBuilder) Build

1.5 生成请求的builder的build方法

func (*PatchApplicationReqBuilder) Lang

type PatchApplicationResp

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

func (*PatchApplicationResp) Success

func (resp *PatchApplicationResp) Success() bool

type PlusMenu

type PlusMenu struct {
	PcAppLink     *string `json:"pc_app_link,omitempty"`
	MobileAppLink *string `json:"mobile_app_link,omitempty"`
}

type PlusMenuBuilder

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

builder开始

func NewPlusMenuBuilder

func NewPlusMenuBuilder() *PlusMenuBuilder

func (*PlusMenuBuilder) Build

func (builder *PlusMenuBuilder) Build() *PlusMenu
func (builder *PlusMenuBuilder) MobileAppLink(mobileAppLink string) *PlusMenuBuilder
func (builder *PlusMenuBuilder) PcAppLink(pcAppLink string) *PlusMenuBuilder

type Scope

type Scope struct {
	ScopeName   *string `json:"scope_name,omitempty"`
	GrantStatus *int    `json:"grant_status,omitempty"`
}

type ScopeBuilder

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

builder开始

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

type UnderauditlistApplicationIterator

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

生成请求的builder构造器 1.1 生成body的builder结构体

func (*UnderauditlistApplicationIterator) Next

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
}

1.4 生成请求的builder结构体

func NewUnderauditlistApplicationReqBuilder

func NewUnderauditlistApplicationReqBuilder() *UnderauditlistApplicationReqBuilder

生成请求的New构造器

func (*UnderauditlistApplicationReqBuilder) Build

1.5 生成请求的builder的build方法

func (*UnderauditlistApplicationReqBuilder) Lang

func (*UnderauditlistApplicationReqBuilder) Limit

1.5 生成请求的builder属性方法

func (*UnderauditlistApplicationReqBuilder) PageSize

func (*UnderauditlistApplicationReqBuilder) PageToken

func (*UnderauditlistApplicationReqBuilder) UserIdType

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"`
}

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"`
}

type UsageOverviewItemBuilder

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

builder开始

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 int64) *UsageOverviewItemBuilder

func (*UsageOverviewItemBuilder) UniqueVisitor

func (builder *UsageOverviewItemBuilder) UniqueVisitor(uniqueVisitor int64) *UsageOverviewItemBuilder

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"`
}

type UsageTrendItemBuilder

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

builder开始

func NewUsageTrendItemBuilder

func NewUsageTrendItemBuilder() *UsageTrendItemBuilder

func (*UsageTrendItemBuilder) Build

func (builder *UsageTrendItemBuilder) Build() *UsageTrendItem

func (*UsageTrendItemBuilder) PageView

func (builder *UsageTrendItemBuilder) PageView(pageView int64) *UsageTrendItemBuilder

func (*UsageTrendItemBuilder) Timestamp

func (builder *UsageTrendItemBuilder) Timestamp(timestamp int64) *UsageTrendItemBuilder

func (*UsageTrendItemBuilder) UniqueVisitor

func (builder *UsageTrendItemBuilder) UniqueVisitor(uniqueVisitor int64) *UsageTrendItemBuilder

type UsageUser

type UsageUser struct {
	UserId *string `json:"user_id,omitempty"`
}

type UsageUserBuilder

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

builder开始

func NewUsageUserBuilder

func NewUsageUserBuilder() *UsageUserBuilder

func (*UsageUserBuilder) Build

func (builder *UsageUserBuilder) Build() *UsageUser

func (*UsageUserBuilder) UserId

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

type User

type User struct {
	UserId *UserId `json:"user_id,omitempty"`
}

type UserBuilder

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

builder开始

func NewUserBuilder

func NewUserBuilder() *UserBuilder

func (*UserBuilder) Build

func (builder *UserBuilder) Build() *User

func (*UserBuilder) UserId

func (builder *UserBuilder) UserId(userId *UserId) *UserBuilder

type UserId

type UserId struct {
	UserId  *string `json:"user_id,omitempty"`
	OpenId  *string `json:"open_id,omitempty"`
	UnionId *string `json:"union_id,omitempty"`
}

type UserIdBuilder

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

builder开始

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 WebApp

type WebApp struct {
	PcUrl     *string `json:"pc_url,omitempty"`
	MobileUrl *string `json:"mobile_url,omitempty"`
}

type WebAppBuilder

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

builder开始

func NewWebAppBuilder

func NewWebAppBuilder() *WebAppBuilder

func (*WebAppBuilder) Build

func (builder *WebAppBuilder) Build() *WebApp

func (*WebAppBuilder) MobileUrl

func (builder *WebAppBuilder) MobileUrl(mobileUrl string) *WebAppBuilder

func (*WebAppBuilder) PcUrl

func (builder *WebAppBuilder) PcUrl(pcUrl string) *WebAppBuilder

type Widget

type Widget struct {
}

type WorkplaceWidget

type WorkplaceWidget struct {
	MinLarkVersion *string `json:"min_lark_version,omitempty"`
}

type WorkplaceWidgetBuilder

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

builder开始

func NewWorkplaceWidgetBuilder

func NewWorkplaceWidgetBuilder() *WorkplaceWidgetBuilder

func (*WorkplaceWidgetBuilder) Build

func (builder *WorkplaceWidgetBuilder) Build() *WorkplaceWidget

func (*WorkplaceWidgetBuilder) MinLarkVersion

func (builder *WorkplaceWidgetBuilder) MinLarkVersion(minLarkVersion string) *WorkplaceWidgetBuilder

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL