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 QueryTenantResp
- type QueryTenantRespData
- type Tenant
- 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 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 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 // 企业 // contains filtered or unexported fields }
func NewService ¶
func NewService(config *larkcore.Config) *TenantService
Click to show internal directories.
Click to hide internal directories.