larkmail

package
v3.0.26 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

View Source
const (
	WhoCanSendMailANYONE           = "ANYONE"             // Any Internet user can send mail to this mail group
	WhoCanSendMailALLINTERNALUSERS = "ALL_INTERNAL_USERS" // Anyone in the team can send mail to this mail group
	WhoCanSendMailALLGROUPMEMBERS  = "ALL_GROUP_MEMBERS"  // Any group member can send mail to this mail group
	WhoCanSendMailCUSTOMMEMBERS    = "CUSTOM_MEMBERS"     // Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure
)
View Source
const (
	UserIdTypeUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	WhoCanSendMailPatchMailgroupANYONE           = "ANYONE"             // Any Internet user can send mail to this mail group
	WhoCanSendMailPatchMailgroupALLINTERNALUSERS = "ALL_INTERNAL_USERS" // Anyone in the team can send mail to this mail group
	WhoCanSendMailPatchMailgroupALLGROUPMEMBERS  = "ALL_GROUP_MEMBERS"  // Any group member can send mail to this mail group
	WhoCanSendMailPatchMailgroupCUSTOMMEMBERS    = "CUSTOM_MEMBERS"     // Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure
)
View Source
const (
	WhoCanSendMailUpdateMailgroupANYONE           = "ANYONE"             // Any Internet user can send mail to this mail group
	WhoCanSendMailUpdateMailgroupALLINTERNALUSERS = "ALL_INTERNAL_USERS" // Anyone in the team can send mail to this mail group
	WhoCanSendMailUpdateMailgroupALLGROUPMEMBERS  = "ALL_GROUP_MEMBERS"  // Any group member can send mail to this mail group
	WhoCanSendMailUpdateMailgroupCUSTOMMEMBERS    = "CUSTOM_MEMBERS"     // Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure
)
View Source
const (
	UserIdTypeBatchCreateMailgroupManagerUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeBatchCreateMailgroupManagerUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeBatchCreateMailgroupManagerOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeBatchDeleteMailgroupManagerUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeBatchDeleteMailgroupManagerUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeBatchDeleteMailgroupManagerOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeListMailgroupManagerUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeListMailgroupManagerUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeListMailgroupManagerOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeBatchCreateMailgroupMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeBatchCreateMailgroupMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeBatchCreateMailgroupMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	DepartmentIdTypeDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	TypeUSER          = "USER"           // internal user in the team
	TypeDEPARTMENT    = "DEPARTMENT"     // member is a department
	TypeCOMPANY       = "COMPANY"        // member is the company
	TypeEXTERNALUSER  = "EXTERNAL_USER"  // internet user outside the organization
	TypeMAILGROUP     = "MAIL_GROUP"     // member is another mail group
	TypePUBLICMAILBOX = "PUBLIC_MAILBOX" // member is a public mailbox
	TypeOTHERMEMBER   = "OTHER_MEMBER"   // other internal member
)
View Source
const (
	UserIdTypeCreateMailgroupMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeCreateMailgroupMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeCreateMailgroupMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	DepartmentIdTypeCreateMailgroupMemberDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeCreateMailgroupMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeGetMailgroupMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeGetMailgroupMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeGetMailgroupMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	DepartmentIdTypeGetMailgroupMemberDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeGetMailgroupMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeListMailgroupMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeListMailgroupMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeListMailgroupMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	DepartmentIdTypeListMailgroupMemberDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeListMailgroupMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeBatchCreateMailgroupPermissionMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeBatchCreateMailgroupPermissionMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeBatchCreateMailgroupPermissionMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	DepartmentIdTypeBatchCreateMailgroupPermissionMemberDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeBatchCreateMailgroupPermissionMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	TypeCreateMailgroupPermissionMemberUSER          = "USER"           // internal user in the team
	TypeCreateMailgroupPermissionMemberDEPARTMENT    = "DEPARTMENT"     // member is a department
	TypeCreateMailgroupPermissionMemberMAILGROUP     = "MAIL_GROUP"     // member is a mail group
	TypeCreateMailgroupPermissionMemberPUBLICMAILBOX = "PUBLIC_MAILBOX" // member is a public mailbox
)
View Source
const (
	UserIdTypeCreateMailgroupPermissionMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeCreateMailgroupPermissionMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeCreateMailgroupPermissionMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	DepartmentIdTypeCreateMailgroupPermissionMemberDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeCreateMailgroupPermissionMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeGetMailgroupPermissionMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeGetMailgroupPermissionMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeGetMailgroupPermissionMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	DepartmentIdTypeGetMailgroupPermissionMemberDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeGetMailgroupPermissionMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeListMailgroupPermissionMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeListMailgroupPermissionMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeListMailgroupPermissionMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	DepartmentIdTypeListMailgroupPermissionMemberDepartmentId     = "department_id"      // 以自定义department_id来标识部门
	DepartmentIdTypeListMailgroupPermissionMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门
)
View Source
const (
	UserIdTypeBatchCreatePublicMailboxMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeBatchCreatePublicMailboxMemberUnionId = "union_id" // 以user_id来识别用户
	UserIdTypeBatchCreatePublicMailboxMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeCreatePublicMailboxMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeCreatePublicMailboxMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeCreatePublicMailboxMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeGetPublicMailboxMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeGetPublicMailboxMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeGetPublicMailboxMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	UserIdTypeListPublicMailboxMemberUserId  = "user_id"  // 以user_id来识别用户
	UserIdTypeListPublicMailboxMemberUnionId = "union_id" // 以union_id来识别用户
	UserIdTypeListPublicMailboxMemberOpenId  = "open_id"  // 以open_id来识别用户
)
View Source
const (
	TypeCreatePublicMailboxMemberUSER = "USER" // internal user in the team
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchCreateMailgroupManagerPathReqBodyBuilder added in v3.0.24

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

func NewBatchCreateMailgroupManagerPathReqBodyBuilder added in v3.0.24

func NewBatchCreateMailgroupManagerPathReqBodyBuilder() *BatchCreateMailgroupManagerPathReqBodyBuilder

func (*BatchCreateMailgroupManagerPathReqBodyBuilder) Build added in v3.0.24

func (*BatchCreateMailgroupManagerPathReqBodyBuilder) MailgroupManagerList added in v3.0.24

邮件组管理员列表

示例值:

type BatchCreateMailgroupManagerReq added in v3.0.24

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

type BatchCreateMailgroupManagerReqBody added in v3.0.24

type BatchCreateMailgroupManagerReqBody struct {
	MailgroupManagerList []*MailgroupManager `json:"mailgroup_manager_list,omitempty"` // 邮件组管理员列表
}

type BatchCreateMailgroupManagerReqBodyBuilder added in v3.0.24

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

func NewBatchCreateMailgroupManagerReqBodyBuilder added in v3.0.24

func NewBatchCreateMailgroupManagerReqBodyBuilder() *BatchCreateMailgroupManagerReqBodyBuilder

func (*BatchCreateMailgroupManagerReqBodyBuilder) Build added in v3.0.24

func (*BatchCreateMailgroupManagerReqBodyBuilder) MailgroupManagerList added in v3.0.24

func (builder *BatchCreateMailgroupManagerReqBodyBuilder) MailgroupManagerList(mailgroupManagerList []*MailgroupManager) *BatchCreateMailgroupManagerReqBodyBuilder

邮件组管理员列表

示例值:

type BatchCreateMailgroupManagerReqBuilder added in v3.0.24

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

func NewBatchCreateMailgroupManagerReqBuilder added in v3.0.24

func NewBatchCreateMailgroupManagerReqBuilder() *BatchCreateMailgroupManagerReqBuilder

func (*BatchCreateMailgroupManagerReqBuilder) Body added in v3.0.24

批量创建邮件组管理员

func (*BatchCreateMailgroupManagerReqBuilder) Build added in v3.0.24

func (*BatchCreateMailgroupManagerReqBuilder) MailgroupId added in v3.0.24

邮件组ID或邮箱地址

示例值:xxxxxx 或 test_mail_group@xx.xx

func (*BatchCreateMailgroupManagerReqBuilder) UserIdType added in v3.0.24

此次调用中使用的用户ID的类型

示例值:open_id

type BatchCreateMailgroupManagerResp added in v3.0.24

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

func (*BatchCreateMailgroupManagerResp) Success added in v3.0.24

func (resp *BatchCreateMailgroupManagerResp) Success() bool

type BatchCreateMailgroupMemberPathReqBodyBuilder added in v3.0.15

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

func NewBatchCreateMailgroupMemberPathReqBodyBuilder added in v3.0.15

func NewBatchCreateMailgroupMemberPathReqBodyBuilder() *BatchCreateMailgroupMemberPathReqBodyBuilder

func (*BatchCreateMailgroupMemberPathReqBodyBuilder) Build added in v3.0.15

func (*BatchCreateMailgroupMemberPathReqBodyBuilder) Items added in v3.0.15

本次添加的邮件组成员列表

示例值:

type BatchCreateMailgroupMemberReq added in v3.0.15

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

type BatchCreateMailgroupMemberReqBody added in v3.0.15

type BatchCreateMailgroupMemberReqBody struct {
	Items []*MailgroupMember `json:"items,omitempty"` // 本次添加的邮件组成员列表
}

type BatchCreateMailgroupMemberReqBodyBuilder added in v3.0.15

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

func NewBatchCreateMailgroupMemberReqBodyBuilder added in v3.0.15

func NewBatchCreateMailgroupMemberReqBodyBuilder() *BatchCreateMailgroupMemberReqBodyBuilder

func (*BatchCreateMailgroupMemberReqBodyBuilder) Build added in v3.0.15

func (*BatchCreateMailgroupMemberReqBodyBuilder) Items added in v3.0.15

本次添加的邮件组成员列表

示例值:

type BatchCreateMailgroupMemberReqBuilder added in v3.0.15

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

func NewBatchCreateMailgroupMemberReqBuilder added in v3.0.15

func NewBatchCreateMailgroupMemberReqBuilder() *BatchCreateMailgroupMemberReqBuilder

func (*BatchCreateMailgroupMemberReqBuilder) Body added in v3.0.15

func (*BatchCreateMailgroupMemberReqBuilder) Build added in v3.0.15

func (*BatchCreateMailgroupMemberReqBuilder) DepartmentIdType added in v3.0.15

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

此次调用中使用的部门ID的类型

示例值:

func (*BatchCreateMailgroupMemberReqBuilder) MailgroupId added in v3.0.15

The unique ID or email address of a mail group

示例值:xxxxxxxxxxxxxxx or test_mail_group@xxx.xx

func (*BatchCreateMailgroupMemberReqBuilder) UserIdType added in v3.0.15

此次调用中使用的用户ID的类型

示例值:open_id

type BatchCreateMailgroupMemberResp added in v3.0.15

type BatchCreateMailgroupMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *BatchCreateMailgroupMemberRespData `json:"data"` // 业务数据
}

func (*BatchCreateMailgroupMemberResp) Success added in v3.0.15

func (resp *BatchCreateMailgroupMemberResp) Success() bool

type BatchCreateMailgroupMemberRespData added in v3.0.15

type BatchCreateMailgroupMemberRespData struct {
	Items []*MailgroupMember `json:"items,omitempty"` // 添加成功后的邮件组成员信息列表
}

type BatchCreateMailgroupPermissionMemberPathReqBodyBuilder added in v3.0.15

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

func NewBatchCreateMailgroupPermissionMemberPathReqBodyBuilder added in v3.0.15

func NewBatchCreateMailgroupPermissionMemberPathReqBodyBuilder() *BatchCreateMailgroupPermissionMemberPathReqBodyBuilder

func (*BatchCreateMailgroupPermissionMemberPathReqBodyBuilder) Build added in v3.0.15

func (*BatchCreateMailgroupPermissionMemberPathReqBodyBuilder) Items added in v3.0.15

本次添加的邮件组权限成员列表

示例值:

type BatchCreateMailgroupPermissionMemberReq added in v3.0.15

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

type BatchCreateMailgroupPermissionMemberReqBody added in v3.0.15

type BatchCreateMailgroupPermissionMemberReqBody struct {
	Items []*MailgroupPermissionMember `json:"items,omitempty"` // 本次添加的邮件组权限成员列表
}

type BatchCreateMailgroupPermissionMemberReqBodyBuilder added in v3.0.15

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

func NewBatchCreateMailgroupPermissionMemberReqBodyBuilder added in v3.0.15

func NewBatchCreateMailgroupPermissionMemberReqBodyBuilder() *BatchCreateMailgroupPermissionMemberReqBodyBuilder

func (*BatchCreateMailgroupPermissionMemberReqBodyBuilder) Build added in v3.0.15

func (*BatchCreateMailgroupPermissionMemberReqBodyBuilder) Items added in v3.0.15

本次添加的邮件组权限成员列表

示例值:

type BatchCreateMailgroupPermissionMemberReqBuilder added in v3.0.15

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

func NewBatchCreateMailgroupPermissionMemberReqBuilder added in v3.0.15

func NewBatchCreateMailgroupPermissionMemberReqBuilder() *BatchCreateMailgroupPermissionMemberReqBuilder

func (*BatchCreateMailgroupPermissionMemberReqBuilder) Body added in v3.0.15

func (*BatchCreateMailgroupPermissionMemberReqBuilder) Build added in v3.0.15

func (*BatchCreateMailgroupPermissionMemberReqBuilder) DepartmentIdType added in v3.0.15

此次调用中使用的部门ID的类型

示例值:open_department_id

func (*BatchCreateMailgroupPermissionMemberReqBuilder) MailgroupId added in v3.0.15

The unique ID or email address of a mail group

示例值:xxxxxxxxxxxxxxx or test_mail_group@xxx.xx

func (*BatchCreateMailgroupPermissionMemberReqBuilder) UserIdType added in v3.0.15

此次调用中使用的用户ID的类型

示例值:open_id

type BatchCreateMailgroupPermissionMemberResp added in v3.0.15

type BatchCreateMailgroupPermissionMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *BatchCreateMailgroupPermissionMemberRespData `json:"data"` // 业务数据
}

func (*BatchCreateMailgroupPermissionMemberResp) Success added in v3.0.15

type BatchCreateMailgroupPermissionMemberRespData added in v3.0.15

type BatchCreateMailgroupPermissionMemberRespData struct {
	Items []*MailgroupPermissionMember `json:"items,omitempty"` // 添加成功后的邮件组权限成员信息列表
}

type BatchCreatePublicMailboxMemberPathReqBodyBuilder added in v3.0.15

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

func NewBatchCreatePublicMailboxMemberPathReqBodyBuilder added in v3.0.15

func NewBatchCreatePublicMailboxMemberPathReqBodyBuilder() *BatchCreatePublicMailboxMemberPathReqBodyBuilder

func (*BatchCreatePublicMailboxMemberPathReqBodyBuilder) Build added in v3.0.15

func (*BatchCreatePublicMailboxMemberPathReqBodyBuilder) Items added in v3.0.15

本次调用添加的公共邮箱成员列表

示例值:

type BatchCreatePublicMailboxMemberReq added in v3.0.15

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

type BatchCreatePublicMailboxMemberReqBody added in v3.0.15

type BatchCreatePublicMailboxMemberReqBody struct {
	Items []*PublicMailboxMember `json:"items,omitempty"` // 本次调用添加的公共邮箱成员列表
}

type BatchCreatePublicMailboxMemberReqBodyBuilder added in v3.0.15

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

func NewBatchCreatePublicMailboxMemberReqBodyBuilder added in v3.0.15

func NewBatchCreatePublicMailboxMemberReqBodyBuilder() *BatchCreatePublicMailboxMemberReqBodyBuilder

func (*BatchCreatePublicMailboxMemberReqBodyBuilder) Build added in v3.0.15

func (*BatchCreatePublicMailboxMemberReqBodyBuilder) Items added in v3.0.15

本次调用添加的公共邮箱成员列表

示例值:

type BatchCreatePublicMailboxMemberReqBuilder added in v3.0.15

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

func NewBatchCreatePublicMailboxMemberReqBuilder added in v3.0.15

func NewBatchCreatePublicMailboxMemberReqBuilder() *BatchCreatePublicMailboxMemberReqBuilder

func (*BatchCreatePublicMailboxMemberReqBuilder) Body added in v3.0.15

func (*BatchCreatePublicMailboxMemberReqBuilder) Build added in v3.0.15

func (*BatchCreatePublicMailboxMemberReqBuilder) PublicMailboxId added in v3.0.15

The unique ID or email address of a public mailbox

示例值:xxxxxxxxxxxxxxx or test_public_mailbox@xxx.xx

func (*BatchCreatePublicMailboxMemberReqBuilder) UserIdType added in v3.0.15

此次调用中使用的用户ID的类型

示例值:

type BatchCreatePublicMailboxMemberResp added in v3.0.15

type BatchCreatePublicMailboxMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *BatchCreatePublicMailboxMemberRespData `json:"data"` // 业务数据
}

func (*BatchCreatePublicMailboxMemberResp) Success added in v3.0.15

func (resp *BatchCreatePublicMailboxMemberResp) Success() bool

type BatchCreatePublicMailboxMemberRespData added in v3.0.15

type BatchCreatePublicMailboxMemberRespData struct {
	Items []*PublicMailboxMember `json:"items,omitempty"` // 添加成功后的公共邮箱成员信息列表
}

type BatchDeleteMailgroupManagerPathReqBodyBuilder added in v3.0.24

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

func NewBatchDeleteMailgroupManagerPathReqBodyBuilder added in v3.0.24

func NewBatchDeleteMailgroupManagerPathReqBodyBuilder() *BatchDeleteMailgroupManagerPathReqBodyBuilder

func (*BatchDeleteMailgroupManagerPathReqBodyBuilder) Build added in v3.0.24

func (*BatchDeleteMailgroupManagerPathReqBodyBuilder) MailgroupManagerList added in v3.0.24

邮件组管理员列表

示例值:

type BatchDeleteMailgroupManagerReq added in v3.0.24

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

type BatchDeleteMailgroupManagerReqBody added in v3.0.24

type BatchDeleteMailgroupManagerReqBody struct {
	MailgroupManagerList []*MailgroupManager `json:"mailgroup_manager_list,omitempty"` // 邮件组管理员列表
}

type BatchDeleteMailgroupManagerReqBodyBuilder added in v3.0.24

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

func NewBatchDeleteMailgroupManagerReqBodyBuilder added in v3.0.24

func NewBatchDeleteMailgroupManagerReqBodyBuilder() *BatchDeleteMailgroupManagerReqBodyBuilder

func (*BatchDeleteMailgroupManagerReqBodyBuilder) Build added in v3.0.24

func (*BatchDeleteMailgroupManagerReqBodyBuilder) MailgroupManagerList added in v3.0.24

func (builder *BatchDeleteMailgroupManagerReqBodyBuilder) MailgroupManagerList(mailgroupManagerList []*MailgroupManager) *BatchDeleteMailgroupManagerReqBodyBuilder

邮件组管理员列表

示例值:

type BatchDeleteMailgroupManagerReqBuilder added in v3.0.24

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

func NewBatchDeleteMailgroupManagerReqBuilder added in v3.0.24

func NewBatchDeleteMailgroupManagerReqBuilder() *BatchDeleteMailgroupManagerReqBuilder

func (*BatchDeleteMailgroupManagerReqBuilder) Body added in v3.0.24

批量删除邮件组管理员

func (*BatchDeleteMailgroupManagerReqBuilder) Build added in v3.0.24

func (*BatchDeleteMailgroupManagerReqBuilder) MailgroupId added in v3.0.24

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

func (*BatchDeleteMailgroupManagerReqBuilder) UserIdType added in v3.0.24

此次调用中使用的用户ID的类型

示例值:open_id

type BatchDeleteMailgroupManagerResp added in v3.0.24

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

func (*BatchDeleteMailgroupManagerResp) Success added in v3.0.24

func (resp *BatchDeleteMailgroupManagerResp) Success() bool

type BatchDeleteMailgroupMemberPathReqBodyBuilder added in v3.0.15

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

func NewBatchDeleteMailgroupMemberPathReqBodyBuilder added in v3.0.15

func NewBatchDeleteMailgroupMemberPathReqBodyBuilder() *BatchDeleteMailgroupMemberPathReqBodyBuilder

func (*BatchDeleteMailgroupMemberPathReqBodyBuilder) Build added in v3.0.15

func (*BatchDeleteMailgroupMemberPathReqBodyBuilder) MemberIdList added in v3.0.15

本次调用删除的成员ID列表

示例值:

type BatchDeleteMailgroupMemberReq added in v3.0.15

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

type BatchDeleteMailgroupMemberReqBody added in v3.0.15

type BatchDeleteMailgroupMemberReqBody struct {
	MemberIdList []string `json:"member_id_list,omitempty"` // 本次调用删除的成员ID列表
}

type BatchDeleteMailgroupMemberReqBodyBuilder added in v3.0.15

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

func NewBatchDeleteMailgroupMemberReqBodyBuilder added in v3.0.15

func NewBatchDeleteMailgroupMemberReqBodyBuilder() *BatchDeleteMailgroupMemberReqBodyBuilder

func (*BatchDeleteMailgroupMemberReqBodyBuilder) Build added in v3.0.15

func (*BatchDeleteMailgroupMemberReqBodyBuilder) MemberIdList added in v3.0.15

本次调用删除的成员ID列表

示例值:

type BatchDeleteMailgroupMemberReqBuilder added in v3.0.15

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

func NewBatchDeleteMailgroupMemberReqBuilder added in v3.0.15

func NewBatchDeleteMailgroupMemberReqBuilder() *BatchDeleteMailgroupMemberReqBuilder

func (*BatchDeleteMailgroupMemberReqBuilder) Body added in v3.0.15

func (*BatchDeleteMailgroupMemberReqBuilder) Build added in v3.0.15

func (*BatchDeleteMailgroupMemberReqBuilder) MailgroupId added in v3.0.15

The unique ID or email address of a mail group

示例值:xxxxxxxxxxxxxxx or test_mail_group@xxx.xx

type BatchDeleteMailgroupMemberResp added in v3.0.15

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

func (*BatchDeleteMailgroupMemberResp) Success added in v3.0.15

func (resp *BatchDeleteMailgroupMemberResp) Success() bool

type BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder added in v3.0.15

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

func NewBatchDeleteMailgroupPermissionMemberPathReqBodyBuilder added in v3.0.15

func NewBatchDeleteMailgroupPermissionMemberPathReqBodyBuilder() *BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder

func (*BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder) Build added in v3.0.15

func (*BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder) PermissionMemberIdList added in v3.0.15

本次调用删除的权限成员ID列表

示例值:

type BatchDeleteMailgroupPermissionMemberReq added in v3.0.15

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

type BatchDeleteMailgroupPermissionMemberReqBody added in v3.0.15

type BatchDeleteMailgroupPermissionMemberReqBody struct {
	PermissionMemberIdList []string `json:"permission_member_id_list,omitempty"` // 本次调用删除的权限成员ID列表
}

type BatchDeleteMailgroupPermissionMemberReqBodyBuilder added in v3.0.15

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

func NewBatchDeleteMailgroupPermissionMemberReqBodyBuilder added in v3.0.15

func NewBatchDeleteMailgroupPermissionMemberReqBodyBuilder() *BatchDeleteMailgroupPermissionMemberReqBodyBuilder

func (*BatchDeleteMailgroupPermissionMemberReqBodyBuilder) Build added in v3.0.15

func (*BatchDeleteMailgroupPermissionMemberReqBodyBuilder) PermissionMemberIdList added in v3.0.15

本次调用删除的权限成员ID列表

示例值:

type BatchDeleteMailgroupPermissionMemberReqBuilder added in v3.0.15

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

func NewBatchDeleteMailgroupPermissionMemberReqBuilder added in v3.0.15

func NewBatchDeleteMailgroupPermissionMemberReqBuilder() *BatchDeleteMailgroupPermissionMemberReqBuilder

func (*BatchDeleteMailgroupPermissionMemberReqBuilder) Body added in v3.0.15

func (*BatchDeleteMailgroupPermissionMemberReqBuilder) Build added in v3.0.15

func (*BatchDeleteMailgroupPermissionMemberReqBuilder) MailgroupId added in v3.0.15

The unique ID or email address of a mail group

示例值:xxxxxxxxxxxxxxx or test_mail_group@xxx.xx

type BatchDeleteMailgroupPermissionMemberResp added in v3.0.15

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

func (*BatchDeleteMailgroupPermissionMemberResp) Success added in v3.0.15

type BatchDeletePublicMailboxMemberPathReqBodyBuilder added in v3.0.15

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

func NewBatchDeletePublicMailboxMemberPathReqBodyBuilder added in v3.0.15

func NewBatchDeletePublicMailboxMemberPathReqBodyBuilder() *BatchDeletePublicMailboxMemberPathReqBodyBuilder

func (*BatchDeletePublicMailboxMemberPathReqBodyBuilder) Build added in v3.0.15

func (*BatchDeletePublicMailboxMemberPathReqBodyBuilder) MemberIdList added in v3.0.15

本次调用删除的公共邮箱成员ID列表

示例值:

type BatchDeletePublicMailboxMemberReq added in v3.0.15

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

type BatchDeletePublicMailboxMemberReqBody added in v3.0.15

type BatchDeletePublicMailboxMemberReqBody struct {
	MemberIdList []string `json:"member_id_list,omitempty"` // 本次调用删除的公共邮箱成员ID列表
}

type BatchDeletePublicMailboxMemberReqBodyBuilder added in v3.0.15

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

func NewBatchDeletePublicMailboxMemberReqBodyBuilder added in v3.0.15

func NewBatchDeletePublicMailboxMemberReqBodyBuilder() *BatchDeletePublicMailboxMemberReqBodyBuilder

func (*BatchDeletePublicMailboxMemberReqBodyBuilder) Build added in v3.0.15

func (*BatchDeletePublicMailboxMemberReqBodyBuilder) MemberIdList added in v3.0.15

本次调用删除的公共邮箱成员ID列表

示例值:

type BatchDeletePublicMailboxMemberReqBuilder added in v3.0.15

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

func NewBatchDeletePublicMailboxMemberReqBuilder added in v3.0.15

func NewBatchDeletePublicMailboxMemberReqBuilder() *BatchDeletePublicMailboxMemberReqBuilder

func (*BatchDeletePublicMailboxMemberReqBuilder) Body added in v3.0.15

func (*BatchDeletePublicMailboxMemberReqBuilder) Build added in v3.0.15

func (*BatchDeletePublicMailboxMemberReqBuilder) PublicMailboxId added in v3.0.15

The unique ID or email address of a public mailbox

示例值:xxxxxxxxxxxxxxx or test_public_mailbox@xxx.xx

type BatchDeletePublicMailboxMemberResp added in v3.0.15

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

func (*BatchDeletePublicMailboxMemberResp) Success added in v3.0.15

func (resp *BatchDeletePublicMailboxMemberResp) Success() bool

type ClearPublicMailboxMemberReq

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

type ClearPublicMailboxMemberReqBuilder

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

func NewClearPublicMailboxMemberReqBuilder

func NewClearPublicMailboxMemberReqBuilder() *ClearPublicMailboxMemberReqBuilder

func (*ClearPublicMailboxMemberReqBuilder) Build

func (*ClearPublicMailboxMemberReqBuilder) PublicMailboxId

func (builder *ClearPublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *ClearPublicMailboxMemberReqBuilder

公共邮箱唯一标识或公共邮箱地址

示例值:xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx

type ClearPublicMailboxMemberResp

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

func (*ClearPublicMailboxMemberResp) Success

func (resp *ClearPublicMailboxMemberResp) Success() bool

type CreateMailgroupAliasReq

type CreateMailgroupAliasReq struct {
	EmailAlias *EmailAlias `body:""`
	// contains filtered or unexported fields
}

type CreateMailgroupAliasReqBuilder

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

func NewCreateMailgroupAliasReqBuilder

func NewCreateMailgroupAliasReqBuilder() *CreateMailgroupAliasReqBuilder

func (*CreateMailgroupAliasReqBuilder) Build

func (*CreateMailgroupAliasReqBuilder) EmailAlias

创建邮件组别名

func (*CreateMailgroupAliasReqBuilder) MailgroupId

func (builder *CreateMailgroupAliasReqBuilder) MailgroupId(mailgroupId string) *CreateMailgroupAliasReqBuilder

邮件组id或邮件组邮箱地址

示例值:xxxxxx 或者 xxx@xx.xxx

type CreateMailgroupAliasResp

type CreateMailgroupAliasResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateMailgroupAliasRespData `json:"data"` // 业务数据
}

func (*CreateMailgroupAliasResp) Success

func (resp *CreateMailgroupAliasResp) Success() bool

type CreateMailgroupAliasRespData

type CreateMailgroupAliasRespData struct {
	MailgroupAlias *EmailAlias `json:"mailgroup_alias,omitempty"` // 邮件组别名
}

type CreateMailgroupMemberReq

type CreateMailgroupMemberReq struct {
	MailgroupMember *MailgroupMember `body:""`
	// contains filtered or unexported fields
}

type CreateMailgroupMemberReqBuilder

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

func NewCreateMailgroupMemberReqBuilder

func NewCreateMailgroupMemberReqBuilder() *CreateMailgroupMemberReqBuilder

func (*CreateMailgroupMemberReqBuilder) Build

func (*CreateMailgroupMemberReqBuilder) DepartmentIdType

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

此次调用中使用的部门ID的类型

示例值:open_department_id

func (*CreateMailgroupMemberReqBuilder) MailgroupId

func (builder *CreateMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *CreateMailgroupMemberReqBuilder

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

func (*CreateMailgroupMemberReqBuilder) MailgroupMember

func (builder *CreateMailgroupMemberReqBuilder) MailgroupMember(mailgroupMember *MailgroupMember) *CreateMailgroupMemberReqBuilder

向邮件组添加单个成员

func (*CreateMailgroupMemberReqBuilder) UserIdType

此次调用中使用的用户ID的类型

示例值:

type CreateMailgroupMemberResp

type CreateMailgroupMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateMailgroupMemberRespData `json:"data"` // 业务数据
}

func (*CreateMailgroupMemberResp) Success

func (resp *CreateMailgroupMemberResp) Success() bool

type CreateMailgroupMemberRespData

type CreateMailgroupMemberRespData struct {
	MemberId     *string `json:"member_id,omitempty"`     // The unique ID of a member in this mail group
	Email        *string `json:"email,omitempty"`         // The member's email address. Value is valid when type is one of USER/EXTERNAL_USER/MAIL_GROUP/PUBLIC_MAILBOX/OTHER_MEMBER
	UserId       *string `json:"user_id,omitempty"`       // The member's user id. Value is valid when type is USER
	DepartmentId *string `json:"department_id,omitempty"` // The member's department id. Value is valid when type is DEPARTMENT
	Type         *string `json:"type,omitempty"`          // The type of member. Possible values are:;- USER: internal user in the team;- DEPARTMENT: member is a department;- COMPANY: member is the company;- EXTERNAL_USER: internet user outside the organization;- MAIL_GROUP: member is another mail group;- PUBLIC_MAILBOX: member is a public mailbox;- OTHER_MEMBER: other internal member
}

type CreateMailgroupPermissionMemberReq

type CreateMailgroupPermissionMemberReq struct {
	MailgroupPermissionMember *MailgroupPermissionMember `body:""`
	// contains filtered or unexported fields
}

type CreateMailgroupPermissionMemberReqBuilder

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

func NewCreateMailgroupPermissionMemberReqBuilder

func NewCreateMailgroupPermissionMemberReqBuilder() *CreateMailgroupPermissionMemberReqBuilder

func (*CreateMailgroupPermissionMemberReqBuilder) Build

func (*CreateMailgroupPermissionMemberReqBuilder) DepartmentIdType

此次调用中使用的部门ID的类型

示例值:xxx

func (*CreateMailgroupPermissionMemberReqBuilder) MailgroupId

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

func (*CreateMailgroupPermissionMemberReqBuilder) MailgroupPermissionMember

func (builder *CreateMailgroupPermissionMemberReqBuilder) MailgroupPermissionMember(mailgroupPermissionMember *MailgroupPermissionMember) *CreateMailgroupPermissionMemberReqBuilder

向邮件组添加单个自定义权限成员,添加后该成员可发送邮件到该邮件组

func (*CreateMailgroupPermissionMemberReqBuilder) UserIdType

此次调用中使用的用户ID的类型

示例值:

type CreateMailgroupPermissionMemberResp

type CreateMailgroupPermissionMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateMailgroupPermissionMemberRespData `json:"data"` // 业务数据
}

func (*CreateMailgroupPermissionMemberResp) Success

func (resp *CreateMailgroupPermissionMemberResp) Success() bool

type CreateMailgroupPermissionMemberRespData

type CreateMailgroupPermissionMemberRespData struct {
	PermissionMemberId *string `json:"permission_member_id,omitempty"` // The unique ID of a member in this permission group
	UserId             *string `json:"user_id,omitempty"`              // The member's user id. Value is valid when type is USER
	DepartmentId       *string `json:"department_id,omitempty"`        // The member's department id. Value is valid when type is DEPARTMENT
	Email              *string `json:"email,omitempty"`                // The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX
	Type               *string `json:"type,omitempty"`                 // The type of member. Possible values are:;- USER: internal user in the team;- DEPARTMENT: member is a department
}

type CreateMailgroupReq

type CreateMailgroupReq struct {
	Mailgroup *Mailgroup `body:""`
	// contains filtered or unexported fields
}

type CreateMailgroupReqBuilder

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

func NewCreateMailgroupReqBuilder

func NewCreateMailgroupReqBuilder() *CreateMailgroupReqBuilder

func (*CreateMailgroupReqBuilder) Build

func (*CreateMailgroupReqBuilder) Mailgroup

func (builder *CreateMailgroupReqBuilder) Mailgroup(mailgroup *Mailgroup) *CreateMailgroupReqBuilder

创建一个邮件组

type CreateMailgroupResp

type CreateMailgroupResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateMailgroupRespData `json:"data"` // 业务数据
}

func (*CreateMailgroupResp) Success

func (resp *CreateMailgroupResp) Success() bool

type CreateMailgroupRespData

type CreateMailgroupRespData struct {
	MailgroupId             *string `json:"mailgroup_id,omitempty"`               // The unique ID of a mail group
	Email                   *string `json:"email,omitempty"`                      // The mail group's email address
	Name                    *string `json:"name,omitempty"`                       // The mail group's display name
	Description             *string `json:"description,omitempty"`                // The mail group's description
	DirectMembersCount      *string `json:"direct_members_count,omitempty"`       // The number of mail group's direct members
	IncludeExternalMember   *bool   `json:"include_external_member,omitempty"`    // Value is true if this mail group has external member
	IncludeAllCompanyMember *bool   `json:"include_all_company_member,omitempty"` // Value is true if all company members are in this mail group
	WhoCanSendMail          *string `json:"who_can_send_mail,omitempty"`          // Who can send mail to this mail group. Possible values are:;- ANYONE: Any Internet user can send mail to this mail group;- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group;- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group;- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure
}

type CreatePublicMailboxAliasReq

type CreatePublicMailboxAliasReq struct {
	EmailAlias *EmailAlias `body:""`
	// contains filtered or unexported fields
}

type CreatePublicMailboxAliasReqBuilder

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

func NewCreatePublicMailboxAliasReqBuilder

func NewCreatePublicMailboxAliasReqBuilder() *CreatePublicMailboxAliasReqBuilder

func (*CreatePublicMailboxAliasReqBuilder) Build

func (*CreatePublicMailboxAliasReqBuilder) EmailAlias

创建公共邮箱别名

func (*CreatePublicMailboxAliasReqBuilder) PublicMailboxId

func (builder *CreatePublicMailboxAliasReqBuilder) PublicMailboxId(publicMailboxId string) *CreatePublicMailboxAliasReqBuilder

公共邮箱id或公共邮箱地址

示例值:xxxxxx 或 xxx@xx.xxx

type CreatePublicMailboxAliasResp

type CreatePublicMailboxAliasResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreatePublicMailboxAliasRespData `json:"data"` // 业务数据
}

func (*CreatePublicMailboxAliasResp) Success

func (resp *CreatePublicMailboxAliasResp) Success() bool

type CreatePublicMailboxAliasRespData

type CreatePublicMailboxAliasRespData struct {
	PublicMailboxAlias *EmailAlias `json:"public_mailbox_alias,omitempty"` // 公共邮箱别名
}

type CreatePublicMailboxMemberReq

type CreatePublicMailboxMemberReq struct {
	PublicMailboxMember *PublicMailboxMember `body:""`
	// contains filtered or unexported fields
}

type CreatePublicMailboxMemberReqBuilder

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

func NewCreatePublicMailboxMemberReqBuilder

func NewCreatePublicMailboxMemberReqBuilder() *CreatePublicMailboxMemberReqBuilder

func (*CreatePublicMailboxMemberReqBuilder) Build

func (*CreatePublicMailboxMemberReqBuilder) PublicMailboxId

func (builder *CreatePublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *CreatePublicMailboxMemberReqBuilder

公共邮箱唯一标识或公共邮箱地址

示例值:xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx

func (*CreatePublicMailboxMemberReqBuilder) PublicMailboxMember

func (builder *CreatePublicMailboxMemberReqBuilder) PublicMailboxMember(publicMailboxMember *PublicMailboxMember) *CreatePublicMailboxMemberReqBuilder

向公共邮箱添加单个成员

func (*CreatePublicMailboxMemberReqBuilder) UserIdType

此次调用中使用的用户ID的类型

示例值:

type CreatePublicMailboxMemberResp

type CreatePublicMailboxMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreatePublicMailboxMemberRespData `json:"data"` // 业务数据
}

func (*CreatePublicMailboxMemberResp) Success

func (resp *CreatePublicMailboxMemberResp) Success() bool

type CreatePublicMailboxMemberRespData

type CreatePublicMailboxMemberRespData struct {
	MemberId *string `json:"member_id,omitempty"` // The unique ID of a member in this public mailbox
	UserId   *string `json:"user_id,omitempty"`   // The member's user id. Value is valid when type is USER
	Type     *string `json:"type,omitempty"`      // The type of member. Possible values are:;- USER: internal user in the team
}

type CreatePublicMailboxReq

type CreatePublicMailboxReq struct {
	PublicMailbox *PublicMailbox `body:""`
	// contains filtered or unexported fields
}

type CreatePublicMailboxReqBuilder

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

func NewCreatePublicMailboxReqBuilder

func NewCreatePublicMailboxReqBuilder() *CreatePublicMailboxReqBuilder

func (*CreatePublicMailboxReqBuilder) Build

func (*CreatePublicMailboxReqBuilder) PublicMailbox

func (builder *CreatePublicMailboxReqBuilder) PublicMailbox(publicMailbox *PublicMailbox) *CreatePublicMailboxReqBuilder

创建一个公共邮箱

type CreatePublicMailboxResp

type CreatePublicMailboxResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreatePublicMailboxRespData `json:"data"` // 业务数据
}

func (*CreatePublicMailboxResp) Success

func (resp *CreatePublicMailboxResp) Success() bool

type CreatePublicMailboxRespData

type CreatePublicMailboxRespData struct {
	PublicMailboxId *string `json:"public_mailbox_id,omitempty"` // The unique ID of a public mailbox
	Email           *string `json:"email,omitempty"`             // The public mailbox's email address
	Name            *string `json:"name,omitempty"`              // The public mailbox's display name
}

type CreateUserMailboxAliasReq

type CreateUserMailboxAliasReq struct {
	EmailAlias *EmailAlias `body:""`
	// contains filtered or unexported fields
}

type CreateUserMailboxAliasReqBuilder

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

func NewCreateUserMailboxAliasReqBuilder

func NewCreateUserMailboxAliasReqBuilder() *CreateUserMailboxAliasReqBuilder

func (*CreateUserMailboxAliasReqBuilder) Build

func (*CreateUserMailboxAliasReqBuilder) EmailAlias

创建用户邮箱别名

func (*CreateUserMailboxAliasReqBuilder) UserMailboxId

func (builder *CreateUserMailboxAliasReqBuilder) UserMailboxId(userMailboxId string) *CreateUserMailboxAliasReqBuilder

用户邮箱地址

示例值:user@xxx.xx

type CreateUserMailboxAliasResp

type CreateUserMailboxAliasResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateUserMailboxAliasRespData `json:"data"` // 业务数据
}

func (*CreateUserMailboxAliasResp) Success

func (resp *CreateUserMailboxAliasResp) Success() bool

type CreateUserMailboxAliasRespData

type CreateUserMailboxAliasRespData struct {
	UserMailboxAlias *EmailAlias `json:"user_mailbox_alias,omitempty"` // 用户邮箱别名
}

type DeleteMailgroupAliasReq

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

type DeleteMailgroupAliasReqBuilder

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

func NewDeleteMailgroupAliasReqBuilder

func NewDeleteMailgroupAliasReqBuilder() *DeleteMailgroupAliasReqBuilder

func (*DeleteMailgroupAliasReqBuilder) AliasId

邮件组别名邮箱地址

示例值:xxx@xx.xxx

func (*DeleteMailgroupAliasReqBuilder) Build

func (*DeleteMailgroupAliasReqBuilder) MailgroupId

func (builder *DeleteMailgroupAliasReqBuilder) MailgroupId(mailgroupId string) *DeleteMailgroupAliasReqBuilder

邮件组id或邮件组邮箱地址

示例值:xxxxxx 或 test_group@xx.xxx

type DeleteMailgroupAliasResp

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

func (*DeleteMailgroupAliasResp) Success

func (resp *DeleteMailgroupAliasResp) Success() bool

type DeleteMailgroupMemberReq

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

type DeleteMailgroupMemberReqBuilder

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

func NewDeleteMailgroupMemberReqBuilder

func NewDeleteMailgroupMemberReqBuilder() *DeleteMailgroupMemberReqBuilder

func (*DeleteMailgroupMemberReqBuilder) Build

func (*DeleteMailgroupMemberReqBuilder) MailgroupId

func (builder *DeleteMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *DeleteMailgroupMemberReqBuilder

The unique ID or email address of a mail group

示例值:xxxxxxxxxxxxxxx or test_mail_group@xxx.xx

func (*DeleteMailgroupMemberReqBuilder) MemberId

The unique ID of a member in this mail group

示例值:xxxxxxxxxxxxxxx

type DeleteMailgroupMemberResp

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

func (*DeleteMailgroupMemberResp) Success

func (resp *DeleteMailgroupMemberResp) Success() bool

type DeleteMailgroupPermissionMemberReq

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

type DeleteMailgroupPermissionMemberReqBuilder

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

func NewDeleteMailgroupPermissionMemberReqBuilder

func NewDeleteMailgroupPermissionMemberReqBuilder() *DeleteMailgroupPermissionMemberReqBuilder

func (*DeleteMailgroupPermissionMemberReqBuilder) Build

func (*DeleteMailgroupPermissionMemberReqBuilder) MailgroupId

The unique ID or email address of a mail group

示例值:xxxxxxxxxxxxxxx or test_mail_group@xxx.xx

func (*DeleteMailgroupPermissionMemberReqBuilder) PermissionMemberId

func (builder *DeleteMailgroupPermissionMemberReqBuilder) PermissionMemberId(permissionMemberId string) *DeleteMailgroupPermissionMemberReqBuilder

The unique ID of a member in this permission group

示例值:xxxxxxxxxxxxxxx

type DeleteMailgroupPermissionMemberResp

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

func (*DeleteMailgroupPermissionMemberResp) Success

func (resp *DeleteMailgroupPermissionMemberResp) Success() bool

type DeleteMailgroupReq

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

type DeleteMailgroupReqBuilder

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

func NewDeleteMailgroupReqBuilder

func NewDeleteMailgroupReqBuilder() *DeleteMailgroupReqBuilder

func (*DeleteMailgroupReqBuilder) Build

func (*DeleteMailgroupReqBuilder) MailgroupId

func (builder *DeleteMailgroupReqBuilder) MailgroupId(mailgroupId string) *DeleteMailgroupReqBuilder

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

type DeleteMailgroupResp

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

func (*DeleteMailgroupResp) Success

func (resp *DeleteMailgroupResp) Success() bool

type DeletePublicMailboxAliasReq

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

type DeletePublicMailboxAliasReqBuilder

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

func NewDeletePublicMailboxAliasReqBuilder

func NewDeletePublicMailboxAliasReqBuilder() *DeletePublicMailboxAliasReqBuilder

func (*DeletePublicMailboxAliasReqBuilder) AliasId

公共邮箱别名

示例值:xxx@xx.xxx

func (*DeletePublicMailboxAliasReqBuilder) Build

func (*DeletePublicMailboxAliasReqBuilder) PublicMailboxId

func (builder *DeletePublicMailboxAliasReqBuilder) PublicMailboxId(publicMailboxId string) *DeletePublicMailboxAliasReqBuilder

公共邮箱id或公共邮箱地址

示例值:xxxxxx 或 xxx@xx.xxx

type DeletePublicMailboxAliasResp

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

func (*DeletePublicMailboxAliasResp) Success

func (resp *DeletePublicMailboxAliasResp) Success() bool

type DeletePublicMailboxMemberReq

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

type DeletePublicMailboxMemberReqBuilder

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

func NewDeletePublicMailboxMemberReqBuilder

func NewDeletePublicMailboxMemberReqBuilder() *DeletePublicMailboxMemberReqBuilder

func (*DeletePublicMailboxMemberReqBuilder) Build

func (*DeletePublicMailboxMemberReqBuilder) MemberId

公共邮箱内成员唯一标识

示例值:xxxxxxxxxxxxxxx

func (*DeletePublicMailboxMemberReqBuilder) PublicMailboxId

func (builder *DeletePublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *DeletePublicMailboxMemberReqBuilder

公共邮箱唯一标识或公共邮箱地址

示例值:xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx

type DeletePublicMailboxMemberResp

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

func (*DeletePublicMailboxMemberResp) Success

func (resp *DeletePublicMailboxMemberResp) Success() bool

type DeletePublicMailboxReq

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

type DeletePublicMailboxReqBuilder

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

func NewDeletePublicMailboxReqBuilder

func NewDeletePublicMailboxReqBuilder() *DeletePublicMailboxReqBuilder

func (*DeletePublicMailboxReqBuilder) Build

func (*DeletePublicMailboxReqBuilder) PublicMailboxId

func (builder *DeletePublicMailboxReqBuilder) PublicMailboxId(publicMailboxId string) *DeletePublicMailboxReqBuilder

要释放的公共邮箱地址

示例值:xxxxxx@abc.com

type DeletePublicMailboxResp

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

func (*DeletePublicMailboxResp) Success

func (resp *DeletePublicMailboxResp) Success() bool

type DeleteUserMailboxAliasReq

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

type DeleteUserMailboxAliasReqBuilder

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

func NewDeleteUserMailboxAliasReqBuilder

func NewDeleteUserMailboxAliasReqBuilder() *DeleteUserMailboxAliasReqBuilder

func (*DeleteUserMailboxAliasReqBuilder) AliasId

别名邮箱地址

示例值:user_alias@xxx.xx

func (*DeleteUserMailboxAliasReqBuilder) Build

func (*DeleteUserMailboxAliasReqBuilder) UserMailboxId

func (builder *DeleteUserMailboxAliasReqBuilder) UserMailboxId(userMailboxId string) *DeleteUserMailboxAliasReqBuilder

用户邮箱地址

示例值:user@xxx.xx

type DeleteUserMailboxAliasResp

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

func (*DeleteUserMailboxAliasResp) Success

func (resp *DeleteUserMailboxAliasResp) Success() bool

type DeleteUserMailboxReq

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

type DeleteUserMailboxReqBuilder

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

func NewDeleteUserMailboxReqBuilder

func NewDeleteUserMailboxReqBuilder() *DeleteUserMailboxReqBuilder

func (*DeleteUserMailboxReqBuilder) Build

func (*DeleteUserMailboxReqBuilder) TransferMailbox

func (builder *DeleteUserMailboxReqBuilder) TransferMailbox(transferMailbox string) *DeleteUserMailboxReqBuilder

用于接受转移的邮箱地址

示例值:888888@abc.com

func (*DeleteUserMailboxReqBuilder) UserMailboxId

func (builder *DeleteUserMailboxReqBuilder) UserMailboxId(userMailboxId string) *DeleteUserMailboxReqBuilder

要释放的邮箱地址

示例值:111111@abc.com

type DeleteUserMailboxResp

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

func (*DeleteUserMailboxResp) Success

func (resp *DeleteUserMailboxResp) Success() bool

type EmailAlias

type EmailAlias struct {
	PrimaryEmail *string `json:"primary_email,omitempty"` // 主邮箱地址
	EmailAlias   *string `json:"email_alias,omitempty"`   // 邮箱别名
}

type EmailAliasBuilder

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

func NewEmailAliasBuilder

func NewEmailAliasBuilder() *EmailAliasBuilder

func (*EmailAliasBuilder) Build

func (builder *EmailAliasBuilder) Build() *EmailAlias

func (*EmailAliasBuilder) EmailAlias

func (builder *EmailAliasBuilder) EmailAlias(emailAlias string) *EmailAliasBuilder

邮箱别名

示例值:xxx@xx.xxx

func (*EmailAliasBuilder) PrimaryEmail

func (builder *EmailAliasBuilder) PrimaryEmail(primaryEmail string) *EmailAliasBuilder

主邮箱地址

示例值:xxx@xx.xxx

type GetMailgroupMemberReq

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

type GetMailgroupMemberReqBuilder

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

func NewGetMailgroupMemberReqBuilder

func NewGetMailgroupMemberReqBuilder() *GetMailgroupMemberReqBuilder

func (*GetMailgroupMemberReqBuilder) Build

func (*GetMailgroupMemberReqBuilder) DepartmentIdType

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

此次调用中使用的部门ID的类型

示例值:open_department_id

func (*GetMailgroupMemberReqBuilder) MailgroupId

func (builder *GetMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *GetMailgroupMemberReqBuilder

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

func (*GetMailgroupMemberReqBuilder) MemberId

邮件组内成员唯一标识

示例值:xxxxxxxxxxxxxxx

func (*GetMailgroupMemberReqBuilder) UserIdType

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

此次调用中使用的用户ID的类型

示例值:

type GetMailgroupMemberResp

type GetMailgroupMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetMailgroupMemberRespData `json:"data"` // 业务数据
}

func (*GetMailgroupMemberResp) Success

func (resp *GetMailgroupMemberResp) Success() bool

type GetMailgroupMemberRespData

type GetMailgroupMemberRespData struct {
	MemberId     *string `json:"member_id,omitempty"`     // The unique ID of a member in this mail group
	Email        *string `json:"email,omitempty"`         // The member's email address. Value is valid when type is one of USER/EXTERNAL_USER/MAIL_GROUP/PUBLIC_MAILBOX/OTHER_MEMBER
	UserId       *string `json:"user_id,omitempty"`       // The member's user id. Value is valid when type is USER
	DepartmentId *string `json:"department_id,omitempty"` // The member's department id. Value is valid when type is DEPARTMENT
	Type         *string `json:"type,omitempty"`          // The type of member. Possible values are:;- USER: internal user in the team;- DEPARTMENT: member is a department;- COMPANY: member is the company;- EXTERNAL_USER: internet user outside the organization;- MAIL_GROUP: member is another mail group;- PUBLIC_MAILBOX: member is a public mailbox;- OTHER_MEMBER: other internal member
}

type GetMailgroupPermissionMemberReq

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

type GetMailgroupPermissionMemberReqBuilder

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

func NewGetMailgroupPermissionMemberReqBuilder

func NewGetMailgroupPermissionMemberReqBuilder() *GetMailgroupPermissionMemberReqBuilder

func (*GetMailgroupPermissionMemberReqBuilder) Build

func (*GetMailgroupPermissionMemberReqBuilder) DepartmentIdType

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

此次调用中使用的部门ID的类型

示例值:open_department_id

func (*GetMailgroupPermissionMemberReqBuilder) MailgroupId

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

func (*GetMailgroupPermissionMemberReqBuilder) PermissionMemberId

func (builder *GetMailgroupPermissionMemberReqBuilder) PermissionMemberId(permissionMemberId string) *GetMailgroupPermissionMemberReqBuilder

权限组内成员唯一标识

示例值:xxxxxxxxxxxxxxx

func (*GetMailgroupPermissionMemberReqBuilder) UserIdType

此次调用中使用的用户ID的类型

示例值:

type GetMailgroupPermissionMemberResp

type GetMailgroupPermissionMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetMailgroupPermissionMemberRespData `json:"data"` // 业务数据
}

func (*GetMailgroupPermissionMemberResp) Success

func (resp *GetMailgroupPermissionMemberResp) Success() bool

type GetMailgroupPermissionMemberRespData

type GetMailgroupPermissionMemberRespData struct {
	PermissionMemberId *string `json:"permission_member_id,omitempty"` // The unique ID of a member in this permission group
	UserId             *string `json:"user_id,omitempty"`              // The member's user id. Value is valid when type is USER
	DepartmentId       *string `json:"department_id,omitempty"`        // The member's department id. Value is valid when type is DEPARTMENT
	Email              *string `json:"email,omitempty"`                // The member's email address. Value is valid when type is MAIL_GROUP/PUBLIC_MAILBOX
	Type               *string `json:"type,omitempty"`                 // The type of member. Possible values are:;- USER: internal user in the team;- DEPARTMENT: member is a department
}

type GetMailgroupReq

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

type GetMailgroupReqBuilder

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

func NewGetMailgroupReqBuilder

func NewGetMailgroupReqBuilder() *GetMailgroupReqBuilder

func (*GetMailgroupReqBuilder) Build

func (builder *GetMailgroupReqBuilder) Build() *GetMailgroupReq

func (*GetMailgroupReqBuilder) MailgroupId

func (builder *GetMailgroupReqBuilder) MailgroupId(mailgroupId string) *GetMailgroupReqBuilder

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

type GetMailgroupResp

type GetMailgroupResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetMailgroupRespData `json:"data"` // 业务数据
}

