Documentation ¶
Index ¶
- Constants
- type Attachment
- type AttachmentBuilder
- type BatchCreateMailgroupManagerPathReqBodyBuilder
- type BatchCreateMailgroupManagerReq
- type BatchCreateMailgroupManagerReqBody
- type BatchCreateMailgroupManagerReqBodyBuilder
- type BatchCreateMailgroupManagerReqBuilder
- func (builder *BatchCreateMailgroupManagerReqBuilder) Body(body *BatchCreateMailgroupManagerReqBody) *BatchCreateMailgroupManagerReqBuilder
- func (builder *BatchCreateMailgroupManagerReqBuilder) Build() *BatchCreateMailgroupManagerReq
- func (builder *BatchCreateMailgroupManagerReqBuilder) MailgroupId(mailgroupId string) *BatchCreateMailgroupManagerReqBuilder
- func (builder *BatchCreateMailgroupManagerReqBuilder) UserIdType(userIdType string) *BatchCreateMailgroupManagerReqBuilder
- type BatchCreateMailgroupManagerResp
- type BatchCreateMailgroupMemberPathReqBodyBuilder
- type BatchCreateMailgroupMemberReq
- type BatchCreateMailgroupMemberReqBody
- type BatchCreateMailgroupMemberReqBodyBuilder
- type BatchCreateMailgroupMemberReqBuilder
- func (builder *BatchCreateMailgroupMemberReqBuilder) Body(body *BatchCreateMailgroupMemberReqBody) *BatchCreateMailgroupMemberReqBuilder
- func (builder *BatchCreateMailgroupMemberReqBuilder) Build() *BatchCreateMailgroupMemberReq
- func (builder *BatchCreateMailgroupMemberReqBuilder) DepartmentIdType(departmentIdType string) *BatchCreateMailgroupMemberReqBuilder
- func (builder *BatchCreateMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *BatchCreateMailgroupMemberReqBuilder
- func (builder *BatchCreateMailgroupMemberReqBuilder) UserIdType(userIdType string) *BatchCreateMailgroupMemberReqBuilder
- type BatchCreateMailgroupMemberResp
- type BatchCreateMailgroupMemberRespData
- type BatchCreateMailgroupPermissionMemberPathReqBodyBuilder
- func (builder *BatchCreateMailgroupPermissionMemberPathReqBodyBuilder) Build() (*BatchCreateMailgroupPermissionMemberReqBody, error)
- func (builder *BatchCreateMailgroupPermissionMemberPathReqBodyBuilder) Items(items []*MailgroupPermissionMember) *BatchCreateMailgroupPermissionMemberPathReqBodyBuilder
- type BatchCreateMailgroupPermissionMemberReq
- type BatchCreateMailgroupPermissionMemberReqBody
- type BatchCreateMailgroupPermissionMemberReqBodyBuilder
- type BatchCreateMailgroupPermissionMemberReqBuilder
- func (builder *BatchCreateMailgroupPermissionMemberReqBuilder) Body(body *BatchCreateMailgroupPermissionMemberReqBody) *BatchCreateMailgroupPermissionMemberReqBuilder
- func (builder *BatchCreateMailgroupPermissionMemberReqBuilder) Build() *BatchCreateMailgroupPermissionMemberReq
- func (builder *BatchCreateMailgroupPermissionMemberReqBuilder) DepartmentIdType(departmentIdType string) *BatchCreateMailgroupPermissionMemberReqBuilder
- func (builder *BatchCreateMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *BatchCreateMailgroupPermissionMemberReqBuilder
- func (builder *BatchCreateMailgroupPermissionMemberReqBuilder) UserIdType(userIdType string) *BatchCreateMailgroupPermissionMemberReqBuilder
- type BatchCreateMailgroupPermissionMemberResp
- type BatchCreateMailgroupPermissionMemberRespData
- type BatchCreatePublicMailboxMemberPathReqBodyBuilder
- type BatchCreatePublicMailboxMemberReq
- type BatchCreatePublicMailboxMemberReqBody
- type BatchCreatePublicMailboxMemberReqBodyBuilder
- type BatchCreatePublicMailboxMemberReqBuilder
- func (builder *BatchCreatePublicMailboxMemberReqBuilder) Body(body *BatchCreatePublicMailboxMemberReqBody) *BatchCreatePublicMailboxMemberReqBuilder
- func (builder *BatchCreatePublicMailboxMemberReqBuilder) Build() *BatchCreatePublicMailboxMemberReq
- func (builder *BatchCreatePublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *BatchCreatePublicMailboxMemberReqBuilder
- func (builder *BatchCreatePublicMailboxMemberReqBuilder) UserIdType(userIdType string) *BatchCreatePublicMailboxMemberReqBuilder
- type BatchCreatePublicMailboxMemberResp
- type BatchCreatePublicMailboxMemberRespData
- type BatchDeleteMailgroupManagerPathReqBodyBuilder
- type BatchDeleteMailgroupManagerReq
- type BatchDeleteMailgroupManagerReqBody
- type BatchDeleteMailgroupManagerReqBodyBuilder
- type BatchDeleteMailgroupManagerReqBuilder
- func (builder *BatchDeleteMailgroupManagerReqBuilder) Body(body *BatchDeleteMailgroupManagerReqBody) *BatchDeleteMailgroupManagerReqBuilder
- func (builder *BatchDeleteMailgroupManagerReqBuilder) Build() *BatchDeleteMailgroupManagerReq
- func (builder *BatchDeleteMailgroupManagerReqBuilder) MailgroupId(mailgroupId string) *BatchDeleteMailgroupManagerReqBuilder
- func (builder *BatchDeleteMailgroupManagerReqBuilder) UserIdType(userIdType string) *BatchDeleteMailgroupManagerReqBuilder
- type BatchDeleteMailgroupManagerResp
- type BatchDeleteMailgroupMemberPathReqBodyBuilder
- type BatchDeleteMailgroupMemberReq
- type BatchDeleteMailgroupMemberReqBody
- type BatchDeleteMailgroupMemberReqBodyBuilder
- type BatchDeleteMailgroupMemberReqBuilder
- func (builder *BatchDeleteMailgroupMemberReqBuilder) Body(body *BatchDeleteMailgroupMemberReqBody) *BatchDeleteMailgroupMemberReqBuilder
- func (builder *BatchDeleteMailgroupMemberReqBuilder) Build() *BatchDeleteMailgroupMemberReq
- func (builder *BatchDeleteMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *BatchDeleteMailgroupMemberReqBuilder
- type BatchDeleteMailgroupMemberResp
- type BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder
- func (builder *BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder) Build() (*BatchDeleteMailgroupPermissionMemberReqBody, error)
- func (builder *BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder) PermissionMemberIdList(permissionMemberIdList []string) *BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder
- type BatchDeleteMailgroupPermissionMemberReq
- type BatchDeleteMailgroupPermissionMemberReqBody
- type BatchDeleteMailgroupPermissionMemberReqBodyBuilder
- type BatchDeleteMailgroupPermissionMemberReqBuilder
- func (builder *BatchDeleteMailgroupPermissionMemberReqBuilder) Body(body *BatchDeleteMailgroupPermissionMemberReqBody) *BatchDeleteMailgroupPermissionMemberReqBuilder
- func (builder *BatchDeleteMailgroupPermissionMemberReqBuilder) Build() *BatchDeleteMailgroupPermissionMemberReq
- func (builder *BatchDeleteMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *BatchDeleteMailgroupPermissionMemberReqBuilder
- type BatchDeleteMailgroupPermissionMemberResp
- type BatchDeletePublicMailboxMemberPathReqBodyBuilder
- type BatchDeletePublicMailboxMemberReq
- type BatchDeletePublicMailboxMemberReqBody
- type BatchDeletePublicMailboxMemberReqBodyBuilder
- type BatchDeletePublicMailboxMemberReqBuilder
- func (builder *BatchDeletePublicMailboxMemberReqBuilder) Body(body *BatchDeletePublicMailboxMemberReqBody) *BatchDeletePublicMailboxMemberReqBuilder
- func (builder *BatchDeletePublicMailboxMemberReqBuilder) Build() *BatchDeletePublicMailboxMemberReq
- func (builder *BatchDeletePublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *BatchDeletePublicMailboxMemberReqBuilder
- type BatchDeletePublicMailboxMemberResp
- type ClearPublicMailboxMemberReq
- type ClearPublicMailboxMemberReqBuilder
- type ClearPublicMailboxMemberResp
- type CreateMailgroupAliasReq
- type CreateMailgroupAliasReqBuilder
- func (builder *CreateMailgroupAliasReqBuilder) Build() *CreateMailgroupAliasReq
- func (builder *CreateMailgroupAliasReqBuilder) EmailAlias(emailAlias *EmailAlias) *CreateMailgroupAliasReqBuilder
- func (builder *CreateMailgroupAliasReqBuilder) MailgroupId(mailgroupId string) *CreateMailgroupAliasReqBuilder
- type CreateMailgroupAliasResp
- type CreateMailgroupAliasRespData
- type CreateMailgroupMemberReq
- type CreateMailgroupMemberReqBuilder
- func (builder *CreateMailgroupMemberReqBuilder) Build() *CreateMailgroupMemberReq
- func (builder *CreateMailgroupMemberReqBuilder) DepartmentIdType(departmentIdType string) *CreateMailgroupMemberReqBuilder
- func (builder *CreateMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *CreateMailgroupMemberReqBuilder
- func (builder *CreateMailgroupMemberReqBuilder) MailgroupMember(mailgroupMember *MailgroupMember) *CreateMailgroupMemberReqBuilder
- func (builder *CreateMailgroupMemberReqBuilder) UserIdType(userIdType string) *CreateMailgroupMemberReqBuilder
- type CreateMailgroupMemberResp
- type CreateMailgroupMemberRespData
- type CreateMailgroupPermissionMemberReq
- type CreateMailgroupPermissionMemberReqBuilder
- func (builder *CreateMailgroupPermissionMemberReqBuilder) Build() *CreateMailgroupPermissionMemberReq
- func (builder *CreateMailgroupPermissionMemberReqBuilder) DepartmentIdType(departmentIdType string) *CreateMailgroupPermissionMemberReqBuilder
- func (builder *CreateMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *CreateMailgroupPermissionMemberReqBuilder
- func (builder *CreateMailgroupPermissionMemberReqBuilder) MailgroupPermissionMember(mailgroupPermissionMember *MailgroupPermissionMember) *CreateMailgroupPermissionMemberReqBuilder
- func (builder *CreateMailgroupPermissionMemberReqBuilder) UserIdType(userIdType string) *CreateMailgroupPermissionMemberReqBuilder
- type CreateMailgroupPermissionMemberResp
- type CreateMailgroupPermissionMemberRespData
- type CreateMailgroupReq
- type CreateMailgroupReqBuilder
- type CreateMailgroupResp
- type CreateMailgroupRespData
- type CreatePublicMailboxAliasReq
- type CreatePublicMailboxAliasReqBuilder
- func (builder *CreatePublicMailboxAliasReqBuilder) Build() *CreatePublicMailboxAliasReq
- func (builder *CreatePublicMailboxAliasReqBuilder) EmailAlias(emailAlias *EmailAlias) *CreatePublicMailboxAliasReqBuilder
- func (builder *CreatePublicMailboxAliasReqBuilder) PublicMailboxId(publicMailboxId string) *CreatePublicMailboxAliasReqBuilder
- type CreatePublicMailboxAliasResp
- type CreatePublicMailboxAliasRespData
- type CreatePublicMailboxMemberReq
- type CreatePublicMailboxMemberReqBuilder
- func (builder *CreatePublicMailboxMemberReqBuilder) Build() *CreatePublicMailboxMemberReq
- func (builder *CreatePublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *CreatePublicMailboxMemberReqBuilder
- func (builder *CreatePublicMailboxMemberReqBuilder) PublicMailboxMember(publicMailboxMember *PublicMailboxMember) *CreatePublicMailboxMemberReqBuilder
- func (builder *CreatePublicMailboxMemberReqBuilder) UserIdType(userIdType string) *CreatePublicMailboxMemberReqBuilder
- type CreatePublicMailboxMemberResp
- type CreatePublicMailboxMemberRespData
- type CreatePublicMailboxReq
- type CreatePublicMailboxReqBuilder
- type CreatePublicMailboxResp
- type CreatePublicMailboxRespData
- type CreateUserMailboxAliasReq
- type CreateUserMailboxAliasReqBuilder
- func (builder *CreateUserMailboxAliasReqBuilder) Build() *CreateUserMailboxAliasReq
- func (builder *CreateUserMailboxAliasReqBuilder) EmailAlias(emailAlias *EmailAlias) *CreateUserMailboxAliasReqBuilder
- func (builder *CreateUserMailboxAliasReqBuilder) UserMailboxId(userMailboxId string) *CreateUserMailboxAliasReqBuilder
- type CreateUserMailboxAliasResp
- type CreateUserMailboxAliasRespData
- type DeleteMailgroupAliasReq
- type DeleteMailgroupAliasReqBuilder
- type DeleteMailgroupAliasResp
- type DeleteMailgroupMemberReq
- type DeleteMailgroupMemberReqBuilder
- func (builder *DeleteMailgroupMemberReqBuilder) Build() *DeleteMailgroupMemberReq
- func (builder *DeleteMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *DeleteMailgroupMemberReqBuilder
- func (builder *DeleteMailgroupMemberReqBuilder) MemberId(memberId string) *DeleteMailgroupMemberReqBuilder
- type DeleteMailgroupMemberResp
- type DeleteMailgroupPermissionMemberReq
- type DeleteMailgroupPermissionMemberReqBuilder
- func (builder *DeleteMailgroupPermissionMemberReqBuilder) Build() *DeleteMailgroupPermissionMemberReq
- func (builder *DeleteMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *DeleteMailgroupPermissionMemberReqBuilder
- func (builder *DeleteMailgroupPermissionMemberReqBuilder) PermissionMemberId(permissionMemberId string) *DeleteMailgroupPermissionMemberReqBuilder
- type DeleteMailgroupPermissionMemberResp
- type DeleteMailgroupReq
- type DeleteMailgroupReqBuilder
- type DeleteMailgroupResp
- type DeletePublicMailboxAliasReq
- type DeletePublicMailboxAliasReqBuilder
- func (builder *DeletePublicMailboxAliasReqBuilder) AliasId(aliasId string) *DeletePublicMailboxAliasReqBuilder
- func (builder *DeletePublicMailboxAliasReqBuilder) Build() *DeletePublicMailboxAliasReq
- func (builder *DeletePublicMailboxAliasReqBuilder) PublicMailboxId(publicMailboxId string) *DeletePublicMailboxAliasReqBuilder
- type DeletePublicMailboxAliasResp
- type DeletePublicMailboxMemberReq
- type DeletePublicMailboxMemberReqBuilder
- func (builder *DeletePublicMailboxMemberReqBuilder) Build() *DeletePublicMailboxMemberReq
- func (builder *DeletePublicMailboxMemberReqBuilder) MemberId(memberId string) *DeletePublicMailboxMemberReqBuilder
- func (builder *DeletePublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *DeletePublicMailboxMemberReqBuilder
- type DeletePublicMailboxMemberResp
- type DeletePublicMailboxReq
- type DeletePublicMailboxReqBuilder
- type DeletePublicMailboxResp
- type DeleteUserMailboxAliasReq
- type DeleteUserMailboxAliasReqBuilder
- func (builder *DeleteUserMailboxAliasReqBuilder) AliasId(aliasId string) *DeleteUserMailboxAliasReqBuilder
- func (builder *DeleteUserMailboxAliasReqBuilder) Build() *DeleteUserMailboxAliasReq
- func (builder *DeleteUserMailboxAliasReqBuilder) UserMailboxId(userMailboxId string) *DeleteUserMailboxAliasReqBuilder
- type DeleteUserMailboxAliasResp
- type DeleteUserMailboxReq
- type DeleteUserMailboxReqBuilder
- type DeleteUserMailboxResp
- type DepartmentId
- type DepartmentIdBuilder
- type EmailAlias
- type EmailAliasBuilder
- type Folder
- type FolderBuilder
- func (builder *FolderBuilder) Build() *Folder
- func (builder *FolderBuilder) FolderType(folderType int) *FolderBuilder
- func (builder *FolderBuilder) Id(id string) *FolderBuilder
- func (builder *FolderBuilder) Name(name string) *FolderBuilder
- func (builder *FolderBuilder) ParentFolderId(parentFolderId string) *FolderBuilder
- type GetMailgroupMemberReq
- type GetMailgroupMemberReqBuilder
- func (builder *GetMailgroupMemberReqBuilder) Build() *GetMailgroupMemberReq
- func (builder *GetMailgroupMemberReqBuilder) DepartmentIdType(departmentIdType string) *GetMailgroupMemberReqBuilder
- func (builder *GetMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *GetMailgroupMemberReqBuilder
- func (builder *GetMailgroupMemberReqBuilder) MemberId(memberId string) *GetMailgroupMemberReqBuilder
- func (builder *GetMailgroupMemberReqBuilder) UserIdType(userIdType string) *GetMailgroupMemberReqBuilder
- type GetMailgroupMemberResp
- type GetMailgroupMemberRespData
- type GetMailgroupPermissionMemberReq
- type GetMailgroupPermissionMemberReqBuilder
- func (builder *GetMailgroupPermissionMemberReqBuilder) Build() *GetMailgroupPermissionMemberReq
- func (builder *GetMailgroupPermissionMemberReqBuilder) DepartmentIdType(departmentIdType string) *GetMailgroupPermissionMemberReqBuilder
- func (builder *GetMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *GetMailgroupPermissionMemberReqBuilder
- func (builder *GetMailgroupPermissionMemberReqBuilder) PermissionMemberId(permissionMemberId string) *GetMailgroupPermissionMemberReqBuilder
- func (builder *GetMailgroupPermissionMemberReqBuilder) UserIdType(userIdType string) *GetMailgroupPermissionMemberReqBuilder
- type GetMailgroupPermissionMemberResp
- type GetMailgroupPermissionMemberRespData
- type GetMailgroupReq
- type GetMailgroupReqBuilder
- type GetMailgroupResp
- type GetMailgroupRespData
- type GetPublicMailboxMemberReq
- type GetPublicMailboxMemberReqBuilder
- func (builder *GetPublicMailboxMemberReqBuilder) Build() *GetPublicMailboxMemberReq
- func (builder *GetPublicMailboxMemberReqBuilder) MemberId(memberId string) *GetPublicMailboxMemberReqBuilder
- func (builder *GetPublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *GetPublicMailboxMemberReqBuilder
- func (builder *GetPublicMailboxMemberReqBuilder) UserIdType(userIdType string) *GetPublicMailboxMemberReqBuilder
- type GetPublicMailboxMemberResp
- type GetPublicMailboxMemberRespData
- type GetPublicMailboxReq
- type GetPublicMailboxReqBuilder
- type GetPublicMailboxResp
- type GetPublicMailboxRespData
- type ListMailgroupAliasReq
- type ListMailgroupAliasReqBuilder
- type ListMailgroupAliasResp
- type ListMailgroupAliasRespData
- type ListMailgroupIterator
- type ListMailgroupManagerIterator
- type ListMailgroupManagerReq
- type ListMailgroupManagerReqBuilder
- func (builder *ListMailgroupManagerReqBuilder) Build() *ListMailgroupManagerReq
- func (builder *ListMailgroupManagerReqBuilder) Limit(limit int) *ListMailgroupManagerReqBuilder
- func (builder *ListMailgroupManagerReqBuilder) MailgroupId(mailgroupId string) *ListMailgroupManagerReqBuilder
- func (builder *ListMailgroupManagerReqBuilder) PageSize(pageSize int) *ListMailgroupManagerReqBuilder
- func (builder *ListMailgroupManagerReqBuilder) PageToken(pageToken string) *ListMailgroupManagerReqBuilder
- func (builder *ListMailgroupManagerReqBuilder) UserIdType(userIdType string) *ListMailgroupManagerReqBuilder
- type ListMailgroupManagerResp
- type ListMailgroupManagerRespData
- type ListMailgroupMemberIterator
- type ListMailgroupMemberReq
- type ListMailgroupMemberReqBuilder
- func (builder *ListMailgroupMemberReqBuilder) Build() *ListMailgroupMemberReq
- func (builder *ListMailgroupMemberReqBuilder) DepartmentIdType(departmentIdType string) *ListMailgroupMemberReqBuilder
- func (builder *ListMailgroupMemberReqBuilder) Limit(limit int) *ListMailgroupMemberReqBuilder
- func (builder *ListMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *ListMailgroupMemberReqBuilder
- func (builder *ListMailgroupMemberReqBuilder) PageSize(pageSize int) *ListMailgroupMemberReqBuilder
- func (builder *ListMailgroupMemberReqBuilder) PageToken(pageToken string) *ListMailgroupMemberReqBuilder
- func (builder *ListMailgroupMemberReqBuilder) UserIdType(userIdType string) *ListMailgroupMemberReqBuilder
- type ListMailgroupMemberResp
- type ListMailgroupMemberRespData
- type ListMailgroupPermissionMemberIterator
- type ListMailgroupPermissionMemberReq
- type ListMailgroupPermissionMemberReqBuilder
- func (builder *ListMailgroupPermissionMemberReqBuilder) Build() *ListMailgroupPermissionMemberReq
- func (builder *ListMailgroupPermissionMemberReqBuilder) DepartmentIdType(departmentIdType string) *ListMailgroupPermissionMemberReqBuilder
- func (builder *ListMailgroupPermissionMemberReqBuilder) Limit(limit int) *ListMailgroupPermissionMemberReqBuilder
- func (builder *ListMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *ListMailgroupPermissionMemberReqBuilder
- func (builder *ListMailgroupPermissionMemberReqBuilder) PageSize(pageSize int) *ListMailgroupPermissionMemberReqBuilder
- func (builder *ListMailgroupPermissionMemberReqBuilder) PageToken(pageToken string) *ListMailgroupPermissionMemberReqBuilder
- func (builder *ListMailgroupPermissionMemberReqBuilder) UserIdType(userIdType string) *ListMailgroupPermissionMemberReqBuilder
- type ListMailgroupPermissionMemberResp
- type ListMailgroupPermissionMemberRespData
- type ListMailgroupReq
- type ListMailgroupReqBuilder
- func (builder *ListMailgroupReqBuilder) Build() *ListMailgroupReq
- func (builder *ListMailgroupReqBuilder) Limit(limit int) *ListMailgroupReqBuilder
- func (builder *ListMailgroupReqBuilder) ManagerUserId(managerUserId string) *ListMailgroupReqBuilder
- func (builder *ListMailgroupReqBuilder) PageSize(pageSize int) *ListMailgroupReqBuilder
- func (builder *ListMailgroupReqBuilder) PageToken(pageToken string) *ListMailgroupReqBuilder
- func (builder *ListMailgroupReqBuilder) UserIdType(userIdType string) *ListMailgroupReqBuilder
- type ListMailgroupResp
- type ListMailgroupRespData
- type ListPublicMailboxAliasReq
- type ListPublicMailboxAliasReqBuilder
- type ListPublicMailboxAliasResp
- type ListPublicMailboxAliasRespData
- type ListPublicMailboxIterator
- type ListPublicMailboxMemberIterator
- type ListPublicMailboxMemberReq
- type ListPublicMailboxMemberReqBuilder
- func (builder *ListPublicMailboxMemberReqBuilder) Build() *ListPublicMailboxMemberReq
- func (builder *ListPublicMailboxMemberReqBuilder) Limit(limit int) *ListPublicMailboxMemberReqBuilder
- func (builder *ListPublicMailboxMemberReqBuilder) PageSize(pageSize int) *ListPublicMailboxMemberReqBuilder
- func (builder *ListPublicMailboxMemberReqBuilder) PageToken(pageToken string) *ListPublicMailboxMemberReqBuilder
- func (builder *ListPublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *ListPublicMailboxMemberReqBuilder
- func (builder *ListPublicMailboxMemberReqBuilder) UserIdType(userIdType string) *ListPublicMailboxMemberReqBuilder
- type ListPublicMailboxMemberResp
- type ListPublicMailboxMemberRespData
- type ListPublicMailboxReq
- type ListPublicMailboxReqBuilder
- func (builder *ListPublicMailboxReqBuilder) Build() *ListPublicMailboxReq
- func (builder *ListPublicMailboxReqBuilder) Limit(limit int) *ListPublicMailboxReqBuilder
- func (builder *ListPublicMailboxReqBuilder) PageSize(pageSize int) *ListPublicMailboxReqBuilder
- func (builder *ListPublicMailboxReqBuilder) PageToken(pageToken string) *ListPublicMailboxReqBuilder
- func (builder *ListPublicMailboxReqBuilder) UserId(userId string) *ListPublicMailboxReqBuilder
- func (builder *ListPublicMailboxReqBuilder) UserIdType(userIdType string) *ListPublicMailboxReqBuilder
- type ListPublicMailboxResp
- type ListPublicMailboxRespData
- type ListUserMailboxAliasReq
- type ListUserMailboxAliasReqBuilder
- func (builder *ListUserMailboxAliasReqBuilder) Build() *ListUserMailboxAliasReq
- func (builder *ListUserMailboxAliasReqBuilder) PageSize(pageSize int) *ListUserMailboxAliasReqBuilder
- func (builder *ListUserMailboxAliasReqBuilder) PageToken(pageToken string) *ListUserMailboxAliasReqBuilder
- func (builder *ListUserMailboxAliasReqBuilder) UserMailboxId(userMailboxId string) *ListUserMailboxAliasReqBuilder
- type ListUserMailboxAliasResp
- type ListUserMailboxAliasRespData
- type MailAddress
- type MailAddressBuilder
- type MailContact
- type MailContactBuilder
- func (builder *MailContactBuilder) Avatar(avatar string) *MailContactBuilder
- func (builder *MailContactBuilder) Build() *MailContact
- func (builder *MailContactBuilder) Company(company string) *MailContactBuilder
- func (builder *MailContactBuilder) Id(id string) *MailContactBuilder
- func (builder *MailContactBuilder) MailAddress(mailAddress string) *MailContactBuilder
- func (builder *MailContactBuilder) Name(name string) *MailContactBuilder
- func (builder *MailContactBuilder) Phone(phone string) *MailContactBuilder
- func (builder *MailContactBuilder) Position(position string) *MailContactBuilder
- func (builder *MailContactBuilder) Remark(remark string) *MailContactBuilder
- func (builder *MailContactBuilder) Tag(tag string) *MailContactBuilder
- type MailService
- type Mailgroup
- type MailgroupBuilder
- func (builder *MailgroupBuilder) Build() *Mailgroup
- func (builder *MailgroupBuilder) Description(description string) *MailgroupBuilder
- func (builder *MailgroupBuilder) DirectMembersCount(directMembersCount string) *MailgroupBuilder
- func (builder *MailgroupBuilder) Email(email string) *MailgroupBuilder
- func (builder *MailgroupBuilder) IncludeAllCompanyMember(includeAllCompanyMember bool) *MailgroupBuilder
- func (builder *MailgroupBuilder) IncludeExternalMember(includeExternalMember bool) *MailgroupBuilder
- func (builder *MailgroupBuilder) MailgroupId(mailgroupId string) *MailgroupBuilder
- func (builder *MailgroupBuilder) Name(name string) *MailgroupBuilder
- func (builder *MailgroupBuilder) WhoCanSendMail(whoCanSendMail string) *MailgroupBuilder
- type MailgroupManager
- type MailgroupManagerBuilder
- type MailgroupMember
- type MailgroupMemberBuilder
- func (builder *MailgroupMemberBuilder) Build() *MailgroupMember
- func (builder *MailgroupMemberBuilder) DepartmentId(departmentId string) *MailgroupMemberBuilder
- func (builder *MailgroupMemberBuilder) Email(email string) *MailgroupMemberBuilder
- func (builder *MailgroupMemberBuilder) MemberId(memberId string) *MailgroupMemberBuilder
- func (builder *MailgroupMemberBuilder) Type(type_ string) *MailgroupMemberBuilder
- func (builder *MailgroupMemberBuilder) UserId(userId string) *MailgroupMemberBuilder
- type MailgroupPermissionMember
- type MailgroupPermissionMemberBuilder
- func (builder *MailgroupPermissionMemberBuilder) Build() *MailgroupPermissionMember
- func (builder *MailgroupPermissionMemberBuilder) DepartmentId(departmentId string) *MailgroupPermissionMemberBuilder
- func (builder *MailgroupPermissionMemberBuilder) Email(email string) *MailgroupPermissionMemberBuilder
- func (builder *MailgroupPermissionMemberBuilder) PermissionMemberId(permissionMemberId string) *MailgroupPermissionMemberBuilder
- func (builder *MailgroupPermissionMemberBuilder) Type(type_ string) *MailgroupPermissionMemberBuilder
- func (builder *MailgroupPermissionMemberBuilder) UserId(userId string) *MailgroupPermissionMemberBuilder
- type Message
- type MessageBuilder
- func (builder *MessageBuilder) Attachments(attachments []*Attachment) *MessageBuilder
- func (builder *MessageBuilder) Bcc(bcc []*MailAddress) *MessageBuilder
- func (builder *MessageBuilder) BodyHtml(bodyHtml string) *MessageBuilder
- func (builder *MessageBuilder) BodyPlainText(bodyPlainText string) *MessageBuilder
- func (builder *MessageBuilder) Build() *Message
- func (builder *MessageBuilder) Cc(cc []*MailAddress) *MessageBuilder
- func (builder *MessageBuilder) HeadFrom(headFrom *MailAddress) *MessageBuilder
- func (builder *MessageBuilder) InternalDate(internalDate string) *MessageBuilder
- func (builder *MessageBuilder) MessageId(messageId string) *MessageBuilder
- func (builder *MessageBuilder) MessageState(messageState int) *MessageBuilder
- func (builder *MessageBuilder) Raw(raw string) *MessageBuilder
- func (builder *MessageBuilder) SmtpMessageId(smtpMessageId string) *MessageBuilder
- func (builder *MessageBuilder) Subject(subject string) *MessageBuilder
- func (builder *MessageBuilder) To(to []*MailAddress) *MessageBuilder
- type PatchMailgroupReq
- type PatchMailgroupReqBuilder
- type PatchMailgroupResp
- type PatchMailgroupRespData
- type PatchPublicMailboxReq
- type PatchPublicMailboxReqBuilder
- func (builder *PatchPublicMailboxReqBuilder) Build() *PatchPublicMailboxReq
- func (builder *PatchPublicMailboxReqBuilder) PublicMailbox(publicMailbox *PublicMailbox) *PatchPublicMailboxReqBuilder
- func (builder *PatchPublicMailboxReqBuilder) PublicMailboxId(publicMailboxId string) *PatchPublicMailboxReqBuilder
- type PatchPublicMailboxResp
- type PatchPublicMailboxRespData
- type PublicMailbox
- type PublicMailboxBuilder
- func (builder *PublicMailboxBuilder) Build() *PublicMailbox
- func (builder *PublicMailboxBuilder) Email(email string) *PublicMailboxBuilder
- func (builder *PublicMailboxBuilder) Geo(geo string) *PublicMailboxBuilder
- func (builder *PublicMailboxBuilder) Name(name string) *PublicMailboxBuilder
- func (builder *PublicMailboxBuilder) PublicMailboxId(publicMailboxId string) *PublicMailboxBuilder
- type PublicMailboxMember
- type PublicMailboxMemberBuilder
- func (builder *PublicMailboxMemberBuilder) Build() *PublicMailboxMember
- func (builder *PublicMailboxMemberBuilder) MemberId(memberId string) *PublicMailboxMemberBuilder
- func (builder *PublicMailboxMemberBuilder) Type(type_ string) *PublicMailboxMemberBuilder
- func (builder *PublicMailboxMemberBuilder) UserId(userId string) *PublicMailboxMemberBuilder
- type QueryUserPathReqBodyBuilder
- type QueryUserReq
- type QueryUserReqBody
- type QueryUserReqBodyBuilder
- type QueryUserReqBuilder
- type QueryUserResp
- type QueryUserRespData
- type Rule
- type RuleAction
- type RuleActionBuilder
- type RuleActionItem
- type RuleActionItemBuilder
- type RuleBuilder
- func (builder *RuleBuilder) Action(action *RuleAction) *RuleBuilder
- func (builder *RuleBuilder) Build() *Rule
- func (builder *RuleBuilder) Condition(condition *RuleCondition) *RuleBuilder
- func (builder *RuleBuilder) Id(id string) *RuleBuilder
- func (builder *RuleBuilder) IgnoreTheRestOfRules(ignoreTheRestOfRules bool) *RuleBuilder
- func (builder *RuleBuilder) IsEnable(isEnable bool) *RuleBuilder
- func (builder *RuleBuilder) Name(name string) *RuleBuilder
- type RuleCondition
- type RuleConditionBuilder
- type RuleConditionItem
- type RuleConditionItemBuilder
- func (builder *RuleConditionItemBuilder) Build() *RuleConditionItem
- func (builder *RuleConditionItemBuilder) Input(input string) *RuleConditionItemBuilder
- func (builder *RuleConditionItemBuilder) Operator(operator int) *RuleConditionItemBuilder
- func (builder *RuleConditionItemBuilder) Type(type_ int) *RuleConditionItemBuilder
- type Subscriber
- type SubscriberBuilder
- type UpdateMailgroupReq
- type UpdateMailgroupReqBuilder
- type UpdateMailgroupResp
- type UpdateMailgroupRespData
- type UpdatePublicMailboxReq
- type UpdatePublicMailboxReqBuilder
- func (builder *UpdatePublicMailboxReqBuilder) Build() *UpdatePublicMailboxReq
- func (builder *UpdatePublicMailboxReqBuilder) PublicMailbox(publicMailbox *PublicMailbox) *UpdatePublicMailboxReqBuilder
- func (builder *UpdatePublicMailboxReqBuilder) PublicMailboxId(publicMailboxId string) *UpdatePublicMailboxReqBuilder
- type UpdatePublicMailboxResp
- type UpdatePublicMailboxRespData
- type User
- type UserBuilder
- type UserId
- type UserIdBuilder
Constants ¶
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 )
const ( UserIdTypeUserId = "user_id" // 以user_id来识别用户 UserIdTypeUnionId = "union_id" // 以union_id来识别用户 UserIdTypeOpenId = "open_id" // 以open_id来识别用户 )
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 )
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 )
const ( UserIdTypeBatchCreateMailgroupManagerUserId = "user_id" // 以user_id来识别用户 UserIdTypeBatchCreateMailgroupManagerUnionId = "union_id" // 以union_id来识别用户 UserIdTypeBatchCreateMailgroupManagerOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeBatchDeleteMailgroupManagerUserId = "user_id" // 以user_id来识别用户 UserIdTypeBatchDeleteMailgroupManagerUnionId = "union_id" // 以union_id来识别用户 UserIdTypeBatchDeleteMailgroupManagerOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeListMailgroupManagerUserId = "user_id" // 以user_id来识别用户 UserIdTypeListMailgroupManagerUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListMailgroupManagerOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeBatchCreateMailgroupMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeBatchCreateMailgroupMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeBatchCreateMailgroupMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
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 )
const ( UserIdTypeCreateMailgroupMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeCreateMailgroupMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeCreateMailgroupMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeCreateMailgroupMemberDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeCreateMailgroupMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeGetMailgroupMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeGetMailgroupMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeGetMailgroupMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeGetMailgroupMemberDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeGetMailgroupMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeListMailgroupMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeListMailgroupMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListMailgroupMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeListMailgroupMemberDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeListMailgroupMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeBatchCreateMailgroupPermissionMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeBatchCreateMailgroupPermissionMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeBatchCreateMailgroupPermissionMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeBatchCreateMailgroupPermissionMemberDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeBatchCreateMailgroupPermissionMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
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 )
const ( UserIdTypeCreateMailgroupPermissionMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeCreateMailgroupPermissionMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeCreateMailgroupPermissionMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeCreateMailgroupPermissionMemberDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeCreateMailgroupPermissionMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeGetMailgroupPermissionMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeGetMailgroupPermissionMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeGetMailgroupPermissionMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeGetMailgroupPermissionMemberDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeGetMailgroupPermissionMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeListMailgroupPermissionMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeListMailgroupPermissionMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListMailgroupPermissionMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( DepartmentIdTypeListMailgroupPermissionMemberDepartmentId = "department_id" // 以自定义department_id来标识部门 DepartmentIdTypeListMailgroupPermissionMemberOpenDepartmentId = "open_department_id" // 以open_department_id来标识部门 )
const ( UserIdTypeListPublicMailboxUserId = "user_id" // 以user_id来识别用户 UserIdTypeListPublicMailboxUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListPublicMailboxOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeBatchCreatePublicMailboxMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeBatchCreatePublicMailboxMemberUnionId = "union_id" // 以user_id来识别用户 UserIdTypeBatchCreatePublicMailboxMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeCreatePublicMailboxMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeCreatePublicMailboxMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeCreatePublicMailboxMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeGetPublicMailboxMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeGetPublicMailboxMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeGetPublicMailboxMemberOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeListPublicMailboxMemberUserId = "user_id" // 以user_id来识别用户 UserIdTypeListPublicMailboxMemberUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListPublicMailboxMemberOpenId = "open_id" // 以open_id来识别用户 )
const (
TypeCreatePublicMailboxMemberUSER = "USER" // internal user in the team
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶ added in v3.0.30
type AttachmentBuilder ¶ added in v3.0.30
type AttachmentBuilder struct {
// contains filtered or unexported fields
}
func NewAttachmentBuilder ¶ added in v3.0.30
func NewAttachmentBuilder() *AttachmentBuilder
func (*AttachmentBuilder) Body ¶ added in v3.0.30
func (builder *AttachmentBuilder) Body(body string) *AttachmentBuilder
附件的正文,使用 base64url 编码(支持的文件最大 37MB)
示例值:aGVsbG8gd29ybGQK
func (*AttachmentBuilder) Build ¶ added in v3.0.30
func (builder *AttachmentBuilder) Build() *Attachment
func (*AttachmentBuilder) Filename ¶ added in v3.0.30
func (builder *AttachmentBuilder) Filename(filename string) *AttachmentBuilder
附件文件名
示例值:helloworld.txt
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 (builder *BatchCreateMailgroupManagerPathReqBodyBuilder) Build() (*BatchCreateMailgroupManagerReqBody, error)
func (*BatchCreateMailgroupManagerPathReqBodyBuilder) MailgroupManagerList ¶ added in v3.0.24
func (builder *BatchCreateMailgroupManagerPathReqBodyBuilder) MailgroupManagerList(mailgroupManagerList []*MailgroupManager) *BatchCreateMailgroupManagerPathReqBodyBuilder
邮件组管理员列表
示例值:
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 (builder *BatchCreateMailgroupManagerReqBodyBuilder) Build() *BatchCreateMailgroupManagerReqBody
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 (builder *BatchCreateMailgroupManagerReqBuilder) Body(body *BatchCreateMailgroupManagerReqBody) *BatchCreateMailgroupManagerReqBuilder
批量创建邮件组管理员
func (*BatchCreateMailgroupManagerReqBuilder) Build ¶ added in v3.0.24
func (builder *BatchCreateMailgroupManagerReqBuilder) Build() *BatchCreateMailgroupManagerReq
func (*BatchCreateMailgroupManagerReqBuilder) MailgroupId ¶ added in v3.0.24
func (builder *BatchCreateMailgroupManagerReqBuilder) MailgroupId(mailgroupId string) *BatchCreateMailgroupManagerReqBuilder
邮件组ID或邮箱地址
示例值:xxxxxx 或 test_mail_group@xx.xx
func (*BatchCreateMailgroupManagerReqBuilder) UserIdType ¶ added in v3.0.24
func (builder *BatchCreateMailgroupManagerReqBuilder) UserIdType(userIdType string) *BatchCreateMailgroupManagerReqBuilder
此次调用中使用的用户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 (builder *BatchCreateMailgroupMemberPathReqBodyBuilder) Build() (*BatchCreateMailgroupMemberReqBody, error)
func (*BatchCreateMailgroupMemberPathReqBodyBuilder) Items ¶ added in v3.0.15
func (builder *BatchCreateMailgroupMemberPathReqBodyBuilder) Items(items []*MailgroupMember) *BatchCreateMailgroupMemberPathReqBodyBuilder
本次添加的邮件组成员列表
示例值:
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 (builder *BatchCreateMailgroupMemberReqBodyBuilder) Build() *BatchCreateMailgroupMemberReqBody
func (*BatchCreateMailgroupMemberReqBodyBuilder) Items ¶ added in v3.0.15
func (builder *BatchCreateMailgroupMemberReqBodyBuilder) Items(items []*MailgroupMember) *BatchCreateMailgroupMemberReqBodyBuilder
本次添加的邮件组成员列表
示例值:
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 (builder *BatchCreateMailgroupMemberReqBuilder) Body(body *BatchCreateMailgroupMemberReqBody) *BatchCreateMailgroupMemberReqBuilder
func (*BatchCreateMailgroupMemberReqBuilder) Build ¶ added in v3.0.15
func (builder *BatchCreateMailgroupMemberReqBuilder) Build() *BatchCreateMailgroupMemberReq
func (*BatchCreateMailgroupMemberReqBuilder) DepartmentIdType ¶ added in v3.0.15
func (builder *BatchCreateMailgroupMemberReqBuilder) DepartmentIdType(departmentIdType string) *BatchCreateMailgroupMemberReqBuilder
此次调用中使用的部门ID的类型
示例值:
func (*BatchCreateMailgroupMemberReqBuilder) MailgroupId ¶ added in v3.0.15
func (builder *BatchCreateMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *BatchCreateMailgroupMemberReqBuilder
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
func (builder *BatchCreateMailgroupMemberReqBuilder) UserIdType(userIdType string) *BatchCreateMailgroupMemberReqBuilder
此次调用中使用的用户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 (builder *BatchCreateMailgroupPermissionMemberPathReqBodyBuilder) Build() (*BatchCreateMailgroupPermissionMemberReqBody, error)
func (*BatchCreateMailgroupPermissionMemberPathReqBodyBuilder) Items ¶ added in v3.0.15
func (builder *BatchCreateMailgroupPermissionMemberPathReqBodyBuilder) Items(items []*MailgroupPermissionMember) *BatchCreateMailgroupPermissionMemberPathReqBodyBuilder
本次添加的邮件组权限成员列表
示例值:
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 (builder *BatchCreateMailgroupPermissionMemberReqBodyBuilder) Build() *BatchCreateMailgroupPermissionMemberReqBody
func (*BatchCreateMailgroupPermissionMemberReqBodyBuilder) Items ¶ added in v3.0.15
func (builder *BatchCreateMailgroupPermissionMemberReqBodyBuilder) Items(items []*MailgroupPermissionMember) *BatchCreateMailgroupPermissionMemberReqBodyBuilder
本次添加的邮件组权限成员列表
示例值:
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) Build ¶ added in v3.0.15
func (builder *BatchCreateMailgroupPermissionMemberReqBuilder) Build() *BatchCreateMailgroupPermissionMemberReq
func (*BatchCreateMailgroupPermissionMemberReqBuilder) DepartmentIdType ¶ added in v3.0.15
func (builder *BatchCreateMailgroupPermissionMemberReqBuilder) DepartmentIdType(departmentIdType string) *BatchCreateMailgroupPermissionMemberReqBuilder
此次调用中使用的部门ID的类型
示例值:open_department_id
func (*BatchCreateMailgroupPermissionMemberReqBuilder) MailgroupId ¶ added in v3.0.15
func (builder *BatchCreateMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *BatchCreateMailgroupPermissionMemberReqBuilder
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
func (builder *BatchCreateMailgroupPermissionMemberReqBuilder) UserIdType(userIdType string) *BatchCreateMailgroupPermissionMemberReqBuilder
此次调用中使用的用户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
func (resp *BatchCreateMailgroupPermissionMemberResp) Success() bool
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 (builder *BatchCreatePublicMailboxMemberPathReqBodyBuilder) Build() (*BatchCreatePublicMailboxMemberReqBody, error)
func (*BatchCreatePublicMailboxMemberPathReqBodyBuilder) Items ¶ added in v3.0.15
func (builder *BatchCreatePublicMailboxMemberPathReqBodyBuilder) Items(items []*PublicMailboxMember) *BatchCreatePublicMailboxMemberPathReqBodyBuilder
本次调用添加的公共邮箱成员列表
示例值:
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 (builder *BatchCreatePublicMailboxMemberReqBodyBuilder) Build() *BatchCreatePublicMailboxMemberReqBody
func (*BatchCreatePublicMailboxMemberReqBodyBuilder) Items ¶ added in v3.0.15
func (builder *BatchCreatePublicMailboxMemberReqBodyBuilder) Items(items []*PublicMailboxMember) *BatchCreatePublicMailboxMemberReqBodyBuilder
本次调用添加的公共邮箱成员列表
示例值:
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 (builder *BatchCreatePublicMailboxMemberReqBuilder) Body(body *BatchCreatePublicMailboxMemberReqBody) *BatchCreatePublicMailboxMemberReqBuilder
func (*BatchCreatePublicMailboxMemberReqBuilder) Build ¶ added in v3.0.15
func (builder *BatchCreatePublicMailboxMemberReqBuilder) Build() *BatchCreatePublicMailboxMemberReq
func (*BatchCreatePublicMailboxMemberReqBuilder) PublicMailboxId ¶ added in v3.0.15
func (builder *BatchCreatePublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *BatchCreatePublicMailboxMemberReqBuilder
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
func (builder *BatchCreatePublicMailboxMemberReqBuilder) UserIdType(userIdType string) *BatchCreatePublicMailboxMemberReqBuilder
此次调用中使用的用户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 (builder *BatchDeleteMailgroupManagerPathReqBodyBuilder) Build() (*BatchDeleteMailgroupManagerReqBody, error)
func (*BatchDeleteMailgroupManagerPathReqBodyBuilder) MailgroupManagerList ¶ added in v3.0.24
func (builder *BatchDeleteMailgroupManagerPathReqBodyBuilder) MailgroupManagerList(mailgroupManagerList []*MailgroupManager) *BatchDeleteMailgroupManagerPathReqBodyBuilder
邮件组管理员列表
示例值:
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 (builder *BatchDeleteMailgroupManagerReqBodyBuilder) Build() *BatchDeleteMailgroupManagerReqBody
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 (builder *BatchDeleteMailgroupManagerReqBuilder) Body(body *BatchDeleteMailgroupManagerReqBody) *BatchDeleteMailgroupManagerReqBuilder
批量删除邮件组管理员
func (*BatchDeleteMailgroupManagerReqBuilder) Build ¶ added in v3.0.24
func (builder *BatchDeleteMailgroupManagerReqBuilder) Build() *BatchDeleteMailgroupManagerReq
func (*BatchDeleteMailgroupManagerReqBuilder) MailgroupId ¶ added in v3.0.24
func (builder *BatchDeleteMailgroupManagerReqBuilder) MailgroupId(mailgroupId string) *BatchDeleteMailgroupManagerReqBuilder
邮件组ID或者邮件组地址
示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx
func (*BatchDeleteMailgroupManagerReqBuilder) UserIdType ¶ added in v3.0.24
func (builder *BatchDeleteMailgroupManagerReqBuilder) UserIdType(userIdType string) *BatchDeleteMailgroupManagerReqBuilder
此次调用中使用的用户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 (builder *BatchDeleteMailgroupMemberPathReqBodyBuilder) Build() (*BatchDeleteMailgroupMemberReqBody, error)
func (*BatchDeleteMailgroupMemberPathReqBodyBuilder) MemberIdList ¶ added in v3.0.15
func (builder *BatchDeleteMailgroupMemberPathReqBodyBuilder) MemberIdList(memberIdList []string) *BatchDeleteMailgroupMemberPathReqBodyBuilder
本次调用删除的成员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 (builder *BatchDeleteMailgroupMemberReqBodyBuilder) Build() *BatchDeleteMailgroupMemberReqBody
func (*BatchDeleteMailgroupMemberReqBodyBuilder) MemberIdList ¶ added in v3.0.15
func (builder *BatchDeleteMailgroupMemberReqBodyBuilder) MemberIdList(memberIdList []string) *BatchDeleteMailgroupMemberReqBodyBuilder
本次调用删除的成员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 (builder *BatchDeleteMailgroupMemberReqBuilder) Body(body *BatchDeleteMailgroupMemberReqBody) *BatchDeleteMailgroupMemberReqBuilder
func (*BatchDeleteMailgroupMemberReqBuilder) Build ¶ added in v3.0.15
func (builder *BatchDeleteMailgroupMemberReqBuilder) Build() *BatchDeleteMailgroupMemberReq
func (*BatchDeleteMailgroupMemberReqBuilder) MailgroupId ¶ added in v3.0.15
func (builder *BatchDeleteMailgroupMemberReqBuilder) MailgroupId(mailgroupId string) *BatchDeleteMailgroupMemberReqBuilder
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 (builder *BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder) Build() (*BatchDeleteMailgroupPermissionMemberReqBody, error)
func (*BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder) PermissionMemberIdList ¶ added in v3.0.15
func (builder *BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder) PermissionMemberIdList(permissionMemberIdList []string) *BatchDeleteMailgroupPermissionMemberPathReqBodyBuilder
本次调用删除的权限成员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 (builder *BatchDeleteMailgroupPermissionMemberReqBodyBuilder) Build() *BatchDeleteMailgroupPermissionMemberReqBody
func (*BatchDeleteMailgroupPermissionMemberReqBodyBuilder) PermissionMemberIdList ¶ added in v3.0.15
func (builder *BatchDeleteMailgroupPermissionMemberReqBodyBuilder) PermissionMemberIdList(permissionMemberIdList []string) *BatchDeleteMailgroupPermissionMemberReqBodyBuilder
本次调用删除的权限成员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) Build ¶ added in v3.0.15
func (builder *BatchDeleteMailgroupPermissionMemberReqBuilder) Build() *BatchDeleteMailgroupPermissionMemberReq
func (*BatchDeleteMailgroupPermissionMemberReqBuilder) MailgroupId ¶ added in v3.0.15
func (builder *BatchDeleteMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *BatchDeleteMailgroupPermissionMemberReqBuilder
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
func (resp *BatchDeleteMailgroupPermissionMemberResp) Success() bool
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 (builder *BatchDeletePublicMailboxMemberPathReqBodyBuilder) Build() (*BatchDeletePublicMailboxMemberReqBody, error)
func (*BatchDeletePublicMailboxMemberPathReqBodyBuilder) MemberIdList ¶ added in v3.0.15
func (builder *BatchDeletePublicMailboxMemberPathReqBodyBuilder) MemberIdList(memberIdList []string) *BatchDeletePublicMailboxMemberPathReqBodyBuilder
本次调用删除的公共邮箱成员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 (builder *BatchDeletePublicMailboxMemberReqBodyBuilder) Build() *BatchDeletePublicMailboxMemberReqBody
func (*BatchDeletePublicMailboxMemberReqBodyBuilder) MemberIdList ¶ added in v3.0.15
func (builder *BatchDeletePublicMailboxMemberReqBodyBuilder) MemberIdList(memberIdList []string) *BatchDeletePublicMailboxMemberReqBodyBuilder
本次调用删除的公共邮箱成员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 (builder *BatchDeletePublicMailboxMemberReqBuilder) Body(body *BatchDeletePublicMailboxMemberReqBody) *BatchDeletePublicMailboxMemberReqBuilder
func (*BatchDeletePublicMailboxMemberReqBuilder) Build ¶ added in v3.0.15
func (builder *BatchDeletePublicMailboxMemberReqBuilder) Build() *BatchDeletePublicMailboxMemberReq
func (*BatchDeletePublicMailboxMemberReqBuilder) PublicMailboxId ¶ added in v3.0.15
func (builder *BatchDeletePublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *BatchDeletePublicMailboxMemberReqBuilder
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 (builder *ClearPublicMailboxMemberReqBuilder) Build() *ClearPublicMailboxMemberReq
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 (builder *CreateMailgroupAliasReqBuilder) Build() *CreateMailgroupAliasReq
func (*CreateMailgroupAliasReqBuilder) EmailAlias ¶
func (builder *CreateMailgroupAliasReqBuilder) EmailAlias(emailAlias *EmailAlias) *CreateMailgroupAliasReqBuilder
创建邮件组别名
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 (builder *CreateMailgroupMemberReqBuilder) Build() *CreateMailgroupMemberReq
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 ¶
func (builder *CreateMailgroupMemberReqBuilder) UserIdType(userIdType string) *CreateMailgroupMemberReqBuilder
此次调用中使用的用户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 (builder *CreateMailgroupPermissionMemberReqBuilder) Build() *CreateMailgroupPermissionMemberReq
func (*CreateMailgroupPermissionMemberReqBuilder) DepartmentIdType ¶
func (builder *CreateMailgroupPermissionMemberReqBuilder) DepartmentIdType(departmentIdType string) *CreateMailgroupPermissionMemberReqBuilder
此次调用中使用的部门ID的类型
示例值:xxx
func (*CreateMailgroupPermissionMemberReqBuilder) MailgroupId ¶
func (builder *CreateMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *CreateMailgroupPermissionMemberReqBuilder
邮件组ID或者邮件组地址
示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx
func (*CreateMailgroupPermissionMemberReqBuilder) MailgroupPermissionMember ¶
func (builder *CreateMailgroupPermissionMemberReqBuilder) MailgroupPermissionMember(mailgroupPermissionMember *MailgroupPermissionMember) *CreateMailgroupPermissionMemberReqBuilder
向邮件组添加单个自定义权限成员,添加后该成员可发送邮件到该邮件组
func (*CreateMailgroupPermissionMemberReqBuilder) UserIdType ¶
func (builder *CreateMailgroupPermissionMemberReqBuilder) UserIdType(userIdType string) *CreateMailgroupPermissionMemberReqBuilder
此次调用中使用的用户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 (builder *CreateMailgroupReqBuilder) Build() *CreateMailgroupReq
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 (builder *CreatePublicMailboxAliasReqBuilder) Build() *CreatePublicMailboxAliasReq
func (*CreatePublicMailboxAliasReqBuilder) EmailAlias ¶
func (builder *CreatePublicMailboxAliasReqBuilder) EmailAlias(emailAlias *EmailAlias) *CreatePublicMailboxAliasReqBuilder
创建公共邮箱别名
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 (builder *CreatePublicMailboxMemberReqBuilder) Build() *CreatePublicMailboxMemberReq
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 ¶
func (builder *CreatePublicMailboxMemberReqBuilder) UserIdType(userIdType string) *CreatePublicMailboxMemberReqBuilder
此次调用中使用的用户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 (builder *CreatePublicMailboxReqBuilder) Build() *CreatePublicMailboxReq
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 Geo *string `json:"geo,omitempty"` // 数据驻留地 }
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 (builder *CreateUserMailboxAliasReqBuilder) Build() *CreateUserMailboxAliasReq
func (*CreateUserMailboxAliasReqBuilder) EmailAlias ¶
func (builder *CreateUserMailboxAliasReqBuilder) EmailAlias(emailAlias *EmailAlias) *CreateUserMailboxAliasReqBuilder
创建用户邮箱别名
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 ¶
func (builder *DeleteMailgroupAliasReqBuilder) AliasId(aliasId string) *DeleteMailgroupAliasReqBuilder
邮件组别名邮箱地址
示例值:xxx@xx.xxx
func (*DeleteMailgroupAliasReqBuilder) Build ¶
func (builder *DeleteMailgroupAliasReqBuilder) Build() *DeleteMailgroupAliasReq
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 (builder *DeleteMailgroupMemberReqBuilder) Build() *DeleteMailgroupMemberReq
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 ¶
func (builder *DeleteMailgroupMemberReqBuilder) MemberId(memberId string) *DeleteMailgroupMemberReqBuilder
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 (builder *DeleteMailgroupPermissionMemberReqBuilder) Build() *DeleteMailgroupPermissionMemberReq
func (*DeleteMailgroupPermissionMemberReqBuilder) MailgroupId ¶
func (builder *DeleteMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *DeleteMailgroupPermissionMemberReqBuilder
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 (builder *DeleteMailgroupReqBuilder) Build() *DeleteMailgroupReq
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 ¶
func (builder *DeletePublicMailboxAliasReqBuilder) AliasId(aliasId string) *DeletePublicMailboxAliasReqBuilder
公共邮箱别名
示例值:xxx@xx.xxx
func (*DeletePublicMailboxAliasReqBuilder) Build ¶
func (builder *DeletePublicMailboxAliasReqBuilder) Build() *DeletePublicMailboxAliasReq
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 (builder *DeletePublicMailboxMemberReqBuilder) Build() *DeletePublicMailboxMemberReq
func (*DeletePublicMailboxMemberReqBuilder) MemberId ¶
func (builder *DeletePublicMailboxMemberReqBuilder) MemberId(memberId string) *DeletePublicMailboxMemberReqBuilder
公共邮箱内成员唯一标识
示例值: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 (builder *DeletePublicMailboxReqBuilder) Build() *DeletePublicMailboxReq
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 ¶
func (builder *DeleteUserMailboxAliasReqBuilder) AliasId(aliasId string) *DeleteUserMailboxAliasReqBuilder
别名邮箱地址
示例值:user_alias@xxx.xx
func (*DeleteUserMailboxAliasReqBuilder) Build ¶
func (builder *DeleteUserMailboxAliasReqBuilder) Build() *DeleteUserMailboxAliasReq
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 (builder *DeleteUserMailboxReqBuilder) Build() *DeleteUserMailboxReq
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 DepartmentId ¶ added in v3.0.29
type DepartmentIdBuilder ¶ added in v3.0.29
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶ added in v3.0.29
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type EmailAlias ¶
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 FolderBuilder ¶ added in v3.0.30
type FolderBuilder struct {
// contains filtered or unexported fields
}
func NewFolderBuilder ¶ added in v3.0.30
func NewFolderBuilder() *FolderBuilder
func (*FolderBuilder) Build ¶ added in v3.0.30
func (builder *FolderBuilder) Build() *Folder
func (*FolderBuilder) FolderType ¶ added in v3.0.30
func (builder *FolderBuilder) FolderType(folderType int) *FolderBuilder
文件夹类型
示例值:1
func (*FolderBuilder) Id ¶ added in v3.0.30
func (builder *FolderBuilder) Id(id string) *FolderBuilder
folder id
示例值:12314123123123123
func (*FolderBuilder) Name ¶ added in v3.0.30
func (builder *FolderBuilder) Name(name string) *FolderBuilder
文件夹名称
示例值:newsletter 相关
func (*FolderBuilder) ParentFolderId ¶ added in v3.0.30
func (builder *FolderBuilder) ParentFolderId(parentFolderId string) *FolderBuilder
父文件夹 id,该值为 0 表示根文件夹
示例值:725627422334644
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 (builder *GetMailgroupMemberReqBuilder) Build() *GetMailgroupMemberReq
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 ¶
func (builder *GetMailgroupMemberReqBuilder) MemberId(memberId string) *GetMailgroupMemberReqBuilder
邮件组内成员唯一标识
示例值: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 (builder *GetMailgroupPermissionMemberReqBuilder) Build() *GetMailgroupPermissionMemberReq
func (*GetMailgroupPermissionMemberReqBuilder) DepartmentIdType ¶
func (builder *GetMailgroupPermissionMemberReqBuilder) DepartmentIdType(departmentIdType string) *GetMailgroupPermissionMemberReqBuilder
此次调用中使用的部门ID的类型
示例值:open_department_id
func (*GetMailgroupPermissionMemberReqBuilder) MailgroupId ¶
func (builder *GetMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *GetMailgroupPermissionMemberReqBuilder
邮件组ID或者邮件组地址
示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx
func (*GetMailgroupPermissionMemberReqBuilder) PermissionMemberId ¶
func (builder *GetMailgroupPermissionMemberReqBuilder) PermissionMemberId(permissionMemberId string) *GetMailgroupPermissionMemberReqBuilder
权限组内成员唯一标识
示例值:xxxxxxxxxxxxxxx
func (*GetMailgroupPermissionMemberReqBuilder) UserIdType ¶
func (builder *GetMailgroupPermissionMemberReqBuilder) UserIdType(userIdType string) *GetMailgroupPermissionMemberReqBuilder
此次调用中使用的用户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 (builder *GetPublicMailboxMemberReqBuilder) Build() *GetPublicMailboxMemberReq
func (*GetPublicMailboxMemberReqBuilder) MemberId ¶
func (builder *GetPublicMailboxMemberReqBuilder) MemberId(memberId string) *GetPublicMailboxMemberReqBuilder
公共邮箱内成员唯一标识
示例值:xxxxxxxxxxxxxxx
func (*GetPublicMailboxMemberReqBuilder) PublicMailboxId ¶
func (builder *GetPublicMailboxMemberReqBuilder) PublicMailboxId(publicMailboxId string) *GetPublicMailboxMemberReqBuilder
公共邮箱唯一标识或公共邮箱地址
示例值:xxxxxxxxxxxxxxx 或 test_public_mailbox@xxx.xx
func (*GetPublicMailboxMemberReqBuilder) UserIdType ¶
func (builder *GetPublicMailboxMemberReqBuilder) UserIdType(userIdType string) *GetPublicMailboxMemberReqBuilder
此次调用中使用的用户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 (builder *GetPublicMailboxReqBuilder) Build() *GetPublicMailboxReq
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 Geo *string `json:"geo,omitempty"` // 数据驻留地 }
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 (builder *ListMailgroupAliasReqBuilder) Build() *ListMailgroupAliasReq
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 (iterator *ListMailgroupManagerIterator) Next() (bool, *MailgroupManager, error)
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 (builder *ListMailgroupManagerReqBuilder) Build() *ListMailgroupManagerReq
func (*ListMailgroupManagerReqBuilder) Limit ¶ added in v3.0.24
func (builder *ListMailgroupManagerReqBuilder) Limit(limit int) *ListMailgroupManagerReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
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
func (builder *ListMailgroupManagerReqBuilder) PageSize(pageSize int) *ListMailgroupManagerReqBuilder
分页大小
示例值:20
func (*ListMailgroupManagerReqBuilder) PageToken ¶ added in v3.0.24
func (builder *ListMailgroupManagerReqBuilder) PageToken(pageToken string) *ListMailgroupManagerReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 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 (builder *ListMailgroupMemberReqBuilder) Build() *ListMailgroupMemberReq
func (*ListMailgroupMemberReqBuilder) DepartmentIdType ¶
func (builder *ListMailgroupMemberReqBuilder) DepartmentIdType(departmentIdType string) *ListMailgroupMemberReqBuilder
此次调用中使用的部门ID的类型
示例值:open_department_id
func (*ListMailgroupMemberReqBuilder) Limit ¶
func (builder *ListMailgroupMemberReqBuilder) Limit(limit int) *ListMailgroupMemberReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
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 ¶
func (builder *ListMailgroupMemberReqBuilder) PageSize(pageSize int) *ListMailgroupMemberReqBuilder
分页大小
示例值:10
func (*ListMailgroupMemberReqBuilder) PageToken ¶
func (builder *ListMailgroupMemberReqBuilder) PageToken(pageToken string) *ListMailgroupMemberReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 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 (iterator *ListMailgroupPermissionMemberIterator) Next() (bool, *MailgroupPermissionMember, error)
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 (builder *ListMailgroupPermissionMemberReqBuilder) Build() *ListMailgroupPermissionMemberReq
func (*ListMailgroupPermissionMemberReqBuilder) DepartmentIdType ¶
func (builder *ListMailgroupPermissionMemberReqBuilder) DepartmentIdType(departmentIdType string) *ListMailgroupPermissionMemberReqBuilder
此次调用中使用的部门ID的类型
示例值:open_department_id
func (*ListMailgroupPermissionMemberReqBuilder) Limit ¶
func (builder *ListMailgroupPermissionMemberReqBuilder) Limit(limit int) *ListMailgroupPermissionMemberReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListMailgroupPermissionMemberReqBuilder) MailgroupId ¶
func (builder *ListMailgroupPermissionMemberReqBuilder) MailgroupId(mailgroupId string) *ListMailgroupPermissionMemberReqBuilder
邮件组ID或者邮件组地址
示例值:xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx
func (*ListMailgroupPermissionMemberReqBuilder) PageSize ¶
func (builder *ListMailgroupPermissionMemberReqBuilder) PageSize(pageSize int) *ListMailgroupPermissionMemberReqBuilder
分页大小
示例值:10
func (*ListMailgroupPermissionMemberReqBuilder) PageToken ¶
func (builder *ListMailgroupPermissionMemberReqBuilder) PageToken(pageToken string) *ListMailgroupPermissionMemberReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该page_token 获取查询结果
示例值:xxx
func (*ListMailgroupPermissionMemberReqBuilder) UserIdType ¶
func (builder *ListMailgroupPermissionMemberReqBuilder) UserIdType(userIdType string) *ListMailgroupPermissionMemberReqBuilder
此次调用中使用的用户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 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 (builder *ListPublicMailboxAliasReqBuilder) Build() *ListPublicMailboxAliasReq
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 (iterator *ListPublicMailboxMemberIterator) Next() (bool, *PublicMailboxMember, error)
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 (builder *ListPublicMailboxMemberReqBuilder) Build() *ListPublicMailboxMemberReq
func (*ListPublicMailboxMemberReqBuilder) Limit ¶
func (builder *ListPublicMailboxMemberReqBuilder) Limit(limit int) *ListPublicMailboxMemberReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListPublicMailboxMemberReqBuilder) PageSize ¶
func (builder *ListPublicMailboxMemberReqBuilder) PageSize(pageSize int) *ListPublicMailboxMemberReqBuilder
分页大小
示例值:10
func (*ListPublicMailboxMemberReqBuilder) PageToken ¶
func (builder *ListPublicMailboxMemberReqBuilder) PageToken(pageToken string) *ListPublicMailboxMemberReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 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 ¶
func (builder *ListPublicMailboxMemberReqBuilder) UserIdType(userIdType string) *ListPublicMailboxMemberReqBuilder
此次调用中使用的用户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 (builder *ListPublicMailboxReqBuilder) Build() *ListPublicMailboxReq
func (*ListPublicMailboxReqBuilder) Limit ¶
func (builder *ListPublicMailboxReqBuilder) Limit(limit int) *ListPublicMailboxReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
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
func (*ListPublicMailboxReqBuilder) UserId ¶ added in v3.0.30
func (builder *ListPublicMailboxReqBuilder) UserId(userId string) *ListPublicMailboxReqBuilder
user_id
示例值:
func (*ListPublicMailboxReqBuilder) UserIdType ¶ added in v3.0.30
func (builder *ListPublicMailboxReqBuilder) UserIdType(userIdType string) *ListPublicMailboxReqBuilder
此次调用中使用的用户ID的类型
示例值:
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 (builder *ListUserMailboxAliasReqBuilder) Build() *ListUserMailboxAliasReq
func (*ListUserMailboxAliasReqBuilder) PageSize ¶
func (builder *ListUserMailboxAliasReqBuilder) PageSize(pageSize int) *ListUserMailboxAliasReqBuilder
分页大小
示例值:10
func (*ListUserMailboxAliasReqBuilder) PageToken ¶
func (builder *ListUserMailboxAliasReqBuilder) PageToken(pageToken string) *ListUserMailboxAliasReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 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 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 MailContact ¶ added in v3.0.29
type MailContact struct { Id *string `json:"id,omitempty"` // 联系人 id Name *string `json:"name,omitempty"` // 联系人姓名 Company *string `json:"company,omitempty"` // 联系人公司 Phone *string `json:"phone,omitempty"` // 联系人手机号 MailAddress *string `json:"mail_address,omitempty"` // 联系人邮箱 Tag *string `json:"tag,omitempty"` // 联系人标签 Remark *string `json:"remark,omitempty"` // 联系人备注 Avatar *string `json:"avatar,omitempty"` // 联系人头像 Position *string `json:"position,omitempty"` // 联系人职位 }
type MailContactBuilder ¶ added in v3.0.29
type MailContactBuilder struct {
// contains filtered or unexported fields
}
func NewMailContactBuilder ¶ added in v3.0.29
func NewMailContactBuilder() *MailContactBuilder
func (*MailContactBuilder) Avatar ¶ added in v3.0.29
func (builder *MailContactBuilder) Avatar(avatar string) *MailContactBuilder
联系人头像
func (*MailContactBuilder) Build ¶ added in v3.0.29
func (builder *MailContactBuilder) Build() *MailContact
func (*MailContactBuilder) Company ¶ added in v3.0.29
func (builder *MailContactBuilder) Company(company string) *MailContactBuilder
联系人公司
示例值:张三科技有限公司
func (*MailContactBuilder) Id ¶ added in v3.0.29
func (builder *MailContactBuilder) Id(id string) *MailContactBuilder
联系人 id
示例值:7256274576546463764
func (*MailContactBuilder) MailAddress ¶ added in v3.0.29
func (builder *MailContactBuilder) MailAddress(mailAddress string) *MailContactBuilder
联系人邮箱
示例值:zhangsan@example.com
func (*MailContactBuilder) Name ¶ added in v3.0.29
func (builder *MailContactBuilder) Name(name string) *MailContactBuilder
联系人姓名
示例值:张三
func (*MailContactBuilder) Phone ¶ added in v3.0.29
func (builder *MailContactBuilder) Phone(phone string) *MailContactBuilder
联系人手机号
示例值:19912341234
func (*MailContactBuilder) Position ¶ added in v3.0.29
func (builder *MailContactBuilder) Position(position string) *MailContactBuilder
联系人职位
示例值:CFO
func (*MailContactBuilder) Remark ¶ added in v3.0.29
func (builder *MailContactBuilder) Remark(remark string) *MailContactBuilder
联系人备注
示例值:飞书发布会认识
func (*MailContactBuilder) Tag ¶ added in v3.0.29
func (builder *MailContactBuilder) Tag(tag string) *MailContactBuilder
联系人标签
示例值:朋友
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 ¶
func (builder *MailgroupMemberBuilder) Type(type_ string) *MailgroupMemberBuilder
成员类型
示例值: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 (builder *MailgroupPermissionMemberBuilder) Build() *MailgroupPermissionMember
func (*MailgroupPermissionMemberBuilder) DepartmentId ¶
func (builder *MailgroupPermissionMemberBuilder) DepartmentId(departmentId string) *MailgroupPermissionMemberBuilder
租户内部门的唯一标识(当成员类型是DEPARTMENT时有值)
示例值:xxxxxxxxxx
func (*MailgroupPermissionMemberBuilder) Email ¶ added in v3.0.3
func (builder *MailgroupPermissionMemberBuilder) Email(email string) *MailgroupPermissionMemberBuilder
成员邮箱地址(当成员类型是MAIL_GROUP/PUBLIC_MAILBOX时有值)
示例值:xxx@xx.x
func (*MailgroupPermissionMemberBuilder) PermissionMemberId ¶
func (builder *MailgroupPermissionMemberBuilder) PermissionMemberId(permissionMemberId string) *MailgroupPermissionMemberBuilder
权限组内成员唯一标识
示例值:xxxxxxxxxxxxxxx
func (*MailgroupPermissionMemberBuilder) Type ¶
func (builder *MailgroupPermissionMemberBuilder) Type(type_ string) *MailgroupPermissionMemberBuilder
成员类型
示例值:USER
func (*MailgroupPermissionMemberBuilder) UserId ¶
func (builder *MailgroupPermissionMemberBuilder) UserId(userId string) *MailgroupPermissionMemberBuilder
租户内用户的唯一标识(当成员类型是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) Attachments []*Attachment `json:"attachments,omitempty"` // 邮件附件列表 }
type MessageBuilder ¶
type MessageBuilder struct {
// contains filtered or unexported fields
}
func NewMessageBuilder ¶
func NewMessageBuilder() *MessageBuilder
func (*MessageBuilder) Attachments ¶ added in v3.0.30
func (builder *MessageBuilder) Attachments(attachments []*Attachment) *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 (builder *PatchPublicMailboxReqBuilder) Build() *PatchPublicMailboxReq
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 PublicMailbox ¶
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) Geo ¶ added in v3.0.30
func (builder *PublicMailboxBuilder) Geo(geo string) *PublicMailboxBuilder
数据驻留地
示例值:cn
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 PublicMailboxMemberBuilder ¶
type PublicMailboxMemberBuilder struct {
// contains filtered or unexported fields
}
func NewPublicMailboxMemberBuilder ¶
func NewPublicMailboxMemberBuilder() *PublicMailboxMemberBuilder
func (*PublicMailboxMemberBuilder) Build ¶
func (builder *PublicMailboxMemberBuilder) Build() *PublicMailboxMember
func (*PublicMailboxMemberBuilder) MemberId ¶
func (builder *PublicMailboxMemberBuilder) MemberId(memberId string) *PublicMailboxMemberBuilder
公共邮箱内成员唯一标识
示例值:xxxxxxxxxxxxxxx
func (*PublicMailboxMemberBuilder) Type ¶
func (builder *PublicMailboxMemberBuilder) Type(type_ string) *PublicMailboxMemberBuilder
成员类型
示例值:USER
func (*PublicMailboxMemberBuilder) UserId ¶
func (builder *PublicMailboxMemberBuilder) UserId(userId string) *PublicMailboxMemberBuilder
租户内用户的唯一标识(当成员类型是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 (builder *QueryUserReqBuilder) Body(body *QueryUserReqBody) *QueryUserReqBuilder
使用邮箱状态查询接口,可以输入邮箱地址,查询出该邮箱地址对应的类型以及状态
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 Rule ¶ added in v3.0.30
type Rule struct { Id *string `json:"id,omitempty"` // 规则 id Condition *RuleCondition `json:"condition,omitempty"` // 匹配条件 Action *RuleAction `json:"action,omitempty"` // 匹配命中后的操作 IgnoreTheRestOfRules *bool `json:"ignore_the_rest_of_rules,omitempty"` // 是否终点规则 Name *string `json:"name,omitempty"` // 规则名称 IsEnable *bool `json:"is_enable,omitempty"` // 是否启用 }
type RuleAction ¶ added in v3.0.30
type RuleAction struct {
Items []*RuleActionItem `json:"items,omitempty"` // 匹配中规则后的操作列表
}
type RuleActionBuilder ¶ added in v3.0.30
type RuleActionBuilder struct {
// contains filtered or unexported fields
}
func NewRuleActionBuilder ¶ added in v3.0.30
func NewRuleActionBuilder() *RuleActionBuilder
func (*RuleActionBuilder) Build ¶ added in v3.0.30
func (builder *RuleActionBuilder) Build() *RuleAction
func (*RuleActionBuilder) Items ¶ added in v3.0.30
func (builder *RuleActionBuilder) Items(items []*RuleActionItem) *RuleActionBuilder
匹配中规则后的操作列表
示例值:
type RuleActionItem ¶ added in v3.0.30
type RuleActionItemBuilder ¶ added in v3.0.30
type RuleActionItemBuilder struct {
// contains filtered or unexported fields
}
func NewRuleActionItemBuilder ¶ added in v3.0.30
func NewRuleActionItemBuilder() *RuleActionItemBuilder
func (*RuleActionItemBuilder) Build ¶ added in v3.0.30
func (builder *RuleActionItemBuilder) Build() *RuleActionItem
func (*RuleActionItemBuilder) Input ¶ added in v3.0.30
func (builder *RuleActionItemBuilder) Input(input string) *RuleActionItemBuilder
当 type 为移动到文件夹时,该字段填文件夹的 id
示例值:283412371233
func (*RuleActionItemBuilder) Type ¶ added in v3.0.30
func (builder *RuleActionItemBuilder) Type(type_ int) *RuleActionItemBuilder
操作类型
示例值:1
type RuleBuilder ¶ added in v3.0.30
type RuleBuilder struct {
// contains filtered or unexported fields
}
func NewRuleBuilder ¶ added in v3.0.30
func NewRuleBuilder() *RuleBuilder
func (*RuleBuilder) Action ¶ added in v3.0.30
func (builder *RuleBuilder) Action(action *RuleAction) *RuleBuilder
匹配命中后的操作
示例值:
func (*RuleBuilder) Build ¶ added in v3.0.30
func (builder *RuleBuilder) Build() *Rule
func (*RuleBuilder) Condition ¶ added in v3.0.30
func (builder *RuleBuilder) Condition(condition *RuleCondition) *RuleBuilder
匹配条件
示例值:
func (*RuleBuilder) Id ¶ added in v3.0.30
func (builder *RuleBuilder) Id(id string) *RuleBuilder
规则 id
示例值:123124123123
func (*RuleBuilder) IgnoreTheRestOfRules ¶ added in v3.0.30
func (builder *RuleBuilder) IgnoreTheRestOfRules(ignoreTheRestOfRules bool) *RuleBuilder
是否终点规则
示例值:false
func (*RuleBuilder) IsEnable ¶ added in v3.0.30
func (builder *RuleBuilder) IsEnable(isEnable bool) *RuleBuilder
是否启用
示例值:false
func (*RuleBuilder) Name ¶ added in v3.0.30
func (builder *RuleBuilder) Name(name string) *RuleBuilder
规则名称
示例值:将李三的邮件标记为垃圾邮件
type RuleCondition ¶ added in v3.0.30
type RuleCondition struct { MatchType *int `json:"match_type,omitempty"` // 匹配类型 Items []*RuleConditionItem `json:"items,omitempty"` // 匹配规则列表 }
type RuleConditionBuilder ¶ added in v3.0.30
type RuleConditionBuilder struct {
// contains filtered or unexported fields
}
func NewRuleConditionBuilder ¶ added in v3.0.30
func NewRuleConditionBuilder() *RuleConditionBuilder
func (*RuleConditionBuilder) Build ¶ added in v3.0.30
func (builder *RuleConditionBuilder) Build() *RuleCondition
func (*RuleConditionBuilder) Items ¶ added in v3.0.30
func (builder *RuleConditionBuilder) Items(items []*RuleConditionItem) *RuleConditionBuilder
匹配规则列表
示例值:
func (*RuleConditionBuilder) MatchType ¶ added in v3.0.30
func (builder *RuleConditionBuilder) MatchType(matchType int) *RuleConditionBuilder
匹配类型
示例值:1
type RuleConditionItem ¶ added in v3.0.30
type RuleConditionItemBuilder ¶ added in v3.0.30
type RuleConditionItemBuilder struct {
// contains filtered or unexported fields
}
func NewRuleConditionItemBuilder ¶ added in v3.0.30
func NewRuleConditionItemBuilder() *RuleConditionItemBuilder
func (*RuleConditionItemBuilder) Build ¶ added in v3.0.30
func (builder *RuleConditionItemBuilder) Build() *RuleConditionItem
func (*RuleConditionItemBuilder) Input ¶ added in v3.0.30
func (builder *RuleConditionItemBuilder) Input(input string) *RuleConditionItemBuilder
匹配条件右值
示例值:hello@world.com
func (*RuleConditionItemBuilder) Operator ¶ added in v3.0.30
func (builder *RuleConditionItemBuilder) Operator(operator int) *RuleConditionItemBuilder
匹配条件操作符
示例值:1
func (*RuleConditionItemBuilder) Type ¶ added in v3.0.30
func (builder *RuleConditionItemBuilder) Type(type_ int) *RuleConditionItemBuilder
匹配条件左值
示例值:1
type Subscriber ¶ added in v3.0.30
type Subscriber struct {
UserIds []*UserId `json:"user_ids,omitempty"` // 收到邮件的用户 id 列表
}
type SubscriberBuilder ¶ added in v3.0.30
type SubscriberBuilder struct {
// contains filtered or unexported fields
}
func NewSubscriberBuilder ¶ added in v3.0.30
func NewSubscriberBuilder() *SubscriberBuilder
func (*SubscriberBuilder) Build ¶ added in v3.0.30
func (builder *SubscriberBuilder) Build() *Subscriber
func (*SubscriberBuilder) UserIds ¶ added in v3.0.30
func (builder *SubscriberBuilder) UserIds(userIds []*UserId) *SubscriberBuilder
收到邮件的用户 id 列表
示例值:
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 (builder *UpdateMailgroupReqBuilder) Build() *UpdateMailgroupReq
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 (builder *UpdatePublicMailboxReqBuilder) Build() *UpdatePublicMailboxReq
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 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
type UserIdBuilder ¶ added in v3.0.30
type UserIdBuilder struct {
// contains filtered or unexported fields
}
func NewUserIdBuilder ¶ added in v3.0.30
func NewUserIdBuilder() *UserIdBuilder
func (*UserIdBuilder) Build ¶ added in v3.0.30
func (builder *UserIdBuilder) Build() *UserId
func (*UserIdBuilder) OpenId ¶ added in v3.0.30
func (builder *UserIdBuilder) OpenId(openId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UnionId ¶ added in v3.0.30
func (builder *UserIdBuilder) UnionId(unionId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UserId ¶ added in v3.0.30
func (builder *UserIdBuilder) UserId(userId string) *UserIdBuilder
示例值: