larktenant

package
v3.0.0-beta-6 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Avatar

type Avatar struct {
	AvatarOrigin *string `json:"avatar_origin,omitempty"`
	Avatar72     *string `json:"avatar_72,omitempty"`
	Avatar240    *string `json:"avatar_240,omitempty"`
	Avatar640    *string `json:"avatar_640,omitempty"`
}

type AvatarBuilder

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

builder开始

func NewAvatarBuilder

func NewAvatarBuilder() *AvatarBuilder

func (*AvatarBuilder) Avatar240

func (builder *AvatarBuilder) Avatar240(avatar240 string) *AvatarBuilder

func (*AvatarBuilder) Avatar640

func (builder *AvatarBuilder) Avatar640(avatar640 string) *AvatarBuilder

func (*AvatarBuilder) Avatar72

func (builder *AvatarBuilder) Avatar72(avatar72 string) *AvatarBuilder

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 Tenant

type Tenant struct {
	Name      *string `json:"name,omitempty"`
	DisplayId *string `json:"display_id,omitempty"`
	TenantTag *int    `json:"tenant_tag,omitempty"`
	TenantKey *string `json:"tenant_key,omitempty"`
	Avatar    *Avatar `json:"avatar,omitempty"`
}

type TenantBuilder

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

builder开始

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

func (*TenantBuilder) Name

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

func (*TenantBuilder) TenantKey

func (builder *TenantBuilder) TenantKey(tenantKey string) *TenantBuilder

func (*TenantBuilder) TenantTag

func (builder *TenantBuilder) TenantTag(tenantTag int) *TenantBuilder

type TenantService

type TenantService struct {
	Tenant *tenant
	// contains filtered or unexported fields
}

业务域服务定义

func NewService

func NewService(config *larkcore.Config) *TenantService

构建业务域服务实例

Jump to

Keyboard shortcuts

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