func (*GetMailgroupResp) Success

func (resp *GetMailgroupResp) Success() bool

type GetMailgroupRespData

type GetMailgroupRespData struct {
	MailgroupId             *string `json:"mailgroup_id,omitempty"`               // The unique ID of a mail group
	Email                   *string `json:"email,omitempty"`                      // The mail group's email address
	Name                    *string `json:"name,omitempty"`                       // The mail group's display name
	Description             *string `json:"description,omitempty"`                // The mail group's description
	DirectMembersCount      *string `json:"direct_members_count,omitempty"`       // The number of mail group's direct members
	IncludeExternalMember   *bool   `json:"include_external_member,omitempty"`    // Value is true if this mail group has external member
	IncludeAllCompanyMember *bool   `json:"include_all_company_member,omitempty"` // Value is true if all company members are in this mail group
	WhoCanSendMail          *string `json:"who_can_send_mail,omitempty"`          // Who can send mail to this mail group. Possible values are:;- ANYONE: Any Internet user can send mail to this mail group;- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group;- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group;- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure
}

type GetPublicMailboxMemberReq

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

type GetPublicMailboxMemberReqBuilder

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

func NewGetPublicMailboxMemberReqBuilder

func NewGetPublicMailboxMemberReqBuilder() *GetPublicMailboxMemberReqBuilder

func (*GetPublicMailboxMemberReqBuilder) Build

func (*GetPublicMailboxMemberReqBuilder) MemberId

公共邮箱内成员唯一标识

示例值:xxxxxxxxxxxxxxx

func (*GetPublicMailboxMemberReqBuilder) PublicMailboxId

func (builder *GetPublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *GetPublicMailboxMemberReqBuilder

公共邮箱唯一标识或公共邮箱地址

示例值:xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx

func (*GetPublicMailboxMemberReqBuilder) UserIdType

此次调用中使用的用户ID的类型

示例值:

type GetPublicMailboxMemberResp

type GetPublicMailboxMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetPublicMailboxMemberRespData `json:"data"` // 业务数据
}

func (*GetPublicMailboxMemberResp) Success

func (resp *GetPublicMailboxMemberResp) Success() bool

type GetPublicMailboxMemberRespData

type GetPublicMailboxMemberRespData struct {
	MemberId *string `json:"member_id,omitempty"` // The unique ID of a member in this public mailbox
	UserId   *string `json:"user_id,omitempty"`   // The member's user id. Value is valid when type is USER
	Type     *string `json:"type,omitempty"`      // The type of member. Possible values are:;- USER: internal user in the team
}

type GetPublicMailboxReq

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

type GetPublicMailboxReqBuilder

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

func NewGetPublicMailboxReqBuilder

func NewGetPublicMailboxReqBuilder() *GetPublicMailboxReqBuilder

func (*GetPublicMailboxReqBuilder) Build

func (*GetPublicMailboxReqBuilder) PublicMailboxId

func (builder *GetPublicMailboxReqBuilder) PublicMailboxId(publicMailboxId string) *GetPublicMailboxReqBuilder

公共邮箱唯一标识或公共邮箱地址

示例值:xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx

type GetPublicMailboxResp

type GetPublicMailboxResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetPublicMailboxRespData `json:"data"` // 业务数据
}

func (*GetPublicMailboxResp) Success

func (resp *GetPublicMailboxResp) Success() bool

type GetPublicMailboxRespData

type GetPublicMailboxRespData struct {
	PublicMailboxId *string `json:"public_mailbox_id,omitempty"` // The unique ID of a public mailbox
	Email           *string `json:"email,omitempty"`             // The public mailbox's email address
	Name            *string `json:"name,omitempty"`              // The public mailbox's display name
}

type ListMailgroupAliasReq

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

type ListMailgroupAliasReqBuilder

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

func NewListMailgroupAliasReqBuilder

func NewListMailgroupAliasReqBuilder() *ListMailgroupAliasReqBuilder

func (*ListMailgroupAliasReqBuilder) Build

func (*ListMailgroupAliasReqBuilder) MailgroupId

func (builder *ListMailgroupAliasReqBuilder) MailgroupId(mailgroupId string) *ListMailgroupAliasReqBuilder

邮件组id或邮件组邮箱地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

type ListMailgroupAliasResp

type ListMailgroupAliasResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListMailgroupAliasRespData `json:"data"` // 业务数据
}

func (*ListMailgroupAliasResp) Success

func (resp *ListMailgroupAliasResp) Success() bool

type ListMailgroupAliasRespData

type ListMailgroupAliasRespData struct {
	Items []*EmailAlias `json:"items,omitempty"` // 邮件组别名
}

type ListMailgroupIterator

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

func (*ListMailgroupIterator) Next

func (iterator *ListMailgroupIterator) Next() (bool, *Mailgroup, error)

func (*ListMailgroupIterator) NextPageToken

func (iterator *ListMailgroupIterator) NextPageToken() *string

type ListMailgroupManagerIterator added in v3.0.24

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

func (*ListMailgroupManagerIterator) Next added in v3.0.24

func (*ListMailgroupManagerIterator) NextPageToken added in v3.0.24

func (iterator *ListMailgroupManagerIterator) NextPageToken() *string

type ListMailgroupManagerReq added in v3.0.24

type ListMailgroupManagerReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListMailgroupManagerReqBuilder added in v3.0.24

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

func NewListMailgroupManagerReqBuilder added in v3.0.24

func NewListMailgroupManagerReqBuilder() *ListMailgroupManagerReqBuilder

func (*ListMailgroupManagerReqBuilder) Build added in v3.0.24

func (*ListMailgroupManagerReqBuilder) Limit added in v3.0.24

最大返回多少记录,当使用迭代器访问时才有效

func (*ListMailgroupManagerReqBuilder) MailgroupId added in v3.0.24

func (builder *ListMailgroupManagerReqBuilder) MailgroupId(mailgroupId string) *ListMailgroupManagerReqBuilder

邮件组ID或邮箱地址

示例值:xxxxxx 或 test_mail_group@xx.xx

func (*ListMailgroupManagerReqBuilder) PageSize added in v3.0.24

分页大小

示例值:20

func (*ListMailgroupManagerReqBuilder) PageToken added in v3.0.24

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

示例值:xxxxxx

func (*ListMailgroupManagerReqBuilder) UserIdType added in v3.0.24

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

此次调用中使用的用户ID的类型

示例值:open_id

type ListMailgroupManagerResp added in v3.0.24

type ListMailgroupManagerResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListMailgroupManagerRespData `json:"data"` // 业务数据
}

func (*ListMailgroupManagerResp) Success added in v3.0.24

func (resp *ListMailgroupManagerResp) Success() bool

type ListMailgroupManagerRespData added in v3.0.24

type ListMailgroupManagerRespData struct {
	Items     []*MailgroupManager `json:"items,omitempty"`      // 邮件组管理员列表
	PageToken *string             `json:"page_token,omitempty"` // 分页标识
	HasMore   *bool               `json:"has_more,omitempty"`   // 是否有更多数据
}

type ListMailgroupMemberIterator

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

func (*ListMailgroupMemberIterator) Next

func (iterator *ListMailgroupMemberIterator) Next() (bool, *MailgroupMember, error)

func (*ListMailgroupMemberIterator) NextPageToken

func (iterator *ListMailgroupMemberIterator) NextPageToken() *string

type ListMailgroupMemberReq

type ListMailgroupMemberReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListMailgroupMemberReqBuilder

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

func NewListMailgroupMemberReqBuilder

func NewListMailgroupMemberReqBuilder() *ListMailgroupMemberReqBuilder

func (*ListMailgroupMemberReqBuilder) Build

func (*ListMailgroupMemberReqBuilder) DepartmentIdType

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

此次调用中使用的部门ID的类型

示例值:open_department_id

func (*ListMailgroupMemberReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListMailgroupMemberReqBuilder) MailgroupId

func (builder *ListMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *ListMailgroupMemberReqBuilder

The unique ID or email address of a mail group

示例值:xxxxxxxxxxxxxxx or test_mail_group@xxx.xx

func (*ListMailgroupMemberReqBuilder) PageSize

分页大小

示例值:10

func (*ListMailgroupMemberReqBuilder) PageToken

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:xxx

func (*ListMailgroupMemberReqBuilder) UserIdType

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

此次调用中使用的用户ID的类型

示例值:

type ListMailgroupMemberResp

type ListMailgroupMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListMailgroupMemberRespData `json:"data"` // 业务数据
}

func (*ListMailgroupMemberResp) Success

func (resp *ListMailgroupMemberResp) Success() bool

type ListMailgroupMemberRespData

type ListMailgroupMemberRespData struct {
	HasMore   *bool              `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string            `json:"page_token,omitempty"` // 下一页分页的token
	Items     []*MailgroupMember `json:"items,omitempty"`      // 邮件组成员列表
}

type ListMailgroupPermissionMemberIterator

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

func (*ListMailgroupPermissionMemberIterator) Next

func (*ListMailgroupPermissionMemberIterator) NextPageToken

func (iterator *ListMailgroupPermissionMemberIterator) NextPageToken() *string

type ListMailgroupPermissionMemberReq

type ListMailgroupPermissionMemberReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListMailgroupPermissionMemberReqBuilder

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

func NewListMailgroupPermissionMemberReqBuilder

func NewListMailgroupPermissionMemberReqBuilder() *ListMailgroupPermissionMemberReqBuilder

func (*ListMailgroupPermissionMemberReqBuilder) Build

func (*ListMailgroupPermissionMemberReqBuilder) DepartmentIdType

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

此次调用中使用的部门ID的类型

示例值:open_department_id

func (*ListMailgroupPermissionMemberReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListMailgroupPermissionMemberReqBuilder) MailgroupId

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

func (*ListMailgroupPermissionMemberReqBuilder) PageSize

分页大小

示例值:10

func (*ListMailgroupPermissionMemberReqBuilder) PageToken

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:xxx

func (*ListMailgroupPermissionMemberReqBuilder) UserIdType

此次调用中使用的用户ID的类型

示例值:

type ListMailgroupPermissionMemberResp

type ListMailgroupPermissionMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListMailgroupPermissionMemberRespData `json:"data"` // 业务数据
}

func (*ListMailgroupPermissionMemberResp) Success

func (resp *ListMailgroupPermissionMemberResp) Success() bool

type ListMailgroupPermissionMemberRespData

type ListMailgroupPermissionMemberRespData struct {
	HasMore   *bool                        `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string                      `json:"page_token,omitempty"` // 下一页分页的token
	Items     []*MailgroupPermissionMember `json:"items,omitempty"`      // 邮件组权限成员列表
}

type ListMailgroupReq

type ListMailgroupReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListMailgroupReqBuilder

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

func NewListMailgroupReqBuilder

func NewListMailgroupReqBuilder() *ListMailgroupReqBuilder

func (*ListMailgroupReqBuilder) Build

func (builder *ListMailgroupReqBuilder) Build() *ListMailgroupReq

func (*ListMailgroupReqBuilder) Limit

func (builder *ListMailgroupReqBuilder) Limit(limit int) *ListMailgroupReqBuilder

最大返回多少记录,当使用迭代器访问时才有效

func (*ListMailgroupReqBuilder) ManagerUserId

func (builder *ListMailgroupReqBuilder) ManagerUserId(managerUserId string) *ListMailgroupReqBuilder

邮件组管理员用户ID,用于获取该用户有管理权限的邮件组

示例值:ou_xxxxxx

func (*ListMailgroupReqBuilder) PageSize

func (builder *ListMailgroupReqBuilder) PageSize(pageSize int) *ListMailgroupReqBuilder

分页大小

示例值:10

func (*ListMailgroupReqBuilder) PageToken

func (builder *ListMailgroupReqBuilder) PageToken(pageToken string) *ListMailgroupReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:xxx

func (*ListMailgroupReqBuilder) UserIdType

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

此次调用中使用的用户ID的类型

示例值:

type ListMailgroupResp

type ListMailgroupResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListMailgroupRespData `json:"data"` // 业务数据
}

func (*ListMailgroupResp) Success

func (resp *ListMailgroupResp) Success() bool

type ListMailgroupRespData

type ListMailgroupRespData struct {
	HasMore   *bool        `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string      `json:"page_token,omitempty"` // 下一页分页的token
	Items     []*Mailgroup `json:"items,omitempty"`      // 邮件组列表
}

type ListPublicMailboxAliasReq

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

type ListPublicMailboxAliasReqBuilder

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

func NewListPublicMailboxAliasReqBuilder

func NewListPublicMailboxAliasReqBuilder() *ListPublicMailboxAliasReqBuilder

func (*ListPublicMailboxAliasReqBuilder) Build

func (*ListPublicMailboxAliasReqBuilder) PublicMailboxId

func (builder *ListPublicMailboxAliasReqBuilder) PublicMailboxId(publicMailboxId string) *ListPublicMailboxAliasReqBuilder

公共邮箱id或公共邮箱邮件地址

示例值:xxxxxx 或 xxx@xx.xxx

type ListPublicMailboxAliasResp

type ListPublicMailboxAliasResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListPublicMailboxAliasRespData `json:"data"` // 业务数据
}

func (*ListPublicMailboxAliasResp) Success

func (resp *ListPublicMailboxAliasResp) Success() bool

type ListPublicMailboxAliasRespData

type ListPublicMailboxAliasRespData struct {
	Items []*EmailAlias `json:"items,omitempty"` // 公共邮箱别名
}

type ListPublicMailboxIterator

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

func (*ListPublicMailboxIterator) Next

func (iterator *ListPublicMailboxIterator) Next() (bool, *PublicMailbox, error)

func (*ListPublicMailboxIterator) NextPageToken

func (iterator *ListPublicMailboxIterator) NextPageToken() *string

type ListPublicMailboxMemberIterator

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

func (*ListPublicMailboxMemberIterator) Next

func (*ListPublicMailboxMemberIterator) NextPageToken

func (iterator *ListPublicMailboxMemberIterator) NextPageToken() *string

type ListPublicMailboxMemberReq

type ListPublicMailboxMemberReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListPublicMailboxMemberReqBuilder

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

func NewListPublicMailboxMemberReqBuilder

func NewListPublicMailboxMemberReqBuilder() *ListPublicMailboxMemberReqBuilder

func (*ListPublicMailboxMemberReqBuilder) Build

func (*ListPublicMailboxMemberReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListPublicMailboxMemberReqBuilder) PageSize

分页大小

示例值:10

func (*ListPublicMailboxMemberReqBuilder) PageToken

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:xxx

func (*ListPublicMailboxMemberReqBuilder) PublicMailboxId

func (builder *ListPublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *ListPublicMailboxMemberReqBuilder

The unique ID or email address of a public mailbox

示例值:xxxxxxxxxxxxxxx or test_public_mailbox@xxx.xx

func (*ListPublicMailboxMemberReqBuilder) UserIdType

此次调用中使用的用户ID的类型

示例值:

type ListPublicMailboxMemberResp

type ListPublicMailboxMemberResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListPublicMailboxMemberRespData `json:"data"` // 业务数据
}

func (*ListPublicMailboxMemberResp) Success

func (resp *ListPublicMailboxMemberResp) Success() bool

type ListPublicMailboxMemberRespData

type ListPublicMailboxMemberRespData struct {
	HasMore   *bool                  `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string                `json:"page_token,omitempty"` // 下一页分页的token
	Items     []*PublicMailboxMember `json:"items,omitempty"`      // 公共邮箱成员列表
}

type ListPublicMailboxReq

type ListPublicMailboxReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListPublicMailboxReqBuilder

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

func NewListPublicMailboxReqBuilder

func NewListPublicMailboxReqBuilder() *ListPublicMailboxReqBuilder

func (*ListPublicMailboxReqBuilder) Build

func (*ListPublicMailboxReqBuilder) Limit

最大返回多少记录,当使用迭代器访问时才有效

func (*ListPublicMailboxReqBuilder) PageSize

func (builder *ListPublicMailboxReqBuilder) PageSize(pageSize int) *ListPublicMailboxReqBuilder

分页大小

示例值:10

func (*ListPublicMailboxReqBuilder) PageToken

func (builder *ListPublicMailboxReqBuilder) PageToken(pageToken string) *ListPublicMailboxReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:xxx

type ListPublicMailboxResp

type ListPublicMailboxResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListPublicMailboxRespData `json:"data"` // 业务数据
}

func (*ListPublicMailboxResp) Success

func (resp *ListPublicMailboxResp) Success() bool

type ListPublicMailboxRespData

type ListPublicMailboxRespData struct {
	HasMore   *bool            `json:"has_more,omitempty"`   // 是否有下一页数据
	PageToken *string          `json:"page_token,omitempty"` // 下一页分页的token
	Items     []*PublicMailbox `json:"items,omitempty"`      // 公共邮箱列表
}

type ListUserMailboxAliasReq

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

type ListUserMailboxAliasReqBuilder

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

func NewListUserMailboxAliasReqBuilder

func NewListUserMailboxAliasReqBuilder() *ListUserMailboxAliasReqBuilder

func (*ListUserMailboxAliasReqBuilder) Build

func (*ListUserMailboxAliasReqBuilder) PageSize

分页大小

示例值:10

func (*ListUserMailboxAliasReqBuilder) PageToken

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果

示例值:xxx

func (*ListUserMailboxAliasReqBuilder) UserMailboxId

func (builder *ListUserMailboxAliasReqBuilder) UserMailboxId(userMailboxId string) *ListUserMailboxAliasReqBuilder

用户邮箱地址

示例值:user@xxx.xx

type ListUserMailboxAliasResp

type ListUserMailboxAliasResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListUserMailboxAliasRespData `json:"data"` // 业务数据
}

func (*ListUserMailboxAliasResp) Success

func (resp *ListUserMailboxAliasResp) Success() bool

type ListUserMailboxAliasRespData

type ListUserMailboxAliasRespData struct {
	Items []*EmailAlias `json:"items,omitempty"` // 用户邮箱别名
}

type MailAddress added in v3.0.22

type MailAddress struct {
	MailAddress *string `json:"mail_address,omitempty"` // 邮件地址
	Name        *string `json:"name,omitempty"`         // 名称
}

type MailAddressBuilder added in v3.0.22

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

func NewMailAddressBuilder added in v3.0.22

func NewMailAddressBuilder() *MailAddressBuilder

func (*MailAddressBuilder) Build added in v3.0.22

func (builder *MailAddressBuilder) Build() *MailAddress

func (*MailAddressBuilder) MailAddress added in v3.0.22

func (builder *MailAddressBuilder) MailAddress(mailAddress string) *MailAddressBuilder

邮件地址

示例值:mike@outlook.com

func (*MailAddressBuilder) Name added in v3.0.22

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

名称

示例值:Mike

type MailService

type MailService struct {
	Mailgroup                 *mailgroup                 // 邮件组
	MailgroupAlias            *mailgroupAlias            // 邮件组别名
	MailgroupManager          *mailgroupManager          // 邮件组管理员
	MailgroupMember           *mailgroupMember           // 邮件组成员
	MailgroupPermissionMember *mailgroupPermissionMember // 邮件组权限成员
	PublicMailbox             *publicMailbox             // 公共邮箱
	PublicMailboxAlias        *publicMailboxAlias        // 公共邮箱别名
	PublicMailboxMember       *publicMailboxMember       // 公共邮箱成员
	User                      *user                      // 邮箱地址
	UserMailbox               *userMailbox               // 用户邮箱
	UserMailboxAlias          *userMailboxAlias          // 用户邮箱别名
	// contains filtered or unexported fields
}

func NewService

func NewService(config *larkcore.Config) *MailService

type Mailgroup

type Mailgroup struct {
	MailgroupId             *string `json:"mailgroup_id,omitempty"`               // 邮件组ID
	Email                   *string `json:"email,omitempty"`                      // 邮件组地址
	Name                    *string `json:"name,omitempty"`                       // 邮件组名称
	Description             *string `json:"description,omitempty"`                // 邮件组描述
	DirectMembersCount      *string `json:"direct_members_count,omitempty"`       // 邮件组成员数量
	IncludeExternalMember   *bool   `json:"include_external_member,omitempty"`    // 是否包含外部成员
	IncludeAllCompanyMember *bool   `json:"include_all_company_member,omitempty"` // 是否是全员邮件组
	WhoCanSendMail          *string `json:"who_can_send_mail,omitempty"`          // 谁可发送邮件到此邮件组
}

type MailgroupBuilder

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

func NewMailgroupBuilder

func NewMailgroupBuilder() *MailgroupBuilder

func (*MailgroupBuilder) Build

func (builder *MailgroupBuilder) Build() *Mailgroup

func (*MailgroupBuilder) Description

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

邮件组描述

示例值:mail group for testing

func (*MailgroupBuilder) DirectMembersCount

func (builder *MailgroupBuilder) DirectMembersCount(directMembersCount string) *MailgroupBuilder

邮件组成员数量

示例值:10

func (*MailgroupBuilder) Email

func (builder *MailgroupBuilder) Email(email string) *MailgroupBuilder

邮件组地址

示例值:test_mail_group@xxx.xx

func (*MailgroupBuilder) IncludeAllCompanyMember

func (builder *MailgroupBuilder) IncludeAllCompanyMember(includeAllCompanyMember bool) *MailgroupBuilder

是否是全员邮件组

示例值:false

func (*MailgroupBuilder) IncludeExternalMember

func (builder *MailgroupBuilder) IncludeExternalMember(includeExternalMember bool) *MailgroupBuilder

是否包含外部成员

示例值:true

func (*MailgroupBuilder) MailgroupId

func (builder *MailgroupBuilder) MailgroupId(mailgroupId string) *MailgroupBuilder

邮件组ID

示例值:xxxxxxxxxxxxxxx

func (*MailgroupBuilder) Name

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

邮件组名称

示例值:test mail group

func (*MailgroupBuilder) WhoCanSendMail

func (builder *MailgroupBuilder) WhoCanSendMail(whoCanSendMail string) *MailgroupBuilder

谁可发送邮件到此邮件组

示例值:ALL_INTERNAL_USERS

type MailgroupManager added in v3.0.12

type MailgroupManager struct {
	UserId *string `json:"user_id,omitempty"` // 管理员用户ID
}

type MailgroupManagerBuilder added in v3.0.12

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

func NewMailgroupManagerBuilder added in v3.0.12

func NewMailgroupManagerBuilder() *MailgroupManagerBuilder

func (*MailgroupManagerBuilder) Build added in v3.0.12

func (builder *MailgroupManagerBuilder) Build() *MailgroupManager

func (*MailgroupManagerBuilder) UserId added in v3.0.12

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

管理员用户ID

示例值:xxxxxx

type MailgroupMember

type MailgroupMember struct {
	MemberId     *string `json:"member_id,omitempty"`     // 邮件组内成员唯一标识
	Email        *string `json:"email,omitempty"`         // 成员邮箱地址(当成员类型是EXTERNAL_USER/MAIL_GROUP/OTHER_MEMBER时有值)
	UserId       *string `json:"user_id,omitempty"`       // 租户内用户的唯一标识(当成员类型是USER时有值)
	DepartmentId *string `json:"department_id,omitempty"` // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值)
	Type         *string `json:"type,omitempty"`          // 成员类型
}

type MailgroupMemberBuilder

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

func NewMailgroupMemberBuilder

func NewMailgroupMemberBuilder() *MailgroupMemberBuilder

func (*MailgroupMemberBuilder) Build

func (builder *MailgroupMemberBuilder) Build() *MailgroupMember

func (*MailgroupMemberBuilder) DepartmentId

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

租户内部门的唯一标识(当成员类型是DEPARTMENT时有值)

示例值:xxxxxxxxxx

func (*MailgroupMemberBuilder) Email

func (builder *MailgroupMemberBuilder) Email(email string) *MailgroupMemberBuilder

成员邮箱地址(当成员类型是EXTERNAL_USER/MAIL_GROUP/OTHER_MEMBER时有值)

示例值:test_memeber@xxx.xx

func (*MailgroupMemberBuilder) MemberId

func (builder *MailgroupMemberBuilder) MemberId(memberId string) *MailgroupMemberBuilder

邮件组内成员唯一标识

示例值:xxxxxxxxxxxxxxx

func (*MailgroupMemberBuilder) Type

成员类型

示例值:USER

func (*MailgroupMemberBuilder) UserId

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

租户内用户的唯一标识(当成员类型是USER时有值)

示例值:xxxxxxxxxx

type MailgroupPermissionMember

type MailgroupPermissionMember struct {
	PermissionMemberId *string `json:"permission_member_id,omitempty"` // 权限组内成员唯一标识
	UserId             *string `json:"user_id,omitempty"`              // 租户内用户的唯一标识(当成员类型是USER时有值)
	DepartmentId       *string `json:"department_id,omitempty"`        // 租户内部门的唯一标识(当成员类型是DEPARTMENT时有值)
	Email              *string `json:"email,omitempty"`                // 成员邮箱地址(当成员类型是MAIL_GROUP/PUBLIC_MAILBOX时有值)
	Type               *string `json:"type,omitempty"`                 // 成员类型
}

type MailgroupPermissionMemberBuilder

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

func NewMailgroupPermissionMemberBuilder

func NewMailgroupPermissionMemberBuilder() *MailgroupPermissionMemberBuilder

func (*MailgroupPermissionMemberBuilder) Build

func (*MailgroupPermissionMemberBuilder) DepartmentId

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

租户内部门的唯一标识(当成员类型是DEPARTMENT时有值)

示例值:xxxxxxxxxx

func (*MailgroupPermissionMemberBuilder) Email added in v3.0.3

成员邮箱地址(当成员类型是MAIL_GROUP/PUBLIC_MAILBOX时有值)

示例值:xxx@xx.x

func (*MailgroupPermissionMemberBuilder) PermissionMemberId

func (builder *MailgroupPermissionMemberBuilder) PermissionMemberId(permissionMemberId string) *MailgroupPermissionMemberBuilder

权限组内成员唯一标识

示例值:xxxxxxxxxxxxxxx

func (*MailgroupPermissionMemberBuilder) Type

成员类型

示例值:USER

func (*MailgroupPermissionMemberBuilder) UserId

租户内用户的唯一标识(当成员类型是USER时有值)

示例值:xxxxxxxxxx

type Message

type Message struct {
	Raw           *string        `json:"raw,omitempty"`             // MIME邮件数据,基于base64url编码
	Subject       *string        `json:"subject,omitempty"`         // 主题
	To            []*MailAddress `json:"to,omitempty"`              // 收件人
	Cc            []*MailAddress `json:"cc,omitempty"`              // 抄送
	Bcc           []*MailAddress `json:"bcc,omitempty"`             // 秘送
	HeadFrom      *MailAddress   `json:"head_from,omitempty"`       // 发件人
	BodyHtml      *string        `json:"body_html,omitempty"`       // 正文(base64url)
	InternalDate  *string        `json:"internal_date,omitempty"`   // 创建/收/发信时间(毫秒)
	MessageState  *int           `json:"message_state,omitempty"`   // 邮件状态
	SmtpMessageId *string        `json:"smtp_message_id,omitempty"` // RFC协议id
	MessageId     *string        `json:"message_id,omitempty"`      // 邮件id
	BodyPlainText *string        `json:"body_plain_text,omitempty"` // 正文纯文本(base64url)
}

type MessageBuilder

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

func NewMessageBuilder

func NewMessageBuilder() *MessageBuilder

func (*MessageBuilder) Bcc added in v3.0.22

func (builder *MessageBuilder) Bcc(bcc []*MailAddress) *MessageBuilder

秘送

示例值:

func (*MessageBuilder) BodyHtml added in v3.0.22

func (builder *MessageBuilder) BodyHtml(bodyHtml string) *MessageBuilder

正文(base64url)

示例值:xxxx

func (*MessageBuilder) BodyPlainText added in v3.0.22

func (builder *MessageBuilder) BodyPlainText(bodyPlainText string) *MessageBuilder

正文纯文本(base64url)

示例值:xxxxx

func (*MessageBuilder) Build

func (builder *MessageBuilder) Build() *Message

func (*MessageBuilder) Cc added in v3.0.22

func (builder *MessageBuilder) Cc(cc []*MailAddress) *MessageBuilder

抄送

示例值:

func (*MessageBuilder) HeadFrom added in v3.0.22

func (builder *MessageBuilder) HeadFrom(headFrom *MailAddress) *MessageBuilder

发件人

示例值:

func (*MessageBuilder) InternalDate added in v3.0.22

func (builder *MessageBuilder) InternalDate(internalDate string) *MessageBuilder

创建/收/发信时间(毫秒)

示例值:1682377086000

func (*MessageBuilder) MessageId added in v3.0.22

func (builder *MessageBuilder) MessageId(messageId string) *MessageBuilder

邮件id

示例值:tfuh9N4WnzU6jdDw=

func (*MessageBuilder) MessageState added in v3.0.22

func (builder *MessageBuilder) MessageState(messageState int) *MessageBuilder

邮件状态

示例值:1(收信)2(发信)3(草稿)

func (*MessageBuilder) Raw

func (builder *MessageBuilder) Raw(raw string) *MessageBuilder

MIME邮件数据,基于base64url编码

示例值:Q29udGVudC1UeXBlOiB0ZXh0L3BsYWluOyBjaGFyc2V0PSJ1cy1hc2NpaSIKTUlNRS1WZXJzaW9uOiAxLjAKQ29udGVudC1UcmFuc2Zlci1FbmNvZGluZzogN2JpdAp0bzogdG9AeHh4Lnh4CmZyb206IHNlbmRlckB4eHgueHgKc3ViamVjdDogdGhpcyBpcyBhIHN1YmplY3QKCnRoaXMgaXMgdGhlIG1lc3NhZ2UgYm9keS4=

func (*MessageBuilder) SmtpMessageId added in v3.0.22

func (builder *MessageBuilder) SmtpMessageId(smtpMessageId string) *MessageBuilder

RFC协议id

示例值:ay0azrJDvbs3FJAg@outlook.com

func (*MessageBuilder) Subject added in v3.0.22

func (builder *MessageBuilder) Subject(subject string) *MessageBuilder

主题

示例值:邮件标题

func (*MessageBuilder) To added in v3.0.22

func (builder *MessageBuilder) To(to []*MailAddress) *MessageBuilder

收件人

示例值:

type PatchMailgroupReq

type PatchMailgroupReq struct {
	Mailgroup *Mailgroup `body:""`
	// contains filtered or unexported fields
}

type PatchMailgroupReqBuilder

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

func NewPatchMailgroupReqBuilder

func NewPatchMailgroupReqBuilder() *PatchMailgroupReqBuilder

func (*PatchMailgroupReqBuilder) Build

func (builder *PatchMailgroupReqBuilder) Build() *PatchMailgroupReq

