Documentation ¶
Index ¶
- type Avatar
- type AvatarBuilder
- func (builder *AvatarBuilder) Avatar240(avatar240 string) *AvatarBuilder
- func (builder *AvatarBuilder) Avatar640(avatar640 string) *AvatarBuilder
- func (builder *AvatarBuilder) Avatar72(avatar72 string) *AvatarBuilder
- func (builder *AvatarBuilder) AvatarOrigin(avatarOrigin string) *AvatarBuilder
- func (builder *AvatarBuilder) Build() *Avatar
- type ProductI18nName
- type ProductI18nNameBuilder
- func (builder *ProductI18nNameBuilder) Build() *ProductI18nName
- func (builder *ProductI18nNameBuilder) EnUs(enUs string) *ProductI18nNameBuilder
- func (builder *ProductI18nNameBuilder) JaJp(jaJp string) *ProductI18nNameBuilder
- func (builder *ProductI18nNameBuilder) ZhCn(zhCn string) *ProductI18nNameBuilder
- type QueryTenantProductAssignInfoResp
- type QueryTenantProductAssignInfoRespData
- type QueryTenantResp
- type QueryTenantRespData
- type Tenant
- type TenantAssignInfo
- type TenantAssignInfoBuilder
- func (builder *TenantAssignInfoBuilder) AssignedSeats(assignedSeats string) *TenantAssignInfoBuilder
- func (builder *TenantAssignInfoBuilder) Build() *TenantAssignInfo
- func (builder *TenantAssignInfoBuilder) EndTime(endTime string) *TenantAssignInfoBuilder
- func (builder *TenantAssignInfoBuilder) I18nName(i18nName *ProductI18nName) *TenantAssignInfoBuilder
- func (builder *TenantAssignInfoBuilder) LicensePlanKey(licensePlanKey string) *TenantAssignInfoBuilder
- func (builder *TenantAssignInfoBuilder) ProductName(productName string) *TenantAssignInfoBuilder
- func (builder *TenantAssignInfoBuilder) StartTime(startTime string) *TenantAssignInfoBuilder
- func (builder *TenantAssignInfoBuilder) SubscriptionId(subscriptionId string) *TenantAssignInfoBuilder
- func (builder *TenantAssignInfoBuilder) TotalSeats(totalSeats string) *TenantAssignInfoBuilder
- type TenantBuilder
- func (builder *TenantBuilder) Avatar(avatar *Avatar) *TenantBuilder
- func (builder *TenantBuilder) Build() *Tenant
- func (builder *TenantBuilder) DisplayId(displayId string) *TenantBuilder
- func (builder *TenantBuilder) Name(name string) *TenantBuilder
- func (builder *TenantBuilder) TenantKey(tenantKey string) *TenantBuilder
- func (builder *TenantBuilder) TenantTag(tenantTag int) *TenantBuilder
- type TenantService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvatarBuilder ¶
type AvatarBuilder struct {
// contains filtered or unexported fields
}
func NewAvatarBuilder ¶
func NewAvatarBuilder() *AvatarBuilder
func (*AvatarBuilder) Avatar240 ¶
func (builder *AvatarBuilder) Avatar240(avatar240 string) *AvatarBuilder
企业头像 240x240
func (*AvatarBuilder) Avatar640 ¶
func (builder *AvatarBuilder) Avatar640(avatar640 string) *AvatarBuilder
企业头像 640x640
func (*AvatarBuilder) Avatar72 ¶
func (builder *AvatarBuilder) Avatar72(avatar72 string) *AvatarBuilder
企业头像 72x72
func (*AvatarBuilder) AvatarOrigin ¶
func (builder *AvatarBuilder) AvatarOrigin(avatarOrigin string) *AvatarBuilder
企业头像
func (*AvatarBuilder) Build ¶
func (builder *AvatarBuilder) Build() *Avatar
type ProductI18nName ¶ added in v3.0.19
type ProductI18nNameBuilder ¶ added in v3.0.19
type ProductI18nNameBuilder struct {
// contains filtered or unexported fields
}
func NewProductI18nNameBuilder ¶ added in v3.0.19
func NewProductI18nNameBuilder() *ProductI18nNameBuilder
func (*ProductI18nNameBuilder) Build ¶ added in v3.0.19
func (builder *ProductI18nNameBuilder) Build() *ProductI18nName
func (*ProductI18nNameBuilder) EnUs ¶ added in v3.0.19
func (builder *ProductI18nNameBuilder) EnUs(enUs string) *ProductI18nNameBuilder
商业化产品的英文名
示例值:en_name
func (*ProductI18nNameBuilder) JaJp ¶ added in v3.0.19
func (builder *ProductI18nNameBuilder) JaJp(jaJp string) *ProductI18nNameBuilder
商业化产品的日文名
示例值:ja_jp_name
func (*ProductI18nNameBuilder) ZhCn ¶ added in v3.0.19
func (builder *ProductI18nNameBuilder) ZhCn(zhCn string) *ProductI18nNameBuilder
商业化产品的中文名
示例值:zh_cn_name
type QueryTenantProductAssignInfoResp ¶ added in v3.0.19
type QueryTenantProductAssignInfoResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *QueryTenantProductAssignInfoRespData `json:"data"` // 业务数据 }
func (*QueryTenantProductAssignInfoResp) Success ¶ added in v3.0.19
func (resp *QueryTenantProductAssignInfoResp) Success() bool
type QueryTenantProductAssignInfoRespData ¶ added in v3.0.19
type QueryTenantProductAssignInfoRespData struct {
AssignInfoList []*TenantAssignInfo `json:"assign_info_list,omitempty"` // 租户待分配席位列表
}
type QueryTenantResp ¶
type QueryTenantResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *QueryTenantRespData `json:"data"` // 业务数据 }
func (*QueryTenantResp) Success ¶
func (resp *QueryTenantResp) Success() bool
type QueryTenantRespData ¶
type QueryTenantRespData struct {
Tenant *Tenant `json:"tenant,omitempty"` // 企业信息
}
type TenantAssignInfo ¶ added in v3.0.19
type TenantAssignInfo struct { SubscriptionId *string `json:"subscription_id,omitempty"` // 席位id LicensePlanKey *string `json:"license_plan_key,omitempty"` // license_plan_key ProductName *string `json:"product_name,omitempty"` // 商业化产品名称 I18nName *ProductI18nName `json:"i18n_name,omitempty"` // 国际化名称 TotalSeats *string `json:"total_seats,omitempty"` // 席位总数 AssignedSeats *string `json:"assigned_seats,omitempty"` // 已分配席位数 StartTime *string `json:"start_time,omitempty"` // 席位起始时间 EndTime *string `json:"end_time,omitempty"` // 席位结束时间 }
type TenantAssignInfoBuilder ¶ added in v3.0.19
type TenantAssignInfoBuilder struct {
// contains filtered or unexported fields
}
func NewTenantAssignInfoBuilder ¶ added in v3.0.19
func NewTenantAssignInfoBuilder() *TenantAssignInfoBuilder
func (*TenantAssignInfoBuilder) AssignedSeats ¶ added in v3.0.19
func (builder *TenantAssignInfoBuilder) AssignedSeats(assignedSeats string) *TenantAssignInfoBuilder
已分配席位数
示例值:20
func (*TenantAssignInfoBuilder) Build ¶ added in v3.0.19
func (builder *TenantAssignInfoBuilder) Build() *TenantAssignInfo
func (*TenantAssignInfoBuilder) EndTime ¶ added in v3.0.19
func (builder *TenantAssignInfoBuilder) EndTime(endTime string) *TenantAssignInfoBuilder
席位结束时间
示例值:1674991000
func (*TenantAssignInfoBuilder) I18nName ¶ added in v3.0.19
func (builder *TenantAssignInfoBuilder) I18nName(i18nName *ProductI18nName) *TenantAssignInfoBuilder
国际化名称
示例值:
func (*TenantAssignInfoBuilder) LicensePlanKey ¶ added in v3.0.19
func (builder *TenantAssignInfoBuilder) LicensePlanKey(licensePlanKey string) *TenantAssignInfoBuilder
license_plan_key
示例值:suite_enterprise_e5
func (*TenantAssignInfoBuilder) ProductName ¶ added in v3.0.19
func (builder *TenantAssignInfoBuilder) ProductName(productName string) *TenantAssignInfoBuilder
商业化产品名称
示例值:旗舰版 E5
func (*TenantAssignInfoBuilder) StartTime ¶ added in v3.0.19
func (builder *TenantAssignInfoBuilder) StartTime(startTime string) *TenantAssignInfoBuilder
席位起始时间
示例值:1674981000
func (*TenantAssignInfoBuilder) SubscriptionId ¶ added in v3.0.19
func (builder *TenantAssignInfoBuilder) SubscriptionId(subscriptionId string) *TenantAssignInfoBuilder
席位id
示例值:7079609167680782300
func (*TenantAssignInfoBuilder) TotalSeats ¶ added in v3.0.19
func (builder *TenantAssignInfoBuilder) TotalSeats(totalSeats string) *TenantAssignInfoBuilder
席位总数
示例值:500
type TenantBuilder ¶
type TenantBuilder struct {
// contains filtered or unexported fields
}
func NewTenantBuilder ¶
func NewTenantBuilder() *TenantBuilder
func (*TenantBuilder) Avatar ¶
func (builder *TenantBuilder) Avatar(avatar *Avatar) *TenantBuilder
企业头像
示例值:
func (*TenantBuilder) Build ¶
func (builder *TenantBuilder) Build() *Tenant
func (*TenantBuilder) DisplayId ¶
func (builder *TenantBuilder) DisplayId(displayId string) *TenantBuilder
企业编号,平台内唯一
示例值:F123456789
func (*TenantBuilder) Name ¶
func (builder *TenantBuilder) Name(name string) *TenantBuilder
企业名称
示例值:企业名称
func (*TenantBuilder) TenantKey ¶
func (builder *TenantBuilder) TenantKey(tenantKey string) *TenantBuilder
企业标识
示例值:abcdefghi
func (*TenantBuilder) TenantTag ¶
func (builder *TenantBuilder) TenantTag(tenantTag int) *TenantBuilder
个人版/团队版标志
示例值:0
type TenantService ¶
type TenantService struct { Tenant *tenant // 企业信息 TenantProductAssignInfo *tenantProductAssignInfo // tenant.product_assign_info // contains filtered or unexported fields }
func NewService ¶
func NewService(config *larkcore.Config) *TenantService
Click to show internal directories.
Click to hide internal directories.