larkmail

package
v3.0.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mail code generated by oapi sdk gen

Package mail code generated by oapi sdk gen

Index

Constants

View Source
const (
	WhoCanSendMailANYONE           = "ANYONE"
	WhoCanSendMailALLINTERNALUSERS = "ALL_INTERNAL_USERS"
	WhoCanSendMailALLGROUPMEMBERS  = "ALL_GROUP_MEMBERS"
	WhoCanSendMailCUSTOMMEMBERS    = "CUSTOM_MEMBERS"
)
View Source
const (
	UserIdTypeUserId  = "user_id"
	UserIdTypeUnionId = "union_id"
	UserIdTypeOpenId  = "open_id"
)
View Source
const (
	TypeUSER          = "USER"
	TypeDEPARTMENT    = "DEPARTMENT"
	TypeCOMPANY       = "COMPANY"
	TypeEXTERNALUSER  = "EXTERNAL_USER"
	TypeMAILGROUP     = "MAIL_GROUP"
	TypePUBLICMAILBOX = "PUBLIC_MAILBOX"
	TypeOTHERMEMBER   = "OTHER_MEMBER"
)
View Source
const (
	DepartmentIdTypeDepartmentId     = "department_id"
	DepartmentIdTypeOpenDepartmentId = "open_department_id"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearPublicMailboxMemberReq

type ClearPublicMailboxMemberReq struct {
	PublicMailboxId string `path:"public_mailbox_id"`
}

type ClearPublicMailboxMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewClearPublicMailboxMemberReqBuilder

func NewClearPublicMailboxMemberReqBuilder() *ClearPublicMailboxMemberReqBuilder

生成请求的New构造器

func (*ClearPublicMailboxMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ClearPublicMailboxMemberReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

type ClearPublicMailboxMemberResp

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

func (*ClearPublicMailboxMemberResp) Success

func (resp *ClearPublicMailboxMemberResp) Success() bool

type CreateMailgroupAliasReq

type CreateMailgroupAliasReq struct {
	MailgroupId string      `path:"mailgroup_id"`
	EmailAlias  *EmailAlias `body:""`
}

type CreateMailgroupAliasReqBuilder

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

1.4 生成请求的builder结构体

func NewCreateMailgroupAliasReqBuilder

func NewCreateMailgroupAliasReqBuilder() *CreateMailgroupAliasReqBuilder

生成请求的New构造器

func (*CreateMailgroupAliasReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreateMailgroupAliasReqBuilder) EmailAlias

func (*CreateMailgroupAliasReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

type CreateMailgroupAliasResp

type CreateMailgroupAliasResp struct {
	*larkcore.RawResponse `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 {
	MailgroupId      string           `path:"mailgroup_id"`
	UserIdType       *string          `query:"user_id_type"`
	DepartmentIdType *string          `query:"department_id_type"`
	MailgroupMember  *MailgroupMember `body:""`
}

type CreateMailgroupMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewCreateMailgroupMemberReqBuilder

func NewCreateMailgroupMemberReqBuilder() *CreateMailgroupMemberReqBuilder

生成请求的New构造器

func (*CreateMailgroupMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreateMailgroupMemberReqBuilder) DepartmentIdType

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

func (*CreateMailgroupMemberReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

func (*CreateMailgroupMemberReqBuilder) MailgroupMember

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

func (*CreateMailgroupMemberReqBuilder) UserIdType

type CreateMailgroupMemberResp

type CreateMailgroupMemberResp struct {
	*larkcore.RawResponse `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"`
	Email        *string `json:"email,omitempty"`
	UserId       *string `json:"user_id,omitempty"`
	DepartmentId *string `json:"department_id,omitempty"`
	Type         *string `json:"type,omitempty"`
}

type CreateMailgroupPermissionMemberReq

type CreateMailgroupPermissionMemberReq struct {
	MailgroupId               string                     `path:"mailgroup_id"`
	UserIdType                *string                    `query:"user_id_type"`
	DepartmentIdType          *string                    `query:"department_id_type"`
	MailgroupPermissionMember *MailgroupPermissionMember `body:""`
}

type CreateMailgroupPermissionMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewCreateMailgroupPermissionMemberReqBuilder

func NewCreateMailgroupPermissionMemberReqBuilder() *CreateMailgroupPermissionMemberReqBuilder

生成请求的New构造器

func (*CreateMailgroupPermissionMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreateMailgroupPermissionMemberReqBuilder) DepartmentIdType

func (*CreateMailgroupPermissionMemberReqBuilder) MailgroupId

1.5 生成请求的builder属性方法

func (*CreateMailgroupPermissionMemberReqBuilder) MailgroupPermissionMember

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

func (*CreateMailgroupPermissionMemberReqBuilder) UserIdType

type CreateMailgroupPermissionMemberResp

type CreateMailgroupPermissionMemberResp struct {
	*larkcore.RawResponse `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"`
	UserId             *string `json:"user_id,omitempty"`
	DepartmentId       *string `json:"department_id,omitempty"`
	Type               *string `json:"type,omitempty"`
}

type CreateMailgroupReq

type CreateMailgroupReq struct {
	Mailgroup *Mailgroup `body:""`
}

type CreateMailgroupReqBuilder

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

1.4 生成请求的builder结构体

func NewCreateMailgroupReqBuilder

func NewCreateMailgroupReqBuilder() *CreateMailgroupReqBuilder

生成请求的New构造器

func (*CreateMailgroupReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreateMailgroupReqBuilder) Mailgroup

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

1.5 生成请求的builder属性方法

type CreateMailgroupResp

type CreateMailgroupResp struct {
	*larkcore.RawResponse `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"`
	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 CreatePublicMailboxAliasReq

type CreatePublicMailboxAliasReq struct {
	PublicMailboxId string      `path:"public_mailbox_id"`
	EmailAlias      *EmailAlias `body:""`
}

type CreatePublicMailboxAliasReqBuilder

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

1.4 生成请求的builder结构体

func NewCreatePublicMailboxAliasReqBuilder

func NewCreatePublicMailboxAliasReqBuilder() *CreatePublicMailboxAliasReqBuilder

生成请求的New构造器

func (*CreatePublicMailboxAliasReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreatePublicMailboxAliasReqBuilder) EmailAlias

func (*CreatePublicMailboxAliasReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

type CreatePublicMailboxAliasResp

type CreatePublicMailboxAliasResp struct {
	*larkcore.RawResponse `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 {
	PublicMailboxId     string               `path:"public_mailbox_id"`
	UserIdType          *string              `query:"user_id_type"`
	PublicMailboxMember *PublicMailboxMember `body:""`
}

type CreatePublicMailboxMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewCreatePublicMailboxMemberReqBuilder

func NewCreatePublicMailboxMemberReqBuilder() *CreatePublicMailboxMemberReqBuilder

生成请求的New构造器

func (*CreatePublicMailboxMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreatePublicMailboxMemberReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

func (*CreatePublicMailboxMemberReqBuilder) PublicMailboxMember

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

func (*CreatePublicMailboxMemberReqBuilder) UserIdType

type CreatePublicMailboxMemberResp

type CreatePublicMailboxMemberResp struct {
	*larkcore.RawResponse `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"`
	UserId   *string `json:"user_id,omitempty"`
	Type     *string `json:"type,omitempty"`
}

type CreatePublicMailboxReq

type CreatePublicMailboxReq struct {
	PublicMailbox *PublicMailbox `body:""`
}

type CreatePublicMailboxReqBuilder

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

1.4 生成请求的builder结构体

func NewCreatePublicMailboxReqBuilder

func NewCreatePublicMailboxReqBuilder() *CreatePublicMailboxReqBuilder

生成请求的New构造器

func (*CreatePublicMailboxReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreatePublicMailboxReqBuilder) PublicMailbox

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

1.5 生成请求的builder属性方法

type CreatePublicMailboxResp

type CreatePublicMailboxResp struct {
	*larkcore.RawResponse `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"`
	Email           *string `json:"email,omitempty"`
	Name            *string `json:"name,omitempty"`
}

type CreateUserMailboxAliasReq

type CreateUserMailboxAliasReq struct {
	UserMailboxId string      `path:"user_mailbox_id"`
	EmailAlias    *EmailAlias `body:""`
}

type CreateUserMailboxAliasReqBuilder

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

1.4 生成请求的builder结构体

func NewCreateUserMailboxAliasReqBuilder

func NewCreateUserMailboxAliasReqBuilder() *CreateUserMailboxAliasReqBuilder

生成请求的New构造器

func (*CreateUserMailboxAliasReqBuilder) Build

1.5 生成请求的builder的build方法

func (*CreateUserMailboxAliasReqBuilder) EmailAlias

func (*CreateUserMailboxAliasReqBuilder) UserMailboxId

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

1.5 生成请求的builder属性方法

type CreateUserMailboxAliasResp

type CreateUserMailboxAliasResp struct {
	*larkcore.RawResponse `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 {
	MailgroupId string `path:"mailgroup_id"`
	AliasId     string `path:"alias_id"`
}

type DeleteMailgroupAliasReqBuilder

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

1.4 生成请求的builder结构体

func NewDeleteMailgroupAliasReqBuilder

func NewDeleteMailgroupAliasReqBuilder() *DeleteMailgroupAliasReqBuilder

生成请求的New构造器

func (*DeleteMailgroupAliasReqBuilder) AliasId

func (*DeleteMailgroupAliasReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteMailgroupAliasReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

type DeleteMailgroupAliasResp

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

func (*DeleteMailgroupAliasResp) Success

func (resp *DeleteMailgroupAliasResp) Success() bool

type DeleteMailgroupMemberReq

type DeleteMailgroupMemberReq struct {
	MailgroupId string `path:"mailgroup_id"`
	MemberId    string `path:"member_id"`
}

type DeleteMailgroupMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewDeleteMailgroupMemberReqBuilder

func NewDeleteMailgroupMemberReqBuilder() *DeleteMailgroupMemberReqBuilder

生成请求的New构造器

func (*DeleteMailgroupMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteMailgroupMemberReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

func (*DeleteMailgroupMemberReqBuilder) MemberId

type DeleteMailgroupMemberResp

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

func (*DeleteMailgroupMemberResp) Success

func (resp *DeleteMailgroupMemberResp) Success() bool

type DeleteMailgroupPermissionMemberReq

type DeleteMailgroupPermissionMemberReq struct {
	MailgroupId        string `path:"mailgroup_id"`
	PermissionMemberId string `path:"permission_member_id"`
}

type DeleteMailgroupPermissionMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewDeleteMailgroupPermissionMemberReqBuilder

func NewDeleteMailgroupPermissionMemberReqBuilder() *DeleteMailgroupPermissionMemberReqBuilder

生成请求的New构造器

func (*DeleteMailgroupPermissionMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteMailgroupPermissionMemberReqBuilder) MailgroupId

1.5 生成请求的builder属性方法

func (*DeleteMailgroupPermissionMemberReqBuilder) PermissionMemberId

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

type DeleteMailgroupPermissionMemberResp

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

func (*DeleteMailgroupPermissionMemberResp) Success

func (resp *DeleteMailgroupPermissionMemberResp) Success() bool

type DeleteMailgroupReq

type DeleteMailgroupReq struct {
	MailgroupId string `path:"mailgroup_id"`
}

type DeleteMailgroupReqBuilder

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

1.4 生成请求的builder结构体

func NewDeleteMailgroupReqBuilder

func NewDeleteMailgroupReqBuilder() *DeleteMailgroupReqBuilder

生成请求的New构造器

func (*DeleteMailgroupReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteMailgroupReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

type DeleteMailgroupResp

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

func (*DeleteMailgroupResp) Success

func (resp *DeleteMailgroupResp) Success() bool

type DeletePublicMailboxAliasReq

type DeletePublicMailboxAliasReq struct {
	PublicMailboxId string `path:"public_mailbox_id"`
	AliasId         string `path:"alias_id"`
}

type DeletePublicMailboxAliasReqBuilder

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

1.4 生成请求的builder结构体

func NewDeletePublicMailboxAliasReqBuilder

func NewDeletePublicMailboxAliasReqBuilder() *DeletePublicMailboxAliasReqBuilder

生成请求的New构造器

func (*DeletePublicMailboxAliasReqBuilder) AliasId

func (*DeletePublicMailboxAliasReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeletePublicMailboxAliasReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

type DeletePublicMailboxAliasResp

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

func (*DeletePublicMailboxAliasResp) Success

func (resp *DeletePublicMailboxAliasResp) Success() bool

type DeletePublicMailboxMemberReq

type DeletePublicMailboxMemberReq struct {
	PublicMailboxId string `path:"public_mailbox_id"`
	MemberId        string `path:"member_id"`
}

type DeletePublicMailboxMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewDeletePublicMailboxMemberReqBuilder

func NewDeletePublicMailboxMemberReqBuilder() *DeletePublicMailboxMemberReqBuilder

生成请求的New构造器

func (*DeletePublicMailboxMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeletePublicMailboxMemberReqBuilder) MemberId

func (*DeletePublicMailboxMemberReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

type DeletePublicMailboxMemberResp

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

func (*DeletePublicMailboxMemberResp) Success

func (resp *DeletePublicMailboxMemberResp) Success() bool

type DeletePublicMailboxReq

type DeletePublicMailboxReq struct {
	PublicMailboxId string `path:"public_mailbox_id"`
}

type DeletePublicMailboxReqBuilder

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

1.4 生成请求的builder结构体

func NewDeletePublicMailboxReqBuilder

func NewDeletePublicMailboxReqBuilder() *DeletePublicMailboxReqBuilder

生成请求的New构造器

func (*DeletePublicMailboxReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeletePublicMailboxReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

type DeletePublicMailboxResp

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

func (*DeletePublicMailboxResp) Success

func (resp *DeletePublicMailboxResp) Success() bool

type DeleteUserMailboxAliasReq

type DeleteUserMailboxAliasReq struct {
	UserMailboxId string `path:"user_mailbox_id"`
	AliasId       string `path:"alias_id"`
}

type DeleteUserMailboxAliasReqBuilder

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

1.4 生成请求的builder结构体

func NewDeleteUserMailboxAliasReqBuilder

func NewDeleteUserMailboxAliasReqBuilder() *DeleteUserMailboxAliasReqBuilder

生成请求的New构造器

func (*DeleteUserMailboxAliasReqBuilder) AliasId

func (*DeleteUserMailboxAliasReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteUserMailboxAliasReqBuilder) UserMailboxId

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

1.5 生成请求的builder属性方法

type DeleteUserMailboxAliasResp

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

func (*DeleteUserMailboxAliasResp) Success

func (resp *DeleteUserMailboxAliasResp) Success() bool

type DeleteUserMailboxReq

type DeleteUserMailboxReq struct {
	UserMailboxId   string  `path:"user_mailbox_id"`
	TransferMailbox *string `query:"transfer_mailbox"`
}

type DeleteUserMailboxReqBuilder

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

1.4 生成请求的builder结构体

func NewDeleteUserMailboxReqBuilder

func NewDeleteUserMailboxReqBuilder() *DeleteUserMailboxReqBuilder

生成请求的New构造器

func (*DeleteUserMailboxReqBuilder) Build

1.5 生成请求的builder的build方法

func (*DeleteUserMailboxReqBuilder) TransferMailbox

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

func (*DeleteUserMailboxReqBuilder) UserMailboxId

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

1.5 生成请求的builder属性方法

type DeleteUserMailboxResp

type DeleteUserMailboxResp struct {
	*larkcore.RawResponse `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
}

builder开始

func NewEmailAliasBuilder

func NewEmailAliasBuilder() *EmailAliasBuilder

func (*EmailAliasBuilder) Build

func (builder *EmailAliasBuilder) Build() *EmailAlias

func (*EmailAliasBuilder) EmailAlias

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

func (*EmailAliasBuilder) PrimaryEmail

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

type GetMailgroupMemberReq

type GetMailgroupMemberReq struct {
	MailgroupId      string  `path:"mailgroup_id"`
	MemberId         string  `path:"member_id"`
	UserIdType       *string `query:"user_id_type"`
	DepartmentIdType *string `query:"department_id_type"`
}

type GetMailgroupMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewGetMailgroupMemberReqBuilder

func NewGetMailgroupMemberReqBuilder() *GetMailgroupMemberReqBuilder

生成请求的New构造器

func (*GetMailgroupMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*GetMailgroupMemberReqBuilder) DepartmentIdType

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

func (*GetMailgroupMemberReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

func (*GetMailgroupMemberReqBuilder) MemberId

func (*GetMailgroupMemberReqBuilder) UserIdType

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

type GetMailgroupMemberResp

type GetMailgroupMemberResp struct {
	*larkcore.RawResponse `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"`
	Email        *string `json:"email,omitempty"`
	UserId       *string `json:"user_id,omitempty"`
	DepartmentId *string `json:"department_id,omitempty"`
	Type         *string `json:"type,omitempty"`
}

type GetMailgroupPermissionMemberReq

type GetMailgroupPermissionMemberReq struct {
	MailgroupId        string  `path:"mailgroup_id"`
	PermissionMemberId string  `path:"permission_member_id"`
	UserIdType         *string `query:"user_id_type"`
	DepartmentIdType   *string `query:"department_id_type"`
}

type GetMailgroupPermissionMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewGetMailgroupPermissionMemberReqBuilder

func NewGetMailgroupPermissionMemberReqBuilder() *GetMailgroupPermissionMemberReqBuilder

生成请求的New构造器

func (*GetMailgroupPermissionMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*GetMailgroupPermissionMemberReqBuilder) DepartmentIdType

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

func (*GetMailgroupPermissionMemberReqBuilder) MailgroupId

1.5 生成请求的builder属性方法

func (*GetMailgroupPermissionMemberReqBuilder) PermissionMemberId

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

func (*GetMailgroupPermissionMemberReqBuilder) UserIdType

type GetMailgroupPermissionMemberResp

type GetMailgroupPermissionMemberResp struct {
	*larkcore.RawResponse `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"`
	UserId             *string `json:"user_id,omitempty"`
	DepartmentId       *string `json:"department_id,omitempty"`
	Type               *string `json:"type,omitempty"`
}

type GetMailgroupReq

type GetMailgroupReq struct {
	MailgroupId string `path:"mailgroup_id"`
}

type GetMailgroupReqBuilder

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

1.4 生成请求的builder结构体

func NewGetMailgroupReqBuilder

func NewGetMailgroupReqBuilder() *GetMailgroupReqBuilder

生成请求的New构造器

func (*GetMailgroupReqBuilder) Build

func (builder *GetMailgroupReqBuilder) Build() *GetMailgroupReq

1.5 生成请求的builder的build方法

func (*GetMailgroupReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

type GetMailgroupResp

type GetMailgroupResp struct {
	*larkcore.RawResponse `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"`
	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 GetPublicMailboxMemberReq

type GetPublicMailboxMemberReq struct {
	PublicMailboxId string  `path:"public_mailbox_id"`
	MemberId        string  `path:"member_id"`
	UserIdType      *string `query:"user_id_type"`
}

type GetPublicMailboxMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewGetPublicMailboxMemberReqBuilder

func NewGetPublicMailboxMemberReqBuilder() *GetPublicMailboxMemberReqBuilder

生成请求的New构造器

func (*GetPublicMailboxMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*GetPublicMailboxMemberReqBuilder) MemberId

func (*GetPublicMailboxMemberReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

func (*GetPublicMailboxMemberReqBuilder) UserIdType

type GetPublicMailboxMemberResp

type GetPublicMailboxMemberResp struct {
	*larkcore.RawResponse `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"`
	UserId   *string `json:"user_id,omitempty"`
	Type     *string `json:"type,omitempty"`
}

type GetPublicMailboxReq

type GetPublicMailboxReq struct {
	PublicMailboxId string `path:"public_mailbox_id"`
}

type GetPublicMailboxReqBuilder

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

1.4 生成请求的builder结构体

func NewGetPublicMailboxReqBuilder

func NewGetPublicMailboxReqBuilder() *GetPublicMailboxReqBuilder

生成请求的New构造器

func (*GetPublicMailboxReqBuilder) Build

1.5 生成请求的builder的build方法

func (*GetPublicMailboxReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

type GetPublicMailboxResp

type GetPublicMailboxResp struct {
	*larkcore.RawResponse `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"`
	Email           *string `json:"email,omitempty"`
	Name            *string `json:"name,omitempty"`
}

type ListMailgroupAliasReq

type ListMailgroupAliasReq struct {
	MailgroupId string `path:"mailgroup_id"`
}

type ListMailgroupAliasReqBuilder

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

1.4 生成请求的builder结构体

func NewListMailgroupAliasReqBuilder

func NewListMailgroupAliasReqBuilder() *ListMailgroupAliasReqBuilder

生成请求的New构造器

func (*ListMailgroupAliasReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListMailgroupAliasReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

type ListMailgroupAliasResp

type ListMailgroupAliasResp struct {
	*larkcore.RawResponse `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
}

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

func (*ListMailgroupIterator) Next

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

func (*ListMailgroupIterator) NextPageToken

func (iterator *ListMailgroupIterator) NextPageToken() *string

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 {
	MailgroupId      string  `path:"mailgroup_id"`
	UserIdType       *string `query:"user_id_type"`
	DepartmentIdType *string `query:"department_id_type"`
	PageToken        *string `query:"page_token"`
	PageSize         *int    `query:"page_size"`
	Limit            int
}

type ListMailgroupMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewListMailgroupMemberReqBuilder

func NewListMailgroupMemberReqBuilder() *ListMailgroupMemberReqBuilder

生成请求的New构造器

func (*ListMailgroupMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListMailgroupMemberReqBuilder) DepartmentIdType

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

func (*ListMailgroupMemberReqBuilder) Limit

1.5 生成请求的builder属性方法

func (*ListMailgroupMemberReqBuilder) MailgroupId

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

func (*ListMailgroupMemberReqBuilder) PageSize

func (*ListMailgroupMemberReqBuilder) PageToken

func (*ListMailgroupMemberReqBuilder) UserIdType

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

type ListMailgroupMemberResp

type ListMailgroupMemberResp struct {
	*larkcore.RawResponse `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"`
	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 {
	MailgroupId      string  `path:"mailgroup_id"`
	UserIdType       *string `query:"user_id_type"`
	DepartmentIdType *string `query:"department_id_type"`
	PageToken        *string `query:"page_token"`
	PageSize         *int    `query:"page_size"`
	Limit            int
}

type ListMailgroupPermissionMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewListMailgroupPermissionMemberReqBuilder

func NewListMailgroupPermissionMemberReqBuilder() *ListMailgroupPermissionMemberReqBuilder

生成请求的New构造器

func (*ListMailgroupPermissionMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListMailgroupPermissionMemberReqBuilder) DepartmentIdType

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

func (*ListMailgroupPermissionMemberReqBuilder) Limit

1.5 生成请求的builder属性方法

func (*ListMailgroupPermissionMemberReqBuilder) MailgroupId

func (*ListMailgroupPermissionMemberReqBuilder) PageSize

func (*ListMailgroupPermissionMemberReqBuilder) PageToken

func (*ListMailgroupPermissionMemberReqBuilder) UserIdType

type ListMailgroupPermissionMemberResp

type ListMailgroupPermissionMemberResp struct {
	*larkcore.RawResponse `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"`
	Items     []*MailgroupPermissionMember `json:"items,omitempty"`
}

type ListMailgroupReq

type ListMailgroupReq struct {
	ManagerUserId *string `query:"manager_user_id"`
	UserIdType    *string `query:"user_id_type"`
	PageToken     *string `query:"page_token"`
	PageSize      *int    `query:"page_size"`
	Limit         int
}

type ListMailgroupReqBuilder

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

1.4 生成请求的builder结构体

func NewListMailgroupReqBuilder

func NewListMailgroupReqBuilder() *ListMailgroupReqBuilder

生成请求的New构造器

func (*ListMailgroupReqBuilder) Build

func (builder *ListMailgroupReqBuilder) Build() *ListMailgroupReq

1.5 生成请求的builder的build方法

func (*ListMailgroupReqBuilder) Limit

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

1.5 生成请求的builder属性方法

func (*ListMailgroupReqBuilder) ManagerUserId

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

func (*ListMailgroupReqBuilder) PageSize

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

func (*ListMailgroupReqBuilder) PageToken

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

func (*ListMailgroupReqBuilder) UserIdType

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

type ListMailgroupResp

type ListMailgroupResp struct {
	*larkcore.RawResponse `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"`
	Items     []*Mailgroup `json:"items,omitempty"`
}

type ListPublicMailboxAliasReq

type ListPublicMailboxAliasReq struct {
	PublicMailboxId string `path:"public_mailbox_id"`
}

type ListPublicMailboxAliasReqBuilder

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

1.4 生成请求的builder结构体

func NewListPublicMailboxAliasReqBuilder

func NewListPublicMailboxAliasReqBuilder() *ListPublicMailboxAliasReqBuilder

生成请求的New构造器

func (*ListPublicMailboxAliasReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListPublicMailboxAliasReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

type ListPublicMailboxAliasResp

type ListPublicMailboxAliasResp struct {
	*larkcore.RawResponse `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 {
	PublicMailboxId string  `path:"public_mailbox_id"`
	UserIdType      *string `query:"user_id_type"`
	PageToken       *string `query:"page_token"`
	PageSize        *int    `query:"page_size"`
	Limit           int
}

type ListPublicMailboxMemberReqBuilder

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

1.4 生成请求的builder结构体

func NewListPublicMailboxMemberReqBuilder

func NewListPublicMailboxMemberReqBuilder() *ListPublicMailboxMemberReqBuilder

生成请求的New构造器

func (*ListPublicMailboxMemberReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListPublicMailboxMemberReqBuilder) Limit

1.5 生成请求的builder属性方法

func (*ListPublicMailboxMemberReqBuilder) PageSize

func (*ListPublicMailboxMemberReqBuilder) PageToken

func (*ListPublicMailboxMemberReqBuilder) PublicMailboxId

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

func (*ListPublicMailboxMemberReqBuilder) UserIdType

type ListPublicMailboxMemberResp

type ListPublicMailboxMemberResp struct {
	*larkcore.RawResponse `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"`
	Items     []*PublicMailboxMember `json:"items,omitempty"`
}

type ListPublicMailboxReq

type ListPublicMailboxReq struct {
	PageToken *string `query:"page_token"`
	PageSize  *int    `query:"page_size"`
	Limit     int
}

type ListPublicMailboxReqBuilder

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

1.4 生成请求的builder结构体

func NewListPublicMailboxReqBuilder

func NewListPublicMailboxReqBuilder() *ListPublicMailboxReqBuilder

生成请求的New构造器

func (*ListPublicMailboxReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListPublicMailboxReqBuilder) Limit

1.5 生成请求的builder属性方法

func (*ListPublicMailboxReqBuilder) PageSize

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

func (*ListPublicMailboxReqBuilder) PageToken

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

type ListPublicMailboxResp

type ListPublicMailboxResp struct {
	*larkcore.RawResponse `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"`
	Items     []*PublicMailbox `json:"items,omitempty"`
}

type ListUserMailboxAliasReq

type ListUserMailboxAliasReq struct {
	UserMailboxId string  `path:"user_mailbox_id"`
	PageToken     *string `query:"page_token"`
	PageSize      *int    `query:"page_size"`
}

type ListUserMailboxAliasReqBuilder

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

1.4 生成请求的builder结构体

func NewListUserMailboxAliasReqBuilder

func NewListUserMailboxAliasReqBuilder() *ListUserMailboxAliasReqBuilder

生成请求的New构造器

func (*ListUserMailboxAliasReqBuilder) Build

1.5 生成请求的builder的build方法

func (*ListUserMailboxAliasReqBuilder) PageSize

func (*ListUserMailboxAliasReqBuilder) PageToken

func (*ListUserMailboxAliasReqBuilder) UserMailboxId

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

1.5 生成请求的builder属性方法

type ListUserMailboxAliasResp

type ListUserMailboxAliasResp struct {
	*larkcore.RawResponse `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 MailService

type MailService struct {
	Mailgroup                 *mailgroup
	MailgroupAlias            *mailgroupAlias
	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"`
	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
}

builder开始

func NewMailgroupBuilder

func NewMailgroupBuilder() *MailgroupBuilder

func (*MailgroupBuilder) Build

func (builder *MailgroupBuilder) Build() *Mailgroup

func (*MailgroupBuilder) Description

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

func (*MailgroupBuilder) DirectMembersCount

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

func (*MailgroupBuilder) Email

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

func (*MailgroupBuilder) IncludeAllCompanyMember

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

func (*MailgroupBuilder) IncludeExternalMember

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

func (*MailgroupBuilder) MailgroupId

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

func (*MailgroupBuilder) Name

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

func (*MailgroupBuilder) WhoCanSendMail

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

type MailgroupMember

type MailgroupMember struct {
	MemberId     *string `json:"member_id,omitempty"`
	Email        *string `json:"email,omitempty"`
	UserId       *string `json:"user_id,omitempty"`
	DepartmentId *string `json:"department_id,omitempty"`
	Type         *string `json:"type,omitempty"`
}

type MailgroupMemberBuilder

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

builder开始

func NewMailgroupMemberBuilder

func NewMailgroupMemberBuilder() *MailgroupMemberBuilder

func (*MailgroupMemberBuilder) Build

func (builder *MailgroupMemberBuilder) Build() *MailgroupMember

func (*MailgroupMemberBuilder) DepartmentId

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

func (*MailgroupMemberBuilder) Email

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

func (*MailgroupMemberBuilder) MemberId

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

func (*MailgroupMemberBuilder) Type

func (*MailgroupMemberBuilder) UserId

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

type MailgroupPermissionMember

type MailgroupPermissionMember struct {
	PermissionMemberId *string `json:"permission_member_id,omitempty"`
	UserId             *string `json:"user_id,omitempty"`
	DepartmentId       *string `json:"department_id,omitempty"`
	Type               *string `json:"type,omitempty"`
}

type MailgroupPermissionMemberBuilder

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

builder开始

func NewMailgroupPermissionMemberBuilder

func NewMailgroupPermissionMemberBuilder() *MailgroupPermissionMemberBuilder

func (*MailgroupPermissionMemberBuilder) Build

func (*MailgroupPermissionMemberBuilder) DepartmentId

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

func (*MailgroupPermissionMemberBuilder) PermissionMemberId

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

func (*MailgroupPermissionMemberBuilder) Type

func (*MailgroupPermissionMemberBuilder) UserId

type Message

type Message struct {
	Raw *string `json:"raw,omitempty"`
}

type MessageBuilder

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

builder开始

func NewMessageBuilder

func NewMessageBuilder() *MessageBuilder

func (*MessageBuilder) Build

func (builder *MessageBuilder) Build() *Message

func (*MessageBuilder) Raw

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

type PatchMailgroupReq

type PatchMailgroupReq struct {
	MailgroupId string     `path:"mailgroup_id"`
	Mailgroup   *Mailgroup `body:""`
}

type PatchMailgroupReqBuilder

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

1.4 生成请求的builder结构体

func NewPatchMailgroupReqBuilder

func NewPatchMailgroupReqBuilder() *PatchMailgroupReqBuilder

生成请求的New构造器

func (*PatchMailgroupReqBuilder) Build

func (builder *PatchMailgroupReqBuilder) Build() *PatchMailgroupReq

1.5 生成请求的builder的build方法

func (*PatchMailgroupReqBuilder) Mailgroup

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

func (*PatchMailgroupReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

type PatchMailgroupResp

type PatchMailgroupResp struct {
	*larkcore.RawResponse `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"`
	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 PatchPublicMailboxReq

type PatchPublicMailboxReq struct {
	PublicMailboxId string         `path:"public_mailbox_id"`
	PublicMailbox   *PublicMailbox `body:""`
}

type PatchPublicMailboxReqBuilder

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

1.4 生成请求的builder结构体

func NewPatchPublicMailboxReqBuilder

func NewPatchPublicMailboxReqBuilder() *PatchPublicMailboxReqBuilder

生成请求的New构造器

func (*PatchPublicMailboxReqBuilder) Build

1.5 生成请求的builder的build方法

func (*PatchPublicMailboxReqBuilder) PublicMailbox

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

func (*PatchPublicMailboxReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

type PatchPublicMailboxResp

type PatchPublicMailboxResp struct {
	*larkcore.RawResponse `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"`
	Email           *string `json:"email,omitempty"`
	Name            *string `json:"name,omitempty"`
}

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
}

builder开始

func NewPublicMailboxBuilder

func NewPublicMailboxBuilder() *PublicMailboxBuilder

func (*PublicMailboxBuilder) Build

func (builder *PublicMailboxBuilder) Build() *PublicMailbox

func (*PublicMailboxBuilder) Email

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

func (*PublicMailboxBuilder) Name

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

func (*PublicMailboxBuilder) PublicMailboxId

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

type PublicMailboxMember

type PublicMailboxMember struct {
	MemberId *string `json:"member_id,omitempty"`
	UserId   *string `json:"user_id,omitempty"`
	Type     *string `json:"type,omitempty"`
}

type PublicMailboxMemberBuilder

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

builder开始

func NewPublicMailboxMemberBuilder

func NewPublicMailboxMemberBuilder() *PublicMailboxMemberBuilder

func (*PublicMailboxMemberBuilder) Build

func (*PublicMailboxMemberBuilder) MemberId

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

func (*PublicMailboxMemberBuilder) Type

func (*PublicMailboxMemberBuilder) UserId

type QueryUserPathReqBodyBuilder

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

上传文件path开始

func NewQueryUserPathReqBodyBuilder

func NewQueryUserPathReqBodyBuilder() *QueryUserPathReqBodyBuilder

func (*QueryUserPathReqBodyBuilder) Build

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

func (*QueryUserPathReqBodyBuilder) EmailList

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

type QueryUserReq

type QueryUserReq struct {
	Body *QueryUserReqBody `body:""`
}

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

生成body的New构造器

func (*QueryUserReqBodyBuilder) Build

func (builder *QueryUserReqBodyBuilder) Build() *QueryUserReqBody

1.3 生成body的build方法

func (*QueryUserReqBodyBuilder) EmailList

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

1.2 生成body的builder属性方法

type QueryUserReqBuilder

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

1.4 生成请求的builder结构体

func NewQueryUserReqBuilder

func NewQueryUserReqBuilder() *QueryUserReqBuilder

生成请求的New构造器

func (*QueryUserReqBuilder) Body

1.5 生成请求的builder属性方法

func (*QueryUserReqBuilder) Build

func (builder *QueryUserReqBuilder) Build() *QueryUserReq

1.5 生成请求的builder的build方法

type QueryUserResp

type QueryUserResp struct {
	*larkcore.RawResponse `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 {
	MailgroupId string     `path:"mailgroup_id"`
	Mailgroup   *Mailgroup `body:""`
}

type UpdateMailgroupReqBuilder

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

1.4 生成请求的builder结构体

func NewUpdateMailgroupReqBuilder

func NewUpdateMailgroupReqBuilder() *UpdateMailgroupReqBuilder

生成请求的New构造器

func (*UpdateMailgroupReqBuilder) Build

1.5 生成请求的builder的build方法

func (*UpdateMailgroupReqBuilder) Mailgroup

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

func (*UpdateMailgroupReqBuilder) MailgroupId

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

1.5 生成请求的builder属性方法

type UpdateMailgroupResp

type UpdateMailgroupResp struct {
	*larkcore.RawResponse `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"`
	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 UpdatePublicMailboxReq

type UpdatePublicMailboxReq struct {
	PublicMailboxId string         `path:"public_mailbox_id"`
	PublicMailbox   *PublicMailbox `body:""`
}

type UpdatePublicMailboxReqBuilder

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

1.4 生成请求的builder结构体

func NewUpdatePublicMailboxReqBuilder

func NewUpdatePublicMailboxReqBuilder() *UpdatePublicMailboxReqBuilder

生成请求的New构造器

func (*UpdatePublicMailboxReqBuilder) Build

1.5 生成请求的builder的build方法

func (*UpdatePublicMailboxReqBuilder) PublicMailbox

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

func (*UpdatePublicMailboxReqBuilder) PublicMailboxId

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

1.5 生成请求的builder属性方法

type UpdatePublicMailboxResp

type UpdatePublicMailboxResp struct {
	*larkcore.RawResponse `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"`
	Email           *string `json:"email,omitempty"`
	Name            *string `json:"name,omitempty"`
}

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
}

builder开始

func NewUserBuilder

func NewUserBuilder() *UserBuilder

func (*UserBuilder) Build

func (builder *UserBuilder) Build() *User

func (*UserBuilder) Email

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

func (*UserBuilder) Status

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

func (*UserBuilder) Type

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

Jump to

Keyboard shortcuts

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