func (*PatchMailgroupReqBuilder) Mailgroup

func (builder *PatchMailgroupReqBuilder) Mailgroup(mailgroup *Mailgroup) *PatchMailgroupReqBuilder

更新邮件组部分字段,没有填写的字段不会被更新

func (*PatchMailgroupReqBuilder) MailgroupId

func (builder *PatchMailgroupReqBuilder) MailgroupId(mailgroupId string) *PatchMailgroupReqBuilder

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

type PatchMailgroupResp

type PatchMailgroupResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *PatchMailgroupRespData `json:"data"` // 业务数据
}

func (*PatchMailgroupResp) Success

func (resp *PatchMailgroupResp) Success() bool

type PatchMailgroupRespData

type PatchMailgroupRespData struct {
	MailgroupId             *string `json:"mailgroup_id,omitempty"`               // The unique ID of a mail group
	Email                   *string `json:"email,omitempty"`                      // The mail group's email address
	Name                    *string `json:"name,omitempty"`                       // The mail group's display name
	Description             *string `json:"description,omitempty"`                // The mail group's description
	DirectMembersCount      *string `json:"direct_members_count,omitempty"`       // The number of mail group's direct members
	IncludeExternalMember   *bool   `json:"include_external_member,omitempty"`    // Value is true if this mail group has external member
	IncludeAllCompanyMember *bool   `json:"include_all_company_member,omitempty"` // Value is true if all company members are in this mail group
	WhoCanSendMail          *string `json:"who_can_send_mail,omitempty"`          // Who can send mail to this mail group. Possible values are:;- ANYONE: Any Internet user can send mail to this mail group;- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group;- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group;- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure
}

type PatchPublicMailboxReq

type PatchPublicMailboxReq struct {
	PublicMailbox *PublicMailbox `body:""`
	// contains filtered or unexported fields
}

type PatchPublicMailboxReqBuilder

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

func NewPatchPublicMailboxReqBuilder

func NewPatchPublicMailboxReqBuilder() *PatchPublicMailboxReqBuilder

func (*PatchPublicMailboxReqBuilder) Build

func (*PatchPublicMailboxReqBuilder) PublicMailbox

func (builder *PatchPublicMailboxReqBuilder) PublicMailbox(publicMailbox *PublicMailbox) *PatchPublicMailboxReqBuilder

更新公共邮箱部分字段,没有填写的字段不会被更新

func (*PatchPublicMailboxReqBuilder) PublicMailboxId

func (builder *PatchPublicMailboxReqBuilder) PublicMailboxId(publicMailboxId string) *PatchPublicMailboxReqBuilder

公共邮箱唯一标识或公共邮箱地址

示例值:xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx

type PatchPublicMailboxResp

type PatchPublicMailboxResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *PatchPublicMailboxRespData `json:"data"` // 业务数据
}

func (*PatchPublicMailboxResp) Success

func (resp *PatchPublicMailboxResp) Success() bool

type PatchPublicMailboxRespData

type PatchPublicMailboxRespData struct {
	PublicMailboxId *string `json:"public_mailbox_id,omitempty"` // The unique ID of a public mailbox
	Email           *string `json:"email,omitempty"`             // The public mailbox's email address
	Name            *string `json:"name,omitempty"`              // The public mailbox's display name
}

type PublicMailbox

type PublicMailbox struct {
	PublicMailboxId *string `json:"public_mailbox_id,omitempty"` // 公共邮箱唯一标识
	Email           *string `json:"email,omitempty"`             // 公共邮箱地址
	Name            *string `json:"name,omitempty"`              // 公共邮箱名称
}

type PublicMailboxBuilder

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

func NewPublicMailboxBuilder

func NewPublicMailboxBuilder() *PublicMailboxBuilder

func (*PublicMailboxBuilder) Build

func (builder *PublicMailboxBuilder) Build() *PublicMailbox

func (*PublicMailboxBuilder) Email

func (builder *PublicMailboxBuilder) Email(email string) *PublicMailboxBuilder

公共邮箱地址

示例值:test_public_mailbox@xxx.xx

func (*PublicMailboxBuilder) Name

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

公共邮箱名称

示例值:test public mailbox

func (*PublicMailboxBuilder) PublicMailboxId

func (builder *PublicMailboxBuilder) PublicMailboxId(publicMailboxId string) *PublicMailboxBuilder

公共邮箱唯一标识

示例值:xxxxxxxxxxxxxxx

type PublicMailboxMember

type PublicMailboxMember struct {
	MemberId *string `json:"member_id,omitempty"` // 公共邮箱内成员唯一标识
	UserId   *string `json:"user_id,omitempty"`   // 租户内用户的唯一标识(当成员类型是USER时有值)
	Type     *string `json:"type,omitempty"`      // 成员类型
}

type PublicMailboxMemberBuilder

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

func NewPublicMailboxMemberBuilder

func NewPublicMailboxMemberBuilder() *PublicMailboxMemberBuilder

func (*PublicMailboxMemberBuilder) Build

func (*PublicMailboxMemberBuilder) MemberId

func (builder *PublicMailboxMemberBuilder) MemberId(memberId string) *PublicMailboxMemberBuilder

公共邮箱内成员唯一标识

示例值:xxxxxxxxxxxxxxx

func (*PublicMailboxMemberBuilder) Type

成员类型

示例值:USER

func (*PublicMailboxMemberBuilder) UserId

租户内用户的唯一标识(当成员类型是USER时有值)

示例值:xxxxxxxxxx

type QueryUserPathReqBodyBuilder

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

func NewQueryUserPathReqBodyBuilder

func NewQueryUserPathReqBodyBuilder() *QueryUserPathReqBodyBuilder

func (*QueryUserPathReqBodyBuilder) Build

func (builder *QueryUserPathReqBodyBuilder) Build() (*QueryUserReqBody, error)

func (*QueryUserPathReqBodyBuilder) EmailList

func (builder *QueryUserPathReqBodyBuilder) EmailList(emailList []string) *QueryUserPathReqBodyBuilder

需要查询的邮箱地址列表

示例值:["aaa@lark.com","bbb@lark.com"]

type QueryUserReq

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

type QueryUserReqBody

type QueryUserReqBody struct {
	EmailList []string `json:"email_list,omitempty"` // 需要查询的邮箱地址列表
}

type QueryUserReqBodyBuilder

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

func NewQueryUserReqBodyBuilder

func NewQueryUserReqBodyBuilder() *QueryUserReqBodyBuilder

func (*QueryUserReqBodyBuilder) Build

func (builder *QueryUserReqBodyBuilder) Build() *QueryUserReqBody

func (*QueryUserReqBodyBuilder) EmailList

func (builder *QueryUserReqBodyBuilder) EmailList(emailList []string) *QueryUserReqBodyBuilder

需要查询的邮箱地址列表

示例值:["aaa@lark.com","bbb@lark.com"]

type QueryUserReqBuilder

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

func NewQueryUserReqBuilder

func NewQueryUserReqBuilder() *QueryUserReqBuilder

func (*QueryUserReqBuilder) Body

使用邮箱状态查询接口,可以输入邮箱地址,查询出该邮箱地址对应的类型以及状态

func (*QueryUserReqBuilder) Build

func (builder *QueryUserReqBuilder) Build() *QueryUserReq

type QueryUserResp

type QueryUserResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *QueryUserRespData `json:"data"` // 业务数据
}

func (*QueryUserResp) Success

func (resp *QueryUserResp) Success() bool

type QueryUserRespData

type QueryUserRespData struct {
	UserList []*User `json:"user_list,omitempty"` // 邮箱地址以及其对应的类型类型和状态
}

type UpdateMailgroupReq

type UpdateMailgroupReq struct {
	Mailgroup *Mailgroup `body:""`
	// contains filtered or unexported fields
}

type UpdateMailgroupReqBuilder

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

func NewUpdateMailgroupReqBuilder

func NewUpdateMailgroupReqBuilder() *UpdateMailgroupReqBuilder

func (*UpdateMailgroupReqBuilder) Build

func (*UpdateMailgroupReqBuilder) Mailgroup

func (builder *UpdateMailgroupReqBuilder) Mailgroup(mailgroup *Mailgroup) *UpdateMailgroupReqBuilder

更新邮件组所有信息

func (*UpdateMailgroupReqBuilder) MailgroupId

func (builder *UpdateMailgroupReqBuilder) MailgroupId(mailgroupId string) *UpdateMailgroupReqBuilder

邮件组ID或者邮件组地址

示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx

type UpdateMailgroupResp

type UpdateMailgroupResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdateMailgroupRespData `json:"data"` // 业务数据
}

func (*UpdateMailgroupResp) Success

func (resp *UpdateMailgroupResp) Success() bool

type UpdateMailgroupRespData

type UpdateMailgroupRespData struct {
	MailgroupId             *string `json:"mailgroup_id,omitempty"`               // The unique ID of a mail group
	Email                   *string `json:"email,omitempty"`                      // The mail group's email address
	Name                    *string `json:"name,omitempty"`                       // The mail group's display name
	Description             *string `json:"description,omitempty"`                // The mail group's description
	DirectMembersCount      *string `json:"direct_members_count,omitempty"`       // The number of mail group's direct members
	IncludeExternalMember   *bool   `json:"include_external_member,omitempty"`    // Value is true if this mail group has external member
	IncludeAllCompanyMember *bool   `json:"include_all_company_member,omitempty"` // Value is true if all company members are in this mail group
	WhoCanSendMail          *string `json:"who_can_send_mail,omitempty"`          // Who can send mail to this mail group. Possible values are:;- ANYONE: Any Internet user can send mail to this mail group;- ALL_INTERNAL_USERS: Anyone in the team can send mail to this mail group;- ALL_GROUP_MEMBERS: Any group member can send mail to this mail group;- CUSTOM_MEMBERS: Only custom members can send mail to this mail group, define in mailgroup.permission_members resoure
}

type UpdatePublicMailboxReq

type UpdatePublicMailboxReq struct {
	PublicMailbox *PublicMailbox `body:""`
	// contains filtered or unexported fields
}

type UpdatePublicMailboxReqBuilder

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

func NewUpdatePublicMailboxReqBuilder

func NewUpdatePublicMailboxReqBuilder() *UpdatePublicMailboxReqBuilder

func (*UpdatePublicMailboxReqBuilder) Build

func (*UpdatePublicMailboxReqBuilder) PublicMailbox

func (builder *UpdatePublicMailboxReqBuilder) PublicMailbox(publicMailbox *PublicMailbox) *UpdatePublicMailboxReqBuilder

更新公共邮箱所有信息

func (*UpdatePublicMailboxReqBuilder) PublicMailboxId

func (builder *UpdatePublicMailboxReqBuilder) PublicMailboxId(publicMailboxId string) *UpdatePublicMailboxReqBuilder

公共邮箱唯一标识或公共邮箱地址

示例值:xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx

type UpdatePublicMailboxResp

type UpdatePublicMailboxResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *UpdatePublicMailboxRespData `json:"data"` // 业务数据
}

func (*UpdatePublicMailboxResp) Success

func (resp *UpdatePublicMailboxResp) Success() bool

type UpdatePublicMailboxRespData

type UpdatePublicMailboxRespData struct {
	PublicMailboxId *string `json:"public_mailbox_id,omitempty"` // The unique ID of a public mailbox
	Email           *string `json:"email,omitempty"`             // The public mailbox's email address
	Name            *string `json:"name,omitempty"`              // The public mailbox's display name
}

type User

type User struct {
	Email  *string `json:"email,omitempty"`  // 邮箱地址
	Status *int    `json:"status,omitempty"` // 邮箱地址状态
	Type   *int    `json:"type,omitempty"`   // 邮箱地址类型
}

type UserBuilder

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

func NewUserBuilder

func NewUserBuilder() *UserBuilder

func (*UserBuilder) Build

func (builder *UserBuilder) Build() *User

func (*UserBuilder) Email

func (builder *UserBuilder) Email(email string) *UserBuilder

邮箱地址

示例值:aaa@lark.com

func (*UserBuilder) Status

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

邮箱地址状态

示例值:4

func (*UserBuilder) Type

func (builder *UserBuilder) Type(type_ int) *UserBuilder

邮箱地址类型

示例值:1

Jump to

Keyboard shortcuts

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