Documentation ¶
Index ¶
- Constants
- type ApplyMemberRequest
- type ApplyMemberRequestBuilder
- type AuthPermissionMemberReq
- type AuthPermissionMemberReqBuilder
- func (builder *AuthPermissionMemberReqBuilder) Action(action string) *AuthPermissionMemberReqBuilder
- func (builder *AuthPermissionMemberReqBuilder) Build() *AuthPermissionMemberReq
- func (builder *AuthPermissionMemberReqBuilder) Token(token string) *AuthPermissionMemberReqBuilder
- func (builder *AuthPermissionMemberReqBuilder) Type(type_ string) *AuthPermissionMemberReqBuilder
- type AuthPermissionMemberResp
- type AuthPermissionMemberRespData
- type BaseMember
- type BaseMemberBuilder
- func (builder *BaseMemberBuilder) Build() *BaseMember
- func (builder *BaseMemberBuilder) MemberId(memberId string) *BaseMemberBuilder
- func (builder *BaseMemberBuilder) MemberType(memberType string) *BaseMemberBuilder
- func (builder *BaseMemberBuilder) Perm(perm string) *BaseMemberBuilder
- func (builder *BaseMemberBuilder) PermType(permType string) *BaseMemberBuilder
- func (builder *BaseMemberBuilder) Type(type_ string) *BaseMemberBuilder
- type BatchCreatePermissionMemberPathReqBodyBuilder
- type BatchCreatePermissionMemberReq
- type BatchCreatePermissionMemberReqBody
- type BatchCreatePermissionMemberReqBodyBuilder
- type BatchCreatePermissionMemberReqBuilder
- func (builder *BatchCreatePermissionMemberReqBuilder) Body(body *BatchCreatePermissionMemberReqBody) *BatchCreatePermissionMemberReqBuilder
- func (builder *BatchCreatePermissionMemberReqBuilder) Build() *BatchCreatePermissionMemberReq
- func (builder *BatchCreatePermissionMemberReqBuilder) NeedNotification(needNotification bool) *BatchCreatePermissionMemberReqBuilder
- func (builder *BatchCreatePermissionMemberReqBuilder) Token(token string) *BatchCreatePermissionMemberReqBuilder
- func (builder *BatchCreatePermissionMemberReqBuilder) Type(type_ string) *BatchCreatePermissionMemberReqBuilder
- type BatchCreatePermissionMemberResp
- type BatchCreatePermissionMemberRespData
- type BatchGetTmpDownloadUrlMediaReq
- type BatchGetTmpDownloadUrlMediaReqBuilder
- func (builder *BatchGetTmpDownloadUrlMediaReqBuilder) Build() *BatchGetTmpDownloadUrlMediaReq
- func (builder *BatchGetTmpDownloadUrlMediaReqBuilder) Extra(extra string) *BatchGetTmpDownloadUrlMediaReqBuilder
- func (builder *BatchGetTmpDownloadUrlMediaReqBuilder) FileTokens(fileTokens []string) *BatchGetTmpDownloadUrlMediaReqBuilder
- type BatchGetTmpDownloadUrlMediaResp
- type BatchGetTmpDownloadUrlMediaRespData
- type BatchQueryFileCommentPathReqBodyBuilder
- type BatchQueryFileCommentReq
- type BatchQueryFileCommentReqBody
- type BatchQueryFileCommentReqBodyBuilder
- type BatchQueryFileCommentReqBuilder
- func (builder *BatchQueryFileCommentReqBuilder) Body(body *BatchQueryFileCommentReqBody) *BatchQueryFileCommentReqBuilder
- func (builder *BatchQueryFileCommentReqBuilder) Build() *BatchQueryFileCommentReq
- func (builder *BatchQueryFileCommentReqBuilder) FileToken(fileToken string) *BatchQueryFileCommentReqBuilder
- func (builder *BatchQueryFileCommentReqBuilder) FileType(fileType string) *BatchQueryFileCommentReqBuilder
- func (builder *BatchQueryFileCommentReqBuilder) UserIdType(userIdType string) *BatchQueryFileCommentReqBuilder
- type BatchQueryFileCommentResp
- type BatchQueryFileCommentRespData
- type BatchQueryMetaReq
- type BatchQueryMetaReqBuilder
- type BatchQueryMetaResp
- type BatchQueryMetaRespData
- type BitableTableFieldAction
- type BitableTableFieldActionBuilder
- func (builder *BitableTableFieldActionBuilder) Action(action string) *BitableTableFieldActionBuilder
- func (builder *BitableTableFieldActionBuilder) AfterValue(afterValue *BitableTableFieldActionValue) *BitableTableFieldActionBuilder
- func (builder *BitableTableFieldActionBuilder) BeforeValue(beforeValue *BitableTableFieldActionValue) *BitableTableFieldActionBuilder
- func (builder *BitableTableFieldActionBuilder) Build() *BitableTableFieldAction
- func (builder *BitableTableFieldActionBuilder) FieldId(fieldId string) *BitableTableFieldActionBuilder
- type BitableTableFieldActionValue
- type BitableTableFieldActionValueBuilder
- func (builder *BitableTableFieldActionValueBuilder) Build() *BitableTableFieldActionValue
- func (builder *BitableTableFieldActionValueBuilder) Description(description string) *BitableTableFieldActionValueBuilder
- func (builder *BitableTableFieldActionValueBuilder) Id(id string) *BitableTableFieldActionValueBuilder
- func (builder *BitableTableFieldActionValueBuilder) Name(name string) *BitableTableFieldActionValueBuilder
- func (builder *BitableTableFieldActionValueBuilder) Property(property *BitableTableFieldActionValueProperty) *BitableTableFieldActionValueBuilder
- func (builder *BitableTableFieldActionValueBuilder) Type(type_ int) *BitableTableFieldActionValueBuilder
- type BitableTableFieldActionValueProperty
- type BitableTableFieldActionValuePropertyAutoSerial
- type BitableTableFieldActionValuePropertyAutoSerialBuilder
- func (builder *BitableTableFieldActionValuePropertyAutoSerialBuilder) Build() *BitableTableFieldActionValuePropertyAutoSerial
- func (builder *BitableTableFieldActionValuePropertyAutoSerialBuilder) Options(options []*BitableTableFieldActionValuePropertyAutoSerialOptions) *BitableTableFieldActionValuePropertyAutoSerialBuilder
- func (builder *BitableTableFieldActionValuePropertyAutoSerialBuilder) Type(type_ string) *BitableTableFieldActionValuePropertyAutoSerialBuilder
- type BitableTableFieldActionValuePropertyAutoSerialOptions
- type BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder
- func (builder *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder) Build() *BitableTableFieldActionValuePropertyAutoSerialOptions
- func (builder *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder) Type(type_ string) *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder
- func (builder *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder) Value(value string) *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder
- type BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) AutoFill(autoFill bool) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) AutoSerial(autoSerial *BitableTableFieldActionValuePropertyAutoSerial) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) BackFieldId(backFieldId string) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) BackFieldName(backFieldName string) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) Build() *BitableTableFieldActionValueProperty
- func (builder *BitableTableFieldActionValuePropertyBuilder) DateFormatter(dateFormatter string) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) Formatter(formatter string) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) FormulaExpression(formulaExpression string) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) InputType(inputType string) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) Multiple(multiple bool) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) Options(options []*BitableTableFieldActionValuePropertyOption) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) TableId(tableId string) *BitableTableFieldActionValuePropertyBuilder
- func (builder *BitableTableFieldActionValuePropertyBuilder) TableName(tableName string) *BitableTableFieldActionValuePropertyBuilder
- type BitableTableFieldActionValuePropertyOption
- type BitableTableFieldActionValuePropertyOptionBuilder
- func (builder *BitableTableFieldActionValuePropertyOptionBuilder) Build() *BitableTableFieldActionValuePropertyOption
- func (builder *BitableTableFieldActionValuePropertyOptionBuilder) Color(color int) *BitableTableFieldActionValuePropertyOptionBuilder
- func (builder *BitableTableFieldActionValuePropertyOptionBuilder) Id(id string) *BitableTableFieldActionValuePropertyOptionBuilder
- func (builder *BitableTableFieldActionValuePropertyOptionBuilder) Name(name string) *BitableTableFieldActionValuePropertyOptionBuilder
- type BitableTableRecordAction
- type BitableTableRecordActionBuilder
- func (builder *BitableTableRecordActionBuilder) Action(action string) *BitableTableRecordActionBuilder
- func (builder *BitableTableRecordActionBuilder) AfterValue(afterValue []*BitableTableRecordActionField) *BitableTableRecordActionBuilder
- func (builder *BitableTableRecordActionBuilder) BeforeValue(beforeValue []*BitableTableRecordActionField) *BitableTableRecordActionBuilder
- func (builder *BitableTableRecordActionBuilder) Build() *BitableTableRecordAction
- func (builder *BitableTableRecordActionBuilder) RecordId(recordId string) *BitableTableRecordActionBuilder
- type BitableTableRecordActionField
- type BitableTableRecordActionFieldBuilder
- func (builder *BitableTableRecordActionFieldBuilder) Build() *BitableTableRecordActionField
- func (builder *BitableTableRecordActionFieldBuilder) FieldId(fieldId string) *BitableTableRecordActionFieldBuilder
- func (builder *BitableTableRecordActionFieldBuilder) FieldIdentityValue(fieldIdentityValue *BitableTableRecordActionFieldIdentity) *BitableTableRecordActionFieldBuilder
- func (builder *BitableTableRecordActionFieldBuilder) FieldValue(fieldValue string) *BitableTableRecordActionFieldBuilder
- type BitableTableRecordActionFieldIdentity
- type BitableTableRecordActionFieldIdentityBuilder
- type BitableTableRecordActionFieldIdentityUser
- type BitableTableRecordActionFieldIdentityUserBuilder
- func (builder *BitableTableRecordActionFieldIdentityUserBuilder) AvatarUrl(avatarUrl string) *BitableTableRecordActionFieldIdentityUserBuilder
- func (builder *BitableTableRecordActionFieldIdentityUserBuilder) Build() *BitableTableRecordActionFieldIdentityUser
- func (builder *BitableTableRecordActionFieldIdentityUserBuilder) EnName(enName string) *BitableTableRecordActionFieldIdentityUserBuilder
- func (builder *BitableTableRecordActionFieldIdentityUserBuilder) Name(name string) *BitableTableRecordActionFieldIdentityUserBuilder
- func (builder *BitableTableRecordActionFieldIdentityUserBuilder) UserId(userId *UserId) *BitableTableRecordActionFieldIdentityUserBuilder
- type Collaborator
- type CollaboratorBuilder
- func (builder *CollaboratorBuilder) Build() *Collaborator
- func (builder *CollaboratorBuilder) MemberOpenId(memberOpenId string) *CollaboratorBuilder
- func (builder *CollaboratorBuilder) MemberType(memberType string) *CollaboratorBuilder
- func (builder *CollaboratorBuilder) MemberUserId(memberUserId string) *CollaboratorBuilder
- func (builder *CollaboratorBuilder) Perm(perm string) *CollaboratorBuilder
- type CopyFilePathReqBodyBuilder
- func (builder *CopyFilePathReqBodyBuilder) Build() (*CopyFileReqBody, error)
- func (builder *CopyFilePathReqBodyBuilder) Extra(extra []*Property) *CopyFilePathReqBodyBuilder
- func (builder *CopyFilePathReqBodyBuilder) FolderToken(folderToken string) *CopyFilePathReqBodyBuilder
- func (builder *CopyFilePathReqBodyBuilder) Name(name string) *CopyFilePathReqBodyBuilder
- func (builder *CopyFilePathReqBodyBuilder) Type(type_ string) *CopyFilePathReqBodyBuilder
- type CopyFileReq
- type CopyFileReqBody
- type CopyFileReqBodyBuilder
- func (builder *CopyFileReqBodyBuilder) Build() *CopyFileReqBody
- func (builder *CopyFileReqBodyBuilder) Extra(extra []*Property) *CopyFileReqBodyBuilder
- func (builder *CopyFileReqBodyBuilder) FolderToken(folderToken string) *CopyFileReqBodyBuilder
- func (builder *CopyFileReqBodyBuilder) Name(name string) *CopyFileReqBodyBuilder
- func (builder *CopyFileReqBodyBuilder) Type(type_ string) *CopyFileReqBodyBuilder
- type CopyFileReqBuilder
- func (builder *CopyFileReqBuilder) Body(body *CopyFileReqBody) *CopyFileReqBuilder
- func (builder *CopyFileReqBuilder) Build() *CopyFileReq
- func (builder *CopyFileReqBuilder) FileToken(fileToken string) *CopyFileReqBuilder
- func (builder *CopyFileReqBuilder) UserIdType(userIdType string) *CopyFileReqBuilder
- type CopyFileResp
- type CopyFileRespData
- type CreateExportTaskReq
- type CreateExportTaskReqBuilder
- type CreateExportTaskResp
- type CreateExportTaskRespData
- type CreateFileCommentReq
- type CreateFileCommentReqBuilder
- func (builder *CreateFileCommentReqBuilder) Build() *CreateFileCommentReq
- func (builder *CreateFileCommentReqBuilder) FileComment(fileComment *FileComment) *CreateFileCommentReqBuilder
- func (builder *CreateFileCommentReqBuilder) FileToken(fileToken string) *CreateFileCommentReqBuilder
- func (builder *CreateFileCommentReqBuilder) FileType(fileType string) *CreateFileCommentReqBuilder
- func (builder *CreateFileCommentReqBuilder) UserIdType(userIdType string) *CreateFileCommentReqBuilder
- type CreateFileCommentResp
- type CreateFileCommentRespData
- type CreateFileSubscriptionReq
- type CreateFileSubscriptionReqBuilder
- func (builder *CreateFileSubscriptionReqBuilder) Build() *CreateFileSubscriptionReq
- func (builder *CreateFileSubscriptionReqBuilder) FileSubscription(fileSubscription *FileSubscription) *CreateFileSubscriptionReqBuilder
- func (builder *CreateFileSubscriptionReqBuilder) FileToken(fileToken string) *CreateFileSubscriptionReqBuilder
- type CreateFileSubscriptionResp
- type CreateFileSubscriptionRespData
- type CreateFileVersionReq
- type CreateFileVersionReqBuilder
- func (builder *CreateFileVersionReqBuilder) Build() *CreateFileVersionReq
- func (builder *CreateFileVersionReqBuilder) FileToken(fileToken string) *CreateFileVersionReqBuilder
- func (builder *CreateFileVersionReqBuilder) UserIdType(userIdType string) *CreateFileVersionReqBuilder
- func (builder *CreateFileVersionReqBuilder) Version(version *Version) *CreateFileVersionReqBuilder
- type CreateFileVersionResp
- type CreateFileVersionRespData
- type CreateFolderFilePathReqBodyBuilder
- func (builder *CreateFolderFilePathReqBodyBuilder) Build() (*CreateFolderFileReqBody, error)
- func (builder *CreateFolderFilePathReqBodyBuilder) FolderToken(folderToken string) *CreateFolderFilePathReqBodyBuilder
- func (builder *CreateFolderFilePathReqBodyBuilder) Name(name string) *CreateFolderFilePathReqBodyBuilder
- type CreateFolderFileReq
- type CreateFolderFileReqBody
- type CreateFolderFileReqBodyBuilder
- type CreateFolderFileReqBuilder
- type CreateFolderFileResp
- type CreateFolderFileRespData
- type CreateImportTaskReq
- type CreateImportTaskReqBuilder
- type CreateImportTaskResp
- type CreateImportTaskRespData
- type CreatePermissionMemberReq
- type CreatePermissionMemberReqBuilder
- func (builder *CreatePermissionMemberReqBuilder) BaseMember(baseMember *BaseMember) *CreatePermissionMemberReqBuilder
- func (builder *CreatePermissionMemberReqBuilder) Build() *CreatePermissionMemberReq
- func (builder *CreatePermissionMemberReqBuilder) NeedNotification(needNotification bool) *CreatePermissionMemberReqBuilder
- func (builder *CreatePermissionMemberReqBuilder) Token(token string) *CreatePermissionMemberReqBuilder
- func (builder *CreatePermissionMemberReqBuilder) Type(type_ string) *CreatePermissionMemberReqBuilder
- type CreatePermissionMemberResp
- type CreatePermissionMemberRespData
- type CreatePermissionPublicPasswordReq
- type CreatePermissionPublicPasswordReqBuilder
- func (builder *CreatePermissionPublicPasswordReqBuilder) Build() *CreatePermissionPublicPasswordReq
- func (builder *CreatePermissionPublicPasswordReqBuilder) Token(token string) *CreatePermissionPublicPasswordReqBuilder
- func (builder *CreatePermissionPublicPasswordReqBuilder) Type(type_ string) *CreatePermissionPublicPasswordReqBuilder
- type CreatePermissionPublicPasswordResp
- type CreatePermissionPublicPasswordRespData
- type CreateShortcutFilePathReqBodyBuilder
- func (builder *CreateShortcutFilePathReqBodyBuilder) Build() (*CreateShortcutFileReqBody, error)
- func (builder *CreateShortcutFilePathReqBodyBuilder) ParentToken(parentToken string) *CreateShortcutFilePathReqBodyBuilder
- func (builder *CreateShortcutFilePathReqBodyBuilder) ReferEntity(referEntity *ReferEntity) *CreateShortcutFilePathReqBodyBuilder
- type CreateShortcutFileReq
- type CreateShortcutFileReqBody
- type CreateShortcutFileReqBodyBuilder
- func (builder *CreateShortcutFileReqBodyBuilder) Build() *CreateShortcutFileReqBody
- func (builder *CreateShortcutFileReqBodyBuilder) ParentToken(parentToken string) *CreateShortcutFileReqBodyBuilder
- func (builder *CreateShortcutFileReqBodyBuilder) ReferEntity(referEntity *ReferEntity) *CreateShortcutFileReqBodyBuilder
- type CreateShortcutFileReqBuilder
- type CreateShortcutFileResp
- type CreateShortcutFileRespData
- type DeleteFileCommentReplyReq
- type DeleteFileCommentReplyReqBuilder
- func (builder *DeleteFileCommentReplyReqBuilder) Build() *DeleteFileCommentReplyReq
- func (builder *DeleteFileCommentReplyReqBuilder) CommentId(commentId string) *DeleteFileCommentReplyReqBuilder
- func (builder *DeleteFileCommentReplyReqBuilder) FileToken(fileToken string) *DeleteFileCommentReplyReqBuilder
- func (builder *DeleteFileCommentReplyReqBuilder) FileType(fileType string) *DeleteFileCommentReplyReqBuilder
- func (builder *DeleteFileCommentReplyReqBuilder) ReplyId(replyId string) *DeleteFileCommentReplyReqBuilder
- type DeleteFileCommentReplyResp
- type DeleteFileReq
- type DeleteFileReqBuilder
- type DeleteFileResp
- type DeleteFileRespData
- type DeleteFileVersionReq
- type DeleteFileVersionReqBuilder
- func (builder *DeleteFileVersionReqBuilder) Build() *DeleteFileVersionReq
- func (builder *DeleteFileVersionReqBuilder) FileToken(fileToken string) *DeleteFileVersionReqBuilder
- func (builder *DeleteFileVersionReqBuilder) ObjType(objType string) *DeleteFileVersionReqBuilder
- func (builder *DeleteFileVersionReqBuilder) UserIdType(userIdType string) *DeleteFileVersionReqBuilder
- func (builder *DeleteFileVersionReqBuilder) VersionId(versionId string) *DeleteFileVersionReqBuilder
- type DeleteFileVersionResp
- type DeletePermissionMemberPathReqBodyBuilder
- func (builder *DeletePermissionMemberPathReqBodyBuilder) Build() (*DeletePermissionMemberReqBody, error)
- func (builder *DeletePermissionMemberPathReqBodyBuilder) PermType(permType string) *DeletePermissionMemberPathReqBodyBuilder
- func (builder *DeletePermissionMemberPathReqBodyBuilder) Type(type_ string) *DeletePermissionMemberPathReqBodyBuilder
- type DeletePermissionMemberReq
- type DeletePermissionMemberReqBody
- type DeletePermissionMemberReqBodyBuilder
- func (builder *DeletePermissionMemberReqBodyBuilder) Build() *DeletePermissionMemberReqBody
- func (builder *DeletePermissionMemberReqBodyBuilder) PermType(permType string) *DeletePermissionMemberReqBodyBuilder
- func (builder *DeletePermissionMemberReqBodyBuilder) Type(type_ string) *DeletePermissionMemberReqBodyBuilder
- type DeletePermissionMemberReqBuilder
- func (builder *DeletePermissionMemberReqBuilder) Body(body *DeletePermissionMemberReqBody) *DeletePermissionMemberReqBuilder
- func (builder *DeletePermissionMemberReqBuilder) Build() *DeletePermissionMemberReq
- func (builder *DeletePermissionMemberReqBuilder) MemberId(memberId string) *DeletePermissionMemberReqBuilder
- func (builder *DeletePermissionMemberReqBuilder) MemberType(memberType string) *DeletePermissionMemberReqBuilder
- func (builder *DeletePermissionMemberReqBuilder) Token(token string) *DeletePermissionMemberReqBuilder
- func (builder *DeletePermissionMemberReqBuilder) Type(type_ string) *DeletePermissionMemberReqBuilder
- type DeletePermissionMemberResp
- type DeletePermissionPublicPasswordReq
- type DeletePermissionPublicPasswordReqBuilder
- func (builder *DeletePermissionPublicPasswordReqBuilder) Build() *DeletePermissionPublicPasswordReq
- func (builder *DeletePermissionPublicPasswordReqBuilder) Token(token string) *DeletePermissionPublicPasswordReqBuilder
- func (builder *DeletePermissionPublicPasswordReqBuilder) Type(type_ string) *DeletePermissionPublicPasswordReqBuilder
- type DeletePermissionPublicPasswordResp
- type DeleteSubscribeFileReq
- type DeleteSubscribeFileReqBuilder
- func (builder *DeleteSubscribeFileReqBuilder) Build() *DeleteSubscribeFileReq
- func (builder *DeleteSubscribeFileReqBuilder) EventType(eventType string) *DeleteSubscribeFileReqBuilder
- func (builder *DeleteSubscribeFileReqBuilder) FileToken(fileToken string) *DeleteSubscribeFileReqBuilder
- func (builder *DeleteSubscribeFileReqBuilder) FileType(fileType string) *DeleteSubscribeFileReqBuilder
- type DeleteSubscribeFileResp
- type DepartmentId
- type DepartmentIdBuilder
- type DocsLink
- type DocsLinkBuilder
- type DownloadExportTaskReq
- type DownloadExportTaskReqBuilder
- type DownloadExportTaskResp
- type DownloadFileReq
- type DownloadFileReqBuilder
- type DownloadFileResp
- type DownloadMediaReq
- type DownloadMediaReqBuilder
- type DownloadMediaResp
- type ExportTask
- type ExportTaskBuilder
- func (builder *ExportTaskBuilder) Build() *ExportTask
- func (builder *ExportTaskBuilder) FileExtension(fileExtension string) *ExportTaskBuilder
- func (builder *ExportTaskBuilder) FileName(fileName string) *ExportTaskBuilder
- func (builder *ExportTaskBuilder) FileSize(fileSize int) *ExportTaskBuilder
- func (builder *ExportTaskBuilder) FileToken(fileToken string) *ExportTaskBuilder
- func (builder *ExportTaskBuilder) JobErrorMsg(jobErrorMsg string) *ExportTaskBuilder
- func (builder *ExportTaskBuilder) JobStatus(jobStatus int) *ExportTaskBuilder
- func (builder *ExportTaskBuilder) SubId(subId string) *ExportTaskBuilder
- func (builder *ExportTaskBuilder) Token(token string) *ExportTaskBuilder
- func (builder *ExportTaskBuilder) Type(type_ string) *ExportTaskBuilder
- type Favorite
- type File
- type FileBlockChangeInfo
- type FileBlockChangeInfoBuilder
- func (builder *FileBlockChangeInfoBuilder) BlockToken(blockToken string) *FileBlockChangeInfoBuilder
- func (builder *FileBlockChangeInfoBuilder) BlockTokenType(blockTokenType string) *FileBlockChangeInfoBuilder
- func (builder *FileBlockChangeInfoBuilder) Build() *FileBlockChangeInfo
- func (builder *FileBlockChangeInfoBuilder) RevRanges(revRanges []int) *FileBlockChangeInfoBuilder
- type FileBuilder
- func (builder *FileBuilder) Build() *File
- func (builder *FileBuilder) CreatedTime(createdTime string) *FileBuilder
- func (builder *FileBuilder) ModifiedTime(modifiedTime string) *FileBuilder
- func (builder *FileBuilder) Name(name string) *FileBuilder
- func (builder *FileBuilder) OwnerId(ownerId string) *FileBuilder
- func (builder *FileBuilder) ParentToken(parentToken string) *FileBuilder
- func (builder *FileBuilder) ShortcutInfo(shortcutInfo *ShortcutInfo) *FileBuilder
- func (builder *FileBuilder) Token(token string) *FileBuilder
- func (builder *FileBuilder) Type(type_ string) *FileBuilder
- func (builder *FileBuilder) Url(url string) *FileBuilder
- type FileChangeInfo
- type FileChangeInfoBuilder
- type FileComment
- type FileCommentBuilder
- func (builder *FileCommentBuilder) Build() *FileComment
- func (builder *FileCommentBuilder) CommentId(commentId string) *FileCommentBuilder
- func (builder *FileCommentBuilder) CreateTime(createTime int) *FileCommentBuilder
- func (builder *FileCommentBuilder) HasMore(hasMore bool) *FileCommentBuilder
- func (builder *FileCommentBuilder) IsSolved(isSolved bool) *FileCommentBuilder
- func (builder *FileCommentBuilder) IsWhole(isWhole bool) *FileCommentBuilder
- func (builder *FileCommentBuilder) PageToken(pageToken string) *FileCommentBuilder
- func (builder *FileCommentBuilder) Quote(quote string) *FileCommentBuilder
- func (builder *FileCommentBuilder) ReplyList(replyList *ReplyList) *FileCommentBuilder
- func (builder *FileCommentBuilder) SolvedTime(solvedTime int) *FileCommentBuilder
- func (builder *FileCommentBuilder) SolverUserId(solverUserId string) *FileCommentBuilder
- func (builder *FileCommentBuilder) UpdateTime(updateTime int) *FileCommentBuilder
- func (builder *FileCommentBuilder) UserId(userId string) *FileCommentBuilder
- type FileCommentReply
- type FileCommentReplyBuilder
- func (builder *FileCommentReplyBuilder) Build() *FileCommentReply
- func (builder *FileCommentReplyBuilder) Content(content *ReplyContent) *FileCommentReplyBuilder
- func (builder *FileCommentReplyBuilder) CreateTime(createTime int) *FileCommentReplyBuilder
- func (builder *FileCommentReplyBuilder) Extra(extra *ReplyExtra) *FileCommentReplyBuilder
- func (builder *FileCommentReplyBuilder) ReplyId(replyId string) *FileCommentReplyBuilder
- func (builder *FileCommentReplyBuilder) UpdateTime(updateTime int) *FileCommentReplyBuilder
- func (builder *FileCommentReplyBuilder) UserId(userId string) *FileCommentReplyBuilder
- type FileFavorite
- type FileSearch
- type FileSearchBuilder
- func (builder *FileSearchBuilder) Build() *FileSearch
- func (builder *FileSearchBuilder) DocsToken(docsToken string) *FileSearchBuilder
- func (builder *FileSearchBuilder) DocsType(docsType string) *FileSearchBuilder
- func (builder *FileSearchBuilder) OwnerId(ownerId string) *FileSearchBuilder
- func (builder *FileSearchBuilder) Title(title string) *FileSearchBuilder
- type FileStatistics
- type FileStatisticsBuilder
- func (builder *FileStatisticsBuilder) Build() *FileStatistics
- func (builder *FileStatisticsBuilder) LikeCount(likeCount int) *FileStatisticsBuilder
- func (builder *FileStatisticsBuilder) LikeCountToday(likeCountToday int) *FileStatisticsBuilder
- func (builder *FileStatisticsBuilder) Pv(pv int) *FileStatisticsBuilder
- func (builder *FileStatisticsBuilder) PvToday(pvToday int) *FileStatisticsBuilder
- func (builder *FileStatisticsBuilder) Timestamp(timestamp int) *FileStatisticsBuilder
- func (builder *FileStatisticsBuilder) Uv(uv int) *FileStatisticsBuilder
- func (builder *FileStatisticsBuilder) UvToday(uvToday int) *FileStatisticsBuilder
- type FileSubscription
- type FileSubscriptionBuilder
- func (builder *FileSubscriptionBuilder) Build() *FileSubscription
- func (builder *FileSubscriptionBuilder) FileType(fileType string) *FileSubscriptionBuilder
- func (builder *FileSubscriptionBuilder) IsSubcribe(isSubcribe bool) *FileSubscriptionBuilder
- func (builder *FileSubscriptionBuilder) SubscriptionId(subscriptionId string) *FileSubscriptionBuilder
- func (builder *FileSubscriptionBuilder) SubscriptionType(subscriptionType string) *FileSubscriptionBuilder
- type FileUploadInfo
- type FileUploadInfoBuilder
- func (builder *FileUploadInfoBuilder) Build() *FileUploadInfo
- func (builder *FileUploadInfoBuilder) FileName(fileName string) *FileUploadInfoBuilder
- func (builder *FileUploadInfoBuilder) ParentNode(parentNode string) *FileUploadInfoBuilder
- func (builder *FileUploadInfoBuilder) ParentType(parentType string) *FileUploadInfoBuilder
- func (builder *FileUploadInfoBuilder) Size(size int) *FileUploadInfoBuilder
- type FileViewRecord
- type FileViewRecordBuilder
- func (builder *FileViewRecordBuilder) AvatarUrl(avatarUrl string) *FileViewRecordBuilder
- func (builder *FileViewRecordBuilder) Build() *FileViewRecord
- func (builder *FileViewRecordBuilder) LastViewTime(lastViewTime string) *FileViewRecordBuilder
- func (builder *FileViewRecordBuilder) Name(name string) *FileViewRecordBuilder
- func (builder *FileViewRecordBuilder) ViewerId(viewerId string) *FileViewRecordBuilder
- type GetExportTaskReq
- type GetExportTaskReqBuilder
- type GetExportTaskResp
- type GetExportTaskRespData
- type GetFileCommentReq
- type GetFileCommentReqBuilder
- func (builder *GetFileCommentReqBuilder) Build() *GetFileCommentReq
- func (builder *GetFileCommentReqBuilder) CommentId(commentId string) *GetFileCommentReqBuilder
- func (builder *GetFileCommentReqBuilder) FileToken(fileToken string) *GetFileCommentReqBuilder
- func (builder *GetFileCommentReqBuilder) FileType(fileType string) *GetFileCommentReqBuilder
- func (builder *GetFileCommentReqBuilder) UserIdType(userIdType string) *GetFileCommentReqBuilder
- type GetFileCommentResp
- type GetFileCommentRespData
- type GetFileStatisticsReq
- type GetFileStatisticsReqBuilder
- type GetFileStatisticsResp
- type GetFileStatisticsRespData
- type GetFileSubscriptionPathReqBodyBuilder
- type GetFileSubscriptionReq
- type GetFileSubscriptionReqBody
- type GetFileSubscriptionReqBodyBuilder
- type GetFileSubscriptionReqBuilder
- func (builder *GetFileSubscriptionReqBuilder) Body(body *GetFileSubscriptionReqBody) *GetFileSubscriptionReqBuilder
- func (builder *GetFileSubscriptionReqBuilder) Build() *GetFileSubscriptionReq
- func (builder *GetFileSubscriptionReqBuilder) FileToken(fileToken string) *GetFileSubscriptionReqBuilder
- func (builder *GetFileSubscriptionReqBuilder) SubscriptionId(subscriptionId string) *GetFileSubscriptionReqBuilder
- type GetFileSubscriptionResp
- type GetFileSubscriptionRespData
- type GetFileVersionReq
- type GetFileVersionReqBuilder
- func (builder *GetFileVersionReqBuilder) Build() *GetFileVersionReq
- func (builder *GetFileVersionReqBuilder) FileToken(fileToken string) *GetFileVersionReqBuilder
- func (builder *GetFileVersionReqBuilder) ObjType(objType string) *GetFileVersionReqBuilder
- func (builder *GetFileVersionReqBuilder) UserIdType(userIdType string) *GetFileVersionReqBuilder
- func (builder *GetFileVersionReqBuilder) VersionId(versionId string) *GetFileVersionReqBuilder
- type GetFileVersionResp
- type GetFileVersionRespData
- type GetImportTaskReq
- type GetImportTaskReqBuilder
- type GetImportTaskResp
- type GetImportTaskRespData
- type GetPermissionPublicReq
- type GetPermissionPublicReqBuilder
- type GetPermissionPublicResp
- type GetPermissionPublicRespData
- type GetSubscribeFileReq
- type GetSubscribeFileReqBuilder
- func (builder *GetSubscribeFileReqBuilder) Build() *GetSubscribeFileReq
- func (builder *GetSubscribeFileReqBuilder) EventType(eventType string) *GetSubscribeFileReqBuilder
- func (builder *GetSubscribeFileReqBuilder) FileToken(fileToken string) *GetSubscribeFileReqBuilder
- func (builder *GetSubscribeFileReqBuilder) FileType(fileType string) *GetSubscribeFileReqBuilder
- type GetSubscribeFileResp
- type GetSubscribeFileRespData
- type ImportTask
- type ImportTaskBuilder
- func (builder *ImportTaskBuilder) Build() *ImportTask
- func (builder *ImportTaskBuilder) Extra(extra []string) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) FileExtension(fileExtension string) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) FileName(fileName string) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) FileToken(fileToken string) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) JobErrorMsg(jobErrorMsg string) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) JobStatus(jobStatus int) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) Point(point *ImportTaskMountPoint) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) Ticket(ticket string) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) Token(token string) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) Type(type_ string) *ImportTaskBuilder
- func (builder *ImportTaskBuilder) Url(url string) *ImportTaskBuilder
- type ImportTaskMountPoint
- type ImportTaskMountPointBuilder
- type ListFileCommentIterator
- type ListFileCommentReplyIterator
- type ListFileCommentReplyReq
- type ListFileCommentReplyReqBuilder
- func (builder *ListFileCommentReplyReqBuilder) Build() *ListFileCommentReplyReq
- func (builder *ListFileCommentReplyReqBuilder) CommentId(commentId string) *ListFileCommentReplyReqBuilder
- func (builder *ListFileCommentReplyReqBuilder) FileToken(fileToken string) *ListFileCommentReplyReqBuilder
- func (builder *ListFileCommentReplyReqBuilder) FileType(fileType string) *ListFileCommentReplyReqBuilder
- func (builder *ListFileCommentReplyReqBuilder) Limit(limit int) *ListFileCommentReplyReqBuilder
- func (builder *ListFileCommentReplyReqBuilder) PageSize(pageSize int) *ListFileCommentReplyReqBuilder
- func (builder *ListFileCommentReplyReqBuilder) PageToken(pageToken string) *ListFileCommentReplyReqBuilder
- func (builder *ListFileCommentReplyReqBuilder) UserIdType(userIdType string) *ListFileCommentReplyReqBuilder
- type ListFileCommentReplyResp
- type ListFileCommentReplyRespData
- type ListFileCommentReq
- type ListFileCommentReqBuilder
- func (builder *ListFileCommentReqBuilder) Build() *ListFileCommentReq
- func (builder *ListFileCommentReqBuilder) FileToken(fileToken string) *ListFileCommentReqBuilder
- func (builder *ListFileCommentReqBuilder) FileType(fileType string) *ListFileCommentReqBuilder
- func (builder *ListFileCommentReqBuilder) IsSolved(isSolved bool) *ListFileCommentReqBuilder
- func (builder *ListFileCommentReqBuilder) IsWhole(isWhole bool) *ListFileCommentReqBuilder
- func (builder *ListFileCommentReqBuilder) Limit(limit int) *ListFileCommentReqBuilder
- func (builder *ListFileCommentReqBuilder) PageSize(pageSize int) *ListFileCommentReqBuilder
- func (builder *ListFileCommentReqBuilder) PageToken(pageToken string) *ListFileCommentReqBuilder
- func (builder *ListFileCommentReqBuilder) UserIdType(userIdType string) *ListFileCommentReqBuilder
- type ListFileCommentResp
- type ListFileCommentRespData
- type ListFileIterator
- type ListFileReq
- type ListFileReqBuilder
- func (builder *ListFileReqBuilder) Build() *ListFileReq
- func (builder *ListFileReqBuilder) Direction(direction string) *ListFileReqBuilder
- func (builder *ListFileReqBuilder) FolderToken(folderToken string) *ListFileReqBuilder
- func (builder *ListFileReqBuilder) OrderBy(orderBy string) *ListFileReqBuilder
- func (builder *ListFileReqBuilder) PageSize(pageSize int) *ListFileReqBuilder
- func (builder *ListFileReqBuilder) PageToken(pageToken string) *ListFileReqBuilder
- func (builder *ListFileReqBuilder) UserIdType(userIdType string) *ListFileReqBuilder
- type ListFileResp
- type ListFileRespData
- type ListFileVersionIterator
- type ListFileVersionReq
- type ListFileVersionReqBuilder
- func (builder *ListFileVersionReqBuilder) Build() *ListFileVersionReq
- func (builder *ListFileVersionReqBuilder) FileToken(fileToken string) *ListFileVersionReqBuilder
- func (builder *ListFileVersionReqBuilder) Limit(limit int) *ListFileVersionReqBuilder
- func (builder *ListFileVersionReqBuilder) ObjType(objType string) *ListFileVersionReqBuilder
- func (builder *ListFileVersionReqBuilder) PageSize(pageSize int) *ListFileVersionReqBuilder
- func (builder *ListFileVersionReqBuilder) PageToken(pageToken string) *ListFileVersionReqBuilder
- func (builder *ListFileVersionReqBuilder) UserIdType(userIdType string) *ListFileVersionReqBuilder
- type ListFileVersionResp
- type ListFileVersionRespData
- type ListFileViewRecordIterator
- type ListFileViewRecordReq
- type ListFileViewRecordReqBuilder
- func (builder *ListFileViewRecordReqBuilder) Build() *ListFileViewRecordReq
- func (builder *ListFileViewRecordReqBuilder) FileToken(fileToken string) *ListFileViewRecordReqBuilder
- func (builder *ListFileViewRecordReqBuilder) FileType(fileType string) *ListFileViewRecordReqBuilder
- func (builder *ListFileViewRecordReqBuilder) Limit(limit int) *ListFileViewRecordReqBuilder
- func (builder *ListFileViewRecordReqBuilder) PageSize(pageSize int) *ListFileViewRecordReqBuilder
- func (builder *ListFileViewRecordReqBuilder) PageToken(pageToken string) *ListFileViewRecordReqBuilder
- func (builder *ListFileViewRecordReqBuilder) ViewerIdType(viewerIdType string) *ListFileViewRecordReqBuilder
- type ListFileViewRecordResp
- type ListFileViewRecordRespData
- type ListPermissionMemberReq
- type ListPermissionMemberReqBuilder
- func (builder *ListPermissionMemberReqBuilder) Build() *ListPermissionMemberReq
- func (builder *ListPermissionMemberReqBuilder) Fields(fields string) *ListPermissionMemberReqBuilder
- func (builder *ListPermissionMemberReqBuilder) PermType(permType string) *ListPermissionMemberReqBuilder
- func (builder *ListPermissionMemberReqBuilder) Token(token string) *ListPermissionMemberReqBuilder
- func (builder *ListPermissionMemberReqBuilder) Type(type_ string) *ListPermissionMemberReqBuilder
- type ListPermissionMemberResp
- type ListPermissionMemberRespData
- type Media
- type MediaBuilder
- func (builder *MediaBuilder) Build() *Media
- func (builder *MediaBuilder) FileName(fileName string) *MediaBuilder
- func (builder *MediaBuilder) FileToken(fileToken string) *MediaBuilder
- func (builder *MediaBuilder) MimeType(mimeType string) *MediaBuilder
- func (builder *MediaBuilder) Size(size int) *MediaBuilder
- type MediaUploadInfo
- type MediaUploadInfoBuilder
- func (builder *MediaUploadInfoBuilder) Build() *MediaUploadInfo
- func (builder *MediaUploadInfoBuilder) Extra(extra string) *MediaUploadInfoBuilder
- func (builder *MediaUploadInfoBuilder) FileName(fileName string) *MediaUploadInfoBuilder
- func (builder *MediaUploadInfoBuilder) ParentNode(parentNode string) *MediaUploadInfoBuilder
- func (builder *MediaUploadInfoBuilder) ParentType(parentType string) *MediaUploadInfoBuilder
- func (builder *MediaUploadInfoBuilder) Size(size int) *MediaUploadInfoBuilder
- type Member
- type MemberBuilder
- func (builder *MemberBuilder) Avatar(avatar string) *MemberBuilder
- func (builder *MemberBuilder) Build() *Member
- func (builder *MemberBuilder) ExternalLabel(externalLabel bool) *MemberBuilder
- func (builder *MemberBuilder) MemberId(memberId string) *MemberBuilder
- func (builder *MemberBuilder) MemberType(memberType string) *MemberBuilder
- func (builder *MemberBuilder) Name(name string) *MemberBuilder
- func (builder *MemberBuilder) Perm(perm string) *MemberBuilder
- func (builder *MemberBuilder) PermType(permType string) *MemberBuilder
- func (builder *MemberBuilder) Type(type_ string) *MemberBuilder
- type Meta
- type MetaBuilder
- func (builder *MetaBuilder) Build() *Meta
- func (builder *MetaBuilder) CreateTime(createTime string) *MetaBuilder
- func (builder *MetaBuilder) DocToken(docToken string) *MetaBuilder
- func (builder *MetaBuilder) DocType(docType string) *MetaBuilder
- func (builder *MetaBuilder) LatestModifyTime(latestModifyTime string) *MetaBuilder
- func (builder *MetaBuilder) LatestModifyUser(latestModifyUser string) *MetaBuilder
- func (builder *MetaBuilder) OwnerId(ownerId string) *MetaBuilder
- func (builder *MetaBuilder) SecLabelName(secLabelName string) *MetaBuilder
- func (builder *MetaBuilder) Title(title string) *MetaBuilder
- func (builder *MetaBuilder) Url(url string) *MetaBuilder
- type MetaFailed
- type MetaFailedBuilder
- type MetaRequest
- type MetaRequestBuilder
- type MoveFilePathReqBodyBuilder
- type MoveFileReq
- type MoveFileReqBody
- type MoveFileReqBodyBuilder
- type MoveFileReqBuilder
- type MoveFileResp
- type MoveFileRespData
- type Owner
- type OwnerBuilder
- type P2FileBitableFieldChangedV1
- type P2FileBitableFieldChangedV1Data
- type P2FileBitableFieldChangedV1Handler
- type P2FileBitableRecordChangedV1
- type P2FileBitableRecordChangedV1Data
- type P2FileBitableRecordChangedV1Handler
- type P2FileCreatedInFolderV1
- type P2FileCreatedInFolderV1Data
- type P2FileCreatedInFolderV1Handler
- type P2FileDeletedV1
- type P2FileDeletedV1Data
- type P2FileDeletedV1Handler
- type P2FileEditV1
- type P2FileEditV1Data
- type P2FileEditV1Handler
- type P2FilePermissionMemberAddedV1
- type P2FilePermissionMemberAddedV1Data
- type P2FilePermissionMemberAddedV1Handler
- type P2FilePermissionMemberAppliedV1
- type P2FilePermissionMemberAppliedV1Data
- type P2FilePermissionMemberAppliedV1Handler
- type P2FilePermissionMemberRemovedV1
- type P2FilePermissionMemberRemovedV1Data
- type P2FilePermissionMemberRemovedV1Handler
- type P2FileReadV1
- type P2FileReadV1Data
- type P2FileReadV1Handler
- type P2FileTitleUpdatedV1
- type P2FileTitleUpdatedV1Data
- type P2FileTitleUpdatedV1Handler
- type P2FileTrashedV1
- type P2FileTrashedV1Data
- type P2FileTrashedV1Handler
- type PatchFileCommentPathReqBodyBuilder
- type PatchFileCommentReq
- type PatchFileCommentReqBody
- type PatchFileCommentReqBodyBuilder
- type PatchFileCommentReqBuilder
- func (builder *PatchFileCommentReqBuilder) Body(body *PatchFileCommentReqBody) *PatchFileCommentReqBuilder
- func (builder *PatchFileCommentReqBuilder) Build() *PatchFileCommentReq
- func (builder *PatchFileCommentReqBuilder) CommentId(commentId string) *PatchFileCommentReqBuilder
- func (builder *PatchFileCommentReqBuilder) FileToken(fileToken string) *PatchFileCommentReqBuilder
- func (builder *PatchFileCommentReqBuilder) FileType(fileType string) *PatchFileCommentReqBuilder
- type PatchFileCommentResp
- type PatchFileSubscriptionPathReqBodyBuilder
- func (builder *PatchFileSubscriptionPathReqBodyBuilder) Build() (*PatchFileSubscriptionReqBody, error)
- func (builder *PatchFileSubscriptionPathReqBodyBuilder) FileType(fileType string) *PatchFileSubscriptionPathReqBodyBuilder
- func (builder *PatchFileSubscriptionPathReqBodyBuilder) IsSubscribe(isSubscribe bool) *PatchFileSubscriptionPathReqBodyBuilder
- type PatchFileSubscriptionReq
- type PatchFileSubscriptionReqBody
- type PatchFileSubscriptionReqBodyBuilder
- func (builder *PatchFileSubscriptionReqBodyBuilder) Build() *PatchFileSubscriptionReqBody
- func (builder *PatchFileSubscriptionReqBodyBuilder) FileType(fileType string) *PatchFileSubscriptionReqBodyBuilder
- func (builder *PatchFileSubscriptionReqBodyBuilder) IsSubscribe(isSubscribe bool) *PatchFileSubscriptionReqBodyBuilder
- type PatchFileSubscriptionReqBuilder
- func (builder *PatchFileSubscriptionReqBuilder) Body(body *PatchFileSubscriptionReqBody) *PatchFileSubscriptionReqBuilder
- func (builder *PatchFileSubscriptionReqBuilder) Build() *PatchFileSubscriptionReq
- func (builder *PatchFileSubscriptionReqBuilder) FileToken(fileToken string) *PatchFileSubscriptionReqBuilder
- func (builder *PatchFileSubscriptionReqBuilder) SubscriptionId(subscriptionId string) *PatchFileSubscriptionReqBuilder
- type PatchFileSubscriptionResp
- type PatchFileSubscriptionRespData
- type PatchPermissionPublicReq
- type PatchPermissionPublicReqBuilder
- func (builder *PatchPermissionPublicReqBuilder) Build() *PatchPermissionPublicReq
- func (builder *PatchPermissionPublicReqBuilder) PermissionPublicRequest(permissionPublicRequest *PermissionPublicRequest) *PatchPermissionPublicReqBuilder
- func (builder *PatchPermissionPublicReqBuilder) Token(token string) *PatchPermissionPublicReqBuilder
- func (builder *PatchPermissionPublicReqBuilder) Type(type_ string) *PatchPermissionPublicReqBuilder
- type PatchPermissionPublicResp
- type PatchPermissionPublicRespData
- type PermissionPublic
- type PermissionPublicBuilder
- func (builder *PermissionPublicBuilder) Build() *PermissionPublic
- func (builder *PermissionPublicBuilder) CommentEntity(commentEntity string) *PermissionPublicBuilder
- func (builder *PermissionPublicBuilder) ExternalAccess(externalAccess bool) *PermissionPublicBuilder
- func (builder *PermissionPublicBuilder) InviteExternal(inviteExternal bool) *PermissionPublicBuilder
- func (builder *PermissionPublicBuilder) LinkShareEntity(linkShareEntity string) *PermissionPublicBuilder
- func (builder *PermissionPublicBuilder) LockSwitch(lockSwitch bool) *PermissionPublicBuilder
- func (builder *PermissionPublicBuilder) SecurityEntity(securityEntity string) *PermissionPublicBuilder
- func (builder *PermissionPublicBuilder) ShareEntity(shareEntity string) *PermissionPublicBuilder
- type PermissionPublicPassword
- type PermissionPublicRequest
- type PermissionPublicRequestBuilder
- func (builder *PermissionPublicRequestBuilder) Build() *PermissionPublicRequest
- func (builder *PermissionPublicRequestBuilder) CommentEntity(commentEntity string) *PermissionPublicRequestBuilder
- func (builder *PermissionPublicRequestBuilder) ExternalAccess(externalAccess bool) *PermissionPublicRequestBuilder
- func (builder *PermissionPublicRequestBuilder) InviteExternal(inviteExternal bool) *PermissionPublicRequestBuilder
- func (builder *PermissionPublicRequestBuilder) LinkShareEntity(linkShareEntity string) *PermissionPublicRequestBuilder
- func (builder *PermissionPublicRequestBuilder) SecurityEntity(securityEntity string) *PermissionPublicRequestBuilder
- func (builder *PermissionPublicRequestBuilder) ShareEntity(shareEntity string) *PermissionPublicRequestBuilder
- type Person
- type PersonBuilder
- type Property
- type PropertyBuilder
- type ReferEntity
- type ReferEntityBuilder
- type ReplyContent
- type ReplyContentBuilder
- type ReplyElement
- type ReplyElementBuilder
- func (builder *ReplyElementBuilder) Build() *ReplyElement
- func (builder *ReplyElementBuilder) DocsLink(docsLink *DocsLink) *ReplyElementBuilder
- func (builder *ReplyElementBuilder) Person(person *Person) *ReplyElementBuilder
- func (builder *ReplyElementBuilder) TextRun(textRun *TextRun) *ReplyElementBuilder
- func (builder *ReplyElementBuilder) Type(type_ string) *ReplyElementBuilder
- type ReplyExtra
- type ReplyExtraBuilder
- type ReplyList
- type ReplyListBuilder
- type RequestDoc
- type RequestDocBuilder
- type ShortcutInfo
- type ShortcutInfoBuilder
- type SubscribeFileReq
- type SubscribeFileReqBuilder
- func (builder *SubscribeFileReqBuilder) Build() *SubscribeFileReq
- func (builder *SubscribeFileReqBuilder) EventType(eventType string) *SubscribeFileReqBuilder
- func (builder *SubscribeFileReqBuilder) FileToken(fileToken string) *SubscribeFileReqBuilder
- func (builder *SubscribeFileReqBuilder) FileType(fileType string) *SubscribeFileReqBuilder
- type SubscribeFileResp
- type TaskCheckFileReq
- type TaskCheckFileReqBuilder
- type TaskCheckFileResp
- type TaskCheckFileRespData
- type TextRun
- type TextRunBuilder
- type TmpDownloadUrl
- type TmpDownloadUrlBuilder
- type TokenType
- type TokenTypeBuilder
- type TransferOwnerPermissionMemberReq
- type TransferOwnerPermissionMemberReqBuilder
- func (builder *TransferOwnerPermissionMemberReqBuilder) Build() *TransferOwnerPermissionMemberReq
- func (builder *TransferOwnerPermissionMemberReqBuilder) NeedNotification(needNotification bool) *TransferOwnerPermissionMemberReqBuilder
- func (builder *TransferOwnerPermissionMemberReqBuilder) OldOwnerPerm(oldOwnerPerm string) *TransferOwnerPermissionMemberReqBuilder
- func (builder *TransferOwnerPermissionMemberReqBuilder) Owner(owner *Owner) *TransferOwnerPermissionMemberReqBuilder
- func (builder *TransferOwnerPermissionMemberReqBuilder) RemoveOldOwner(removeOldOwner bool) *TransferOwnerPermissionMemberReqBuilder
- func (builder *TransferOwnerPermissionMemberReqBuilder) StayPut(stayPut bool) *TransferOwnerPermissionMemberReqBuilder
- func (builder *TransferOwnerPermissionMemberReqBuilder) Token(token string) *TransferOwnerPermissionMemberReqBuilder
- func (builder *TransferOwnerPermissionMemberReqBuilder) Type(type_ string) *TransferOwnerPermissionMemberReqBuilder
- type TransferOwnerPermissionMemberResp
- type UpdateFileCommentReplyPathReqBodyBuilder
- type UpdateFileCommentReplyReq
- type UpdateFileCommentReplyReqBody
- type UpdateFileCommentReplyReqBodyBuilder
- type UpdateFileCommentReplyReqBuilder
- func (builder *UpdateFileCommentReplyReqBuilder) Body(body *UpdateFileCommentReplyReqBody) *UpdateFileCommentReplyReqBuilder
- func (builder *UpdateFileCommentReplyReqBuilder) Build() *UpdateFileCommentReplyReq
- func (builder *UpdateFileCommentReplyReqBuilder) CommentId(commentId string) *UpdateFileCommentReplyReqBuilder
- func (builder *UpdateFileCommentReplyReqBuilder) FileToken(fileToken string) *UpdateFileCommentReplyReqBuilder
- func (builder *UpdateFileCommentReplyReqBuilder) FileType(fileType string) *UpdateFileCommentReplyReqBuilder
- func (builder *UpdateFileCommentReplyReqBuilder) ReplyId(replyId string) *UpdateFileCommentReplyReqBuilder
- func (builder *UpdateFileCommentReplyReqBuilder) UserIdType(userIdType string) *UpdateFileCommentReplyReqBuilder
- type UpdateFileCommentReplyResp
- type UpdatePermissionMemberReq
- type UpdatePermissionMemberReqBuilder
- func (builder *UpdatePermissionMemberReqBuilder) BaseMember(baseMember *BaseMember) *UpdatePermissionMemberReqBuilder
- func (builder *UpdatePermissionMemberReqBuilder) Build() *UpdatePermissionMemberReq
- func (builder *UpdatePermissionMemberReqBuilder) MemberId(memberId string) *UpdatePermissionMemberReqBuilder
- func (builder *UpdatePermissionMemberReqBuilder) NeedNotification(needNotification bool) *UpdatePermissionMemberReqBuilder
- func (builder *UpdatePermissionMemberReqBuilder) Token(token string) *UpdatePermissionMemberReqBuilder
- func (builder *UpdatePermissionMemberReqBuilder) Type(type_ string) *UpdatePermissionMemberReqBuilder
- type UpdatePermissionMemberResp
- type UpdatePermissionMemberRespData
- type UpdatePermissionPublicPasswordReq
- type UpdatePermissionPublicPasswordReqBuilder
- func (builder *UpdatePermissionPublicPasswordReqBuilder) Build() *UpdatePermissionPublicPasswordReq
- func (builder *UpdatePermissionPublicPasswordReqBuilder) Token(token string) *UpdatePermissionPublicPasswordReqBuilder
- func (builder *UpdatePermissionPublicPasswordReqBuilder) Type(type_ string) *UpdatePermissionPublicPasswordReqBuilder
- type UpdatePermissionPublicPasswordResp
- type UpdatePermissionPublicPasswordRespData
- type UploadAllFilePathReqBodyBuilder
- func (builder *UploadAllFilePathReqBodyBuilder) Build() (*UploadAllFileReqBody, error)
- func (builder *UploadAllFilePathReqBodyBuilder) Checksum(checksum string) *UploadAllFilePathReqBodyBuilder
- func (builder *UploadAllFilePathReqBodyBuilder) FileName(fileName string) *UploadAllFilePathReqBodyBuilder
- func (builder *UploadAllFilePathReqBodyBuilder) FilePath(filePath string) *UploadAllFilePathReqBodyBuilder
- func (builder *UploadAllFilePathReqBodyBuilder) ParentNode(parentNode string) *UploadAllFilePathReqBodyBuilder
- func (builder *UploadAllFilePathReqBodyBuilder) ParentType(parentType string) *UploadAllFilePathReqBodyBuilder
- func (builder *UploadAllFilePathReqBodyBuilder) Size(size int) *UploadAllFilePathReqBodyBuilder
- type UploadAllFileReq
- type UploadAllFileReqBody
- type UploadAllFileReqBodyBuilder
- func (builder *UploadAllFileReqBodyBuilder) Build() *UploadAllFileReqBody
- func (builder *UploadAllFileReqBodyBuilder) Checksum(checksum string) *UploadAllFileReqBodyBuilder
- func (builder *UploadAllFileReqBodyBuilder) File(file io.Reader) *UploadAllFileReqBodyBuilder
- func (builder *UploadAllFileReqBodyBuilder) FileName(fileName string) *UploadAllFileReqBodyBuilder
- func (builder *UploadAllFileReqBodyBuilder) ParentNode(parentNode string) *UploadAllFileReqBodyBuilder
- func (builder *UploadAllFileReqBodyBuilder) ParentType(parentType string) *UploadAllFileReqBodyBuilder
- func (builder *UploadAllFileReqBodyBuilder) Size(size int) *UploadAllFileReqBodyBuilder
- type UploadAllFileReqBuilder
- type UploadAllFileResp
- type UploadAllFileRespData
- type UploadAllMediaPathReqBodyBuilder
- func (builder *UploadAllMediaPathReqBodyBuilder) Build() (*UploadAllMediaReqBody, error)
- func (builder *UploadAllMediaPathReqBodyBuilder) Checksum(checksum string) *UploadAllMediaPathReqBodyBuilder
- func (builder *UploadAllMediaPathReqBodyBuilder) Extra(extra string) *UploadAllMediaPathReqBodyBuilder
- func (builder *UploadAllMediaPathReqBodyBuilder) FileName(fileName string) *UploadAllMediaPathReqBodyBuilder
- func (builder *UploadAllMediaPathReqBodyBuilder) FilePath(filePath string) *UploadAllMediaPathReqBodyBuilder
- func (builder *UploadAllMediaPathReqBodyBuilder) ParentNode(parentNode string) *UploadAllMediaPathReqBodyBuilder
- func (builder *UploadAllMediaPathReqBodyBuilder) ParentType(parentType string) *UploadAllMediaPathReqBodyBuilder
- func (builder *UploadAllMediaPathReqBodyBuilder) Size(size int) *UploadAllMediaPathReqBodyBuilder
- type UploadAllMediaReq
- type UploadAllMediaReqBody
- type UploadAllMediaReqBodyBuilder
- func (builder *UploadAllMediaReqBodyBuilder) Build() *UploadAllMediaReqBody
- func (builder *UploadAllMediaReqBodyBuilder) Checksum(checksum string) *UploadAllMediaReqBodyBuilder
- func (builder *UploadAllMediaReqBodyBuilder) Extra(extra string) *UploadAllMediaReqBodyBuilder
- func (builder *UploadAllMediaReqBodyBuilder) File(file io.Reader) *UploadAllMediaReqBodyBuilder
- func (builder *UploadAllMediaReqBodyBuilder) FileName(fileName string) *UploadAllMediaReqBodyBuilder
- func (builder *UploadAllMediaReqBodyBuilder) ParentNode(parentNode string) *UploadAllMediaReqBodyBuilder
- func (builder *UploadAllMediaReqBodyBuilder) ParentType(parentType string) *UploadAllMediaReqBodyBuilder
- func (builder *UploadAllMediaReqBodyBuilder) Size(size int) *UploadAllMediaReqBodyBuilder
- type UploadAllMediaReqBuilder
- type UploadAllMediaResp
- type UploadAllMediaRespData
- type UploadFinishFilePathReqBodyBuilder
- func (builder *UploadFinishFilePathReqBodyBuilder) BlockNum(blockNum int) *UploadFinishFilePathReqBodyBuilder
- func (builder *UploadFinishFilePathReqBodyBuilder) Build() (*UploadFinishFileReqBody, error)
- func (builder *UploadFinishFilePathReqBodyBuilder) UploadId(uploadId string) *UploadFinishFilePathReqBodyBuilder
- type UploadFinishFileReq
- type UploadFinishFileReqBody
- type UploadFinishFileReqBodyBuilder
- type UploadFinishFileReqBuilder
- type UploadFinishFileResp
- type UploadFinishFileRespData
- type UploadFinishMediaPathReqBodyBuilder
- func (builder *UploadFinishMediaPathReqBodyBuilder) BlockNum(blockNum int) *UploadFinishMediaPathReqBodyBuilder
- func (builder *UploadFinishMediaPathReqBodyBuilder) Build() (*UploadFinishMediaReqBody, error)
- func (builder *UploadFinishMediaPathReqBodyBuilder) UploadId(uploadId string) *UploadFinishMediaPathReqBodyBuilder
- type UploadFinishMediaReq
- type UploadFinishMediaReqBody
- type UploadFinishMediaReqBodyBuilder
- type UploadFinishMediaReqBuilder
- type UploadFinishMediaResp
- type UploadFinishMediaRespData
- type UploadInfo
- type UploadInfoBuilder
- func (builder *UploadInfoBuilder) Build() *UploadInfo
- func (builder *UploadInfoBuilder) FileName(fileName string) *UploadInfoBuilder
- func (builder *UploadInfoBuilder) ParentNode(parentNode string) *UploadInfoBuilder
- func (builder *UploadInfoBuilder) ParentType(parentType string) *UploadInfoBuilder
- func (builder *UploadInfoBuilder) Size(size int) *UploadInfoBuilder
- type UploadPartFilePathReqBodyBuilder
- func (builder *UploadPartFilePathReqBodyBuilder) Build() (*UploadPartFileReqBody, error)
- func (builder *UploadPartFilePathReqBodyBuilder) Checksum(checksum string) *UploadPartFilePathReqBodyBuilder
- func (builder *UploadPartFilePathReqBodyBuilder) FilePath(filePath string) *UploadPartFilePathReqBodyBuilder
- func (builder *UploadPartFilePathReqBodyBuilder) Seq(seq int) *UploadPartFilePathReqBodyBuilder
- func (builder *UploadPartFilePathReqBodyBuilder) Size(size int) *UploadPartFilePathReqBodyBuilder
- func (builder *UploadPartFilePathReqBodyBuilder) UploadId(uploadId string) *UploadPartFilePathReqBodyBuilder
- type UploadPartFileReq
- type UploadPartFileReqBody
- type UploadPartFileReqBodyBuilder
- func (builder *UploadPartFileReqBodyBuilder) Build() *UploadPartFileReqBody
- func (builder *UploadPartFileReqBodyBuilder) Checksum(checksum string) *UploadPartFileReqBodyBuilder
- func (builder *UploadPartFileReqBodyBuilder) File(file io.Reader) *UploadPartFileReqBodyBuilder
- func (builder *UploadPartFileReqBodyBuilder) Seq(seq int) *UploadPartFileReqBodyBuilder
- func (builder *UploadPartFileReqBodyBuilder) Size(size int) *UploadPartFileReqBodyBuilder
- func (builder *UploadPartFileReqBodyBuilder) UploadId(uploadId string) *UploadPartFileReqBodyBuilder
- type UploadPartFileReqBuilder
- type UploadPartFileResp
- type UploadPartMediaPathReqBodyBuilder
- func (builder *UploadPartMediaPathReqBodyBuilder) Build() (*UploadPartMediaReqBody, error)
- func (builder *UploadPartMediaPathReqBodyBuilder) Checksum(checksum string) *UploadPartMediaPathReqBodyBuilder
- func (builder *UploadPartMediaPathReqBodyBuilder) FilePath(filePath string) *UploadPartMediaPathReqBodyBuilder
- func (builder *UploadPartMediaPathReqBodyBuilder) Seq(seq int) *UploadPartMediaPathReqBodyBuilder
- func (builder *UploadPartMediaPathReqBodyBuilder) Size(size int) *UploadPartMediaPathReqBodyBuilder
- func (builder *UploadPartMediaPathReqBodyBuilder) UploadId(uploadId string) *UploadPartMediaPathReqBodyBuilder
- type UploadPartMediaReq
- type UploadPartMediaReqBody
- type UploadPartMediaReqBodyBuilder
- func (builder *UploadPartMediaReqBodyBuilder) Build() *UploadPartMediaReqBody
- func (builder *UploadPartMediaReqBodyBuilder) Checksum(checksum string) *UploadPartMediaReqBodyBuilder
- func (builder *UploadPartMediaReqBodyBuilder) File(file io.Reader) *UploadPartMediaReqBodyBuilder
- func (builder *UploadPartMediaReqBodyBuilder) Seq(seq int) *UploadPartMediaReqBodyBuilder
- func (builder *UploadPartMediaReqBodyBuilder) Size(size int) *UploadPartMediaReqBodyBuilder
- func (builder *UploadPartMediaReqBodyBuilder) UploadId(uploadId string) *UploadPartMediaReqBodyBuilder
- type UploadPartMediaReqBuilder
- type UploadPartMediaResp
- type UploadPrepareFileReq
- type UploadPrepareFileReqBuilder
- type UploadPrepareFileResp
- type UploadPrepareFileRespData
- type UploadPrepareMediaReq
- type UploadPrepareMediaReqBuilder
- type UploadPrepareMediaResp
- type UploadPrepareMediaRespData
- type UserId
- type UserIdBuilder
- type V1
- type Version
- type VersionBuilder
- func (builder *VersionBuilder) Build() *Version
- func (builder *VersionBuilder) CreateTime(createTime string) *VersionBuilder
- func (builder *VersionBuilder) CreatorId(creatorId string) *VersionBuilder
- func (builder *VersionBuilder) Name(name string) *VersionBuilder
- func (builder *VersionBuilder) ObjType(objType string) *VersionBuilder
- func (builder *VersionBuilder) OwnerId(ownerId string) *VersionBuilder
- func (builder *VersionBuilder) ParentToken(parentToken string) *VersionBuilder
- func (builder *VersionBuilder) ParentType(parentType string) *VersionBuilder
- func (builder *VersionBuilder) Status(status string) *VersionBuilder
- func (builder *VersionBuilder) UpdateTime(updateTime string) *VersionBuilder
- func (builder *VersionBuilder) Version(version string) *VersionBuilder
Constants ¶
const ( FileExtensionDocx = "docx" // word docx 格式 FileExtensionPdf = "pdf" // pdf 格式 FileExtensionXlsx = "xlsx" // excel xlsx 格式 FileExtensionCsv = "csv" // csv 格式 )
const ( TypeDoc = "doc" // 旧版飞书云文档类型 TypeSheet = "sheet" // 飞书电子表格类型 TypeBitable = "bitable" // 飞书多维表格类型 TypeDocx = "docx" // 新版飞书云文档类型 )
const ( TypeCopyFileFile = "file" // 文件类型 TypeCopyFileDoc = "doc" // 云文档类型 TypeCopyFileSheet = "sheet" // 电子表格类型 TypeCopyFileBitable = "bitable" // 多维表格类型 TypeCopyFileDocx = "docx" // 新版云文档类型 TypeCopyFileMindnote = "mindnote" // 思维笔记类型 TypeCopyFileSlides = "slides" // 幻灯片类型 )
const ( UserIdTypeUserId = "user_id" // 以user_id来识别用户 UserIdTypeUnionId = "union_id" // 以union_id来识别用户 UserIdTypeOpenId = "open_id" // 以open_id来识别用户 )
const ( UserIdTypeCreateShortcutFileUserId = "user_id" // 以user_id来识别用户 UserIdTypeCreateShortcutFileUnionId = "union_id" // 以union_id来识别用户 UserIdTypeCreateShortcutFileOpenId = "open_id" // 以open_id来识别用户 )
const ( TypeDeleteFileFile = "file" // 文件类型 TypeDeleteFileDocx = "docx" // docx文档类型 TypeDeleteFileBitable = "bitable" // 多维表格类型 TypeDeleteFileFolder = "folder" // 文件夹类型 TypeDeleteFileDoc = "doc" // doc文档类型 TypeDeleteFileSheet = "sheet" // 电子表格类型 TypeDeleteFileMindnote = "mindnote" // 思维笔记类型 TypeDeleteFileShortcut = "shortcut" // 快捷方式类型 TypeDeleteFileSlides = "slides" // 幻灯片 )
const ( FileTypeDoc = "doc" // 文档 FileTypeDocx = "docx" // docx文档 FileTypeSheet = "sheet" // 表格 FileTypeBitable = "bitable" // 多维表格 FileTypeFile = "file" // 文件 FileTypeFolder = "folder" // 文件夹 )
const ( FileTypeGetSubscribeFileDoc = "doc" // 文档 FileTypeGetSubscribeFileDocx = "docx" // docx文档 FileTypeGetSubscribeFileSheet = "sheet" // 表格 FileTypeGetSubscribeFileBitable = "bitable" // 多维表格 FileTypeGetSubscribeFileFile = "file" // 文件 FileTypeGetSubscribeFileFolder = "folder" // 文件夹 )
const ( OrderByEditedTime = "EditedTime" // 编辑时间排序 OrderByCreatedTime = "CreatedTime" // 创建时间排序 )
const ( DirectionASC = "ASC" // 升序 DirectionDESC = "DESC" // 降序 )
const ( UserIdTypeListFileUserId = "user_id" // 以user_id来识别用户 UserIdTypeListFileUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListFileOpenId = "open_id" // 以open_id来识别用户 )
const ( TypeMoveFileFile = "file" // 普通文件类型 TypeMoveFileDocx = "docx" // 新版文档类型 TypeMoveFileBitable = "bitable" // 多维表格类型 TypeMoveFileDoc = "doc" // doc文档类型 TypeMoveFileSheet = "sheet" // 电子表格类型 TypeMoveFileMindnote = "mindnote" // 思维笔记类型 TypeMoveFileFolder = "folder" // 文件夹类型 TypeMoveFileSlides = "slides" // 幻灯片类型 )
const ( FileTypeSubscribeFileDoc = "doc" // 文档 FileTypeSubscribeFileDocx = "docx" // docx文档 FileTypeSubscribeFileSheet = "sheet" // 表格 FileTypeSubscribeFileBitable = "bitable" // 多维表格 FileTypeSubscribeFileFolder = "folder" // 文件夹 )
const ( FileTypeBatchQueryFileCommentDoc = "doc" // 文档 FileTypeBatchQueryFileCommentSheet = "sheet" // 表格 FileTypeBatchQueryFileCommentFile = "file" // 文件 FileTypeBatchQueryFileCommentDocx = "docx" // 新版文档 )
const ( UserIdTypeBatchQueryFileCommentUserId = "user_id" // 以user_id来识别用户 UserIdTypeBatchQueryFileCommentUnionId = "union_id" // 以union_id来识别用户 UserIdTypeBatchQueryFileCommentOpenId = "open_id" // 以open_id来识别用户 )
const ( FileTypeCreateFileCommentDoc = "doc" // 文档 FileTypeCreateFileCommentDocx = "docx" // 新版文档 )
const ( UserIdTypeCreateFileCommentUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeCreateFileCommentUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeCreateFileCommentOpenId = "open_id" // 以 open_id 来识别用户 )
const ( FileTypeGetFileCommentDoc = "doc" // 文档 FileTypeGetFileCommentSheet = "sheet" // 表格 FileTypeGetFileCommentFile = "file" // 文件 FileTypeGetFileCommentDocx = "docx" // 新版文档 )
const ( UserIdTypeGetFileCommentUserId = "user_id" // 以 user_id 来识别用户 UserIdTypeGetFileCommentUnionId = "union_id" // 以 union_id 来识别用户 UserIdTypeGetFileCommentOpenId = "open_id" // 以 open_id 来识别用户 )
const ( FileTypeListFileCommentDoc = "doc" // 文档 FileTypeListFileCommentSheet = "sheet" // 表格 FileTypeListFileCommentFile = "file" // 文件 FileTypeListFileCommentDocx = "docx" // 新版文档 )
const ( UserIdTypeListFileCommentUserId = "user_id" // 以user_id来识别用户 UserIdTypeListFileCommentUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListFileCommentOpenId = "open_id" // 以open_id来识别用户 )
const ( FileTypePatchFileCommentDoc = "doc" // 文档 FileTypePatchFileCommentSheet = "sheet" // 表格 FileTypePatchFileCommentFile = "file" // 文件 FileTypePatchFileCommentDocx = "docx" // 新版文档 )
const ( FileTypeDeleteFileCommentReplyDoc = "doc" // 文档 FileTypeDeleteFileCommentReplySheet = "sheet" // 表格 FileTypeDeleteFileCommentReplyFile = "file" // 文件 FileTypeDeleteFileCommentReplyDocx = "docx" // 新版文档 )
const ( FileTypeListFileCommentReplyDoc = "doc" // 文档 FileTypeListFileCommentReplySheet = "sheet" // 表格 FileTypeListFileCommentReplyFile = "file" // 文件 FileTypeListFileCommentReplyDocx = "docx" // 新版本文档 )
const ( UserIdTypeListFileCommentReplyUserId = "user_id" // 以user_id来识别用户 UserIdTypeListFileCommentReplyUnionId = "union_id" // 以union_id来识别用户 UserIdTypeListFileCommentReplyOpenId = "open_id" // 以open_id来识别用户 )
const ( FileTypeUpdateFileCommentReplyDoc = "doc" // 文档 FileTypeUpdateFileCommentReplySheet = "sheet" // 表格 FileTypeUpdateFileCommentReplyFile = "file" // 文件 FileTypeUpdateFileCommentReplyDocx = "docx" // 新版文档 )
const ( UserIdTypeUpdateFileCommentReplyUserId = "user_id" // 以user_id来识别用户 UserIdTypeUpdateFileCommentReplyUnionId = "union_id" // 以union_id来识别用户 UserIdTypeUpdateFileCommentReplyOpenId = "open_id" // 以open_id来识别用户 )
const ( FileTypeGetFileStatisticsDoc = "doc" // doc文档 FileTypeGetFileStatisticsSheet = "sheet" // 表格 FileTypeGetFileStatisticsMindnote = "mindnote" // 思维笔记 FileTypeGetFileStatisticsBitable = "bitable" // 多维表格 FileTypeGetFileStatisticsWiki = "wiki" // 知识库wiki FileTypeGetFileStatisticsFile = "file" // 文件 FileTypeGetFileStatisticsDocx = "docx" // docx文档 )
const ( FileTypeCreateFileSubscriptionDoc = "doc" // 文档 FileTypeCreateFileSubscriptionDocx = "docx" // 文档2.0 FileTypeCreateFileSubscriptionWiki = "wiki" // 知识库wiki )
const ( FileTypeGetFileSubscriptionDocs = "doc" // 旧版文档 FileTypeGetFileSubscriptionUpgradedDocs = "docx" // 新版文档 FileTypeGetFileSubscriptionWiki = "wiki" // 云空间 )
const ( FileTypePatchFileSubscriptionDoc = "doc" // 文档1.0 FileTypePatchFileSubscriptionDocx = "docx" // 文档2.0 FileTypePatchFileSubscriptionWiki = "wiki" // 知识库wiki )
const ( ObjTypeDocx = "docx" // 新版文档 ObjTypeSheet = "sheet" // 电子表格 )
const ( UserIdTypeCreateFileVersionUserId = "user_id" // 以user_id来识别用户 UserIdTypeCreateFileVersionUnionId = "union_id" // 以union_id来识别用户 UserIdTypeCreateFileVersionOpenId = "open_id" // 以open_id来识别用户 )
const ( ObjTypeDeleteFileVersionDocx = "docx" // 新版文档 ObjTypeDeleteFileVersionSheet = "sheet" // 电子表格 )
const ( UserIdTypeDeleteFileVersionOpenId = "open_id" // 用户open_id UserIdTypeDeleteFileVersionUnionId = "union_id" // 用户union_id UserIdTypeDeleteFileVersionUserId = "user_id" // 用户user_id )
const ( ObjTypeGetFileVersionDocx = "docx" // 新版文档 ObjTypeGetFileVersionSheet = "sheet" // 电子表格 )
const ( UserIdTypeGetFileVersionOpenId = "open_id" // 用户open_id UserIdTypeGetFileVersionUnionId = "union_id" // 用户union_id UserIdTypeGetFileVersionUserId = "user_id" // 用户user_id )
const ( ObjTypeListFileVersionDocx = "docx" // 新版文档 ObjTypeListFileVersionSheet = "sheet" // 电子表格 )
const ( UserIdTypeListFileVersionOpenId = "open_id" // 用户open_id UserIdTypeListFileVersionUnionId = "union_id" // 用户union_id UserIdTypeListFileVersionUserId = "user_id" // 用户user_id )
const ( FileTypeListFileViewRecordDoc = "doc" // 旧版文档 FileTypeListFileViewRecordDocx = "docx" // 新版文档 FileTypeListFileViewRecordSheet = "sheet" // 电子表格 FileTypeListFileViewRecordBitable = "bitable" // 多维表格 FileTypeListFileViewRecordMindnote = "mindnote" // 思维笔记 FileTypeListFileViewRecordWiki = "wiki" // 知识库文档 FileTypeListFileViewRecordFile = "file" // 文件 )
const ( ViewerIdTypeUserId = "user_id" // 以user_id来识别用户 ViewerIdTypeUnionId = "union_id" // 以union_id来识别用户 ViewerIdTypeOpenId = "open_id" // 以open_id来识别用户 )
const ( ParentTypeUploadAllMediaDocImage = "doc_image" // docs图片 ParentTypeUploadAllMediaDocxImage = "docx_image" // docx图片 ParentTypeUploadAllMediaSheetImage = "sheet_image" // sheet图片 ParentTypeUploadAllMediaDocFile = "doc_file" // doc文件 ParentTypeUploadAllMediaDocxFile = "docx_file" // docx文件 ParentTypeUploadAllMediaSheetFile = "sheet_file" // sheet文件 ParentTypeUploadAllMediaVcVirtualBackground = "vc_virtual_background" // vc虚拟背景 ParentTypeUploadAllMediaBitableImage = "bitable_image" // 多维表格图片 ParentTypeUploadAllMediaBitableFile = "bitable_file" // 多维表格文件 ParentTypeUploadAllMediaMoments = "moments" // 同事圈 ParentTypeUploadAllMediaCcmImportOpen = "ccm_import_open" // 云文档导入文件 ParentTypeUploadAllMediaCalendar = "calendar" // 日历文件 ParentTypeUploadAllMediaBaseGlobal = "base_global" // base文件 ParentTypeUploadAllMediaLarkAiMediaAnalysis = "lark_ai_media_analysis" // ai素材 )
const ( ParentTypeUploadPrepareMediaDocImage = "doc_image" // docs图片 ParentTypeUploadPrepareMediaDocxImage = "docx_image" // docx图片 ParentTypeUploadPrepareMediaSheetImage = "sheet_image" // sheet图片 ParentTypeUploadPrepareMediaDocFile = "doc_file" // doc文件 ParentTypeUploadPrepareMediaDocxFile = "docx_file" // docx文件 ParentTypeUploadPrepareMediaSheetFile = "sheet_file" // sheet文件 ParentTypeUploadPrepareMediaVcVirtualBackground = "vc_virtual_background" // vc虚拟背景 ParentTypeUploadPrepareMediaBitableImage = "bitable_image" // bitable图片 ParentTypeUploadPrepareMediaBitableFile = "bitable_file" // bitable文件 ParentTypeUploadPrepareMediaMoments = "moments" // 同事圈 ParentTypeUploadPrepareMediaCcmImportOpen = "ccm_import_open" // 云文档导入文件 ParentTypeUploadPrepareMediaCalendar = "calendar" // 日历文件 ParentTypeUploadPrepareMediaBaseGlobal = "base_global" // base文件 ParentTypeUploadPrepareMediaLarkAiMediaAnalysis = "lark_ai_media_analysis" // ai素材 )
const ( UserIdTypeBatchQueryMetaUserId = "user_id" // 以user_id来识别用户 UserIdTypeBatchQueryMetaUnionId = "union_id" // 以union_id来识别用户 UserIdTypeBatchQueryMetaOpenId = "open_id" // 以open_id来识别用户 )
const ( TokenTypeDoc = "doc" // 文档 TokenTypeSheet = "sheet" // 电子表格 TokenTypeFile = "file" // 云空间文件 TokenTypeWiki = "wiki" // 知识库节点 TokenTypeBitable = "bitable" // 多维表格 TokenTypeDocx = "docx" // 新版文档 TokenTypeMindnote = "mindnote" // 思维笔记 TokenTypeMinutes = "minutes" // 妙记 TokenTypeSlides = "slides" // 幻灯片 )
const ( PermView = "view" // 阅读 PermEdit = "edit" // 编辑 PermComment = "comment" // 评论 PermExport = "export" // 导出 PermCopy = "copy" // 拷贝 PermPrint = "print" // 打印 PermManagePublic = "manage_public" // 管理权限设置 )
const ( TokenTypeV2Doc = "doc" // 文档 TokenTypeV2Sheet = "sheet" // 电子表格 TokenTypeV2File = "file" // 云空间文件 TokenTypeV2Wiki = "wiki" // 知识库节点 TokenTypeV2Bitable = "bitable" // 多维表格 TokenTypeV2Docx = "docx" // 新版文档 TokenTypeV2Folder = "folder" // 文件夹 TokenTypeV2Mindnote = "mindnote" // 思维笔记 TokenTypeV2Minutes = "minutes" // 妙记 TokenTypeV2Slides = "slides" // 幻灯片 )
const ( MemberTypeEmail = "email" // 飞书邮箱 MemberTypeOpenId = "openid" // 开放平台OpenID MemberTypeUnionId = "unionid" // 开放平台UnionID MemberTypeOpenChat = "openchat" // 开放平台群组ID MemberTypeOpenDepartmentId = "opendepartmentid" // 开放平台部门ID MemberTypeUserId = "userid" // 用户自定义ID MemberTypeGroupId = "groupid" // 自定义用户组ID MemberTypeWikiSpaceId = "wikispaceid" // 知识空间的唯一标识 )
const ( PermCreatePermissionMemberView = "view" // 可阅读角色 PermCreatePermissionMemberEdit = "edit" // 可编辑角色 PermCreatePermissionMemberFullAccess = "full_access" // 可管理角色 )
const ( PermTypeContainer = "container" // 当前页面及子页面 PermTypeSinglePage = "single_page" // 仅当前页面,当且仅当在知识库文档中该参数有效 )
const ( TypeCreatePermissionMemberUser = "user" // 用户 TypeCreatePermissionMemberChat = "chat" // 群组 TypeCreatePermissionMemberDepartment = "department" // 组织架构 TypeCreatePermissionMemberGroup = "group" // 用户组 TypeCreatePermissionMemberWikiSpaceMember = "wiki_space_member" // 知识库成员 TypeCreatePermissionMemberWikiSpaceViewer = "wiki_space_viewer" // 知识库可阅读成员 TypeCreatePermissionMemberWikiSpaceEditor = "wiki_space_editor" // 知识库可编辑成员 )
const ( TokenTypeV2CreatePermissionMemberDoc = "doc" // 文档 TokenTypeV2CreatePermissionMemberSheet = "sheet" // 电子表格 TokenTypeV2CreatePermissionMemberFile = "file" // 云空间文件 TokenTypeV2CreatePermissionMemberWiki = "wiki" // 知识库节点 TokenTypeV2CreatePermissionMemberBitable = "bitable" // 多维表格 TokenTypeV2CreatePermissionMemberDocx = "docx" // 新版文档 TokenTypeV2CreatePermissionMemberFolder = "folder" // 文件夹 TokenTypeV2CreatePermissionMemberMindnote = "mindnote" // 思维笔记 TokenTypeV2CreatePermissionMemberMinutes = "minutes" // 妙记 TokenTypeV2CreatePermissionMemberSlides = "slides" // 幻灯片 )
const ( TypeDeletePermissionMemberUser = "user" // 用户 TypeDeletePermissionMemberChat = "chat" // 群组 TypeDeletePermissionMemberDepartment = "department" // 组织架构 TypeDeletePermissionMemberGroup = "group" // 用户组 TypeDeletePermissionMemberWikiSpaceMember = "wiki_space_member" // 知识库成员 TypeDeletePermissionMemberWikiSpaceViewer = "wiki_space_viewer" // 知识库可阅读成员 TypeDeletePermissionMemberWikiSpaceEditor = "wiki_space_editor" // 知识库可编辑成员 )
const ( PermTypeDeletePermissionMemberContainer = "container" // 当前页面及子页面 PermTypeDeletePermissionMemberSinglePage = "single_page" // 仅当前页面,当且仅当在知识库文档中该参数有效 )
const ( TokenTypeV2DeletePermissionMemberDoc = "doc" // 文档 TokenTypeV2DeletePermissionMemberSheet = "sheet" // 电子表格 TokenTypeV2DeletePermissionMemberFile = "file" // 云空间文件 TokenTypeV2DeletePermissionMemberWiki = "wiki" // 知识库节点 TokenTypeV2DeletePermissionMemberBitable = "bitable" // 多维表格 TokenTypeV2DeletePermissionMemberDocx = "docx" // 文档 TokenTypeV2DeletePermissionMemberFolder = "folder" // 文件夹 TokenTypeV2DeletePermissionMemberMindnote = "mindnote" // 思维笔记 TokenTypeV2DeletePermissionMemberMinutes = "minutes" // 妙记 TokenTypeV2DeletePermissionMemberSlides = "slides" // 幻灯片 )
const ( MemberTypeDeletePermissionMemberEmail = "email" // 邮箱地址 MemberTypeDeletePermissionMemberOpenID = "openid" // 开放平台ID MemberTypeDeletePermissionMemberOpenChatID = "openchat" // 开放平台群ID MemberTypeDeletePermissionMemberOpenDepartmentID = "opendepartmentid" // 开放平台部门ID MemberTypeDeletePermissionMemberUserID = "userid" // 自定义用户ID MemberTypeDeletePermissionMemberUnionID = "unionid" // 开放平台UnionID MemberTypeDeletePermissionMemberGroupID = "groupid" // 自定义用户组ID MemberTypeDeletePermissionMemberWikiSpaceID = "wikispaceid" // 知识空间的唯一标识 )
const ( TokenTypeListPermissionMemberDoc = "doc" // 文档 TokenTypeListPermissionMemberSheet = "sheet" // 电子表格 TokenTypeListPermissionMemberFile = "file" // 云空间文件 TokenTypeListPermissionMemberWiki = "wiki" // 知识库节点 TokenTypeListPermissionMemberBitable = "bitable" // 多维表格 TokenTypeListPermissionMemberDocx = "docx" // 新版文档 TokenTypeListPermissionMemberMindnote = "mindnote" // 思维笔记 TokenTypeListPermissionMemberMinutes = "minutes" // 妙记 TokenTypeListPermissionMemberSlides = "slides" // 幻灯片 )
const ( PermTypeListPermissionMemberContainer = "container" // 当前页面及子页面 PermTypeListPermissionMemberSinglePage = "single_page" // 仅当前页面,当且仅当在知识库文档中该参数有效 )
const ( MemberTypeTransferOwnerPermissionMemberEmail = "email" // 飞书邮箱 MemberTypeTransferOwnerPermissionMemberOpenId = "openid" // 开放平台ID MemberTypeTransferOwnerPermissionMemberUserId = "userid" // 用户自定义ID )
const ( TokenTypeTransferOwnerPermissionMemberDoc = "doc" // 文档 TokenTypeTransferOwnerPermissionMemberSheet = "sheet" // 电子表格 TokenTypeTransferOwnerPermissionMemberFile = "file" // 云空间文件 TokenTypeTransferOwnerPermissionMemberWiki = "wiki" // 知识库节点 TokenTypeTransferOwnerPermissionMemberBitable = "bitable" // 多维表格 TokenTypeTransferOwnerPermissionMemberDocx = "docx" // 新版文档 TokenTypeTransferOwnerPermissionMemberMindnote = "mindnote" // 思维笔记 TokenTypeTransferOwnerPermissionMemberMinutes = "minutes" // 妙记 TokenTypeTransferOwnerPermissionMemberSlides = "slides" // 幻灯片 )
const ( MemberTypeUpdatePermissionMemberEmail = "email" // 飞书邮箱 MemberTypeUpdatePermissionMemberOpenId = "openid" // 开放平台OpenID MemberTypeUpdatePermissionMemberUnionId = "unionid" // 开放平台UnionID MemberTypeUpdatePermissionMemberOpenChat = "openchat" // 开放平台群组ID MemberTypeUpdatePermissionMemberOpenDepartmentId = "opendepartmentid" // 开放平台部门ID MemberTypeUpdatePermissionMemberUserId = "userid" // 用户自定义ID MemberTypeUpdatePermissionMemberGroupId = "groupid" // 自定义用户组ID MemberTypeUpdatePermissionMemberWikiSpaceId = "wikispaceid" // 知识空间的唯一标识 )
const ( PermUpdatePermissionMemberView = "view" // 可阅读角色 PermUpdatePermissionMemberEdit = "edit" // 可编辑角色 PermUpdatePermissionMemberFullAccess = "full_access" // 可管理角色 )
const ( PermTypeUpdatePermissionMemberContainer = "container" // 当前页面及子页面 PermTypeUpdatePermissionMemberSinglePage = "single_page" // 仅当前页面,当且仅当在知识库文档中该参数有效 )
const ( TypeUpdatePermissionMemberUser = "user" // 用户 TypeUpdatePermissionMemberChat = "chat" // 群组 TypeUpdatePermissionMemberDepartment = "department" // 组织架构 TypeUpdatePermissionMemberGroup = "group" // 用户组 TypeUpdatePermissionMemberWikiSpaceMember = "wiki_space_member" // 知识库成员 TypeUpdatePermissionMemberWikiSpaceViewer = "wiki_space_viewer" // 知识库可阅读成员 TypeUpdatePermissionMemberWikiSpaceEditor = "wiki_space_editor" // 知识库可编辑成员 )
const ( TokenTypeUpdatePermissionMemberDoc = "doc" // 文档 TokenTypeUpdatePermissionMemberSheet = "sheet" // 电子表格 TokenTypeUpdatePermissionMemberFile = "file" // 云空间文件 TokenTypeUpdatePermissionMemberWiki = "wiki" // 知识库节点 TokenTypeUpdatePermissionMemberBitable = "bitable" // 多维表格 TokenTypeUpdatePermissionMemberDocx = "docx" // 文档 TokenTypeUpdatePermissionMemberMindnote = "mindnote" // 思维笔记 TokenTypeUpdatePermissionMemberMinutes = "minutes" // 妙记 TokenTypeUpdatePermissionMemberSlides = "slides" // 幻灯片 )
const ( TokenTypeGetPermissionPublicDoc = "doc" // 文档 TokenTypeGetPermissionPublicSheet = "sheet" // 电子表格 TokenTypeGetPermissionPublicFile = "file" // 云空间文件 TokenTypeGetPermissionPublicWiki = "wiki" // 知识库节点 TokenTypeGetPermissionPublicBitable = "bitable" // 多维表格 TokenTypeGetPermissionPublicDocx = "docx" // 文档 TokenTypeGetPermissionPublicMindnote = "mindnote" // 思维笔记 TokenTypeGetPermissionPublicMinutes = "minutes" // 妙记 TokenTypeGetPermissionPublicSlides = "slides" // 幻灯片 )
const ( SecurityEntityAnyoneCanView = "anyone_can_view" // 拥有可阅读权限的用户 SecurityEntityAnyoneCanEdit = "anyone_can_edit" // 拥有可编辑权限的用户 SecurityEntityOnlyFullAccess = "only_full_access" // 拥有可管理权限(包括我)的用户 )
const ( CommentEntityAnyoneCanView = "anyone_can_view" // 拥有可阅读权限的用户 CommentEntityAnyoneCanEdit = "anyone_can_edit" // 拥有可编辑权限的用户 )
const ()
const ()
const ( TokenTypePatchPermissionPublicDoc = "doc" // 文档 TokenTypePatchPermissionPublicSheet = "sheet" // 电子表格 TokenTypePatchPermissionPublicFile = "file" // 云空间文件 TokenTypePatchPermissionPublicWiki = "wiki" // 知识库节点 TokenTypePatchPermissionPublicBitable = "bitable" // 多维表格 TokenTypePatchPermissionPublicDocx = "docx" // 文档 TokenTypePatchPermissionPublicMindnote = "mindnote" // 思维笔记 TokenTypePatchPermissionPublicMinutes = "minutes" // 妙记 TokenTypePatchPermissionPublicSlides = "slides" // 幻灯片 )
const ( TokenTypeCreatePermissionPublicPasswordDoc = "doc" // 文档 TokenTypeCreatePermissionPublicPasswordSheet = "sheet" // 电子表格 TokenTypeCreatePermissionPublicPasswordFile = "file" // 云空间文件 TokenTypeCreatePermissionPublicPasswordWiki = "wiki" // 知识库节点 TokenTypeCreatePermissionPublicPasswordBitable = "bitable" // 多维表格 TokenTypeCreatePermissionPublicPasswordDocx = "docx" // 新版文档 TokenTypeCreatePermissionPublicPasswordMindnote = "mindnote" // 思维笔记 TokenTypeCreatePermissionPublicPasswordMinutes = "minutes" // 妙计 TokenTypeCreatePermissionPublicPasswordSlides = "slides" // 幻灯片 )
const ( TypeDeletePermissionPublicPasswordDoc = "doc" // 文档 TypeDeletePermissionPublicPasswordSheet = "sheet" // 电子表格 TypeDeletePermissionPublicPasswordFile = "file" // 云空间文件 TypeDeletePermissionPublicPasswordWiki = "wiki" // 知识库节点 TypeDeletePermissionPublicPasswordBitable = "bitable" // 多维表格 TypeDeletePermissionPublicPasswordDocx = "docx" // 新版文档 TypeDeletePermissionPublicPasswordMindnote = "mindnote" // 思维笔记 TypeDeletePermissionPublicPasswordMinutes = "minutes" // 妙计 TypeDeletePermissionPublicPasswordSlides = "slides" // 幻灯片 )
const ( TypeUpdatePermissionPublicPasswordDoc = "doc" // 文档 TypeUpdatePermissionPublicPasswordSheet = "sheet" // 电子表格 TypeUpdatePermissionPublicPasswordFile = "file" // 云空间文件 TypeUpdatePermissionPublicPasswordWiki = "wiki" // 知识库节点 TypeUpdatePermissionPublicPasswordBitable = "bitable" // 多维表格 TypeUpdatePermissionPublicPasswordDocx = "docx" // 新版文档 TypeUpdatePermissionPublicPasswordMindnote = "mindnote" // 思维笔记 TypeUpdatePermissionPublicPasswordMinutes = "minutes" // 妙计 TypeUpdatePermissionPublicPasswordSlides = "slides" // 幻灯片 )
const (
ParentTypeExplorer = "explorer" // 云空间
)
const (
ParentTypeUploadPrepareFileExplorer = "explorer" // 云空间
)
const (
SubscriptionTypeCommentUpdate = "comment_update" // 评论更新
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyMemberRequest ¶
type ApplyMemberRequestBuilder ¶
type ApplyMemberRequestBuilder struct {
// contains filtered or unexported fields
}
func NewApplyMemberRequestBuilder ¶
func NewApplyMemberRequestBuilder() *ApplyMemberRequestBuilder
func (*ApplyMemberRequestBuilder) Build ¶
func (builder *ApplyMemberRequestBuilder) Build() *ApplyMemberRequest
func (*ApplyMemberRequestBuilder) Perm ¶
func (builder *ApplyMemberRequestBuilder) Perm(perm string) *ApplyMemberRequestBuilder
需要申请的权限,权限值:"view","edit"
示例值:view
func (*ApplyMemberRequestBuilder) Remark ¶
func (builder *ApplyMemberRequestBuilder) Remark(remark string) *ApplyMemberRequestBuilder
申请权限备注
示例值:apply_remark
type AuthPermissionMemberReq ¶
type AuthPermissionMemberReq struct {
// contains filtered or unexported fields
}
type AuthPermissionMemberReqBuilder ¶
type AuthPermissionMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewAuthPermissionMemberReqBuilder ¶
func NewAuthPermissionMemberReqBuilder() *AuthPermissionMemberReqBuilder
func (*AuthPermissionMemberReqBuilder) Action ¶
func (builder *AuthPermissionMemberReqBuilder) Action(action string) *AuthPermissionMemberReqBuilder
需要判断的权限
示例值:view
func (*AuthPermissionMemberReqBuilder) Build ¶
func (builder *AuthPermissionMemberReqBuilder) Build() *AuthPermissionMemberReq
func (*AuthPermissionMemberReqBuilder) Token ¶
func (builder *AuthPermissionMemberReqBuilder) Token(token string) *AuthPermissionMemberReqBuilder
文件的 token
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*AuthPermissionMemberReqBuilder) Type ¶
func (builder *AuthPermissionMemberReqBuilder) Type(type_ string) *AuthPermissionMemberReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type AuthPermissionMemberResp ¶
type AuthPermissionMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *AuthPermissionMemberRespData `json:"data"` // 业务数据 }
func (*AuthPermissionMemberResp) Success ¶
func (resp *AuthPermissionMemberResp) Success() bool
type AuthPermissionMemberRespData ¶
type AuthPermissionMemberRespData struct {
AuthResult *bool `json:"auth_result,omitempty"` // 是否有权限
}
type BaseMember ¶
type BaseMember struct { MemberType *string `json:"member_type,omitempty"` // 协作者 ID 类型,与协作者 ID 需要对应 MemberId *string `json:"member_id,omitempty"` // 协作者 ID,与协作者 ID 类型需要对应 Perm *string `json:"perm,omitempty"` // 协作者对应的权限角色 PermType *string `json:"perm_type,omitempty"` // 协作者的权限角色类型 Type *string `json:"type,omitempty"` // 协作者类型 }
type BaseMemberBuilder ¶
type BaseMemberBuilder struct {
// contains filtered or unexported fields
}
func NewBaseMemberBuilder ¶
func NewBaseMemberBuilder() *BaseMemberBuilder
func (*BaseMemberBuilder) Build ¶
func (builder *BaseMemberBuilder) Build() *BaseMember
func (*BaseMemberBuilder) MemberId ¶
func (builder *BaseMemberBuilder) MemberId(memberId string) *BaseMemberBuilder
协作者 ID,与协作者 ID 类型需要对应
示例值:string
func (*BaseMemberBuilder) MemberType ¶
func (builder *BaseMemberBuilder) MemberType(memberType string) *BaseMemberBuilder
协作者 ID 类型,与协作者 ID 需要对应
示例值:openid
func (*BaseMemberBuilder) Perm ¶
func (builder *BaseMemberBuilder) Perm(perm string) *BaseMemberBuilder
协作者对应的权限角色
示例值:view
func (*BaseMemberBuilder) PermType ¶
func (builder *BaseMemberBuilder) PermType(permType string) *BaseMemberBuilder
协作者的权限角色类型
示例值:container
func (*BaseMemberBuilder) Type ¶
func (builder *BaseMemberBuilder) Type(type_ string) *BaseMemberBuilder
协作者类型
示例值:user
type BatchCreatePermissionMemberPathReqBodyBuilder ¶
type BatchCreatePermissionMemberPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchCreatePermissionMemberPathReqBodyBuilder ¶
func NewBatchCreatePermissionMemberPathReqBodyBuilder() *BatchCreatePermissionMemberPathReqBodyBuilder
func (*BatchCreatePermissionMemberPathReqBodyBuilder) Build ¶
func (builder *BatchCreatePermissionMemberPathReqBodyBuilder) Build() (*BatchCreatePermissionMemberReqBody, error)
func (*BatchCreatePermissionMemberPathReqBodyBuilder) Members ¶
func (builder *BatchCreatePermissionMemberPathReqBodyBuilder) Members(members []*BaseMember) *BatchCreatePermissionMemberPathReqBodyBuilder
协作者列表
示例值:
type BatchCreatePermissionMemberReq ¶
type BatchCreatePermissionMemberReq struct { Body *BatchCreatePermissionMemberReqBody `body:""` // contains filtered or unexported fields }
type BatchCreatePermissionMemberReqBody ¶
type BatchCreatePermissionMemberReqBody struct {
Members []*BaseMember `json:"members,omitempty"` // 协作者列表
}
type BatchCreatePermissionMemberReqBodyBuilder ¶
type BatchCreatePermissionMemberReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchCreatePermissionMemberReqBodyBuilder ¶
func NewBatchCreatePermissionMemberReqBodyBuilder() *BatchCreatePermissionMemberReqBodyBuilder
func (*BatchCreatePermissionMemberReqBodyBuilder) Build ¶
func (builder *BatchCreatePermissionMemberReqBodyBuilder) Build() *BatchCreatePermissionMemberReqBody
func (*BatchCreatePermissionMemberReqBodyBuilder) Members ¶
func (builder *BatchCreatePermissionMemberReqBodyBuilder) Members(members []*BaseMember) *BatchCreatePermissionMemberReqBodyBuilder
协作者列表
示例值:
type BatchCreatePermissionMemberReqBuilder ¶
type BatchCreatePermissionMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchCreatePermissionMemberReqBuilder ¶
func NewBatchCreatePermissionMemberReqBuilder() *BatchCreatePermissionMemberReqBuilder
func (*BatchCreatePermissionMemberReqBuilder) Body ¶
func (builder *BatchCreatePermissionMemberReqBuilder) Body(body *BatchCreatePermissionMemberReqBody) *BatchCreatePermissionMemberReqBuilder
func (*BatchCreatePermissionMemberReqBuilder) Build ¶
func (builder *BatchCreatePermissionMemberReqBuilder) Build() *BatchCreatePermissionMemberReq
func (*BatchCreatePermissionMemberReqBuilder) NeedNotification ¶
func (builder *BatchCreatePermissionMemberReqBuilder) NeedNotification(needNotification bool) *BatchCreatePermissionMemberReqBuilder
添加权限后是否通知对方
示例值:false
func (*BatchCreatePermissionMemberReqBuilder) Token ¶
func (builder *BatchCreatePermissionMemberReqBuilder) Token(token string) *BatchCreatePermissionMemberReqBuilder
文件的 token
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*BatchCreatePermissionMemberReqBuilder) Type ¶
func (builder *BatchCreatePermissionMemberReqBuilder) Type(type_ string) *BatchCreatePermissionMemberReqBuilder
文件的类型
示例值:doc
type BatchCreatePermissionMemberResp ¶
type BatchCreatePermissionMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchCreatePermissionMemberRespData `json:"data"` // 业务数据 }
func (*BatchCreatePermissionMemberResp) Success ¶
func (resp *BatchCreatePermissionMemberResp) Success() bool
type BatchCreatePermissionMemberRespData ¶
type BatchCreatePermissionMemberRespData struct {
Members []*BaseMember `json:"members,omitempty"` // 协作者列表
}
type BatchGetTmpDownloadUrlMediaReq ¶
type BatchGetTmpDownloadUrlMediaReq struct {
// contains filtered or unexported fields
}
type BatchGetTmpDownloadUrlMediaReqBuilder ¶
type BatchGetTmpDownloadUrlMediaReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchGetTmpDownloadUrlMediaReqBuilder ¶
func NewBatchGetTmpDownloadUrlMediaReqBuilder() *BatchGetTmpDownloadUrlMediaReqBuilder
func (*BatchGetTmpDownloadUrlMediaReqBuilder) Build ¶
func (builder *BatchGetTmpDownloadUrlMediaReqBuilder) Build() *BatchGetTmpDownloadUrlMediaReq
func (*BatchGetTmpDownloadUrlMediaReqBuilder) Extra ¶
func (builder *BatchGetTmpDownloadUrlMediaReqBuilder) Extra(extra string) *BatchGetTmpDownloadUrlMediaReqBuilder
拓展信息(可选)
示例值:[请参考-上传点类型及对应Extra说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/introduction)
func (*BatchGetTmpDownloadUrlMediaReqBuilder) FileTokens ¶
func (builder *BatchGetTmpDownloadUrlMediaReqBuilder) FileTokens(fileTokens []string) *BatchGetTmpDownloadUrlMediaReqBuilder
文件标识符列表
示例值:boxcnrHpsg1QDqXAAAyachabcef
type BatchGetTmpDownloadUrlMediaResp ¶
type BatchGetTmpDownloadUrlMediaResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchGetTmpDownloadUrlMediaRespData `json:"data"` // 业务数据 }
func (*BatchGetTmpDownloadUrlMediaResp) Success ¶
func (resp *BatchGetTmpDownloadUrlMediaResp) Success() bool
type BatchGetTmpDownloadUrlMediaRespData ¶
type BatchGetTmpDownloadUrlMediaRespData struct {
TmpDownloadUrls []*TmpDownloadUrl `json:"tmp_download_urls,omitempty"` // 临时下载列表
}
type BatchQueryFileCommentPathReqBodyBuilder ¶
type BatchQueryFileCommentPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchQueryFileCommentPathReqBodyBuilder ¶
func NewBatchQueryFileCommentPathReqBodyBuilder() *BatchQueryFileCommentPathReqBodyBuilder
func (*BatchQueryFileCommentPathReqBodyBuilder) Build ¶
func (builder *BatchQueryFileCommentPathReqBodyBuilder) Build() (*BatchQueryFileCommentReqBody, error)
func (*BatchQueryFileCommentPathReqBodyBuilder) CommentIds ¶
func (builder *BatchQueryFileCommentPathReqBodyBuilder) CommentIds(commentIds []string) *BatchQueryFileCommentPathReqBodyBuilder
需要获取数据的评论id
示例值:1654857036541812356
type BatchQueryFileCommentReq ¶
type BatchQueryFileCommentReq struct { Body *BatchQueryFileCommentReqBody `body:""` // contains filtered or unexported fields }
type BatchQueryFileCommentReqBody ¶
type BatchQueryFileCommentReqBody struct {
CommentIds []string `json:"comment_ids,omitempty"` // 需要获取数据的评论id
}
type BatchQueryFileCommentReqBodyBuilder ¶
type BatchQueryFileCommentReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewBatchQueryFileCommentReqBodyBuilder ¶
func NewBatchQueryFileCommentReqBodyBuilder() *BatchQueryFileCommentReqBodyBuilder
func (*BatchQueryFileCommentReqBodyBuilder) Build ¶
func (builder *BatchQueryFileCommentReqBodyBuilder) Build() *BatchQueryFileCommentReqBody
func (*BatchQueryFileCommentReqBodyBuilder) CommentIds ¶
func (builder *BatchQueryFileCommentReqBodyBuilder) CommentIds(commentIds []string) *BatchQueryFileCommentReqBodyBuilder
需要获取数据的评论id
示例值:1654857036541812356
type BatchQueryFileCommentReqBuilder ¶
type BatchQueryFileCommentReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchQueryFileCommentReqBuilder ¶
func NewBatchQueryFileCommentReqBuilder() *BatchQueryFileCommentReqBuilder
func (*BatchQueryFileCommentReqBuilder) Body ¶
func (builder *BatchQueryFileCommentReqBuilder) Body(body *BatchQueryFileCommentReqBody) *BatchQueryFileCommentReqBuilder
该接口用于根据评论 ID 列表批量获取评论。
func (*BatchQueryFileCommentReqBuilder) Build ¶
func (builder *BatchQueryFileCommentReqBuilder) Build() *BatchQueryFileCommentReq
func (*BatchQueryFileCommentReqBuilder) FileToken ¶
func (builder *BatchQueryFileCommentReqBuilder) FileToken(fileToken string) *BatchQueryFileCommentReqBuilder
文档Token
示例值:doxbcdl03Vsxhm7Qmnj110abcef
func (*BatchQueryFileCommentReqBuilder) FileType ¶
func (builder *BatchQueryFileCommentReqBuilder) FileType(fileType string) *BatchQueryFileCommentReqBuilder
文档类型
示例值:doc;docx;sheet;file
func (*BatchQueryFileCommentReqBuilder) UserIdType ¶
func (builder *BatchQueryFileCommentReqBuilder) UserIdType(userIdType string) *BatchQueryFileCommentReqBuilder
此次调用中使用的用户ID的类型
示例值:
type BatchQueryFileCommentResp ¶
type BatchQueryFileCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchQueryFileCommentRespData `json:"data"` // 业务数据 }
func (*BatchQueryFileCommentResp) Success ¶
func (resp *BatchQueryFileCommentResp) Success() bool
type BatchQueryFileCommentRespData ¶
type BatchQueryFileCommentRespData struct {
Items []*FileComment `json:"items,omitempty"` // 评论的相关信息、回复的信息、回复分页的信息
}
type BatchQueryMetaReq ¶
type BatchQueryMetaReq struct { MetaRequest *MetaRequest `body:""` // contains filtered or unexported fields }
type BatchQueryMetaReqBuilder ¶
type BatchQueryMetaReqBuilder struct {
// contains filtered or unexported fields
}
func NewBatchQueryMetaReqBuilder ¶
func NewBatchQueryMetaReqBuilder() *BatchQueryMetaReqBuilder
func (*BatchQueryMetaReqBuilder) Build ¶
func (builder *BatchQueryMetaReqBuilder) Build() *BatchQueryMetaReq
func (*BatchQueryMetaReqBuilder) MetaRequest ¶
func (builder *BatchQueryMetaReqBuilder) MetaRequest(metaRequest *MetaRequest) *BatchQueryMetaReqBuilder
该接口用于根据 token 获取各类文件的元数据
func (*BatchQueryMetaReqBuilder) UserIdType ¶
func (builder *BatchQueryMetaReqBuilder) UserIdType(userIdType string) *BatchQueryMetaReqBuilder
此次调用中使用的用户ID的类型
示例值:
type BatchQueryMetaResp ¶
type BatchQueryMetaResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchQueryMetaRespData `json:"data"` // 业务数据 }
func (*BatchQueryMetaResp) Success ¶
func (resp *BatchQueryMetaResp) Success() bool
type BatchQueryMetaRespData ¶
type BatchQueryMetaRespData struct { Metas []*Meta `json:"metas,omitempty"` // 文档元数据列表 FailedList []*MetaFailed `json:"failed_list,omitempty"` // 无法获取元数据的文档列表 }
type BitableTableFieldAction ¶
type BitableTableFieldAction struct { Action *string `json:"action,omitempty"` // 操作类型 FieldId *string `json:"field_id,omitempty"` // 字段 ID BeforeValue *BitableTableFieldActionValue `json:"before_value,omitempty"` // 操作前的字段值 AfterValue *BitableTableFieldActionValue `json:"after_value,omitempty"` // 操作后的字段值 }
type BitableTableFieldActionBuilder ¶
type BitableTableFieldActionBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableFieldActionBuilder ¶
func NewBitableTableFieldActionBuilder() *BitableTableFieldActionBuilder
func (*BitableTableFieldActionBuilder) Action ¶
func (builder *BitableTableFieldActionBuilder) Action(action string) *BitableTableFieldActionBuilder
操作类型
示例值:field_edited
func (*BitableTableFieldActionBuilder) AfterValue ¶
func (builder *BitableTableFieldActionBuilder) AfterValue(afterValue *BitableTableFieldActionValue) *BitableTableFieldActionBuilder
操作后的字段值
示例值:
func (*BitableTableFieldActionBuilder) BeforeValue ¶
func (builder *BitableTableFieldActionBuilder) BeforeValue(beforeValue *BitableTableFieldActionValue) *BitableTableFieldActionBuilder
操作前的字段值
示例值:
func (*BitableTableFieldActionBuilder) Build ¶
func (builder *BitableTableFieldActionBuilder) Build() *BitableTableFieldAction
func (*BitableTableFieldActionBuilder) FieldId ¶
func (builder *BitableTableFieldActionBuilder) FieldId(fieldId string) *BitableTableFieldActionBuilder
字段 ID
示例值:fldmj5qNii
type BitableTableFieldActionValue ¶
type BitableTableFieldActionValue struct { Id *string `json:"id,omitempty"` // 字段 ID Name *string `json:"name,omitempty"` // 字段名字 Type *int `json:"type,omitempty"` // 字段类型 Description *string `json:"description,omitempty"` // 字段描述 Property *BitableTableFieldActionValueProperty `json:"property,omitempty"` // 字段属性 }
type BitableTableFieldActionValueBuilder ¶
type BitableTableFieldActionValueBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableFieldActionValueBuilder ¶
func NewBitableTableFieldActionValueBuilder() *BitableTableFieldActionValueBuilder
func (*BitableTableFieldActionValueBuilder) Build ¶
func (builder *BitableTableFieldActionValueBuilder) Build() *BitableTableFieldActionValue
func (*BitableTableFieldActionValueBuilder) Description ¶
func (builder *BitableTableFieldActionValueBuilder) Description(description string) *BitableTableFieldActionValueBuilder
字段描述
示例值:description
func (*BitableTableFieldActionValueBuilder) Id ¶
func (builder *BitableTableFieldActionValueBuilder) Id(id string) *BitableTableFieldActionValueBuilder
字段 ID
示例值:fldmj5qNii
func (*BitableTableFieldActionValueBuilder) Name ¶
func (builder *BitableTableFieldActionValueBuilder) Name(name string) *BitableTableFieldActionValueBuilder
字段名字
示例值:field name
func (*BitableTableFieldActionValueBuilder) Property ¶
func (builder *BitableTableFieldActionValueBuilder) Property(property *BitableTableFieldActionValueProperty) *BitableTableFieldActionValueBuilder
字段属性
示例值:
func (*BitableTableFieldActionValueBuilder) Type ¶
func (builder *BitableTableFieldActionValueBuilder) Type(type_ int) *BitableTableFieldActionValueBuilder
字段类型
示例值:20
type BitableTableFieldActionValueProperty ¶
type BitableTableFieldActionValueProperty struct { Formatter *string `json:"formatter,omitempty"` // 数字、公式字段的显示格式 DateFormatter *string `json:"date_formatter,omitempty"` // 日期、创建时间、最后更新时间字段的显示格式 AutoFill *bool `json:"auto_fill,omitempty"` // 日期字段中新纪录自动填写创建时间 Multiple *bool `json:"multiple,omitempty"` // 人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录 TableId *string `json:"table_id,omitempty"` // 单向关联、双向关联字段中关联的数据表的ID TableName *string `json:"table_name,omitempty"` // 单向关联、双向关联字段中关联的数据表的名字 BackFieldName *string `json:"back_field_name,omitempty"` // 双向关联字段中关联的数据表中对应的双向关联字段的名字 InputType *string `json:"input_type,omitempty"` // 地理位置输入限制 BackFieldId *string `json:"back_field_id,omitempty"` // 双向关联字段中关联的数据表中对应的双向关联字段的id AutoSerial *BitableTableFieldActionValuePropertyAutoSerial `json:"auto_serial,omitempty"` // 自动编号类型 Options []*BitableTableFieldActionValuePropertyOption `json:"options,omitempty"` // 单选、多选字段的选项信息 FormulaExpression *string `json:"formula_expression,omitempty"` // 公式字段的公式表达式 }
type BitableTableFieldActionValuePropertyAutoSerial ¶
type BitableTableFieldActionValuePropertyAutoSerial struct { Type *string `json:"type,omitempty"` // 自动编号类型 Options []*BitableTableFieldActionValuePropertyAutoSerialOptions `json:"options,omitempty"` // 自动编号规则列表 }
type BitableTableFieldActionValuePropertyAutoSerialBuilder ¶
type BitableTableFieldActionValuePropertyAutoSerialBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableFieldActionValuePropertyAutoSerialBuilder ¶
func NewBitableTableFieldActionValuePropertyAutoSerialBuilder() *BitableTableFieldActionValuePropertyAutoSerialBuilder
func (*BitableTableFieldActionValuePropertyAutoSerialBuilder) Build ¶
func (builder *BitableTableFieldActionValuePropertyAutoSerialBuilder) Build() *BitableTableFieldActionValuePropertyAutoSerial
func (*BitableTableFieldActionValuePropertyAutoSerialBuilder) Options ¶
func (builder *BitableTableFieldActionValuePropertyAutoSerialBuilder) Options(options []*BitableTableFieldActionValuePropertyAutoSerialOptions) *BitableTableFieldActionValuePropertyAutoSerialBuilder
自动编号规则列表
示例值:
func (*BitableTableFieldActionValuePropertyAutoSerialBuilder) Type ¶
func (builder *BitableTableFieldActionValuePropertyAutoSerialBuilder) Type(type_ string) *BitableTableFieldActionValuePropertyAutoSerialBuilder
自动编号类型
示例值:custom
type BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder ¶
type BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableFieldActionValuePropertyAutoSerialOptionsBuilder ¶
func NewBitableTableFieldActionValuePropertyAutoSerialOptionsBuilder() *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder
func (*BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder) Type ¶
func (builder *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder) Type(type_ string) *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder
自动编号的可选规则项类型
示例值:created_time
func (*BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder) Value ¶
func (builder *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder) Value(value string) *BitableTableFieldActionValuePropertyAutoSerialOptionsBuilder
与类型相对应的取值
示例值:yyyyMMdd
type BitableTableFieldActionValuePropertyBuilder ¶
type BitableTableFieldActionValuePropertyBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableFieldActionValuePropertyBuilder ¶
func NewBitableTableFieldActionValuePropertyBuilder() *BitableTableFieldActionValuePropertyBuilder
func (*BitableTableFieldActionValuePropertyBuilder) AutoFill ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) AutoFill(autoFill bool) *BitableTableFieldActionValuePropertyBuilder
日期字段中新纪录自动填写创建时间
示例值:true
func (*BitableTableFieldActionValuePropertyBuilder) AutoSerial ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) AutoSerial(autoSerial *BitableTableFieldActionValuePropertyAutoSerial) *BitableTableFieldActionValuePropertyBuilder
自动编号类型
示例值:
func (*BitableTableFieldActionValuePropertyBuilder) BackFieldId ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) BackFieldId(backFieldId string) *BitableTableFieldActionValuePropertyBuilder
双向关联字段中关联的数据表中对应的双向关联字段的id
示例值:fldmj5qNii
func (*BitableTableFieldActionValuePropertyBuilder) BackFieldName ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) BackFieldName(backFieldName string) *BitableTableFieldActionValuePropertyBuilder
双向关联字段中关联的数据表中对应的双向关联字段的名字
示例值:field name
func (*BitableTableFieldActionValuePropertyBuilder) Build ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) Build() *BitableTableFieldActionValueProperty
func (*BitableTableFieldActionValuePropertyBuilder) DateFormatter ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) DateFormatter(dateFormatter string) *BitableTableFieldActionValuePropertyBuilder
日期、创建时间、最后更新时间字段的显示格式
示例值:yyyyMMdd
func (*BitableTableFieldActionValuePropertyBuilder) Formatter ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) Formatter(formatter string) *BitableTableFieldActionValuePropertyBuilder
数字、公式字段的显示格式
示例值:1,000
func (*BitableTableFieldActionValuePropertyBuilder) FormulaExpression ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) FormulaExpression(formulaExpression string) *BitableTableFieldActionValuePropertyBuilder
公式字段的公式表达式
示例值:bitable::$table[tblIniLz0Ic8oXyN].$field[fldqatAwxx]*6+333
func (*BitableTableFieldActionValuePropertyBuilder) InputType ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) InputType(inputType string) *BitableTableFieldActionValuePropertyBuilder
地理位置输入限制
示例值:only_mobile
func (*BitableTableFieldActionValuePropertyBuilder) Multiple ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) Multiple(multiple bool) *BitableTableFieldActionValuePropertyBuilder
人员字段中允许添加多个成员,单向关联、双向关联中允许添加多个记录
示例值:true
func (*BitableTableFieldActionValuePropertyBuilder) Options ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) Options(options []*BitableTableFieldActionValuePropertyOption) *BitableTableFieldActionValuePropertyBuilder
单选、多选字段的选项信息
示例值:
func (*BitableTableFieldActionValuePropertyBuilder) TableId ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) TableId(tableId string) *BitableTableFieldActionValuePropertyBuilder
单向关联、双向关联字段中关联的数据表的ID
示例值:tblIniLz0Ic8oXyN
func (*BitableTableFieldActionValuePropertyBuilder) TableName ¶
func (builder *BitableTableFieldActionValuePropertyBuilder) TableName(tableName string) *BitableTableFieldActionValuePropertyBuilder
单向关联、双向关联字段中关联的数据表的名字
示例值:table name
type BitableTableFieldActionValuePropertyOptionBuilder ¶
type BitableTableFieldActionValuePropertyOptionBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableFieldActionValuePropertyOptionBuilder ¶
func NewBitableTableFieldActionValuePropertyOptionBuilder() *BitableTableFieldActionValuePropertyOptionBuilder
func (*BitableTableFieldActionValuePropertyOptionBuilder) Build ¶
func (builder *BitableTableFieldActionValuePropertyOptionBuilder) Build() *BitableTableFieldActionValuePropertyOption
func (*BitableTableFieldActionValuePropertyOptionBuilder) Color ¶
func (builder *BitableTableFieldActionValuePropertyOptionBuilder) Color(color int) *BitableTableFieldActionValuePropertyOptionBuilder
选项颜色
示例值:3
func (*BitableTableFieldActionValuePropertyOptionBuilder) Id ¶
func (builder *BitableTableFieldActionValuePropertyOptionBuilder) Id(id string) *BitableTableFieldActionValuePropertyOptionBuilder
选项ID
示例值:optabcef
func (*BitableTableFieldActionValuePropertyOptionBuilder) Name ¶
func (builder *BitableTableFieldActionValuePropertyOptionBuilder) Name(name string) *BitableTableFieldActionValuePropertyOptionBuilder
选项名
示例值:option name
type BitableTableRecordAction ¶
type BitableTableRecordAction struct { RecordId *string `json:"record_id,omitempty"` // 记录 ID Action *string `json:"action,omitempty"` // 操作类型 BeforeValue []*BitableTableRecordActionField `json:"before_value,omitempty"` // 操作前的记录值 AfterValue []*BitableTableRecordActionField `json:"after_value,omitempty"` // 操作后的记录值 }
type BitableTableRecordActionBuilder ¶
type BitableTableRecordActionBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableRecordActionBuilder ¶
func NewBitableTableRecordActionBuilder() *BitableTableRecordActionBuilder
func (*BitableTableRecordActionBuilder) Action ¶
func (builder *BitableTableRecordActionBuilder) Action(action string) *BitableTableRecordActionBuilder
操作类型
示例值:
func (*BitableTableRecordActionBuilder) AfterValue ¶
func (builder *BitableTableRecordActionBuilder) AfterValue(afterValue []*BitableTableRecordActionField) *BitableTableRecordActionBuilder
操作后的记录值
示例值:
func (*BitableTableRecordActionBuilder) BeforeValue ¶
func (builder *BitableTableRecordActionBuilder) BeforeValue(beforeValue []*BitableTableRecordActionField) *BitableTableRecordActionBuilder
操作前的记录值
示例值:
func (*BitableTableRecordActionBuilder) Build ¶
func (builder *BitableTableRecordActionBuilder) Build() *BitableTableRecordAction
func (*BitableTableRecordActionBuilder) RecordId ¶
func (builder *BitableTableRecordActionBuilder) RecordId(recordId string) *BitableTableRecordActionBuilder
记录 ID
示例值:
type BitableTableRecordActionField ¶
type BitableTableRecordActionField struct { FieldId *string `json:"field_id,omitempty"` // 字段 ID FieldValue *string `json:"field_value,omitempty"` // 字段值 FieldIdentityValue *BitableTableRecordActionFieldIdentity `json:"field_identity_value,omitempty"` // 人员字段补充信息 }
type BitableTableRecordActionFieldBuilder ¶
type BitableTableRecordActionFieldBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableRecordActionFieldBuilder ¶
func NewBitableTableRecordActionFieldBuilder() *BitableTableRecordActionFieldBuilder
func (*BitableTableRecordActionFieldBuilder) Build ¶
func (builder *BitableTableRecordActionFieldBuilder) Build() *BitableTableRecordActionField
func (*BitableTableRecordActionFieldBuilder) FieldId ¶
func (builder *BitableTableRecordActionFieldBuilder) FieldId(fieldId string) *BitableTableRecordActionFieldBuilder
字段 ID
示例值:
func (*BitableTableRecordActionFieldBuilder) FieldIdentityValue ¶
func (builder *BitableTableRecordActionFieldBuilder) FieldIdentityValue(fieldIdentityValue *BitableTableRecordActionFieldIdentity) *BitableTableRecordActionFieldBuilder
人员字段补充信息
示例值:
func (*BitableTableRecordActionFieldBuilder) FieldValue ¶
func (builder *BitableTableRecordActionFieldBuilder) FieldValue(fieldValue string) *BitableTableRecordActionFieldBuilder
字段值
示例值:
type BitableTableRecordActionFieldIdentity ¶
type BitableTableRecordActionFieldIdentity struct {
Users []*BitableTableRecordActionFieldIdentityUser `json:"users,omitempty"` // 用户信息列表
}
type BitableTableRecordActionFieldIdentityBuilder ¶
type BitableTableRecordActionFieldIdentityBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableRecordActionFieldIdentityBuilder ¶
func NewBitableTableRecordActionFieldIdentityBuilder() *BitableTableRecordActionFieldIdentityBuilder
func (*BitableTableRecordActionFieldIdentityBuilder) Build ¶
func (builder *BitableTableRecordActionFieldIdentityBuilder) Build() *BitableTableRecordActionFieldIdentity
func (*BitableTableRecordActionFieldIdentityBuilder) Users ¶
func (builder *BitableTableRecordActionFieldIdentityBuilder) Users(users []*BitableTableRecordActionFieldIdentityUser) *BitableTableRecordActionFieldIdentityBuilder
用户信息列表
示例值:
type BitableTableRecordActionFieldIdentityUserBuilder ¶
type BitableTableRecordActionFieldIdentityUserBuilder struct {
// contains filtered or unexported fields
}
func NewBitableTableRecordActionFieldIdentityUserBuilder ¶
func NewBitableTableRecordActionFieldIdentityUserBuilder() *BitableTableRecordActionFieldIdentityUserBuilder
func (*BitableTableRecordActionFieldIdentityUserBuilder) AvatarUrl ¶
func (builder *BitableTableRecordActionFieldIdentityUserBuilder) AvatarUrl(avatarUrl string) *BitableTableRecordActionFieldIdentityUserBuilder
用户头像URL
示例值:
func (*BitableTableRecordActionFieldIdentityUserBuilder) Build ¶
func (builder *BitableTableRecordActionFieldIdentityUserBuilder) Build() *BitableTableRecordActionFieldIdentityUser
func (*BitableTableRecordActionFieldIdentityUserBuilder) EnName ¶
func (builder *BitableTableRecordActionFieldIdentityUserBuilder) EnName(enName string) *BitableTableRecordActionFieldIdentityUserBuilder
用户英文名称
示例值:
func (*BitableTableRecordActionFieldIdentityUserBuilder) Name ¶
func (builder *BitableTableRecordActionFieldIdentityUserBuilder) Name(name string) *BitableTableRecordActionFieldIdentityUserBuilder
用户名称
示例值:
func (*BitableTableRecordActionFieldIdentityUserBuilder) UserId ¶
func (builder *BitableTableRecordActionFieldIdentityUserBuilder) UserId(userId *UserId) *BitableTableRecordActionFieldIdentityUserBuilder
用户ID
示例值:
type Collaborator ¶
type Collaborator struct { MemberType *string `json:"member_type,omitempty"` // 协作者类型 "user" or "chat" MemberOpenId *string `json:"member_open_id,omitempty"` // 协作者openid MemberUserId *string `json:"member_user_id,omitempty"` // 协作者userid(仅当member_type="user"时有效) Perm *string `json:"perm,omitempty"` // 协作者权限 (注意: **有"edit"权限的协作者一定有"view"权限**) }
type CollaboratorBuilder ¶
type CollaboratorBuilder struct {
// contains filtered or unexported fields
}
func NewCollaboratorBuilder ¶
func NewCollaboratorBuilder() *CollaboratorBuilder
func (*CollaboratorBuilder) Build ¶
func (builder *CollaboratorBuilder) Build() *Collaborator
func (*CollaboratorBuilder) MemberOpenId ¶
func (builder *CollaboratorBuilder) MemberOpenId(memberOpenId string) *CollaboratorBuilder
协作者openid
示例值:ou_65b0affcc6c342a50e4c66f700137b64
func (*CollaboratorBuilder) MemberType ¶
func (builder *CollaboratorBuilder) MemberType(memberType string) *CollaboratorBuilder
协作者类型 "user" or "chat"
示例值:user
func (*CollaboratorBuilder) MemberUserId ¶
func (builder *CollaboratorBuilder) MemberUserId(memberUserId string) *CollaboratorBuilder
协作者userid(仅当member_type="user"时有效)
示例值:96g3c421
func (*CollaboratorBuilder) Perm ¶
func (builder *CollaboratorBuilder) Perm(perm string) *CollaboratorBuilder
协作者权限 (注意: **有"edit"权限的协作者一定有"view"权限**)
示例值:view
type CopyFilePathReqBodyBuilder ¶
type CopyFilePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCopyFilePathReqBodyBuilder ¶
func NewCopyFilePathReqBodyBuilder() *CopyFilePathReqBodyBuilder
func (*CopyFilePathReqBodyBuilder) Build ¶
func (builder *CopyFilePathReqBodyBuilder) Build() (*CopyFileReqBody, error)
func (*CopyFilePathReqBodyBuilder) Extra ¶
func (builder *CopyFilePathReqBodyBuilder) Extra(extra []*Property) *CopyFilePathReqBodyBuilder
用户自定义请求附加参数,用于实现特殊的复制语义
示例值:
func (*CopyFilePathReqBodyBuilder) FolderToken ¶
func (builder *CopyFilePathReqBodyBuilder) FolderToken(folderToken string) *CopyFilePathReqBodyBuilder
文件被复制到的目标文件夹token
示例值:fldbcO1UuPz8VwnpPx5a92abcef
func (*CopyFilePathReqBodyBuilder) Name ¶
func (builder *CopyFilePathReqBodyBuilder) Name(name string) *CopyFilePathReqBodyBuilder
被复制文件的新名称
示例值:test.txt
func (*CopyFilePathReqBodyBuilder) Type ¶
func (builder *CopyFilePathReqBodyBuilder) Type(type_ string) *CopyFilePathReqBodyBuilder
被复制文件的类型,如果该值为空或者与文件实际类型不匹配,接口会返回失败。
示例值:doc
type CopyFileReq ¶
type CopyFileReq struct { Body *CopyFileReqBody `body:""` // contains filtered or unexported fields }
type CopyFileReqBody ¶
type CopyFileReqBody struct { Name *string `json:"name,omitempty"` // 被复制文件的新名称 Type *string `json:"type,omitempty"` // 被复制文件的类型,如果该值为空或者与文件实际类型不匹配,接口会返回失败。 FolderToken *string `json:"folder_token,omitempty"` // 文件被复制到的目标文件夹token Extra []*Property `json:"extra,omitempty"` // 用户自定义请求附加参数,用于实现特殊的复制语义 }
type CopyFileReqBodyBuilder ¶
type CopyFileReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCopyFileReqBodyBuilder ¶
func NewCopyFileReqBodyBuilder() *CopyFileReqBodyBuilder
func (*CopyFileReqBodyBuilder) Build ¶
func (builder *CopyFileReqBodyBuilder) Build() *CopyFileReqBody
func (*CopyFileReqBodyBuilder) Extra ¶
func (builder *CopyFileReqBodyBuilder) Extra(extra []*Property) *CopyFileReqBodyBuilder
用户自定义请求附加参数,用于实现特殊的复制语义
示例值:
func (*CopyFileReqBodyBuilder) FolderToken ¶
func (builder *CopyFileReqBodyBuilder) FolderToken(folderToken string) *CopyFileReqBodyBuilder
文件被复制到的目标文件夹token
示例值:fldbcO1UuPz8VwnpPx5a92abcef
func (*CopyFileReqBodyBuilder) Name ¶
func (builder *CopyFileReqBodyBuilder) Name(name string) *CopyFileReqBodyBuilder
被复制文件的新名称
示例值:test.txt
func (*CopyFileReqBodyBuilder) Type ¶
func (builder *CopyFileReqBodyBuilder) Type(type_ string) *CopyFileReqBodyBuilder
被复制文件的类型,如果该值为空或者与文件实际类型不匹配,接口会返回失败。
示例值:doc
type CopyFileReqBuilder ¶
type CopyFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewCopyFileReqBuilder ¶
func NewCopyFileReqBuilder() *CopyFileReqBuilder
func (*CopyFileReqBuilder) Body ¶
func (builder *CopyFileReqBuilder) Body(body *CopyFileReqBody) *CopyFileReqBuilder
将文件复制到用户云空间的其他文件夹中。不支持复制文件夹。;;如果目标文件夹是我的空间,则复制的文件会在「**我的空间**」的「**归我所有**」列表里。
func (*CopyFileReqBuilder) Build ¶
func (builder *CopyFileReqBuilder) Build() *CopyFileReq
func (*CopyFileReqBuilder) FileToken ¶
func (builder *CopyFileReqBuilder) FileToken(fileToken string) *CopyFileReqBuilder
被复制的文件token
示例值:doccngpahSdXrFPIBD4XdIabcef
func (*CopyFileReqBuilder) UserIdType ¶
func (builder *CopyFileReqBuilder) UserIdType(userIdType string) *CopyFileReqBuilder
此次调用中使用的用户ID的类型
示例值:
type CopyFileResp ¶
type CopyFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CopyFileRespData `json:"data"` // 业务数据 }
func (*CopyFileResp) Success ¶
func (resp *CopyFileResp) Success() bool
type CopyFileRespData ¶
type CopyFileRespData struct {
File *File `json:"file,omitempty"` // 复制后的文件资源
}
type CreateExportTaskReq ¶
type CreateExportTaskReq struct { ExportTask *ExportTask `body:""` // contains filtered or unexported fields }
type CreateExportTaskReqBuilder ¶
type CreateExportTaskReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateExportTaskReqBuilder ¶
func NewCreateExportTaskReqBuilder() *CreateExportTaskReqBuilder
func (*CreateExportTaskReqBuilder) Build ¶
func (builder *CreateExportTaskReqBuilder) Build() *CreateExportTaskReq
func (*CreateExportTaskReqBuilder) ExportTask ¶
func (builder *CreateExportTaskReqBuilder) ExportTask(exportTask *ExportTask) *CreateExportTaskReqBuilder
创建导出任务,将云文件导出为指定格式的本地文件。该接口为异步接口,需要通过轮询 [查询导出任务结果](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/export_task/get) 接口获取任务结果。
type CreateExportTaskResp ¶
type CreateExportTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateExportTaskRespData `json:"data"` // 业务数据 }
func (*CreateExportTaskResp) Success ¶
func (resp *CreateExportTaskResp) Success() bool
type CreateExportTaskRespData ¶
type CreateExportTaskRespData struct {
Ticket *string `json:"ticket,omitempty"` // 导出任务ID
}
type CreateFileCommentReq ¶
type CreateFileCommentReq struct { FileComment *FileComment `body:""` // contains filtered or unexported fields }
type CreateFileCommentReqBuilder ¶
type CreateFileCommentReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateFileCommentReqBuilder ¶
func NewCreateFileCommentReqBuilder() *CreateFileCommentReqBuilder
func (*CreateFileCommentReqBuilder) Build ¶
func (builder *CreateFileCommentReqBuilder) Build() *CreateFileCommentReq
func (*CreateFileCommentReqBuilder) FileComment ¶
func (builder *CreateFileCommentReqBuilder) FileComment(fileComment *FileComment) *CreateFileCommentReqBuilder
往云文档添加一条全局评论。
func (*CreateFileCommentReqBuilder) FileToken ¶
func (builder *CreateFileCommentReqBuilder) FileToken(fileToken string) *CreateFileCommentReqBuilder
文档token
示例值:doccnGp4UK1UskrOEJwBXd3****
func (*CreateFileCommentReqBuilder) FileType ¶
func (builder *CreateFileCommentReqBuilder) FileType(fileType string) *CreateFileCommentReqBuilder
文档类型
示例值:doc
func (*CreateFileCommentReqBuilder) UserIdType ¶
func (builder *CreateFileCommentReqBuilder) UserIdType(userIdType string) *CreateFileCommentReqBuilder
此次调用中使用的用户 ID 的类型
示例值:
type CreateFileCommentResp ¶
type CreateFileCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateFileCommentRespData `json:"data"` // 业务数据 }
func (*CreateFileCommentResp) Success ¶
func (resp *CreateFileCommentResp) Success() bool
type CreateFileCommentRespData ¶
type CreateFileCommentRespData struct { CommentId *string `json:"comment_id,omitempty"` // 评论 ID UserId *string `json:"user_id,omitempty"` // 用户 ID CreateTime *int `json:"create_time,omitempty"` // 创建时间 UpdateTime *int `json:"update_time,omitempty"` // 更新时间 IsSolved *bool `json:"is_solved,omitempty"` // 是否已解决 SolvedTime *int `json:"solved_time,omitempty"` // 解决评论时间 SolverUserId *string `json:"solver_user_id,omitempty"` // 解决评论者的用户 ID HasMore *bool `json:"has_more,omitempty"` // 是否有更多回复 PageToken *string `json:"page_token,omitempty"` // 回复分页标记 IsWhole *bool `json:"is_whole,omitempty"` // 是否是全文评论 Quote *string `json:"quote,omitempty"` // 局部评论的引用字段 ReplyList *ReplyList `json:"reply_list,omitempty"` // 评论里的回复列表 }
type CreateFileSubscriptionReq ¶
type CreateFileSubscriptionReq struct { FileSubscription *FileSubscription `body:""` // contains filtered or unexported fields }
type CreateFileSubscriptionReqBuilder ¶
type CreateFileSubscriptionReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateFileSubscriptionReqBuilder ¶
func NewCreateFileSubscriptionReqBuilder() *CreateFileSubscriptionReqBuilder
func (*CreateFileSubscriptionReqBuilder) Build ¶
func (builder *CreateFileSubscriptionReqBuilder) Build() *CreateFileSubscriptionReq
func (*CreateFileSubscriptionReqBuilder) FileSubscription ¶
func (builder *CreateFileSubscriptionReqBuilder) FileSubscription(fileSubscription *FileSubscription) *CreateFileSubscriptionReqBuilder
订阅文档中的变更事件,当前支持文档评论订阅,订阅后文档评论更新会有“云文档助手”推送给订阅的用户
func (*CreateFileSubscriptionReqBuilder) FileToken ¶
func (builder *CreateFileSubscriptionReqBuilder) FileToken(fileToken string) *CreateFileSubscriptionReqBuilder
文档token
示例值:doxcnxxxxxxxxxxxxxxxxxxxxxx
type CreateFileSubscriptionResp ¶
type CreateFileSubscriptionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateFileSubscriptionRespData `json:"data"` // 业务数据 }
func (*CreateFileSubscriptionResp) Success ¶
func (resp *CreateFileSubscriptionResp) Success() bool
type CreateFileVersionReq ¶
type CreateFileVersionReq struct { Version *Version `body:""` // contains filtered or unexported fields }
type CreateFileVersionReqBuilder ¶
type CreateFileVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateFileVersionReqBuilder ¶
func NewCreateFileVersionReqBuilder() *CreateFileVersionReqBuilder
func (*CreateFileVersionReqBuilder) Build ¶
func (builder *CreateFileVersionReqBuilder) Build() *CreateFileVersionReq
func (*CreateFileVersionReqBuilder) FileToken ¶
func (builder *CreateFileVersionReqBuilder) FileToken(fileToken string) *CreateFileVersionReqBuilder
源文档token
示例值:doxbcyvqZlSc9WlHvQMlSJwUrsb
func (*CreateFileVersionReqBuilder) UserIdType ¶
func (builder *CreateFileVersionReqBuilder) UserIdType(userIdType string) *CreateFileVersionReqBuilder
此次调用中使用的用户ID的类型
示例值:
func (*CreateFileVersionReqBuilder) Version ¶
func (builder *CreateFileVersionReqBuilder) Version(version *Version) *CreateFileVersionReqBuilder
创建文档版本。
type CreateFileVersionResp ¶
type CreateFileVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateFileVersionRespData `json:"data"` // 业务数据 }
func (*CreateFileVersionResp) Success ¶
func (resp *CreateFileVersionResp) Success() bool
type CreateFileVersionRespData ¶
type CreateFileVersionRespData struct { Name *string `json:"name,omitempty"` // 版本文档标题,最大长度 1024 个Unicode 码点。通常情况下,一个英文或中文字符对应一个码点,但是某些特殊符号可能会对应多个码点。例如,家庭组合「👨👩👧」这个表情符号对应5个码点。 Version *string `json:"version,omitempty"` // 版本文档版本号 ParentToken *string `json:"parent_token,omitempty"` // 源文档token OwnerId *string `json:"owner_id,omitempty"` // 版本文档所有者id CreatorId *string `json:"creator_id,omitempty"` // 版本文档创建者id CreateTime *string `json:"create_time,omitempty"` // 版本文档创建时间 UpdateTime *string `json:"update_time,omitempty"` // 版本文档更新时间 Status *string `json:"status,omitempty"` // 版本文档状态 ObjType *string `json:"obj_type,omitempty"` // 版本文档类型 ParentType *string `json:"parent_type,omitempty"` // 源文档类型 }
type CreateFolderFilePathReqBodyBuilder ¶
type CreateFolderFilePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateFolderFilePathReqBodyBuilder ¶
func NewCreateFolderFilePathReqBodyBuilder() *CreateFolderFilePathReqBodyBuilder
func (*CreateFolderFilePathReqBodyBuilder) Build ¶
func (builder *CreateFolderFilePathReqBodyBuilder) Build() (*CreateFolderFileReqBody, error)
func (*CreateFolderFilePathReqBodyBuilder) FolderToken ¶
func (builder *CreateFolderFilePathReqBodyBuilder) FolderToken(folderToken string) *CreateFolderFilePathReqBodyBuilder
父文件夹token
示例值:fldbcO1UuPz8VwnpPx5a92abcef
func (*CreateFolderFilePathReqBodyBuilder) Name ¶
func (builder *CreateFolderFilePathReqBodyBuilder) Name(name string) *CreateFolderFilePathReqBodyBuilder
文件夹名称
示例值:New Folder
type CreateFolderFileReq ¶
type CreateFolderFileReq struct { Body *CreateFolderFileReqBody `body:""` // contains filtered or unexported fields }
type CreateFolderFileReqBody ¶
type CreateFolderFileReqBodyBuilder ¶
type CreateFolderFileReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateFolderFileReqBodyBuilder ¶
func NewCreateFolderFileReqBodyBuilder() *CreateFolderFileReqBodyBuilder
func (*CreateFolderFileReqBodyBuilder) Build ¶
func (builder *CreateFolderFileReqBodyBuilder) Build() *CreateFolderFileReqBody
func (*CreateFolderFileReqBodyBuilder) FolderToken ¶
func (builder *CreateFolderFileReqBodyBuilder) FolderToken(folderToken string) *CreateFolderFileReqBodyBuilder
父文件夹token
示例值:fldbcO1UuPz8VwnpPx5a92abcef
func (*CreateFolderFileReqBodyBuilder) Name ¶
func (builder *CreateFolderFileReqBodyBuilder) Name(name string) *CreateFolderFileReqBodyBuilder
文件夹名称
示例值:New Folder
type CreateFolderFileReqBuilder ¶
type CreateFolderFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateFolderFileReqBuilder ¶
func NewCreateFolderFileReqBuilder() *CreateFolderFileReqBuilder
func (*CreateFolderFileReqBuilder) Body ¶
func (builder *CreateFolderFileReqBuilder) Body(body *CreateFolderFileReqBody) *CreateFolderFileReqBuilder
在用户云空间的指定文件夹中创建一个新的空文件夹。
func (*CreateFolderFileReqBuilder) Build ¶
func (builder *CreateFolderFileReqBuilder) Build() *CreateFolderFileReq
type CreateFolderFileResp ¶
type CreateFolderFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateFolderFileRespData `json:"data"` // 业务数据 }
func (*CreateFolderFileResp) Success ¶
func (resp *CreateFolderFileResp) Success() bool
type CreateImportTaskReq ¶
type CreateImportTaskReq struct { ImportTask *ImportTask `body:""` // contains filtered or unexported fields }
type CreateImportTaskReqBuilder ¶
type CreateImportTaskReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateImportTaskReqBuilder ¶
func NewCreateImportTaskReqBuilder() *CreateImportTaskReqBuilder
func (*CreateImportTaskReqBuilder) Build ¶
func (builder *CreateImportTaskReqBuilder) Build() *CreateImportTaskReq
func (*CreateImportTaskReqBuilder) ImportTask ¶
func (builder *CreateImportTaskReqBuilder) ImportTask(importTask *ImportTask) *CreateImportTaskReqBuilder
创建导入任务。支持导入为 doc、docx、sheet、bitable,参考[导入用户指南](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/import_task/import-user-guide)
type CreateImportTaskResp ¶
type CreateImportTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateImportTaskRespData `json:"data"` // 业务数据 }
func (*CreateImportTaskResp) Success ¶
func (resp *CreateImportTaskResp) Success() bool
type CreateImportTaskRespData ¶
type CreateImportTaskRespData struct {
Ticket *string `json:"ticket,omitempty"` // 导入任务ID
}
type CreatePermissionMemberReq ¶
type CreatePermissionMemberReq struct { BaseMember *BaseMember `body:""` // contains filtered or unexported fields }
type CreatePermissionMemberReqBuilder ¶
type CreatePermissionMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreatePermissionMemberReqBuilder ¶
func NewCreatePermissionMemberReqBuilder() *CreatePermissionMemberReqBuilder
func (*CreatePermissionMemberReqBuilder) BaseMember ¶
func (builder *CreatePermissionMemberReqBuilder) BaseMember(baseMember *BaseMember) *CreatePermissionMemberReqBuilder
该接口用于根据 filetoken 给用户增加文档的权限。
func (*CreatePermissionMemberReqBuilder) Build ¶
func (builder *CreatePermissionMemberReqBuilder) Build() *CreatePermissionMemberReq
func (*CreatePermissionMemberReqBuilder) NeedNotification ¶
func (builder *CreatePermissionMemberReqBuilder) NeedNotification(needNotification bool) *CreatePermissionMemberReqBuilder
添加权限后是否通知对方
示例值:false
func (*CreatePermissionMemberReqBuilder) Token ¶
func (builder *CreatePermissionMemberReqBuilder) Token(token string) *CreatePermissionMemberReqBuilder
文件的 token,获取方式见 [如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6)
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*CreatePermissionMemberReqBuilder) Type ¶
func (builder *CreatePermissionMemberReqBuilder) Type(type_ string) *CreatePermissionMemberReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type CreatePermissionMemberResp ¶
type CreatePermissionMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreatePermissionMemberRespData `json:"data"` // 业务数据 }
func (*CreatePermissionMemberResp) Success ¶
func (resp *CreatePermissionMemberResp) Success() bool
type CreatePermissionMemberRespData ¶
type CreatePermissionMemberRespData struct {
Member *BaseMember `json:"member,omitempty"` // 本次添加权限的用户信息
}
type CreatePermissionPublicPasswordReq ¶
type CreatePermissionPublicPasswordReq struct {
// contains filtered or unexported fields
}
type CreatePermissionPublicPasswordReqBuilder ¶
type CreatePermissionPublicPasswordReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreatePermissionPublicPasswordReqBuilder ¶
func NewCreatePermissionPublicPasswordReqBuilder() *CreatePermissionPublicPasswordReqBuilder
func (*CreatePermissionPublicPasswordReqBuilder) Build ¶
func (builder *CreatePermissionPublicPasswordReqBuilder) Build() *CreatePermissionPublicPasswordReq
func (*CreatePermissionPublicPasswordReqBuilder) Token ¶
func (builder *CreatePermissionPublicPasswordReqBuilder) Token(token string) *CreatePermissionPublicPasswordReqBuilder
文件的 token
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*CreatePermissionPublicPasswordReqBuilder) Type ¶
func (builder *CreatePermissionPublicPasswordReqBuilder) Type(type_ string) *CreatePermissionPublicPasswordReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type CreatePermissionPublicPasswordResp ¶
type CreatePermissionPublicPasswordResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreatePermissionPublicPasswordRespData `json:"data"` // 业务数据 }
func (*CreatePermissionPublicPasswordResp) Success ¶
func (resp *CreatePermissionPublicPasswordResp) Success() bool
type CreatePermissionPublicPasswordRespData ¶
type CreatePermissionPublicPasswordRespData struct {
Password *string `json:"password,omitempty"` // 密码
}
type CreateShortcutFilePathReqBodyBuilder ¶
type CreateShortcutFilePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateShortcutFilePathReqBodyBuilder ¶
func NewCreateShortcutFilePathReqBodyBuilder() *CreateShortcutFilePathReqBodyBuilder
func (*CreateShortcutFilePathReqBodyBuilder) Build ¶
func (builder *CreateShortcutFilePathReqBodyBuilder) Build() (*CreateShortcutFileReqBody, error)
func (*CreateShortcutFilePathReqBodyBuilder) ParentToken ¶
func (builder *CreateShortcutFilePathReqBodyBuilder) ParentToken(parentToken string) *CreateShortcutFilePathReqBodyBuilder
创建快捷方式的目标父文件夹 token
示例值:fldbc5qgwyQnO0uedNllWuF3fAd
func (*CreateShortcutFilePathReqBodyBuilder) ReferEntity ¶
func (builder *CreateShortcutFilePathReqBodyBuilder) ReferEntity(referEntity *ReferEntity) *CreateShortcutFilePathReqBodyBuilder
快捷方式映射到的文档和文件列表信息
示例值:
type CreateShortcutFileReq ¶
type CreateShortcutFileReq struct { Body *CreateShortcutFileReqBody `body:""` // contains filtered or unexported fields }
type CreateShortcutFileReqBody ¶
type CreateShortcutFileReqBody struct { ParentToken *string `json:"parent_token,omitempty"` // 创建快捷方式的目标父文件夹 token ReferEntity *ReferEntity `json:"refer_entity,omitempty"` // 快捷方式映射到的文档和文件列表信息 }
type CreateShortcutFileReqBodyBuilder ¶
type CreateShortcutFileReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateShortcutFileReqBodyBuilder ¶
func NewCreateShortcutFileReqBodyBuilder() *CreateShortcutFileReqBodyBuilder
func (*CreateShortcutFileReqBodyBuilder) Build ¶
func (builder *CreateShortcutFileReqBodyBuilder) Build() *CreateShortcutFileReqBody
func (*CreateShortcutFileReqBodyBuilder) ParentToken ¶
func (builder *CreateShortcutFileReqBodyBuilder) ParentToken(parentToken string) *CreateShortcutFileReqBodyBuilder
创建快捷方式的目标父文件夹 token
示例值:fldbc5qgwyQnO0uedNllWuF3fAd
func (*CreateShortcutFileReqBodyBuilder) ReferEntity ¶
func (builder *CreateShortcutFileReqBodyBuilder) ReferEntity(referEntity *ReferEntity) *CreateShortcutFileReqBodyBuilder
快捷方式映射到的文档和文件列表信息
示例值:
type CreateShortcutFileReqBuilder ¶
type CreateShortcutFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateShortcutFileReqBuilder ¶
func NewCreateShortcutFileReqBuilder() *CreateShortcutFileReqBuilder
func (*CreateShortcutFileReqBuilder) Body ¶
func (builder *CreateShortcutFileReqBuilder) Body(body *CreateShortcutFileReqBody) *CreateShortcutFileReqBuilder
func (*CreateShortcutFileReqBuilder) Build ¶
func (builder *CreateShortcutFileReqBuilder) Build() *CreateShortcutFileReq
func (*CreateShortcutFileReqBuilder) UserIdType ¶
func (builder *CreateShortcutFileReqBuilder) UserIdType(userIdType string) *CreateShortcutFileReqBuilder
此次调用中使用的用户ID的类型
示例值:
type CreateShortcutFileResp ¶
type CreateShortcutFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateShortcutFileRespData `json:"data"` // 业务数据 }
func (*CreateShortcutFileResp) Success ¶
func (resp *CreateShortcutFileResp) Success() bool
type CreateShortcutFileRespData ¶
type CreateShortcutFileRespData struct {
SuccShortcutNode *File `json:"succ_shortcut_node,omitempty"` // 返回创建成功的shortcut节点
}
type DeleteFileCommentReplyReq ¶
type DeleteFileCommentReplyReq struct {
// contains filtered or unexported fields
}
type DeleteFileCommentReplyReqBuilder ¶
type DeleteFileCommentReplyReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteFileCommentReplyReqBuilder ¶
func NewDeleteFileCommentReplyReqBuilder() *DeleteFileCommentReplyReqBuilder
func (*DeleteFileCommentReplyReqBuilder) Build ¶
func (builder *DeleteFileCommentReplyReqBuilder) Build() *DeleteFileCommentReplyReq
func (*DeleteFileCommentReplyReqBuilder) CommentId ¶
func (builder *DeleteFileCommentReplyReqBuilder) CommentId(commentId string) *DeleteFileCommentReplyReqBuilder
评论ID
示例值:6916106822734578184
func (*DeleteFileCommentReplyReqBuilder) FileToken ¶
func (builder *DeleteFileCommentReplyReqBuilder) FileToken(fileToken string) *DeleteFileCommentReplyReqBuilder
文档token
示例值:doccnHh7U87HOFpii5u5G*****
func (*DeleteFileCommentReplyReqBuilder) FileType ¶
func (builder *DeleteFileCommentReplyReqBuilder) FileType(fileType string) *DeleteFileCommentReplyReqBuilder
文档类型
示例值:doc
func (*DeleteFileCommentReplyReqBuilder) ReplyId ¶
func (builder *DeleteFileCommentReplyReqBuilder) ReplyId(replyId string) *DeleteFileCommentReplyReqBuilder
回复ID
示例值:6916106822734594568
type DeleteFileCommentReplyResp ¶
type DeleteFileCommentReplyResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteFileCommentReplyResp) Success ¶
func (resp *DeleteFileCommentReplyResp) Success() bool
type DeleteFileReq ¶
type DeleteFileReq struct {
// contains filtered or unexported fields
}
type DeleteFileReqBuilder ¶
type DeleteFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteFileReqBuilder ¶
func NewDeleteFileReqBuilder() *DeleteFileReqBuilder
func (*DeleteFileReqBuilder) Build ¶
func (builder *DeleteFileReqBuilder) Build() *DeleteFileReq
func (*DeleteFileReqBuilder) FileToken ¶
func (builder *DeleteFileReqBuilder) FileToken(fileToken string) *DeleteFileReqBuilder
需要删除的文件token
示例值:boxcnrHpsg1QDqXAAAyachabcef
func (*DeleteFileReqBuilder) Type ¶
func (builder *DeleteFileReqBuilder) Type(type_ string) *DeleteFileReqBuilder
被删除文件的类型
示例值:file
type DeleteFileResp ¶
type DeleteFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *DeleteFileRespData `json:"data"` // 业务数据 }
func (*DeleteFileResp) Success ¶
func (resp *DeleteFileResp) Success() bool
type DeleteFileRespData ¶
type DeleteFileRespData struct {
TaskId *string `json:"task_id,omitempty"` // 异步任务id,删除文件夹时返回
}
type DeleteFileVersionReq ¶
type DeleteFileVersionReq struct {
// contains filtered or unexported fields
}
type DeleteFileVersionReqBuilder ¶
type DeleteFileVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteFileVersionReqBuilder ¶
func NewDeleteFileVersionReqBuilder() *DeleteFileVersionReqBuilder
func (*DeleteFileVersionReqBuilder) Build ¶
func (builder *DeleteFileVersionReqBuilder) Build() *DeleteFileVersionReq
func (*DeleteFileVersionReqBuilder) FileToken ¶
func (builder *DeleteFileVersionReqBuilder) FileToken(fileToken string) *DeleteFileVersionReqBuilder
版本文档token
示例值:doxbcyvqZlSc9WlHvQMlSJwUrsb
func (*DeleteFileVersionReqBuilder) ObjType ¶
func (builder *DeleteFileVersionReqBuilder) ObjType(objType string) *DeleteFileVersionReqBuilder
文档类型
示例值:doc/docs/sheet/bitable
func (*DeleteFileVersionReqBuilder) UserIdType ¶
func (builder *DeleteFileVersionReqBuilder) UserIdType(userIdType string) *DeleteFileVersionReqBuilder
用户ID类型
示例值:
func (*DeleteFileVersionReqBuilder) VersionId ¶
func (builder *DeleteFileVersionReqBuilder) VersionId(versionId string) *DeleteFileVersionReqBuilder
版本文档版本号
示例值:file_version
type DeleteFileVersionResp ¶
type DeleteFileVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteFileVersionResp) Success ¶
func (resp *DeleteFileVersionResp) Success() bool
type DeletePermissionMemberPathReqBodyBuilder ¶
type DeletePermissionMemberPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewDeletePermissionMemberPathReqBodyBuilder ¶
func NewDeletePermissionMemberPathReqBodyBuilder() *DeletePermissionMemberPathReqBodyBuilder
func (*DeletePermissionMemberPathReqBodyBuilder) Build ¶
func (builder *DeletePermissionMemberPathReqBodyBuilder) Build() (*DeletePermissionMemberReqBody, error)
func (*DeletePermissionMemberPathReqBodyBuilder) PermType ¶
func (builder *DeletePermissionMemberPathReqBodyBuilder) PermType(permType string) *DeletePermissionMemberPathReqBodyBuilder
协作者的权限角色类型
示例值:container
func (*DeletePermissionMemberPathReqBodyBuilder) Type ¶
func (builder *DeletePermissionMemberPathReqBodyBuilder) Type(type_ string) *DeletePermissionMemberPathReqBodyBuilder
协作者类型
示例值:user
type DeletePermissionMemberReq ¶
type DeletePermissionMemberReq struct { Body *DeletePermissionMemberReqBody `body:""` // contains filtered or unexported fields }
type DeletePermissionMemberReqBodyBuilder ¶
type DeletePermissionMemberReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewDeletePermissionMemberReqBodyBuilder ¶
func NewDeletePermissionMemberReqBodyBuilder() *DeletePermissionMemberReqBodyBuilder
func (*DeletePermissionMemberReqBodyBuilder) Build ¶
func (builder *DeletePermissionMemberReqBodyBuilder) Build() *DeletePermissionMemberReqBody
func (*DeletePermissionMemberReqBodyBuilder) PermType ¶
func (builder *DeletePermissionMemberReqBodyBuilder) PermType(permType string) *DeletePermissionMemberReqBodyBuilder
协作者的权限角色类型
示例值:container
func (*DeletePermissionMemberReqBodyBuilder) Type ¶
func (builder *DeletePermissionMemberReqBodyBuilder) Type(type_ string) *DeletePermissionMemberReqBodyBuilder
协作者类型
示例值:user
type DeletePermissionMemberReqBuilder ¶
type DeletePermissionMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeletePermissionMemberReqBuilder ¶
func NewDeletePermissionMemberReqBuilder() *DeletePermissionMemberReqBuilder
func (*DeletePermissionMemberReqBuilder) Body ¶
func (builder *DeletePermissionMemberReqBuilder) Body(body *DeletePermissionMemberReqBody) *DeletePermissionMemberReqBuilder
该接口用于根据 filetoken 移除文档协作者的权限。
func (*DeletePermissionMemberReqBuilder) Build ¶
func (builder *DeletePermissionMemberReqBuilder) Build() *DeletePermissionMemberReq
func (*DeletePermissionMemberReqBuilder) MemberId ¶
func (builder *DeletePermissionMemberReqBuilder) MemberId(memberId string) *DeletePermissionMemberReqBuilder
协作者 ID,与协作者 ID 类型需要对应
示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62
func (*DeletePermissionMemberReqBuilder) MemberType ¶
func (builder *DeletePermissionMemberReqBuilder) MemberType(memberType string) *DeletePermissionMemberReqBuilder
协作者 ID 类型,与协作者 ID 需要对应
示例值:openid
func (*DeletePermissionMemberReqBuilder) Token ¶
func (builder *DeletePermissionMemberReqBuilder) Token(token string) *DeletePermissionMemberReqBuilder
文件的 token,获取方式见 [如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6)
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*DeletePermissionMemberReqBuilder) Type ¶
func (builder *DeletePermissionMemberReqBuilder) Type(type_ string) *DeletePermissionMemberReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type DeletePermissionMemberResp ¶
type DeletePermissionMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeletePermissionMemberResp) Success ¶
func (resp *DeletePermissionMemberResp) Success() bool
type DeletePermissionPublicPasswordReq ¶
type DeletePermissionPublicPasswordReq struct {
// contains filtered or unexported fields
}
type DeletePermissionPublicPasswordReqBuilder ¶
type DeletePermissionPublicPasswordReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeletePermissionPublicPasswordReqBuilder ¶
func NewDeletePermissionPublicPasswordReqBuilder() *DeletePermissionPublicPasswordReqBuilder
func (*DeletePermissionPublicPasswordReqBuilder) Build ¶
func (builder *DeletePermissionPublicPasswordReqBuilder) Build() *DeletePermissionPublicPasswordReq
func (*DeletePermissionPublicPasswordReqBuilder) Token ¶
func (builder *DeletePermissionPublicPasswordReqBuilder) Token(token string) *DeletePermissionPublicPasswordReqBuilder
文件的 token
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*DeletePermissionPublicPasswordReqBuilder) Type ¶
func (builder *DeletePermissionPublicPasswordReqBuilder) Type(type_ string) *DeletePermissionPublicPasswordReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type DeletePermissionPublicPasswordResp ¶
type DeletePermissionPublicPasswordResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeletePermissionPublicPasswordResp) Success ¶
func (resp *DeletePermissionPublicPasswordResp) Success() bool
type DeleteSubscribeFileReq ¶
type DeleteSubscribeFileReq struct {
// contains filtered or unexported fields
}
type DeleteSubscribeFileReqBuilder ¶
type DeleteSubscribeFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteSubscribeFileReqBuilder ¶
func NewDeleteSubscribeFileReqBuilder() *DeleteSubscribeFileReqBuilder
func (*DeleteSubscribeFileReqBuilder) Build ¶
func (builder *DeleteSubscribeFileReqBuilder) Build() *DeleteSubscribeFileReq
func (*DeleteSubscribeFileReqBuilder) EventType ¶
func (builder *DeleteSubscribeFileReqBuilder) EventType(eventType string) *DeleteSubscribeFileReqBuilder
事件类型
示例值:file.created_in_folder_v1
func (*DeleteSubscribeFileReqBuilder) FileToken ¶
func (builder *DeleteSubscribeFileReqBuilder) FileToken(fileToken string) *DeleteSubscribeFileReqBuilder
文档token
示例值:doccnxxxxxxxxxxxxxxxxxxxxxx
func (*DeleteSubscribeFileReqBuilder) FileType ¶
func (builder *DeleteSubscribeFileReqBuilder) FileType(fileType string) *DeleteSubscribeFileReqBuilder
文档类型
示例值:doc
type DeleteSubscribeFileResp ¶
type DeleteSubscribeFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteSubscribeFileResp) Success ¶
func (resp *DeleteSubscribeFileResp) Success() bool
type DepartmentId ¶
type DepartmentIdBuilder ¶
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type DocsLinkBuilder ¶
type DocsLinkBuilder struct {
// contains filtered or unexported fields
}
func NewDocsLinkBuilder ¶
func NewDocsLinkBuilder() *DocsLinkBuilder
func (*DocsLinkBuilder) Build ¶
func (builder *DocsLinkBuilder) Build() *DocsLink
func (*DocsLinkBuilder) Url ¶
func (builder *DocsLinkBuilder) Url(url string) *DocsLinkBuilder
回复 at云文档
示例值:https://bytedance.feishu.cn/docs/doccnHh7U87HOFpii5u5Gabcef
type DownloadExportTaskReq ¶
type DownloadExportTaskReq struct {
// contains filtered or unexported fields
}
type DownloadExportTaskReqBuilder ¶
type DownloadExportTaskReqBuilder struct {
// contains filtered or unexported fields
}
func NewDownloadExportTaskReqBuilder ¶
func NewDownloadExportTaskReqBuilder() *DownloadExportTaskReqBuilder
func (*DownloadExportTaskReqBuilder) Build ¶
func (builder *DownloadExportTaskReqBuilder) Build() *DownloadExportTaskReq
func (*DownloadExportTaskReqBuilder) FileToken ¶
func (builder *DownloadExportTaskReqBuilder) FileToken(fileToken string) *DownloadExportTaskReqBuilder
导出文档token
示例值:boxcnNAlfwHxxxxxxxxxxSaLSec
type DownloadExportTaskResp ¶
type DownloadExportTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError File io.Reader `json:"-"` FileName string `json:"-"` }
func (*DownloadExportTaskResp) Success ¶
func (resp *DownloadExportTaskResp) Success() bool
func (*DownloadExportTaskResp) WriteFile ¶
func (resp *DownloadExportTaskResp) WriteFile(fileName string) error
type DownloadFileReq ¶
type DownloadFileReq struct {
// contains filtered or unexported fields
}
type DownloadFileReqBuilder ¶
type DownloadFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewDownloadFileReqBuilder ¶
func NewDownloadFileReqBuilder() *DownloadFileReqBuilder
func (*DownloadFileReqBuilder) Build ¶
func (builder *DownloadFileReqBuilder) Build() *DownloadFileReq
func (*DownloadFileReqBuilder) FileToken ¶
func (builder *DownloadFileReqBuilder) FileToken(fileToken string) *DownloadFileReqBuilder
文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction)
示例值:boxcnabCdefg12345
type DownloadFileResp ¶
type DownloadFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError File io.Reader `json:"-"` FileName string `json:"-"` }
func (*DownloadFileResp) Success ¶
func (resp *DownloadFileResp) Success() bool
func (*DownloadFileResp) WriteFile ¶
func (resp *DownloadFileResp) WriteFile(fileName string) error
type DownloadMediaReq ¶
type DownloadMediaReq struct {
// contains filtered or unexported fields
}
type DownloadMediaReqBuilder ¶
type DownloadMediaReqBuilder struct {
// contains filtered or unexported fields
}
func NewDownloadMediaReqBuilder ¶
func NewDownloadMediaReqBuilder() *DownloadMediaReqBuilder
func (*DownloadMediaReqBuilder) Build ¶
func (builder *DownloadMediaReqBuilder) Build() *DownloadMediaReq
func (*DownloadMediaReqBuilder) Extra ¶
func (builder *DownloadMediaReqBuilder) Extra(extra string) *DownloadMediaReqBuilder
扩展信息
示例值:[请参考-上传点类型及对应Extra说明](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/introduction)
func (*DownloadMediaReqBuilder) FileToken ¶
func (builder *DownloadMediaReqBuilder) FileToken(fileToken string) *DownloadMediaReqBuilder
文件的 token,获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction)
示例值:boxcnrHpsg1QDqXAAAyachabcef
type DownloadMediaResp ¶
type DownloadMediaResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError File io.Reader `json:"-"` FileName string `json:"-"` }
func (*DownloadMediaResp) Success ¶
func (resp *DownloadMediaResp) Success() bool
func (*DownloadMediaResp) WriteFile ¶
func (resp *DownloadMediaResp) WriteFile(fileName string) error
type ExportTask ¶
type ExportTask struct { FileExtension *string `json:"file_extension,omitempty"` // 导出文件扩展名 Token *string `json:"token,omitempty"` // 导出文档 token [获取文档 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6) Type *string `json:"type,omitempty"` // 导出文档类型 [文档类型说明](/ssl::ttdoc/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#560bf735) FileName *string `json:"file_name,omitempty"` // 导出文件名 SubId *string `json:"sub_id,omitempty"` // 导出子表ID,仅当将电子表格/多维表格导出为 csv 时使用;;;[获取电子表格子表ID](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet/query) 文档中的 sheet_id;;[获取多维表格子表ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table/list) 文档中的 table_id FileToken *string `json:"file_token,omitempty"` // 导出文件 drive token FileSize *int `json:"file_size,omitempty"` // 导出文件大小,单位字节 JobErrorMsg *string `json:"job_error_msg,omitempty"` // 任务失败原因 JobStatus *int `json:"job_status,omitempty"` // 任务状态 }
type ExportTaskBuilder ¶
type ExportTaskBuilder struct {
// contains filtered or unexported fields
}
func NewExportTaskBuilder ¶
func NewExportTaskBuilder() *ExportTaskBuilder
func (*ExportTaskBuilder) Build ¶
func (builder *ExportTaskBuilder) Build() *ExportTask
func (*ExportTaskBuilder) FileExtension ¶
func (builder *ExportTaskBuilder) FileExtension(fileExtension string) *ExportTaskBuilder
导出文件扩展名
示例值:pdf
func (*ExportTaskBuilder) FileName ¶
func (builder *ExportTaskBuilder) FileName(fileName string) *ExportTaskBuilder
导出文件名
示例值:docName
func (*ExportTaskBuilder) FileSize ¶
func (builder *ExportTaskBuilder) FileSize(fileSize int) *ExportTaskBuilder
导出文件大小,单位字节
示例值:34356
func (*ExportTaskBuilder) FileToken ¶
func (builder *ExportTaskBuilder) FileToken(fileToken string) *ExportTaskBuilder
导出文件 drive token
示例值:boxcnxe5OxxxxxxxSNdsJviENsk
func (*ExportTaskBuilder) JobErrorMsg ¶
func (builder *ExportTaskBuilder) JobErrorMsg(jobErrorMsg string) *ExportTaskBuilder
任务失败原因
示例值:success
func (*ExportTaskBuilder) JobStatus ¶
func (builder *ExportTaskBuilder) JobStatus(jobStatus int) *ExportTaskBuilder
任务状态
示例值:0
func (*ExportTaskBuilder) SubId ¶
func (builder *ExportTaskBuilder) SubId(subId string) *ExportTaskBuilder
导出子表ID,仅当将电子表格/多维表格导出为 csv 时使用;;;[获取电子表格子表ID](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet/query) 文档中的 sheet_id;;[获取多维表格子表ID](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/bitable-v1/app-table/list) 文档中的 table_id
示例值:tblKz5D60T4JlfcT
func (*ExportTaskBuilder) Token ¶
func (builder *ExportTaskBuilder) Token(token string) *ExportTaskBuilder
导出文档 token [获取文档 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6)
示例值:doccnxe5OxxxxxxxSNdsJviENsk
func (*ExportTaskBuilder) Type ¶
func (builder *ExportTaskBuilder) Type(type_ string) *ExportTaskBuilder
导出文档类型 [文档类型说明](/ssl::ttdoc/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#560bf735)
示例值:doc
type File ¶
type File struct { Token *string `json:"token,omitempty"` // 文件标识 Name *string `json:"name,omitempty"` // 文件名 Type *string `json:"type,omitempty"` // 文件类型 ParentToken *string `json:"parent_token,omitempty"` // 父文件夹标识 Url *string `json:"url,omitempty"` // 在浏览器中查看的链接 ShortcutInfo *ShortcutInfo `json:"shortcut_info,omitempty"` // 快捷方式文件信息 CreatedTime *string `json:"created_time,omitempty"` // 文件创建时间 ModifiedTime *string `json:"modified_time,omitempty"` // 文件最近修改时间 OwnerId *string `json:"owner_id,omitempty"` // 文件所有者 }
type FileBlockChangeInfo ¶
type FileBlockChangeInfoBuilder ¶
type FileBlockChangeInfoBuilder struct {
// contains filtered or unexported fields
}
func NewFileBlockChangeInfoBuilder ¶
func NewFileBlockChangeInfoBuilder() *FileBlockChangeInfoBuilder
func (*FileBlockChangeInfoBuilder) BlockToken ¶
func (builder *FileBlockChangeInfoBuilder) BlockToken(blockToken string) *FileBlockChangeInfoBuilder
子block token
示例值:doxcnxxxxxxxxxxxxxxxx
func (*FileBlockChangeInfoBuilder) BlockTokenType ¶
func (builder *FileBlockChangeInfoBuilder) BlockTokenType(blockTokenType string) *FileBlockChangeInfoBuilder
子block文档类型
示例值:docx
func (*FileBlockChangeInfoBuilder) Build ¶
func (builder *FileBlockChangeInfoBuilder) Build() *FileBlockChangeInfo
func (*FileBlockChangeInfoBuilder) RevRanges ¶
func (builder *FileBlockChangeInfoBuilder) RevRanges(revRanges []int) *FileBlockChangeInfoBuilder
起点版本和终点版本
示例值:
type FileBuilder ¶
type FileBuilder struct {
// contains filtered or unexported fields
}
func NewFileBuilder ¶
func NewFileBuilder() *FileBuilder
func (*FileBuilder) Build ¶
func (builder *FileBuilder) Build() *File
func (*FileBuilder) CreatedTime ¶
func (builder *FileBuilder) CreatedTime(createdTime string) *FileBuilder
文件创建时间
示例值:1686125119
func (*FileBuilder) ModifiedTime ¶
func (builder *FileBuilder) ModifiedTime(modifiedTime string) *FileBuilder
文件最近修改时间
示例值:1686125119
func (*FileBuilder) OwnerId ¶
func (builder *FileBuilder) OwnerId(ownerId string) *FileBuilder
文件所有者
示例值:ou_b13d41c02edc52ce66aaae67bf1abcef
func (*FileBuilder) ParentToken ¶
func (builder *FileBuilder) ParentToken(parentToken string) *FileBuilder
父文件夹标识
示例值:fldcnP8B5Fpr3UwVi24JykpuOic
func (*FileBuilder) ShortcutInfo ¶
func (builder *FileBuilder) ShortcutInfo(shortcutInfo *ShortcutInfo) *FileBuilder
快捷方式文件信息
示例值:
func (*FileBuilder) Token ¶
func (builder *FileBuilder) Token(token string) *FileBuilder
文件标识
示例值:fldcnP8B5Fpr3UwVi24JykpuOic
func (*FileBuilder) Url ¶
func (builder *FileBuilder) Url(url string) *FileBuilder
在浏览器中查看的链接
示例值:https://bytedance.feishu.cn/drive/folder/fldcnP8B5Fpr3UwVi24JykpuOic
type FileChangeInfo ¶
type FileChangeInfo struct { StartTime *int `json:"start_time,omitempty"` // 变更开始时间 Changes []*FileBlockChangeInfo `json:"changes,omitempty"` // 版本变更明细 }
type FileChangeInfoBuilder ¶
type FileChangeInfoBuilder struct {
// contains filtered or unexported fields
}
func NewFileChangeInfoBuilder ¶
func NewFileChangeInfoBuilder() *FileChangeInfoBuilder
func (*FileChangeInfoBuilder) Build ¶
func (builder *FileChangeInfoBuilder) Build() *FileChangeInfo
func (*FileChangeInfoBuilder) Changes ¶
func (builder *FileChangeInfoBuilder) Changes(changes []*FileBlockChangeInfo) *FileChangeInfoBuilder
版本变更明细
示例值:
func (*FileChangeInfoBuilder) StartTime ¶
func (builder *FileChangeInfoBuilder) StartTime(startTime int) *FileChangeInfoBuilder
变更开始时间
示例值:1687748146
type FileComment ¶
type FileComment struct { CommentId *string `json:"comment_id,omitempty"` // 评论ID(创建新评论可不填;如填写,则视为回复已有评论) UserId *string `json:"user_id,omitempty"` // 用户ID CreateTime *int `json:"create_time,omitempty"` // 创建时间 UpdateTime *int `json:"update_time,omitempty"` // 更新时间 IsSolved *bool `json:"is_solved,omitempty"` // 是否已解决 SolvedTime *int `json:"solved_time,omitempty"` // 解决评论时间 SolverUserId *string `json:"solver_user_id,omitempty"` // 解决评论者的用户ID HasMore *bool `json:"has_more,omitempty"` // 是否有更多回复 PageToken *string `json:"page_token,omitempty"` // 回复分页标记 IsWhole *bool `json:"is_whole,omitempty"` // 是否是全文评论 Quote *string `json:"quote,omitempty"` // 如果是局部评论,引用字段 ReplyList *ReplyList `json:"reply_list,omitempty"` // 评论里的回复列表 }
type FileCommentBuilder ¶
type FileCommentBuilder struct {
// contains filtered or unexported fields
}
func NewFileCommentBuilder ¶
func NewFileCommentBuilder() *FileCommentBuilder
func (*FileCommentBuilder) Build ¶
func (builder *FileCommentBuilder) Build() *FileComment
func (*FileCommentBuilder) CommentId ¶
func (builder *FileCommentBuilder) CommentId(commentId string) *FileCommentBuilder
评论ID(创建新评论可不填;如填写,则视为回复已有评论)
示例值:6916106822734512356
func (*FileCommentBuilder) CreateTime ¶
func (builder *FileCommentBuilder) CreateTime(createTime int) *FileCommentBuilder
创建时间
示例值:1610281603
func (*FileCommentBuilder) HasMore ¶
func (builder *FileCommentBuilder) HasMore(hasMore bool) *FileCommentBuilder
是否有更多回复
示例值:false
func (*FileCommentBuilder) IsSolved ¶
func (builder *FileCommentBuilder) IsSolved(isSolved bool) *FileCommentBuilder
是否已解决
示例值:false
func (*FileCommentBuilder) IsWhole ¶
func (builder *FileCommentBuilder) IsWhole(isWhole bool) *FileCommentBuilder
是否是全文评论
示例值:true
func (*FileCommentBuilder) PageToken ¶
func (builder *FileCommentBuilder) PageToken(pageToken string) *FileCommentBuilder
回复分页标记
示例值:6916106822734512356
func (*FileCommentBuilder) Quote ¶
func (builder *FileCommentBuilder) Quote(quote string) *FileCommentBuilder
如果是局部评论,引用字段
示例值:划词评论引用内容
func (*FileCommentBuilder) ReplyList ¶
func (builder *FileCommentBuilder) ReplyList(replyList *ReplyList) *FileCommentBuilder
评论里的回复列表
示例值:
func (*FileCommentBuilder) SolvedTime ¶
func (builder *FileCommentBuilder) SolvedTime(solvedTime int) *FileCommentBuilder
解决评论时间
示例值:1610281603
func (*FileCommentBuilder) SolverUserId ¶
func (builder *FileCommentBuilder) SolverUserId(solverUserId string) *FileCommentBuilder
解决评论者的用户ID
示例值:null
func (*FileCommentBuilder) UpdateTime ¶
func (builder *FileCommentBuilder) UpdateTime(updateTime int) *FileCommentBuilder
更新时间
示例值:1610281603
func (*FileCommentBuilder) UserId ¶
func (builder *FileCommentBuilder) UserId(userId string) *FileCommentBuilder
用户ID
示例值:ou_cc19b2bfb93f8a44db4b4d6eababcef
type FileCommentReply ¶
type FileCommentReply struct { Content *ReplyContent `json:"content,omitempty"` // 回复内容 ReplyId *string `json:"reply_id,omitempty"` // 回复ID UserId *string `json:"user_id,omitempty"` // 用户ID CreateTime *int `json:"create_time,omitempty"` // 创建时间 UpdateTime *int `json:"update_time,omitempty"` // 更新时间 Extra *ReplyExtra `json:"extra,omitempty"` // 回复的其他内容,图片token等 }
type FileCommentReplyBuilder ¶
type FileCommentReplyBuilder struct {
// contains filtered or unexported fields
}
func NewFileCommentReplyBuilder ¶
func NewFileCommentReplyBuilder() *FileCommentReplyBuilder
func (*FileCommentReplyBuilder) Build ¶
func (builder *FileCommentReplyBuilder) Build() *FileCommentReply
func (*FileCommentReplyBuilder) Content ¶
func (builder *FileCommentReplyBuilder) Content(content *ReplyContent) *FileCommentReplyBuilder
回复内容
示例值:
func (*FileCommentReplyBuilder) CreateTime ¶
func (builder *FileCommentReplyBuilder) CreateTime(createTime int) *FileCommentReplyBuilder
创建时间
示例值:1610281603
func (*FileCommentReplyBuilder) Extra ¶
func (builder *FileCommentReplyBuilder) Extra(extra *ReplyExtra) *FileCommentReplyBuilder
回复的其他内容,图片token等
示例值:
func (*FileCommentReplyBuilder) ReplyId ¶
func (builder *FileCommentReplyBuilder) ReplyId(replyId string) *FileCommentReplyBuilder
回复ID
示例值:6916106822734512356
func (*FileCommentReplyBuilder) UpdateTime ¶
func (builder *FileCommentReplyBuilder) UpdateTime(updateTime int) *FileCommentReplyBuilder
更新时间
示例值:1610281603
func (*FileCommentReplyBuilder) UserId ¶
func (builder *FileCommentReplyBuilder) UserId(userId string) *FileCommentReplyBuilder
用户ID
示例值:ou_cc19b2bfb93f8a44db4b4d6eab2abcef
type FileFavorite ¶
type FileFavorite struct { }
type FileSearch ¶
type FileSearchBuilder ¶
type FileSearchBuilder struct {
// contains filtered or unexported fields
}
func NewFileSearchBuilder ¶
func NewFileSearchBuilder() *FileSearchBuilder
func (*FileSearchBuilder) Build ¶
func (builder *FileSearchBuilder) Build() *FileSearch
func (*FileSearchBuilder) DocsToken ¶
func (builder *FileSearchBuilder) DocsToken(docsToken string) *FileSearchBuilder
文档token
示例值:doxbcxcAgzUTcPI5xR7c6nGJDGc
func (*FileSearchBuilder) DocsType ¶
func (builder *FileSearchBuilder) DocsType(docsType string) *FileSearchBuilder
文档类型
示例值:sheet
func (*FileSearchBuilder) OwnerId ¶
func (builder *FileSearchBuilder) OwnerId(ownerId string) *FileSearchBuilder
文件所有者
示例值:ou_6e92f20bb8842c89c0f7e4090b13d57a
func (*FileSearchBuilder) Title ¶
func (builder *FileSearchBuilder) Title(title string) *FileSearchBuilder
标题
示例值:标题
type FileStatistics ¶
type FileStatistics struct { Uv *int `json:"uv,omitempty"` // 文件历史访问人数,同一用户(user_id)多次访问按一次计算。 Pv *int `json:"pv,omitempty"` // 文件历史访问次数,同一用户(user_id)多次访问按多次计算。(注:同一用户相邻两次访问间隔在半小时内视为一次访问) LikeCount *int `json:"like_count,omitempty"` // 文件历史点赞总数,若对应的文档类型不支持点赞,返回 -1 Timestamp *int `json:"timestamp,omitempty"` // 时间戳(秒) UvToday *int `json:"uv_today,omitempty"` // 今日新增文档访问人数 PvToday *int `json:"pv_today,omitempty"` // 今日新增文档访问次数 LikeCountToday *int `json:"like_count_today,omitempty"` // 今日新增文档点赞数 }
type FileStatisticsBuilder ¶
type FileStatisticsBuilder struct {
// contains filtered or unexported fields
}
func NewFileStatisticsBuilder ¶
func NewFileStatisticsBuilder() *FileStatisticsBuilder
func (*FileStatisticsBuilder) Build ¶
func (builder *FileStatisticsBuilder) Build() *FileStatistics
func (*FileStatisticsBuilder) LikeCount ¶
func (builder *FileStatisticsBuilder) LikeCount(likeCount int) *FileStatisticsBuilder
文件历史点赞总数,若对应的文档类型不支持点赞,返回 -1
示例值:2
func (*FileStatisticsBuilder) LikeCountToday ¶
func (builder *FileStatisticsBuilder) LikeCountToday(likeCountToday int) *FileStatisticsBuilder
今日新增文档点赞数
示例值:1
func (*FileStatisticsBuilder) Pv ¶
func (builder *FileStatisticsBuilder) Pv(pv int) *FileStatisticsBuilder
文件历史访问次数,同一用户(user_id)多次访问按多次计算。(注:同一用户相邻两次访问间隔在半小时内视为一次访问)
示例值:15
func (*FileStatisticsBuilder) PvToday ¶
func (builder *FileStatisticsBuilder) PvToday(pvToday int) *FileStatisticsBuilder
今日新增文档访问次数
示例值:1
func (*FileStatisticsBuilder) Timestamp ¶
func (builder *FileStatisticsBuilder) Timestamp(timestamp int) *FileStatisticsBuilder
时间戳(秒)
示例值:1627367349
func (*FileStatisticsBuilder) Uv ¶
func (builder *FileStatisticsBuilder) Uv(uv int) *FileStatisticsBuilder
文件历史访问人数,同一用户(user_id)多次访问按一次计算。
示例值:10
func (*FileStatisticsBuilder) UvToday ¶
func (builder *FileStatisticsBuilder) UvToday(uvToday int) *FileStatisticsBuilder
今日新增文档访问人数
示例值:1
type FileSubscription ¶
type FileSubscriptionBuilder ¶
type FileSubscriptionBuilder struct {
// contains filtered or unexported fields
}
func NewFileSubscriptionBuilder ¶
func NewFileSubscriptionBuilder() *FileSubscriptionBuilder
func (*FileSubscriptionBuilder) Build ¶
func (builder *FileSubscriptionBuilder) Build() *FileSubscription
func (*FileSubscriptionBuilder) FileType ¶
func (builder *FileSubscriptionBuilder) FileType(fileType string) *FileSubscriptionBuilder
文档类型
示例值:doc
func (*FileSubscriptionBuilder) IsSubcribe ¶
func (builder *FileSubscriptionBuilder) IsSubcribe(isSubcribe bool) *FileSubscriptionBuilder
是否订阅
示例值:true
func (*FileSubscriptionBuilder) SubscriptionId ¶
func (builder *FileSubscriptionBuilder) SubscriptionId(subscriptionId string) *FileSubscriptionBuilder
订阅关系ID
示例值:1234567890987654321
func (*FileSubscriptionBuilder) SubscriptionType ¶
func (builder *FileSubscriptionBuilder) SubscriptionType(subscriptionType string) *FileSubscriptionBuilder
订阅类型
示例值:comment_update
type FileUploadInfo ¶
type FileUploadInfoBuilder ¶
type FileUploadInfoBuilder struct {
// contains filtered or unexported fields
}
func NewFileUploadInfoBuilder ¶
func NewFileUploadInfoBuilder() *FileUploadInfoBuilder
func (*FileUploadInfoBuilder) Build ¶
func (builder *FileUploadInfoBuilder) Build() *FileUploadInfo
func (*FileUploadInfoBuilder) FileName ¶
func (builder *FileUploadInfoBuilder) FileName(fileName string) *FileUploadInfoBuilder
文件名
示例值:test.txt
func (*FileUploadInfoBuilder) ParentNode ¶
func (builder *FileUploadInfoBuilder) ParentNode(parentNode string) *FileUploadInfoBuilder
文件夹的token
示例值:fldbcO1UuPz8VwnpPx5a92abcef
func (*FileUploadInfoBuilder) ParentType ¶
func (builder *FileUploadInfoBuilder) ParentType(parentType string) *FileUploadInfoBuilder
上传点类型
示例值:explorer
func (*FileUploadInfoBuilder) Size ¶
func (builder *FileUploadInfoBuilder) Size(size int) *FileUploadInfoBuilder
文件大小
示例值:1024
type FileViewRecord ¶
type FileViewRecordBuilder ¶
type FileViewRecordBuilder struct {
// contains filtered or unexported fields
}
func NewFileViewRecordBuilder ¶
func NewFileViewRecordBuilder() *FileViewRecordBuilder
func (*FileViewRecordBuilder) AvatarUrl ¶
func (builder *FileViewRecordBuilder) AvatarUrl(avatarUrl string) *FileViewRecordBuilder
访问者头像 URL
func (*FileViewRecordBuilder) Build ¶
func (builder *FileViewRecordBuilder) Build() *FileViewRecord
func (*FileViewRecordBuilder) LastViewTime ¶
func (builder *FileViewRecordBuilder) LastViewTime(lastViewTime string) *FileViewRecordBuilder
最近访问时间,秒级时间戳
示例值:1679284285
func (*FileViewRecordBuilder) Name ¶
func (builder *FileViewRecordBuilder) Name(name string) *FileViewRecordBuilder
访问者名称
示例值:zhangsan
func (*FileViewRecordBuilder) ViewerId ¶
func (builder *FileViewRecordBuilder) ViewerId(viewerId string) *FileViewRecordBuilder
访问者 ID
示例值:ou_cc19b2bfb93f8a44db4b4d6eababcef
type GetExportTaskReq ¶
type GetExportTaskReq struct {
// contains filtered or unexported fields
}
type GetExportTaskReqBuilder ¶
type GetExportTaskReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetExportTaskReqBuilder ¶
func NewGetExportTaskReqBuilder() *GetExportTaskReqBuilder
func (*GetExportTaskReqBuilder) Build ¶
func (builder *GetExportTaskReqBuilder) Build() *GetExportTaskReq
func (*GetExportTaskReqBuilder) Ticket ¶
func (builder *GetExportTaskReqBuilder) Ticket(ticket string) *GetExportTaskReqBuilder
导出任务ID,[创建导出任务](/ssl::ttdoc//uAjLw4CM/ukTMukTMukTM/reference/drive-v1/export_task/create) 响应中的 ticket 字段
示例值:6933093124755423251
func (*GetExportTaskReqBuilder) Token ¶
func (builder *GetExportTaskReqBuilder) Token(token string) *GetExportTaskReqBuilder
导出文档的 token;;[如何获取文档 otken](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6)
示例值:doccnZVxxxxxxxxxxxxGiyBgYqe
type GetExportTaskResp ¶
type GetExportTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetExportTaskRespData `json:"data"` // 业务数据 }
func (*GetExportTaskResp) Success ¶
func (resp *GetExportTaskResp) Success() bool
type GetExportTaskRespData ¶
type GetExportTaskRespData struct {
Result *ExportTask `json:"result,omitempty"` // 导出任务结果
}
type GetFileCommentReq ¶
type GetFileCommentReq struct {
// contains filtered or unexported fields
}
type GetFileCommentReqBuilder ¶
type GetFileCommentReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetFileCommentReqBuilder ¶
func NewGetFileCommentReqBuilder() *GetFileCommentReqBuilder
func (*GetFileCommentReqBuilder) Build ¶
func (builder *GetFileCommentReqBuilder) Build() *GetFileCommentReq
func (*GetFileCommentReqBuilder) CommentId ¶
func (builder *GetFileCommentReqBuilder) CommentId(commentId string) *GetFileCommentReqBuilder
评论ID
示例值:6916106822734578184
func (*GetFileCommentReqBuilder) FileToken ¶
func (builder *GetFileCommentReqBuilder) FileToken(fileToken string) *GetFileCommentReqBuilder
文档token
示例值:doccnHh7U87HOFpii5u5G*****
func (*GetFileCommentReqBuilder) FileType ¶
func (builder *GetFileCommentReqBuilder) FileType(fileType string) *GetFileCommentReqBuilder
文档类型
示例值:doc
func (*GetFileCommentReqBuilder) UserIdType ¶
func (builder *GetFileCommentReqBuilder) UserIdType(userIdType string) *GetFileCommentReqBuilder
此次调用中使用的用户 ID 的类型
示例值:
type GetFileCommentResp ¶
type GetFileCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetFileCommentRespData `json:"data"` // 业务数据 }
func (*GetFileCommentResp) Success ¶
func (resp *GetFileCommentResp) Success() bool
type GetFileCommentRespData ¶
type GetFileCommentRespData struct { CommentId *string `json:"comment_id,omitempty"` // 评论 ID UserId *string `json:"user_id,omitempty"` // 用户 ID CreateTime *int `json:"create_time,omitempty"` // 创建时间 UpdateTime *int `json:"update_time,omitempty"` // 更新时间 IsSolved *bool `json:"is_solved,omitempty"` // 是否已解决 SolvedTime *int `json:"solved_time,omitempty"` // 解决评论时间 SolverUserId *string `json:"solver_user_id,omitempty"` // 解决评论者的用户 ID HasMore *bool `json:"has_more,omitempty"` // 是否有更多回复 PageToken *string `json:"page_token,omitempty"` // 回复分页标记 IsWhole *bool `json:"is_whole,omitempty"` // 是否是全文评论 Quote *string `json:"quote,omitempty"` // 局部评论的引用字段 ReplyList *ReplyList `json:"reply_list,omitempty"` // 评论里的回复列表 }
type GetFileStatisticsReq ¶
type GetFileStatisticsReq struct {
// contains filtered or unexported fields
}
type GetFileStatisticsReqBuilder ¶
type GetFileStatisticsReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetFileStatisticsReqBuilder ¶
func NewGetFileStatisticsReqBuilder() *GetFileStatisticsReqBuilder
func (*GetFileStatisticsReqBuilder) Build ¶
func (builder *GetFileStatisticsReqBuilder) Build() *GetFileStatisticsReq
func (*GetFileStatisticsReqBuilder) FileToken ¶
func (builder *GetFileStatisticsReqBuilder) FileToken(fileToken string) *GetFileStatisticsReqBuilder
文件 token
示例值:doccnfYZzTlvXqZIGTdAHKabcef
func (*GetFileStatisticsReqBuilder) FileType ¶
func (builder *GetFileStatisticsReqBuilder) FileType(fileType string) *GetFileStatisticsReqBuilder
文档类型
示例值:doc
type GetFileStatisticsResp ¶
type GetFileStatisticsResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetFileStatisticsRespData `json:"data"` // 业务数据 }
func (*GetFileStatisticsResp) Success ¶
func (resp *GetFileStatisticsResp) Success() bool
type GetFileStatisticsRespData ¶
type GetFileStatisticsRespData struct { FileToken *string `json:"file_token,omitempty"` // 文件 token FileType *string `json:"file_type,omitempty"` // 文件类型 Statistics *FileStatistics `json:"statistics,omitempty"` // 文件统计信息 }
type GetFileSubscriptionPathReqBodyBuilder ¶
type GetFileSubscriptionPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewGetFileSubscriptionPathReqBodyBuilder ¶
func NewGetFileSubscriptionPathReqBodyBuilder() *GetFileSubscriptionPathReqBodyBuilder
func (*GetFileSubscriptionPathReqBodyBuilder) Build ¶
func (builder *GetFileSubscriptionPathReqBodyBuilder) Build() (*GetFileSubscriptionReqBody, error)
func (*GetFileSubscriptionPathReqBodyBuilder) FileType ¶
func (builder *GetFileSubscriptionPathReqBodyBuilder) FileType(fileType string) *GetFileSubscriptionPathReqBodyBuilder
文档类型
示例值:doc
type GetFileSubscriptionReq ¶
type GetFileSubscriptionReq struct { Body *GetFileSubscriptionReqBody `body:""` // contains filtered or unexported fields }
type GetFileSubscriptionReqBody ¶
type GetFileSubscriptionReqBody struct {
FileType *string `json:"file_type,omitempty"` // 文档类型
}
type GetFileSubscriptionReqBodyBuilder ¶
type GetFileSubscriptionReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewGetFileSubscriptionReqBodyBuilder ¶
func NewGetFileSubscriptionReqBodyBuilder() *GetFileSubscriptionReqBodyBuilder
func (*GetFileSubscriptionReqBodyBuilder) Build ¶
func (builder *GetFileSubscriptionReqBodyBuilder) Build() *GetFileSubscriptionReqBody
func (*GetFileSubscriptionReqBodyBuilder) FileType ¶
func (builder *GetFileSubscriptionReqBodyBuilder) FileType(fileType string) *GetFileSubscriptionReqBodyBuilder
文档类型
示例值:doc
type GetFileSubscriptionReqBuilder ¶
type GetFileSubscriptionReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetFileSubscriptionReqBuilder ¶
func NewGetFileSubscriptionReqBuilder() *GetFileSubscriptionReqBuilder
func (*GetFileSubscriptionReqBuilder) Body ¶
func (builder *GetFileSubscriptionReqBuilder) Body(body *GetFileSubscriptionReqBody) *GetFileSubscriptionReqBuilder
根据订阅ID获取该订阅的状态
func (*GetFileSubscriptionReqBuilder) Build ¶
func (builder *GetFileSubscriptionReqBuilder) Build() *GetFileSubscriptionReq
func (*GetFileSubscriptionReqBuilder) FileToken ¶
func (builder *GetFileSubscriptionReqBuilder) FileToken(fileToken string) *GetFileSubscriptionReqBuilder
文档token
示例值:doxcnxxxxxxxxxxxxxxxxxxxxxx
func (*GetFileSubscriptionReqBuilder) SubscriptionId ¶
func (builder *GetFileSubscriptionReqBuilder) SubscriptionId(subscriptionId string) *GetFileSubscriptionReqBuilder
订阅关系ID
示例值:1234567890987654321
type GetFileSubscriptionResp ¶
type GetFileSubscriptionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetFileSubscriptionRespData `json:"data"` // 业务数据 }
func (*GetFileSubscriptionResp) Success ¶
func (resp *GetFileSubscriptionResp) Success() bool
type GetFileVersionReq ¶
type GetFileVersionReq struct {
// contains filtered or unexported fields
}
type GetFileVersionReqBuilder ¶
type GetFileVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetFileVersionReqBuilder ¶
func NewGetFileVersionReqBuilder() *GetFileVersionReqBuilder
func (*GetFileVersionReqBuilder) Build ¶
func (builder *GetFileVersionReqBuilder) Build() *GetFileVersionReq
func (*GetFileVersionReqBuilder) FileToken ¶
func (builder *GetFileVersionReqBuilder) FileToken(fileToken string) *GetFileVersionReqBuilder
源文档token
示例值:shtbcqqoXZJaKYrfN5IHQg4sVFZ
func (*GetFileVersionReqBuilder) ObjType ¶
func (builder *GetFileVersionReqBuilder) ObjType(objType string) *GetFileVersionReqBuilder
文档类型
示例值:doc/sheet/bitable/docx
func (*GetFileVersionReqBuilder) UserIdType ¶
func (builder *GetFileVersionReqBuilder) UserIdType(userIdType string) *GetFileVersionReqBuilder
用户ID类型
示例值:
func (*GetFileVersionReqBuilder) VersionId ¶
func (builder *GetFileVersionReqBuilder) VersionId(versionId string) *GetFileVersionReqBuilder
版本文档版本号
示例值:file_version
type GetFileVersionResp ¶
type GetFileVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetFileVersionRespData `json:"data"` // 业务数据 }
func (*GetFileVersionResp) Success ¶
func (resp *GetFileVersionResp) Success() bool
type GetFileVersionRespData ¶
type GetFileVersionRespData struct { Name *string `json:"name,omitempty"` // 版本文档标题,最大长度 1024 个Unicode 码点。通常情况下,一个英文或中文字符对应一个码点,但是某些特殊符号可能会对应多个码点。例如,家庭组合「👨👩👧」这个表情符号对应5个码点。 Version *string `json:"version,omitempty"` // 版本文档版本号 ParentToken *string `json:"parent_token,omitempty"` // 源文档token OwnerId *string `json:"owner_id,omitempty"` // 版本文档所有者id CreatorId *string `json:"creator_id,omitempty"` // 版本文档创建者id CreateTime *string `json:"create_time,omitempty"` // 版本文档创建时间 UpdateTime *string `json:"update_time,omitempty"` // 版本文档更新时间 Status *string `json:"status,omitempty"` // 版本文档状态 ObjType *string `json:"obj_type,omitempty"` // 版本文档类型 ParentType *string `json:"parent_type,omitempty"` // 源文档类型 }
type GetImportTaskReq ¶
type GetImportTaskReq struct {
// contains filtered or unexported fields
}
type GetImportTaskReqBuilder ¶
type GetImportTaskReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetImportTaskReqBuilder ¶
func NewGetImportTaskReqBuilder() *GetImportTaskReqBuilder
func (*GetImportTaskReqBuilder) Build ¶
func (builder *GetImportTaskReqBuilder) Build() *GetImportTaskReq
func (*GetImportTaskReqBuilder) Ticket ¶
func (builder *GetImportTaskReqBuilder) Ticket(ticket string) *GetImportTaskReqBuilder
导入任务ID
示例值:6990281865xxxxxxxx7843
type GetImportTaskResp ¶
type GetImportTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetImportTaskRespData `json:"data"` // 业务数据 }
func (*GetImportTaskResp) Success ¶
func (resp *GetImportTaskResp) Success() bool
type GetImportTaskRespData ¶
type GetImportTaskRespData struct {
Result *ImportTask `json:"result,omitempty"` // 导入结果
}
type GetPermissionPublicReq ¶
type GetPermissionPublicReq struct {
// contains filtered or unexported fields
}
type GetPermissionPublicReqBuilder ¶
type GetPermissionPublicReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetPermissionPublicReqBuilder ¶
func NewGetPermissionPublicReqBuilder() *GetPermissionPublicReqBuilder
func (*GetPermissionPublicReqBuilder) Build ¶
func (builder *GetPermissionPublicReqBuilder) Build() *GetPermissionPublicReq
func (*GetPermissionPublicReqBuilder) Token ¶
func (builder *GetPermissionPublicReqBuilder) Token(token string) *GetPermissionPublicReqBuilder
文件的 token,获取方式见 [如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6)
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*GetPermissionPublicReqBuilder) Type ¶
func (builder *GetPermissionPublicReqBuilder) Type(type_ string) *GetPermissionPublicReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type GetPermissionPublicResp ¶
type GetPermissionPublicResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetPermissionPublicRespData `json:"data"` // 业务数据 }
func (*GetPermissionPublicResp) Success ¶
func (resp *GetPermissionPublicResp) Success() bool
type GetPermissionPublicRespData ¶
type GetPermissionPublicRespData struct {
PermissionPublic *PermissionPublic `json:"permission_public,omitempty"` // 返回的文档权限设置
}
type GetSubscribeFileReq ¶
type GetSubscribeFileReq struct {
// contains filtered or unexported fields
}
type GetSubscribeFileReqBuilder ¶
type GetSubscribeFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetSubscribeFileReqBuilder ¶
func NewGetSubscribeFileReqBuilder() *GetSubscribeFileReqBuilder
func (*GetSubscribeFileReqBuilder) Build ¶
func (builder *GetSubscribeFileReqBuilder) Build() *GetSubscribeFileReq
func (*GetSubscribeFileReqBuilder) EventType ¶
func (builder *GetSubscribeFileReqBuilder) EventType(eventType string) *GetSubscribeFileReqBuilder
事件类型
示例值:file.created_in_folder_v1
func (*GetSubscribeFileReqBuilder) FileToken ¶
func (builder *GetSubscribeFileReqBuilder) FileToken(fileToken string) *GetSubscribeFileReqBuilder
文档token
示例值:doccnxxxxxxxxxxxxxxxxxxxxxx
func (*GetSubscribeFileReqBuilder) FileType ¶
func (builder *GetSubscribeFileReqBuilder) FileType(fileType string) *GetSubscribeFileReqBuilder
文档类型
示例值:新版文档
type GetSubscribeFileResp ¶
type GetSubscribeFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetSubscribeFileRespData `json:"data"` // 业务数据 }
func (*GetSubscribeFileResp) Success ¶
func (resp *GetSubscribeFileResp) Success() bool
type GetSubscribeFileRespData ¶
type GetSubscribeFileRespData struct {
IsSubscribe *bool `json:"is_subscribe,omitempty"` // 是否有订阅,取值 true 表示已订阅;false 表示未订阅
}
type ImportTask ¶
type ImportTask struct { Ticket *string `json:"ticket,omitempty"` // 任务ID FileExtension *string `json:"file_extension,omitempty"` // 导入文件格式后缀 FileToken *string `json:"file_token,omitempty"` // 导入文件Drive FileToken Type *string `json:"type,omitempty"` // 导入目标云文档格式 FileName *string `json:"file_name,omitempty"` // 导入目标云文档文件名 ,若为空使用Drive文件名 Point *ImportTaskMountPoint `json:"point,omitempty"` // 挂载点 JobStatus *int `json:"job_status,omitempty"` // 任务状态 JobErrorMsg *string `json:"job_error_msg,omitempty"` // 任务失败原因 Token *string `json:"token,omitempty"` // 导入云文档Token Url *string `json:"url,omitempty"` // 导入云文档URL Extra []string `json:"extra,omitempty"` // 任务成功后的提示信息 }
type ImportTaskBuilder ¶
type ImportTaskBuilder struct {
// contains filtered or unexported fields
}
func NewImportTaskBuilder ¶
func NewImportTaskBuilder() *ImportTaskBuilder
func (*ImportTaskBuilder) Build ¶
func (builder *ImportTaskBuilder) Build() *ImportTask
func (*ImportTaskBuilder) Extra ¶
func (builder *ImportTaskBuilder) Extra(extra []string) *ImportTaskBuilder
任务成功后的提示信息
示例值:
func (*ImportTaskBuilder) FileExtension ¶
func (builder *ImportTaskBuilder) FileExtension(fileExtension string) *ImportTaskBuilder
导入文件格式后缀
示例值:xlsx
func (*ImportTaskBuilder) FileName ¶
func (builder *ImportTaskBuilder) FileName(fileName string) *ImportTaskBuilder
导入目标云文档文件名 ,若为空使用Drive文件名
示例值:test
func (*ImportTaskBuilder) FileToken ¶
func (builder *ImportTaskBuilder) FileToken(fileToken string) *ImportTaskBuilder
导入文件Drive FileToken
示例值:boxcnxe5OxxxxxxxSNdsJviENsk
func (*ImportTaskBuilder) JobErrorMsg ¶
func (builder *ImportTaskBuilder) JobErrorMsg(jobErrorMsg string) *ImportTaskBuilder
任务失败原因
示例值:success
func (*ImportTaskBuilder) JobStatus ¶
func (builder *ImportTaskBuilder) JobStatus(jobStatus int) *ImportTaskBuilder
任务状态
示例值:0
func (*ImportTaskBuilder) Point ¶
func (builder *ImportTaskBuilder) Point(point *ImportTaskMountPoint) *ImportTaskBuilder
挂载点
示例值:
func (*ImportTaskBuilder) Ticket ¶
func (builder *ImportTaskBuilder) Ticket(ticket string) *ImportTaskBuilder
任务ID
示例值:6990281865xxxxxxxx7843
func (*ImportTaskBuilder) Token ¶
func (builder *ImportTaskBuilder) Token(token string) *ImportTaskBuilder
导入云文档Token
示例值:shtcnVBTG6SuxxxxxxxkM2tUX
func (*ImportTaskBuilder) Type ¶
func (builder *ImportTaskBuilder) Type(type_ string) *ImportTaskBuilder
导入目标云文档格式
示例值:sheet
func (*ImportTaskBuilder) Url ¶
func (builder *ImportTaskBuilder) Url(url string) *ImportTaskBuilder
导入云文档URL
示例值:https://bytedance.feishu.cn/sheets/shtcnVBTG6SuxxxxxxxkM2tUX
type ImportTaskMountPoint ¶
type ImportTaskMountPointBuilder ¶
type ImportTaskMountPointBuilder struct {
// contains filtered or unexported fields
}
func NewImportTaskMountPointBuilder ¶
func NewImportTaskMountPointBuilder() *ImportTaskMountPointBuilder
func (*ImportTaskMountPointBuilder) Build ¶
func (builder *ImportTaskMountPointBuilder) Build() *ImportTaskMountPoint
func (*ImportTaskMountPointBuilder) MountKey ¶
func (builder *ImportTaskMountPointBuilder) MountKey(mountKey string) *ImportTaskMountPointBuilder
挂载位置,对于mount_type=1, 云空间目录token,空表示根目录
示例值:fldxxxxxxxx
func (*ImportTaskMountPointBuilder) MountType ¶
func (builder *ImportTaskMountPointBuilder) MountType(mountType int) *ImportTaskMountPointBuilder
挂载类型
示例值:1
type ListFileCommentIterator ¶
type ListFileCommentIterator struct {
// contains filtered or unexported fields
}
func (*ListFileCommentIterator) Next ¶
func (iterator *ListFileCommentIterator) Next() (bool, *FileComment, error)
func (*ListFileCommentIterator) NextPageToken ¶
func (iterator *ListFileCommentIterator) NextPageToken() *string
type ListFileCommentReplyIterator ¶
type ListFileCommentReplyIterator struct {
// contains filtered or unexported fields
}
func (*ListFileCommentReplyIterator) Next ¶
func (iterator *ListFileCommentReplyIterator) Next() (bool, *FileCommentReply, error)
func (*ListFileCommentReplyIterator) NextPageToken ¶
func (iterator *ListFileCommentReplyIterator) NextPageToken() *string
type ListFileCommentReplyReq ¶
type ListFileCommentReplyReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListFileCommentReplyReqBuilder ¶
type ListFileCommentReplyReqBuilder struct {
// contains filtered or unexported fields
}
func NewListFileCommentReplyReqBuilder ¶
func NewListFileCommentReplyReqBuilder() *ListFileCommentReplyReqBuilder
func (*ListFileCommentReplyReqBuilder) Build ¶
func (builder *ListFileCommentReplyReqBuilder) Build() *ListFileCommentReplyReq
func (*ListFileCommentReplyReqBuilder) CommentId ¶
func (builder *ListFileCommentReplyReqBuilder) CommentId(commentId string) *ListFileCommentReplyReqBuilder
评论ID
示例值:1654857036541812356
func (*ListFileCommentReplyReqBuilder) FileToken ¶
func (builder *ListFileCommentReplyReqBuilder) FileToken(fileToken string) *ListFileCommentReplyReqBuilder
文档Token
示例值:doxbcdl03Vsxhm7Qmnj110abcef
func (*ListFileCommentReplyReqBuilder) FileType ¶
func (builder *ListFileCommentReplyReqBuilder) FileType(fileType string) *ListFileCommentReplyReqBuilder
文档类型
示例值:docx
func (*ListFileCommentReplyReqBuilder) Limit ¶
func (builder *ListFileCommentReplyReqBuilder) Limit(limit int) *ListFileCommentReplyReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListFileCommentReplyReqBuilder) PageSize ¶
func (builder *ListFileCommentReplyReqBuilder) PageSize(pageSize int) *ListFileCommentReplyReqBuilder
分页大小
示例值:10
func (*ListFileCommentReplyReqBuilder) PageToken ¶
func (builder *ListFileCommentReplyReqBuilder) PageToken(pageToken string) *ListFileCommentReplyReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:1654857036541812356
func (*ListFileCommentReplyReqBuilder) UserIdType ¶
func (builder *ListFileCommentReplyReqBuilder) UserIdType(userIdType string) *ListFileCommentReplyReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListFileCommentReplyResp ¶
type ListFileCommentReplyResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListFileCommentReplyRespData `json:"data"` // 业务数据 }
func (*ListFileCommentReplyResp) Success ¶
func (resp *ListFileCommentReplyResp) Success() bool
type ListFileCommentReplyRespData ¶
type ListFileCommentReplyRespData struct { Items []*FileCommentReply `json:"items,omitempty"` // 回复列表 PageToken *string `json:"page_token,omitempty"` // HasMore *bool `json:"has_more,omitempty"` // }
type ListFileCommentReq ¶
type ListFileCommentReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListFileCommentReqBuilder ¶
type ListFileCommentReqBuilder struct {
// contains filtered or unexported fields
}
func NewListFileCommentReqBuilder ¶
func NewListFileCommentReqBuilder() *ListFileCommentReqBuilder
func (*ListFileCommentReqBuilder) Build ¶
func (builder *ListFileCommentReqBuilder) Build() *ListFileCommentReq
func (*ListFileCommentReqBuilder) FileToken ¶
func (builder *ListFileCommentReqBuilder) FileToken(fileToken string) *ListFileCommentReqBuilder
文档token
示例值:XIHSdYSI7oMEU1xrsnxc8fabcef
func (*ListFileCommentReqBuilder) FileType ¶
func (builder *ListFileCommentReqBuilder) FileType(fileType string) *ListFileCommentReqBuilder
文档类型
示例值:doc
func (*ListFileCommentReqBuilder) IsSolved ¶
func (builder *ListFileCommentReqBuilder) IsSolved(isSolved bool) *ListFileCommentReqBuilder
是否已解决(可选)
示例值:false
func (*ListFileCommentReqBuilder) IsWhole ¶
func (builder *ListFileCommentReqBuilder) IsWhole(isWhole bool) *ListFileCommentReqBuilder
是否全文评论
示例值:false
func (*ListFileCommentReqBuilder) Limit ¶
func (builder *ListFileCommentReqBuilder) Limit(limit int) *ListFileCommentReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListFileCommentReqBuilder) PageSize ¶
func (builder *ListFileCommentReqBuilder) PageSize(pageSize int) *ListFileCommentReqBuilder
获取满足 commen_id > page_token 的评论数量
示例值:10
func (*ListFileCommentReqBuilder) PageToken ¶
func (builder *ListFileCommentReqBuilder) PageToken(pageToken string) *ListFileCommentReqBuilder
评论分页参数
示例值:7153511712153412356
func (*ListFileCommentReqBuilder) UserIdType ¶
func (builder *ListFileCommentReqBuilder) UserIdType(userIdType string) *ListFileCommentReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListFileCommentResp ¶
type ListFileCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListFileCommentRespData `json:"data"` // 业务数据 }
func (*ListFileCommentResp) Success ¶
func (resp *ListFileCommentResp) Success() bool
type ListFileCommentRespData ¶
type ListFileCommentRespData struct { HasMore *bool `json:"has_more,omitempty"` // 是否有下一页数据 PageToken *string `json:"page_token,omitempty"` // 下一页分页的 Token Items []*FileComment `json:"items,omitempty"` // 评论列表 }
type ListFileIterator ¶
type ListFileIterator struct {
// contains filtered or unexported fields
}
func (*ListFileIterator) NextPageToken ¶
func (iterator *ListFileIterator) NextPageToken() *string
type ListFileReq ¶
type ListFileReq struct {
// contains filtered or unexported fields
}
type ListFileReqBuilder ¶
type ListFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewListFileReqBuilder ¶
func NewListFileReqBuilder() *ListFileReqBuilder
func (*ListFileReqBuilder) Build ¶
func (builder *ListFileReqBuilder) Build() *ListFileReq
func (*ListFileReqBuilder) Direction ¶
func (builder *ListFileReqBuilder) Direction(direction string) *ListFileReqBuilder
升序降序
示例值:DESC
func (*ListFileReqBuilder) FolderToken ¶
func (builder *ListFileReqBuilder) FolderToken(folderToken string) *ListFileReqBuilder
文件夹的token(若不填写该参数或填写空字符串,则默认获取用户云空间下的清单,且不支持分页)
示例值:fldbcO1UuPz8VwnpPx5a9abcef
func (*ListFileReqBuilder) OrderBy ¶
func (builder *ListFileReqBuilder) OrderBy(orderBy string) *ListFileReqBuilder
排序规则
示例值:EditedTime
func (*ListFileReqBuilder) PageSize ¶
func (builder *ListFileReqBuilder) PageSize(pageSize int) *ListFileReqBuilder
分页大小
示例值:10
func (*ListFileReqBuilder) PageToken ¶
func (builder *ListFileReqBuilder) PageToken(pageToken string) *ListFileReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:MTY1NTA3MTA1OXw3MTA4NDc2MDc1NzkyOTI0Nabcef
func (*ListFileReqBuilder) UserIdType ¶
func (builder *ListFileReqBuilder) UserIdType(userIdType string) *ListFileReqBuilder
此次调用中使用的用户ID的类型
示例值:
type ListFileResp ¶
type ListFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListFileRespData `json:"data"` // 业务数据 }
func (*ListFileResp) Success ¶
func (resp *ListFileResp) Success() bool
type ListFileRespData ¶
type ListFileVersionIterator ¶
type ListFileVersionIterator struct {
// contains filtered or unexported fields
}
func (*ListFileVersionIterator) Next ¶
func (iterator *ListFileVersionIterator) Next() (bool, *Version, error)
func (*ListFileVersionIterator) NextPageToken ¶
func (iterator *ListFileVersionIterator) NextPageToken() *string
type ListFileVersionReq ¶
type ListFileVersionReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListFileVersionReqBuilder ¶
type ListFileVersionReqBuilder struct {
// contains filtered or unexported fields
}
func NewListFileVersionReqBuilder ¶
func NewListFileVersionReqBuilder() *ListFileVersionReqBuilder
func (*ListFileVersionReqBuilder) Build ¶
func (builder *ListFileVersionReqBuilder) Build() *ListFileVersionReq
func (*ListFileVersionReqBuilder) FileToken ¶
func (builder *ListFileVersionReqBuilder) FileToken(fileToken string) *ListFileVersionReqBuilder
源文档token
示例值:shtbcpM2mm3znrLfWnf4browTYp23
func (*ListFileVersionReqBuilder) Limit ¶
func (builder *ListFileVersionReqBuilder) Limit(limit int) *ListFileVersionReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListFileVersionReqBuilder) ObjType ¶
func (builder *ListFileVersionReqBuilder) ObjType(objType string) *ListFileVersionReqBuilder
原文档类型
示例值:doc/docx/sheet/bitable
func (*ListFileVersionReqBuilder) PageSize ¶
func (builder *ListFileVersionReqBuilder) PageSize(pageSize int) *ListFileVersionReqBuilder
分页大小
示例值:10
func (*ListFileVersionReqBuilder) PageToken ¶
func (builder *ListFileVersionReqBuilder) PageToken(pageToken string) *ListFileVersionReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:1665739388
func (*ListFileVersionReqBuilder) UserIdType ¶
func (builder *ListFileVersionReqBuilder) UserIdType(userIdType string) *ListFileVersionReqBuilder
用户id类型
示例值:open_id
type ListFileVersionResp ¶
type ListFileVersionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListFileVersionRespData `json:"data"` // 业务数据 }
func (*ListFileVersionResp) Success ¶
func (resp *ListFileVersionResp) Success() bool
type ListFileVersionRespData ¶
type ListFileViewRecordIterator ¶
type ListFileViewRecordIterator struct {
// contains filtered or unexported fields
}
func (*ListFileViewRecordIterator) Next ¶
func (iterator *ListFileViewRecordIterator) Next() (bool, *FileViewRecord, error)
func (*ListFileViewRecordIterator) NextPageToken ¶
func (iterator *ListFileViewRecordIterator) NextPageToken() *string
type ListFileViewRecordReq ¶
type ListFileViewRecordReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListFileViewRecordReqBuilder ¶
type ListFileViewRecordReqBuilder struct {
// contains filtered or unexported fields
}
func NewListFileViewRecordReqBuilder ¶
func NewListFileViewRecordReqBuilder() *ListFileViewRecordReqBuilder
func (*ListFileViewRecordReqBuilder) Build ¶
func (builder *ListFileViewRecordReqBuilder) Build() *ListFileViewRecordReq
func (*ListFileViewRecordReqBuilder) FileToken ¶
func (builder *ListFileViewRecordReqBuilder) FileToken(fileToken string) *ListFileViewRecordReqBuilder
文档 token
示例值:XIHSdYSI7oMEU1xrsnxc8fabcef
func (*ListFileViewRecordReqBuilder) FileType ¶
func (builder *ListFileViewRecordReqBuilder) FileType(fileType string) *ListFileViewRecordReqBuilder
文档类型
示例值:docx
func (*ListFileViewRecordReqBuilder) Limit ¶
func (builder *ListFileViewRecordReqBuilder) Limit(limit int) *ListFileViewRecordReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListFileViewRecordReqBuilder) PageSize ¶
func (builder *ListFileViewRecordReqBuilder) PageSize(pageSize int) *ListFileViewRecordReqBuilder
分页大小
示例值:10
func (*ListFileViewRecordReqBuilder) PageToken ¶
func (builder *ListFileViewRecordReqBuilder) PageToken(pageToken string) *ListFileViewRecordReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:1674037112--7189934631754563585
func (*ListFileViewRecordReqBuilder) ViewerIdType ¶
func (builder *ListFileViewRecordReqBuilder) ViewerIdType(viewerIdType string) *ListFileViewRecordReqBuilder
此次调用中使用的访问者 ID 的类型
示例值:open_id
type ListFileViewRecordResp ¶
type ListFileViewRecordResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListFileViewRecordRespData `json:"data"` // 业务数据 }
func (*ListFileViewRecordResp) Success ¶
func (resp *ListFileViewRecordResp) Success() bool
type ListFileViewRecordRespData ¶
type ListFileViewRecordRespData struct { Items []*FileViewRecord `json:"items,omitempty"` // 访问记录列表 PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore *bool `json:"has_more,omitempty"` // 是否还有更多项 }
type ListPermissionMemberReq ¶
type ListPermissionMemberReq struct {
// contains filtered or unexported fields
}
type ListPermissionMemberReqBuilder ¶
type ListPermissionMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewListPermissionMemberReqBuilder ¶
func NewListPermissionMemberReqBuilder() *ListPermissionMemberReqBuilder
func (*ListPermissionMemberReqBuilder) Build ¶
func (builder *ListPermissionMemberReqBuilder) Build() *ListPermissionMemberReq
func (*ListPermissionMemberReqBuilder) Fields ¶
func (builder *ListPermissionMemberReqBuilder) Fields(fields string) *ListPermissionMemberReqBuilder
指定返回的协作者字段信息,如无指定则默认不返回;;**可选值有:** ;- `name`:协作者名;- `type`:协作者类型;- `avatar`:头像;- `external_label`:外部标签;;**注意:** ;- 你可以使用特殊值`*`指定返回目前支持的所有字段;- 你可以使用`,`分隔若干个你想指定返回的字段,如:`name,avatar`;- 按需指定返回字段接口性能更好
示例值:*
func (*ListPermissionMemberReqBuilder) PermType ¶
func (builder *ListPermissionMemberReqBuilder) PermType(permType string) *ListPermissionMemberReqBuilder
协作者的权限角色类型
示例值:container
func (*ListPermissionMemberReqBuilder) Token ¶
func (builder *ListPermissionMemberReqBuilder) Token(token string) *ListPermissionMemberReqBuilder
文件的 token,获取方式见 [如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6)
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*ListPermissionMemberReqBuilder) Type ¶
func (builder *ListPermissionMemberReqBuilder) Type(type_ string) *ListPermissionMemberReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type ListPermissionMemberResp ¶
type ListPermissionMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListPermissionMemberRespData `json:"data"` // 业务数据 }
func (*ListPermissionMemberResp) Success ¶
func (resp *ListPermissionMemberResp) Success() bool
type ListPermissionMemberRespData ¶
type ListPermissionMemberRespData struct {
Items []*Member `json:"items,omitempty"` // 返回的列表数据
}
type MediaBuilder ¶
type MediaBuilder struct {
// contains filtered or unexported fields
}
func NewMediaBuilder ¶
func NewMediaBuilder() *MediaBuilder
func (*MediaBuilder) Build ¶
func (builder *MediaBuilder) Build() *Media
func (*MediaBuilder) FileName ¶
func (builder *MediaBuilder) FileName(fileName string) *MediaBuilder
文件名
示例值:
func (*MediaBuilder) FileToken ¶
func (builder *MediaBuilder) FileToken(fileToken string) *MediaBuilder
文件标识符
示例值:
func (*MediaBuilder) MimeType ¶
func (builder *MediaBuilder) MimeType(mimeType string) *MediaBuilder
文件MIME类型
示例值:
type MediaUploadInfo ¶
type MediaUploadInfoBuilder ¶
type MediaUploadInfoBuilder struct {
// contains filtered or unexported fields
}
func NewMediaUploadInfoBuilder ¶
func NewMediaUploadInfoBuilder() *MediaUploadInfoBuilder
func (*MediaUploadInfoBuilder) Build ¶
func (builder *MediaUploadInfoBuilder) Build() *MediaUploadInfo
func (*MediaUploadInfoBuilder) Extra ¶
func (builder *MediaUploadInfoBuilder) Extra(extra string) *MediaUploadInfoBuilder
扩展信息(可选)
示例值:{\"test\":\"test\"}
func (*MediaUploadInfoBuilder) FileName ¶
func (builder *MediaUploadInfoBuilder) FileName(fileName string) *MediaUploadInfoBuilder
文件名
示例值:demo.jpeg
func (*MediaUploadInfoBuilder) ParentNode ¶
func (builder *MediaUploadInfoBuilder) ParentNode(parentNode string) *MediaUploadInfoBuilder
上传点的标识符
示例值:doccnFivLCfJfblZjGZtxgabcef
func (*MediaUploadInfoBuilder) ParentType ¶
func (builder *MediaUploadInfoBuilder) ParentType(parentType string) *MediaUploadInfoBuilder
上传点类型
示例值:doc_image
func (*MediaUploadInfoBuilder) Size ¶
func (builder *MediaUploadInfoBuilder) Size(size int) *MediaUploadInfoBuilder
文件大小
示例值:1024
type Member ¶
type Member struct { MemberType *string `json:"member_type,omitempty"` // 协作者 ID 类型,与协作者 ID 需要对应 MemberId *string `json:"member_id,omitempty"` // 协作者 ID,与协作者 ID 类型需要对应 Perm *string `json:"perm,omitempty"` // 协作者对应的权限角色 PermType *string `json:"perm_type,omitempty"` // 协作者的权限角色类型 Type *string `json:"type,omitempty"` // 协作者的类型 Name *string `json:"name,omitempty"` // 协作者的名字 Avatar *string `json:"avatar,omitempty"` // 协作者的头像 ExternalLabel *bool `json:"external_label,omitempty"` // 协作者的外部标签 }
type MemberBuilder ¶
type MemberBuilder struct {
// contains filtered or unexported fields
}
func NewMemberBuilder ¶
func NewMemberBuilder() *MemberBuilder
func (*MemberBuilder) Avatar ¶
func (builder *MemberBuilder) Avatar(avatar string) *MemberBuilder
协作者的头像
func (*MemberBuilder) Build ¶
func (builder *MemberBuilder) Build() *Member
func (*MemberBuilder) ExternalLabel ¶
func (builder *MemberBuilder) ExternalLabel(externalLabel bool) *MemberBuilder
协作者的外部标签
示例值:true
func (*MemberBuilder) MemberId ¶
func (builder *MemberBuilder) MemberId(memberId string) *MemberBuilder
协作者 ID,与协作者 ID 类型需要对应
示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62
func (*MemberBuilder) MemberType ¶
func (builder *MemberBuilder) MemberType(memberType string) *MemberBuilder
协作者 ID 类型,与协作者 ID 需要对应
示例值:openid
func (*MemberBuilder) Name ¶
func (builder *MemberBuilder) Name(name string) *MemberBuilder
协作者的名字
示例值:zhangsan
func (*MemberBuilder) Perm ¶
func (builder *MemberBuilder) Perm(perm string) *MemberBuilder
协作者对应的权限角色
示例值:view
func (*MemberBuilder) PermType ¶
func (builder *MemberBuilder) PermType(permType string) *MemberBuilder
协作者的权限角色类型
示例值:container
func (*MemberBuilder) Type ¶
func (builder *MemberBuilder) Type(type_ string) *MemberBuilder
协作者的类型
示例值:user
type Meta ¶
type Meta struct { DocToken *string `json:"doc_token,omitempty"` // 文件token DocType *string `json:"doc_type,omitempty"` // 文件类型 Title *string `json:"title,omitempty"` // 标题 OwnerId *string `json:"owner_id,omitempty"` // 文件所有者 CreateTime *string `json:"create_time,omitempty"` // 创建时间(Unix时间戳) LatestModifyUser *string `json:"latest_modify_user,omitempty"` // 最后编辑者 LatestModifyTime *string `json:"latest_modify_time,omitempty"` // 最后编辑时间(Unix时间戳) Url *string `json:"url,omitempty"` // 文档链接 SecLabelName *string `json:"sec_label_name,omitempty"` // 文档密级标签名称 }
type MetaBuilder ¶
type MetaBuilder struct {
// contains filtered or unexported fields
}
func NewMetaBuilder ¶
func NewMetaBuilder() *MetaBuilder
func (*MetaBuilder) Build ¶
func (builder *MetaBuilder) Build() *Meta
func (*MetaBuilder) CreateTime ¶
func (builder *MetaBuilder) CreateTime(createTime string) *MetaBuilder
创建时间(Unix时间戳)
示例值:1652066345
func (*MetaBuilder) DocToken ¶
func (builder *MetaBuilder) DocToken(docToken string) *MetaBuilder
文件token
示例值:doccnfYZzTlvXqZIGTdAHKabcef
func (*MetaBuilder) DocType ¶
func (builder *MetaBuilder) DocType(docType string) *MetaBuilder
文件类型
示例值:doc
func (*MetaBuilder) LatestModifyTime ¶
func (builder *MetaBuilder) LatestModifyTime(latestModifyTime string) *MetaBuilder
最后编辑时间(Unix时间戳)
示例值:1652066345
func (*MetaBuilder) LatestModifyUser ¶
func (builder *MetaBuilder) LatestModifyUser(latestModifyUser string) *MetaBuilder
最后编辑者
示例值:ou_b13d41c02edc52ce66aaae67bf1abcef
func (*MetaBuilder) OwnerId ¶
func (builder *MetaBuilder) OwnerId(ownerId string) *MetaBuilder
文件所有者
示例值:ou_b13d41c02edc52ce66aaae67bf1abcef
func (*MetaBuilder) SecLabelName ¶
func (builder *MetaBuilder) SecLabelName(secLabelName string) *MetaBuilder
文档密级标签名称
示例值:L2-内部
func (*MetaBuilder) Title ¶
func (builder *MetaBuilder) Title(title string) *MetaBuilder
标题
示例值:sampletitle
func (*MetaBuilder) Url ¶
func (builder *MetaBuilder) Url(url string) *MetaBuilder
文档链接
示例值:https://sample.feishu.cn/docs/doccnfYZzTlvXqZIGTdAHKabcef
type MetaFailed ¶
type MetaFailedBuilder ¶
type MetaFailedBuilder struct {
// contains filtered or unexported fields
}
func NewMetaFailedBuilder ¶
func NewMetaFailedBuilder() *MetaFailedBuilder
func (*MetaFailedBuilder) Build ¶
func (builder *MetaFailedBuilder) Build() *MetaFailed
func (*MetaFailedBuilder) Code ¶
func (builder *MetaFailedBuilder) Code(code int) *MetaFailedBuilder
获取元数据失败的错误码
示例值:970005
func (*MetaFailedBuilder) Token ¶
func (builder *MetaFailedBuilder) Token(token string) *MetaFailedBuilder
获取元数据失败的文档token
示例值:boxcnrHpsg1QDqXAAAyachabcef
type MetaRequest ¶
type MetaRequest struct { RequestDocs []*RequestDoc `json:"request_docs,omitempty"` // 请求文档, 一次不超过200个 WithUrl *bool `json:"with_url,omitempty"` // 是否获取文档链接 }
type MetaRequestBuilder ¶
type MetaRequestBuilder struct {
// contains filtered or unexported fields
}
func NewMetaRequestBuilder ¶
func NewMetaRequestBuilder() *MetaRequestBuilder
func (*MetaRequestBuilder) Build ¶
func (builder *MetaRequestBuilder) Build() *MetaRequest
func (*MetaRequestBuilder) RequestDocs ¶
func (builder *MetaRequestBuilder) RequestDocs(requestDocs []*RequestDoc) *MetaRequestBuilder
请求文档, 一次不超过200个
示例值:
func (*MetaRequestBuilder) WithUrl ¶
func (builder *MetaRequestBuilder) WithUrl(withUrl bool) *MetaRequestBuilder
是否获取文档链接
示例值:false
type MoveFilePathReqBodyBuilder ¶
type MoveFilePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewMoveFilePathReqBodyBuilder ¶
func NewMoveFilePathReqBodyBuilder() *MoveFilePathReqBodyBuilder
func (*MoveFilePathReqBodyBuilder) Build ¶
func (builder *MoveFilePathReqBodyBuilder) Build() (*MoveFileReqBody, error)
func (*MoveFilePathReqBodyBuilder) FolderToken ¶
func (builder *MoveFilePathReqBodyBuilder) FolderToken(folderToken string) *MoveFilePathReqBodyBuilder
目标文件夹token
示例值:fldbcO1UuPz8VwnpPx5a92abcef
func (*MoveFilePathReqBodyBuilder) Type ¶
func (builder *MoveFilePathReqBodyBuilder) Type(type_ string) *MoveFilePathReqBodyBuilder
文件类型,如果该值为空或者与文件实际类型不匹配,接口会返回失败。
示例值:file
type MoveFileReq ¶
type MoveFileReq struct { Body *MoveFileReqBody `body:""` // contains filtered or unexported fields }
type MoveFileReqBody ¶
type MoveFileReqBodyBuilder ¶
type MoveFileReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewMoveFileReqBodyBuilder ¶
func NewMoveFileReqBodyBuilder() *MoveFileReqBodyBuilder
func (*MoveFileReqBodyBuilder) Build ¶
func (builder *MoveFileReqBodyBuilder) Build() *MoveFileReqBody
func (*MoveFileReqBodyBuilder) FolderToken ¶
func (builder *MoveFileReqBodyBuilder) FolderToken(folderToken string) *MoveFileReqBodyBuilder
目标文件夹token
示例值:fldbcO1UuPz8VwnpPx5a92abcef
func (*MoveFileReqBodyBuilder) Type ¶
func (builder *MoveFileReqBodyBuilder) Type(type_ string) *MoveFileReqBodyBuilder
文件类型,如果该值为空或者与文件实际类型不匹配,接口会返回失败。
示例值:file
type MoveFileReqBuilder ¶
type MoveFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewMoveFileReqBuilder ¶
func NewMoveFileReqBuilder() *MoveFileReqBuilder
func (*MoveFileReqBuilder) Body ¶
func (builder *MoveFileReqBuilder) Body(body *MoveFileReqBody) *MoveFileReqBuilder
将文件或者文件夹移动到用户云空间的其他位置。
func (*MoveFileReqBuilder) Build ¶
func (builder *MoveFileReqBuilder) Build() *MoveFileReq
func (*MoveFileReqBuilder) FileToken ¶
func (builder *MoveFileReqBuilder) FileToken(fileToken string) *MoveFileReqBuilder
需要移动的文件token
示例值:boxcnrHpsg1QDqXAAAyachabcef
type MoveFileResp ¶
type MoveFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *MoveFileRespData `json:"data"` // 业务数据 }
func (*MoveFileResp) Success ¶
func (resp *MoveFileResp) Success() bool
type MoveFileRespData ¶
type MoveFileRespData struct {
TaskId *string `json:"task_id,omitempty"` // 异步任务id,移动文件夹时返回
}
type OwnerBuilder ¶
type OwnerBuilder struct {
// contains filtered or unexported fields
}
func NewOwnerBuilder ¶
func NewOwnerBuilder() *OwnerBuilder
func (*OwnerBuilder) Build ¶
func (builder *OwnerBuilder) Build() *Owner
func (*OwnerBuilder) MemberId ¶
func (builder *OwnerBuilder) MemberId(memberId string) *OwnerBuilder
文档拥有者的ID,与文档拥有者的ID类型需要对应
示例值:string
func (*OwnerBuilder) MemberType ¶
func (builder *OwnerBuilder) MemberType(memberType string) *OwnerBuilder
文档拥有者的ID类型
示例值:openid
type P2FileBitableFieldChangedV1 ¶
type P2FileBitableFieldChangedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FileBitableFieldChangedV1Data `json:"event"` // 事件内容 }
func (*P2FileBitableFieldChangedV1) RawReq ¶
func (m *P2FileBitableFieldChangedV1) RawReq(req *larkevent.EventReq)
type P2FileBitableFieldChangedV1Data ¶
type P2FileBitableFieldChangedV1Data struct { FileType *string `json:"file_type,omitempty"` // 文档类型 FileToken *string `json:"file_token,omitempty"` // 文档token TableId *string `json:"table_id,omitempty"` // 多维表格数据表ID OperatorId *UserId `json:"operator_id,omitempty"` // 用户 ID ActionList []*BitableTableFieldAction `json:"action_list,omitempty"` // 字段变更操作列表 Revision *int `json:"revision,omitempty"` // 多维表格数据表的版本号 SubscriberIdList []*UserId `json:"subscriber_id_list,omitempty"` // 订阅用户id列表 UpdateTime *int `json:"update_time,omitempty"` // 字段变更时间 }
type P2FileBitableFieldChangedV1Handler ¶
type P2FileBitableFieldChangedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FileBitableFieldChangedV1Handler ¶
func NewP2FileBitableFieldChangedV1Handler(handler func(context.Context, *P2FileBitableFieldChangedV1) error) *P2FileBitableFieldChangedV1Handler
func (*P2FileBitableFieldChangedV1Handler) Event ¶
func (h *P2FileBitableFieldChangedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FileBitableRecordChangedV1 ¶
type P2FileBitableRecordChangedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FileBitableRecordChangedV1Data `json:"event"` // 事件内容 }
func (*P2FileBitableRecordChangedV1) RawReq ¶
func (m *P2FileBitableRecordChangedV1) RawReq(req *larkevent.EventReq)
type P2FileBitableRecordChangedV1Data ¶
type P2FileBitableRecordChangedV1Data struct { FileType *string `json:"file_type,omitempty"` // 文档类型 FileToken *string `json:"file_token,omitempty"` // 文档token TableId *string `json:"table_id,omitempty"` // 多维表格数据表ID Revision *int `json:"revision,omitempty"` // 多维表格数据表的版本号 OperatorId *UserId `json:"operator_id,omitempty"` // 操作者ID ActionList []*BitableTableRecordAction `json:"action_list,omitempty"` // 行变更操作列表 SubscriberIdList []*UserId `json:"subscriber_id_list,omitempty"` // 订阅用户id列表 UpdateTime *int `json:"update_time,omitempty"` // 编辑时间(格式:时间戳;单位:秒) }
type P2FileBitableRecordChangedV1Handler ¶
type P2FileBitableRecordChangedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FileBitableRecordChangedV1Handler ¶
func NewP2FileBitableRecordChangedV1Handler(handler func(context.Context, *P2FileBitableRecordChangedV1) error) *P2FileBitableRecordChangedV1Handler
func (*P2FileBitableRecordChangedV1Handler) Event ¶
func (h *P2FileBitableRecordChangedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FileCreatedInFolderV1 ¶
type P2FileCreatedInFolderV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FileCreatedInFolderV1Data `json:"event"` // 事件内容 }
func (*P2FileCreatedInFolderV1) RawReq ¶
func (m *P2FileCreatedInFolderV1) RawReq(req *larkevent.EventReq)
type P2FileCreatedInFolderV1Data ¶
type P2FileCreatedInFolderV1Data struct { FileType *string `json:"file_type,omitempty"` // 文档类型 FileToken *string `json:"file_token,omitempty"` // 文档 Token FolderToken *string `json:"folder_token,omitempty"` // 文件夹 Token OperatorId *UserId `json:"operator_id,omitempty"` // 操作者 ID SubscriberIds []*UserId `json:"subscriber_ids,omitempty"` // 订阅用户 ID 列表 }
type P2FileCreatedInFolderV1Handler ¶
type P2FileCreatedInFolderV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FileCreatedInFolderV1Handler ¶
func NewP2FileCreatedInFolderV1Handler(handler func(context.Context, *P2FileCreatedInFolderV1) error) *P2FileCreatedInFolderV1Handler
func (*P2FileCreatedInFolderV1Handler) Event ¶
func (h *P2FileCreatedInFolderV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FileDeletedV1 ¶
type P2FileDeletedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FileDeletedV1Data `json:"event"` // 事件内容 }
func (*P2FileDeletedV1) RawReq ¶
func (m *P2FileDeletedV1) RawReq(req *larkevent.EventReq)
type P2FileDeletedV1Data ¶
type P2FileDeletedV1Handler ¶
type P2FileDeletedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FileDeletedV1Handler ¶
func NewP2FileDeletedV1Handler(handler func(context.Context, *P2FileDeletedV1) error) *P2FileDeletedV1Handler
func (*P2FileDeletedV1Handler) Event ¶
func (h *P2FileDeletedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FileEditV1 ¶
type P2FileEditV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FileEditV1Data `json:"event"` // 事件内容 }
func (*P2FileEditV1) RawReq ¶
func (m *P2FileEditV1) RawReq(req *larkevent.EventReq)
type P2FileEditV1Data ¶
type P2FileEditV1Data struct { FileType *string `json:"file_type,omitempty"` // 文档类型 FileToken *string `json:"file_token,omitempty"` // 文档token OperatorIdList []*UserId `json:"operator_id_list,omitempty"` // 操作者id列表 SubscriberIdList []*UserId `json:"subscriber_id_list,omitempty"` // 订阅用户id列表 SheetId *string `json:"sheet_id,omitempty"` // 表格的子SheetID,当表格发生编辑时将会包含此字段 }
type P2FileEditV1Handler ¶
type P2FileEditV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FileEditV1Handler ¶
func NewP2FileEditV1Handler(handler func(context.Context, *P2FileEditV1) error) *P2FileEditV1Handler
func (*P2FileEditV1Handler) Event ¶
func (h *P2FileEditV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FilePermissionMemberAddedV1 ¶
type P2FilePermissionMemberAddedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FilePermissionMemberAddedV1Data `json:"event"` // 事件内容 }
func (*P2FilePermissionMemberAddedV1) RawReq ¶
func (m *P2FilePermissionMemberAddedV1) RawReq(req *larkevent.EventReq)
type P2FilePermissionMemberAddedV1Data ¶
type P2FilePermissionMemberAddedV1Data struct { FileType *string `json:"file_type,omitempty"` // 文档类型 FileToken *string `json:"file_token,omitempty"` // 文档token OperatorId *UserId `json:"operator_id,omitempty"` // 操作者id UserList []*UserId `json:"user_list,omitempty"` // 添加的用户列表 ChatList []string `json:"chat_list,omitempty"` // 群聊列表 OpenDepartmentIdList []string `json:"open_department_id_list,omitempty"` // 部门列表 SubscriberIdList []*UserId `json:"subscriber_id_list,omitempty"` // 订阅用户id列表 }
type P2FilePermissionMemberAddedV1Handler ¶
type P2FilePermissionMemberAddedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FilePermissionMemberAddedV1Handler ¶
func NewP2FilePermissionMemberAddedV1Handler(handler func(context.Context, *P2FilePermissionMemberAddedV1) error) *P2FilePermissionMemberAddedV1Handler
func (*P2FilePermissionMemberAddedV1Handler) Event ¶
func (h *P2FilePermissionMemberAddedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FilePermissionMemberAppliedV1 ¶
type P2FilePermissionMemberAppliedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FilePermissionMemberAppliedV1Data `json:"event"` // 事件内容 }
func (*P2FilePermissionMemberAppliedV1) RawReq ¶
func (m *P2FilePermissionMemberAppliedV1) RawReq(req *larkevent.EventReq)
type P2FilePermissionMemberAppliedV1Data ¶
type P2FilePermissionMemberAppliedV1Data struct { FileType *string `json:"file_type,omitempty"` // 文件对应的类型 FileToken *string `json:"file_token,omitempty"` // 文件的 Token OperatorId *UserId `json:"operator_id,omitempty"` // 操作者 ID ApproverId *UserId `json:"approver_id,omitempty"` // 收到申请处理审批的用户 ID ApplicationUserList []*UserId `json:"application_user_list,omitempty"` // 申请授权的用户 ID 列表 ApplicationChatList []string `json:"application_chat_list,omitempty"` // 申请授权的群 ID 列表 ApplicationDepartmentList []string `json:"application_department_list,omitempty"` // 申请授权的组织架构 ID 列表 Permission *string `json:"permission,omitempty"` // 需要申请的权限 SubscriberIds []*UserId `json:"subscriber_ids,omitempty"` // 订阅用户 ID 列表 }
type P2FilePermissionMemberAppliedV1Handler ¶
type P2FilePermissionMemberAppliedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FilePermissionMemberAppliedV1Handler ¶
func NewP2FilePermissionMemberAppliedV1Handler(handler func(context.Context, *P2FilePermissionMemberAppliedV1) error) *P2FilePermissionMemberAppliedV1Handler
func (*P2FilePermissionMemberAppliedV1Handler) Event ¶
func (h *P2FilePermissionMemberAppliedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FilePermissionMemberRemovedV1 ¶
type P2FilePermissionMemberRemovedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FilePermissionMemberRemovedV1Data `json:"event"` // 事件内容 }
func (*P2FilePermissionMemberRemovedV1) RawReq ¶
func (m *P2FilePermissionMemberRemovedV1) RawReq(req *larkevent.EventReq)
type P2FilePermissionMemberRemovedV1Data ¶
type P2FilePermissionMemberRemovedV1Data struct { FileType *string `json:"file_type,omitempty"` // 文档类型 FileToken *string `json:"file_token,omitempty"` // 文档token OperatorId *UserId `json:"operator_id,omitempty"` // 操作者id UserList []*UserId `json:"user_list,omitempty"` // 移除的用户列表 ChatList []string `json:"chat_list,omitempty"` // 群聊列表 OpenDepartmentIdList []string `json:"open_department_id_list,omitempty"` // 部门列表 SubscriberIdList []*UserId `json:"subscriber_id_list,omitempty"` // 订阅用户id列表 }
type P2FilePermissionMemberRemovedV1Handler ¶
type P2FilePermissionMemberRemovedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FilePermissionMemberRemovedV1Handler ¶
func NewP2FilePermissionMemberRemovedV1Handler(handler func(context.Context, *P2FilePermissionMemberRemovedV1) error) *P2FilePermissionMemberRemovedV1Handler
func (*P2FilePermissionMemberRemovedV1Handler) Event ¶
func (h *P2FilePermissionMemberRemovedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FileReadV1 ¶
type P2FileReadV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FileReadV1Data `json:"event"` // 事件内容 }
func (*P2FileReadV1) RawReq ¶
func (m *P2FileReadV1) RawReq(req *larkevent.EventReq)
type P2FileReadV1Data ¶
type P2FileReadV1Handler ¶
type P2FileReadV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FileReadV1Handler ¶
func NewP2FileReadV1Handler(handler func(context.Context, *P2FileReadV1) error) *P2FileReadV1Handler
func (*P2FileReadV1Handler) Event ¶
func (h *P2FileReadV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FileTitleUpdatedV1 ¶
type P2FileTitleUpdatedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FileTitleUpdatedV1Data `json:"event"` // 事件内容 }
func (*P2FileTitleUpdatedV1) RawReq ¶
func (m *P2FileTitleUpdatedV1) RawReq(req *larkevent.EventReq)
type P2FileTitleUpdatedV1Handler ¶
type P2FileTitleUpdatedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FileTitleUpdatedV1Handler ¶
func NewP2FileTitleUpdatedV1Handler(handler func(context.Context, *P2FileTitleUpdatedV1) error) *P2FileTitleUpdatedV1Handler
func (*P2FileTitleUpdatedV1Handler) Event ¶
func (h *P2FileTitleUpdatedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type P2FileTrashedV1 ¶
type P2FileTrashedV1 struct { *larkevent.EventV2Base // 事件基础数据 *larkevent.EventReq // 请求原生数据 Event *P2FileTrashedV1Data `json:"event"` // 事件内容 }
func (*P2FileTrashedV1) RawReq ¶
func (m *P2FileTrashedV1) RawReq(req *larkevent.EventReq)
type P2FileTrashedV1Data ¶
type P2FileTrashedV1Handler ¶
type P2FileTrashedV1Handler struct {
// contains filtered or unexported fields
}
消息处理器定义
func NewP2FileTrashedV1Handler ¶
func NewP2FileTrashedV1Handler(handler func(context.Context, *P2FileTrashedV1) error) *P2FileTrashedV1Handler
func (*P2FileTrashedV1Handler) Event ¶
func (h *P2FileTrashedV1Handler) Event() interface{}
返回事件的消息体的实例,用于反序列化用
type PatchFileCommentPathReqBodyBuilder ¶
type PatchFileCommentPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchFileCommentPathReqBodyBuilder ¶
func NewPatchFileCommentPathReqBodyBuilder() *PatchFileCommentPathReqBodyBuilder
func (*PatchFileCommentPathReqBodyBuilder) Build ¶
func (builder *PatchFileCommentPathReqBodyBuilder) Build() (*PatchFileCommentReqBody, error)
func (*PatchFileCommentPathReqBodyBuilder) IsSolved ¶
func (builder *PatchFileCommentPathReqBodyBuilder) IsSolved(isSolved bool) *PatchFileCommentPathReqBodyBuilder
评论解决标志
示例值:true
type PatchFileCommentReq ¶
type PatchFileCommentReq struct { Body *PatchFileCommentReqBody `body:""` // contains filtered or unexported fields }
type PatchFileCommentReqBody ¶
type PatchFileCommentReqBody struct {
IsSolved *bool `json:"is_solved,omitempty"` // 评论解决标志
}
type PatchFileCommentReqBodyBuilder ¶
type PatchFileCommentReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchFileCommentReqBodyBuilder ¶
func NewPatchFileCommentReqBodyBuilder() *PatchFileCommentReqBodyBuilder
func (*PatchFileCommentReqBodyBuilder) Build ¶
func (builder *PatchFileCommentReqBodyBuilder) Build() *PatchFileCommentReqBody
func (*PatchFileCommentReqBodyBuilder) IsSolved ¶
func (builder *PatchFileCommentReqBodyBuilder) IsSolved(isSolved bool) *PatchFileCommentReqBodyBuilder
评论解决标志
示例值:true
type PatchFileCommentReqBuilder ¶
type PatchFileCommentReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchFileCommentReqBuilder ¶
func NewPatchFileCommentReqBuilder() *PatchFileCommentReqBuilder
func (*PatchFileCommentReqBuilder) Body ¶
func (builder *PatchFileCommentReqBuilder) Body(body *PatchFileCommentReqBody) *PatchFileCommentReqBuilder
解决或恢复云文档中的评论。
func (*PatchFileCommentReqBuilder) Build ¶
func (builder *PatchFileCommentReqBuilder) Build() *PatchFileCommentReq
func (*PatchFileCommentReqBuilder) CommentId ¶
func (builder *PatchFileCommentReqBuilder) CommentId(commentId string) *PatchFileCommentReqBuilder
评论ID
示例值:6916106822734578184
func (*PatchFileCommentReqBuilder) FileToken ¶
func (builder *PatchFileCommentReqBuilder) FileToken(fileToken string) *PatchFileCommentReqBuilder
文档token
示例值:doccnGp4UK1UskrOEJwBXd3****
func (*PatchFileCommentReqBuilder) FileType ¶
func (builder *PatchFileCommentReqBuilder) FileType(fileType string) *PatchFileCommentReqBuilder
文档类型
示例值:doc
type PatchFileCommentResp ¶
type PatchFileCommentResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*PatchFileCommentResp) Success ¶
func (resp *PatchFileCommentResp) Success() bool
type PatchFileSubscriptionPathReqBodyBuilder ¶
type PatchFileSubscriptionPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchFileSubscriptionPathReqBodyBuilder ¶
func NewPatchFileSubscriptionPathReqBodyBuilder() *PatchFileSubscriptionPathReqBodyBuilder
func (*PatchFileSubscriptionPathReqBodyBuilder) Build ¶
func (builder *PatchFileSubscriptionPathReqBodyBuilder) Build() (*PatchFileSubscriptionReqBody, error)
func (*PatchFileSubscriptionPathReqBodyBuilder) FileType ¶
func (builder *PatchFileSubscriptionPathReqBodyBuilder) FileType(fileType string) *PatchFileSubscriptionPathReqBodyBuilder
文档类型
示例值:doc
func (*PatchFileSubscriptionPathReqBodyBuilder) IsSubscribe ¶
func (builder *PatchFileSubscriptionPathReqBodyBuilder) IsSubscribe(isSubscribe bool) *PatchFileSubscriptionPathReqBodyBuilder
是否订阅
示例值:true
type PatchFileSubscriptionReq ¶
type PatchFileSubscriptionReq struct { Body *PatchFileSubscriptionReqBody `body:""` // contains filtered or unexported fields }
type PatchFileSubscriptionReqBodyBuilder ¶
type PatchFileSubscriptionReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewPatchFileSubscriptionReqBodyBuilder ¶
func NewPatchFileSubscriptionReqBodyBuilder() *PatchFileSubscriptionReqBodyBuilder
func (*PatchFileSubscriptionReqBodyBuilder) Build ¶
func (builder *PatchFileSubscriptionReqBodyBuilder) Build() *PatchFileSubscriptionReqBody
func (*PatchFileSubscriptionReqBodyBuilder) FileType ¶
func (builder *PatchFileSubscriptionReqBodyBuilder) FileType(fileType string) *PatchFileSubscriptionReqBodyBuilder
文档类型
示例值:doc
func (*PatchFileSubscriptionReqBodyBuilder) IsSubscribe ¶
func (builder *PatchFileSubscriptionReqBodyBuilder) IsSubscribe(isSubscribe bool) *PatchFileSubscriptionReqBodyBuilder
是否订阅
示例值:true
type PatchFileSubscriptionReqBuilder ¶
type PatchFileSubscriptionReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchFileSubscriptionReqBuilder ¶
func NewPatchFileSubscriptionReqBuilder() *PatchFileSubscriptionReqBuilder
func (*PatchFileSubscriptionReqBuilder) Body ¶
func (builder *PatchFileSubscriptionReqBuilder) Body(body *PatchFileSubscriptionReqBody) *PatchFileSubscriptionReqBuilder
根据订阅ID更新订阅状态
func (*PatchFileSubscriptionReqBuilder) Build ¶
func (builder *PatchFileSubscriptionReqBuilder) Build() *PatchFileSubscriptionReq
func (*PatchFileSubscriptionReqBuilder) FileToken ¶
func (builder *PatchFileSubscriptionReqBuilder) FileToken(fileToken string) *PatchFileSubscriptionReqBuilder
文档token
示例值:doxcnxxxxxxxxxxxxxxxxxxxxxx
func (*PatchFileSubscriptionReqBuilder) SubscriptionId ¶
func (builder *PatchFileSubscriptionReqBuilder) SubscriptionId(subscriptionId string) *PatchFileSubscriptionReqBuilder
订阅关系ID
示例值:1234567890987654321
type PatchFileSubscriptionResp ¶
type PatchFileSubscriptionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchFileSubscriptionRespData `json:"data"` // 业务数据 }
func (*PatchFileSubscriptionResp) Success ¶
func (resp *PatchFileSubscriptionResp) Success() bool
type PatchPermissionPublicReq ¶
type PatchPermissionPublicReq struct { PermissionPublicRequest *PermissionPublicRequest `body:""` // contains filtered or unexported fields }
type PatchPermissionPublicReqBuilder ¶
type PatchPermissionPublicReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchPermissionPublicReqBuilder ¶
func NewPatchPermissionPublicReqBuilder() *PatchPermissionPublicReqBuilder
func (*PatchPermissionPublicReqBuilder) Build ¶
func (builder *PatchPermissionPublicReqBuilder) Build() *PatchPermissionPublicReq
func (*PatchPermissionPublicReqBuilder) PermissionPublicRequest ¶
func (builder *PatchPermissionPublicReqBuilder) PermissionPublicRequest(permissionPublicRequest *PermissionPublicRequest) *PatchPermissionPublicReqBuilder
该接口用于根据 filetoken 更新云文档的权限设置。
func (*PatchPermissionPublicReqBuilder) Token ¶
func (builder *PatchPermissionPublicReqBuilder) Token(token string) *PatchPermissionPublicReqBuilder
文件的 token,获取方式见 [如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6)
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*PatchPermissionPublicReqBuilder) Type ¶
func (builder *PatchPermissionPublicReqBuilder) Type(type_ string) *PatchPermissionPublicReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type PatchPermissionPublicResp ¶
type PatchPermissionPublicResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchPermissionPublicRespData `json:"data"` // 业务数据 }
func (*PatchPermissionPublicResp) Success ¶
func (resp *PatchPermissionPublicResp) Success() bool
type PatchPermissionPublicRespData ¶
type PatchPermissionPublicRespData struct {
PermissionPublic *PermissionPublic `json:"permission_public,omitempty"` // 本次更新后的文档权限设置
}
type PermissionPublic ¶
type PermissionPublic struct { ExternalAccess *bool `json:"external_access,omitempty"` // 允许内容被分享到组织外;;**可选值有:** ;- `true`: 允许;- `false`: 不允许 SecurityEntity *string `json:"security_entity,omitempty"` // 谁可以复制内容、创建副本、打印、下载 CommentEntity *string `json:"comment_entity,omitempty"` // 可评论设置 InviteExternal *bool `json:"invite_external,omitempty"` // 允许非「可管理权限」的人分享到组织外 LockSwitch *bool `json:"lock_switch,omitempty"` // 节点加锁状态 }
type PermissionPublicBuilder ¶
type PermissionPublicBuilder struct {
// contains filtered or unexported fields
}
func NewPermissionPublicBuilder ¶
func NewPermissionPublicBuilder() *PermissionPublicBuilder
func (*PermissionPublicBuilder) Build ¶
func (builder *PermissionPublicBuilder) Build() *PermissionPublic
func (*PermissionPublicBuilder) CommentEntity ¶
func (builder *PermissionPublicBuilder) CommentEntity(commentEntity string) *PermissionPublicBuilder
可评论设置
示例值:anyone_can_view
func (*PermissionPublicBuilder) ExternalAccess ¶
func (builder *PermissionPublicBuilder) ExternalAccess(externalAccess bool) *PermissionPublicBuilder
允许内容被分享到组织外;;**可选值有:** ;- `true`: 允许;- `false`: 不允许
示例值:true
func (*PermissionPublicBuilder) InviteExternal ¶
func (builder *PermissionPublicBuilder) InviteExternal(inviteExternal bool) *PermissionPublicBuilder
允许非「可管理权限」的人分享到组织外
示例值:true
func (*PermissionPublicBuilder) LinkShareEntity ¶
func (builder *PermissionPublicBuilder) LinkShareEntity(linkShareEntity string) *PermissionPublicBuilder
链接分享设置
示例值:tenant_readable
func (*PermissionPublicBuilder) LockSwitch ¶
func (builder *PermissionPublicBuilder) LockSwitch(lockSwitch bool) *PermissionPublicBuilder
节点加锁状态
示例值:false
func (*PermissionPublicBuilder) SecurityEntity ¶
func (builder *PermissionPublicBuilder) SecurityEntity(securityEntity string) *PermissionPublicBuilder
谁可以复制内容、创建副本、打印、下载
示例值:anyone_can_view
func (*PermissionPublicBuilder) ShareEntity ¶
func (builder *PermissionPublicBuilder) ShareEntity(shareEntity string) *PermissionPublicBuilder
谁可以添加和管理协作者
示例值:anyone
type PermissionPublicPassword ¶
type PermissionPublicPassword struct { }
type PermissionPublicRequest ¶
type PermissionPublicRequest struct { ExternalAccess *bool `json:"external_access,omitempty"` // 允许内容被分享到组织外 SecurityEntity *string `json:"security_entity,omitempty"` // 谁可以复制内容、创建副本、打印、下载 CommentEntity *string `json:"comment_entity,omitempty"` // 谁可以评论 InviteExternal *bool `json:"invite_external,omitempty"` // 允许非「可管理权限」的人分享到组织外 }
type PermissionPublicRequestBuilder ¶
type PermissionPublicRequestBuilder struct {
// contains filtered or unexported fields
}
func NewPermissionPublicRequestBuilder ¶
func NewPermissionPublicRequestBuilder() *PermissionPublicRequestBuilder
func (*PermissionPublicRequestBuilder) Build ¶
func (builder *PermissionPublicRequestBuilder) Build() *PermissionPublicRequest
func (*PermissionPublicRequestBuilder) CommentEntity ¶
func (builder *PermissionPublicRequestBuilder) CommentEntity(commentEntity string) *PermissionPublicRequestBuilder
谁可以评论
示例值:anyone_can_view
func (*PermissionPublicRequestBuilder) ExternalAccess ¶
func (builder *PermissionPublicRequestBuilder) ExternalAccess(externalAccess bool) *PermissionPublicRequestBuilder
允许内容被分享到组织外
示例值:true
func (*PermissionPublicRequestBuilder) InviteExternal ¶
func (builder *PermissionPublicRequestBuilder) InviteExternal(inviteExternal bool) *PermissionPublicRequestBuilder
允许非「可管理权限」的人分享到组织外
示例值:true
func (*PermissionPublicRequestBuilder) LinkShareEntity ¶
func (builder *PermissionPublicRequestBuilder) LinkShareEntity(linkShareEntity string) *PermissionPublicRequestBuilder
链接分享设置
示例值:tenant_readable
func (*PermissionPublicRequestBuilder) SecurityEntity ¶
func (builder *PermissionPublicRequestBuilder) SecurityEntity(securityEntity string) *PermissionPublicRequestBuilder
谁可以复制内容、创建副本、打印、下载
示例值:anyone_can_view
func (*PermissionPublicRequestBuilder) ShareEntity ¶
func (builder *PermissionPublicRequestBuilder) ShareEntity(shareEntity string) *PermissionPublicRequestBuilder
谁可以添加和管理协作者
示例值:anyone
type PersonBuilder ¶
type PersonBuilder struct {
// contains filtered or unexported fields
}
func NewPersonBuilder ¶
func NewPersonBuilder() *PersonBuilder
func (*PersonBuilder) Build ¶
func (builder *PersonBuilder) Build() *Person
func (*PersonBuilder) UserId ¶
func (builder *PersonBuilder) UserId(userId string) *PersonBuilder
回复 at联系人
示例值:ou_cc19b2bfb93f8a44db4b4d6eababcef
type PropertyBuilder ¶
type PropertyBuilder struct {
// contains filtered or unexported fields
}
func NewPropertyBuilder ¶
func NewPropertyBuilder() *PropertyBuilder
func (*PropertyBuilder) Build ¶
func (builder *PropertyBuilder) Build() *Property
func (*PropertyBuilder) Key ¶
func (builder *PropertyBuilder) Key(key string) *PropertyBuilder
自定义属性键对象
示例值:target_type
func (*PropertyBuilder) Value ¶
func (builder *PropertyBuilder) Value(value string) *PropertyBuilder
自定义属性值对象
示例值:docx
type ReferEntity ¶
type ReferEntityBuilder ¶
type ReferEntityBuilder struct {
// contains filtered or unexported fields
}
func NewReferEntityBuilder ¶
func NewReferEntityBuilder() *ReferEntityBuilder
func (*ReferEntityBuilder) Build ¶
func (builder *ReferEntityBuilder) Build() *ReferEntity
func (*ReferEntityBuilder) ReferToken ¶
func (builder *ReferEntityBuilder) ReferToken(referToken string) *ReferEntityBuilder
快捷方式指向的文档token
示例值:doxbcGvhSVN0R6octqPwAEYNfFb
func (*ReferEntityBuilder) ReferType ¶
func (builder *ReferEntityBuilder) ReferType(referType string) *ReferEntityBuilder
快捷方式指向的文档类型
示例值:doc
type ReplyContent ¶
type ReplyContent struct {
Elements []*ReplyElement `json:"elements,omitempty"` // 回复的内容
}
type ReplyContentBuilder ¶
type ReplyContentBuilder struct {
// contains filtered or unexported fields
}
func NewReplyContentBuilder ¶
func NewReplyContentBuilder() *ReplyContentBuilder
func (*ReplyContentBuilder) Build ¶
func (builder *ReplyContentBuilder) Build() *ReplyContent
func (*ReplyContentBuilder) Elements ¶
func (builder *ReplyContentBuilder) Elements(elements []*ReplyElement) *ReplyContentBuilder
回复的内容
示例值:
type ReplyElement ¶
type ReplyElementBuilder ¶
type ReplyElementBuilder struct {
// contains filtered or unexported fields
}
func NewReplyElementBuilder ¶
func NewReplyElementBuilder() *ReplyElementBuilder
func (*ReplyElementBuilder) Build ¶
func (builder *ReplyElementBuilder) Build() *ReplyElement
func (*ReplyElementBuilder) DocsLink ¶
func (builder *ReplyElementBuilder) DocsLink(docsLink *DocsLink) *ReplyElementBuilder
文本内容
示例值:
func (*ReplyElementBuilder) Person ¶
func (builder *ReplyElementBuilder) Person(person *Person) *ReplyElementBuilder
文本内容
示例值:
func (*ReplyElementBuilder) TextRun ¶
func (builder *ReplyElementBuilder) TextRun(textRun *TextRun) *ReplyElementBuilder
文本内容
示例值:
func (*ReplyElementBuilder) Type ¶
func (builder *ReplyElementBuilder) Type(type_ string) *ReplyElementBuilder
回复的内容元素
示例值:text_run
type ReplyExtra ¶
type ReplyExtra struct {
ImageList []string `json:"image_list,omitempty"` // 评论中的图片token list
}
type ReplyExtraBuilder ¶
type ReplyExtraBuilder struct {
// contains filtered or unexported fields
}
func NewReplyExtraBuilder ¶
func NewReplyExtraBuilder() *ReplyExtraBuilder
func (*ReplyExtraBuilder) Build ¶
func (builder *ReplyExtraBuilder) Build() *ReplyExtra
func (*ReplyExtraBuilder) ImageList ¶
func (builder *ReplyExtraBuilder) ImageList(imageList []string) *ReplyExtraBuilder
评论中的图片token list
示例值:["xfsfseewewabcef"]
type ReplyList ¶
type ReplyList struct {
Replies []*FileCommentReply `json:"replies,omitempty"` // 回复列表
}
type ReplyListBuilder ¶
type ReplyListBuilder struct {
// contains filtered or unexported fields
}
func NewReplyListBuilder ¶
func NewReplyListBuilder() *ReplyListBuilder
func (*ReplyListBuilder) Build ¶
func (builder *ReplyListBuilder) Build() *ReplyList
func (*ReplyListBuilder) Replies ¶
func (builder *ReplyListBuilder) Replies(replies []*FileCommentReply) *ReplyListBuilder
回复列表
示例值:
type RequestDoc ¶
type RequestDoc struct { DocToken *string `json:"doc_token,omitempty"` // 文件的 token,获取方式见[如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6) DocType *string `json:"doc_type,omitempty"` // 文件类型 }
type RequestDocBuilder ¶
type RequestDocBuilder struct {
// contains filtered or unexported fields
}
func NewRequestDocBuilder ¶
func NewRequestDocBuilder() *RequestDocBuilder
func (*RequestDocBuilder) Build ¶
func (builder *RequestDocBuilder) Build() *RequestDoc
func (*RequestDocBuilder) DocToken ¶
func (builder *RequestDocBuilder) DocToken(docToken string) *RequestDocBuilder
文件的 token,获取方式见[如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6)
示例值:doccnfYZzTlvXqZIGTdAHKabcef
func (*RequestDocBuilder) DocType ¶
func (builder *RequestDocBuilder) DocType(docType string) *RequestDocBuilder
文件类型
示例值:doc
type ShortcutInfo ¶
type ShortcutInfoBuilder ¶
type ShortcutInfoBuilder struct {
// contains filtered or unexported fields
}
func NewShortcutInfoBuilder ¶
func NewShortcutInfoBuilder() *ShortcutInfoBuilder
func (*ShortcutInfoBuilder) Build ¶
func (builder *ShortcutInfoBuilder) Build() *ShortcutInfo
func (*ShortcutInfoBuilder) TargetToken ¶
func (builder *ShortcutInfoBuilder) TargetToken(targetToken string) *ShortcutInfoBuilder
快捷方式指向的原文件token
示例值:
func (*ShortcutInfoBuilder) TargetType ¶
func (builder *ShortcutInfoBuilder) TargetType(targetType string) *ShortcutInfoBuilder
快捷方式指向的原文件类型
示例值:
type SubscribeFileReq ¶
type SubscribeFileReq struct {
// contains filtered or unexported fields
}
type SubscribeFileReqBuilder ¶
type SubscribeFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewSubscribeFileReqBuilder ¶
func NewSubscribeFileReqBuilder() *SubscribeFileReqBuilder
func (*SubscribeFileReqBuilder) Build ¶
func (builder *SubscribeFileReqBuilder) Build() *SubscribeFileReq
func (*SubscribeFileReqBuilder) EventType ¶
func (builder *SubscribeFileReqBuilder) EventType(eventType string) *SubscribeFileReqBuilder
事件类型
示例值:file.created_in_folder_v1
func (*SubscribeFileReqBuilder) FileToken ¶
func (builder *SubscribeFileReqBuilder) FileToken(fileToken string) *SubscribeFileReqBuilder
文档token
示例值:doccnxxxxxxxxxxxxxxxxxxxxxx
func (*SubscribeFileReqBuilder) FileType ¶
func (builder *SubscribeFileReqBuilder) FileType(fileType string) *SubscribeFileReqBuilder
文档类型
示例值:doc
type SubscribeFileResp ¶
type SubscribeFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*SubscribeFileResp) Success ¶
func (resp *SubscribeFileResp) Success() bool
type TaskCheckFileReq ¶
type TaskCheckFileReq struct {
// contains filtered or unexported fields
}
type TaskCheckFileReqBuilder ¶
type TaskCheckFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewTaskCheckFileReqBuilder ¶
func NewTaskCheckFileReqBuilder() *TaskCheckFileReqBuilder
func (*TaskCheckFileReqBuilder) Build ¶
func (builder *TaskCheckFileReqBuilder) Build() *TaskCheckFileReq
func (*TaskCheckFileReqBuilder) TaskId ¶
func (builder *TaskCheckFileReqBuilder) TaskId(taskId string) *TaskCheckFileReqBuilder
文件相关异步任务id
示例值:12345
type TaskCheckFileResp ¶
type TaskCheckFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *TaskCheckFileRespData `json:"data"` // 业务数据 }
func (*TaskCheckFileResp) Success ¶
func (resp *TaskCheckFileResp) Success() bool
type TaskCheckFileRespData ¶
type TaskCheckFileRespData struct {
Status *string `json:"status,omitempty"` // 异步任务的执行状态,如果任务执行成功则返回success,如果任务执行失败则返回fail,如果任务还在执行中则返回process。
}
type TextRunBuilder ¶
type TextRunBuilder struct {
// contains filtered or unexported fields
}
func NewTextRunBuilder ¶
func NewTextRunBuilder() *TextRunBuilder
func (*TextRunBuilder) Build ¶
func (builder *TextRunBuilder) Build() *TextRun
func (*TextRunBuilder) Text ¶
func (builder *TextRunBuilder) Text(text string) *TextRunBuilder
回复 普通文本
示例值:comment text
type TmpDownloadUrl ¶
type TmpDownloadUrlBuilder ¶
type TmpDownloadUrlBuilder struct {
// contains filtered or unexported fields
}
func NewTmpDownloadUrlBuilder ¶
func NewTmpDownloadUrlBuilder() *TmpDownloadUrlBuilder
func (*TmpDownloadUrlBuilder) Build ¶
func (builder *TmpDownloadUrlBuilder) Build() *TmpDownloadUrl
func (*TmpDownloadUrlBuilder) FileToken ¶
func (builder *TmpDownloadUrlBuilder) FileToken(fileToken string) *TmpDownloadUrlBuilder
文件标识符
示例值:boxcnrHpsg1QDqXAAAyachabcef
func (*TmpDownloadUrlBuilder) TmpDownloadUrl ¶
func (builder *TmpDownloadUrlBuilder) TmpDownloadUrl(tmpDownloadUrl string) *TmpDownloadUrlBuilder
文件临时下载链接
type TokenType ¶
type TokenType struct { Token *string `json:"token,omitempty"` // 文件的 token,获取方式见 [对接前说明](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)的第 4 项 Type *string `json:"type,omitempty"` // 文档类型 "isv" }
type TokenTypeBuilder ¶
type TokenTypeBuilder struct {
// contains filtered or unexported fields
}
func NewTokenTypeBuilder ¶
func NewTokenTypeBuilder() *TokenTypeBuilder
func (*TokenTypeBuilder) Build ¶
func (builder *TokenTypeBuilder) Build() *TokenType
func (*TokenTypeBuilder) Token ¶
func (builder *TokenTypeBuilder) Token(token string) *TokenTypeBuilder
文件的 token,获取方式见 [对接前说明](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)的第 4 项
示例值:isvcnBKgoMyY5OMbUG6FioTXuBe
func (*TokenTypeBuilder) Type ¶
func (builder *TokenTypeBuilder) Type(type_ string) *TokenTypeBuilder
文档类型 "isv"
示例值:isv
type TransferOwnerPermissionMemberReq ¶
type TransferOwnerPermissionMemberReq struct { Owner *Owner `body:""` // contains filtered or unexported fields }
type TransferOwnerPermissionMemberReqBuilder ¶
type TransferOwnerPermissionMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewTransferOwnerPermissionMemberReqBuilder ¶
func NewTransferOwnerPermissionMemberReqBuilder() *TransferOwnerPermissionMemberReqBuilder
func (*TransferOwnerPermissionMemberReqBuilder) Build ¶
func (builder *TransferOwnerPermissionMemberReqBuilder) Build() *TransferOwnerPermissionMemberReq
func (*TransferOwnerPermissionMemberReqBuilder) NeedNotification ¶
func (builder *TransferOwnerPermissionMemberReqBuilder) NeedNotification(needNotification bool) *TransferOwnerPermissionMemberReqBuilder
是否需要通知新 Owner
示例值:true
func (*TransferOwnerPermissionMemberReqBuilder) OldOwnerPerm ¶
func (builder *TransferOwnerPermissionMemberReqBuilder) OldOwnerPerm(oldOwnerPerm string) *TransferOwnerPermissionMemberReqBuilder
仅当 remove_old_owner = false 时,此参数才会生效 保留原文件所有者指定的权限角色
示例值:view
func (*TransferOwnerPermissionMemberReqBuilder) Owner ¶
func (builder *TransferOwnerPermissionMemberReqBuilder) Owner(owner *Owner) *TransferOwnerPermissionMemberReqBuilder
func (*TransferOwnerPermissionMemberReqBuilder) RemoveOldOwner ¶
func (builder *TransferOwnerPermissionMemberReqBuilder) RemoveOldOwner(removeOldOwner bool) *TransferOwnerPermissionMemberReqBuilder
转移后是否需要移除原 Owner 的权限
示例值:false
func (*TransferOwnerPermissionMemberReqBuilder) StayPut ¶
func (builder *TransferOwnerPermissionMemberReqBuilder) StayPut(stayPut bool) *TransferOwnerPermissionMemberReqBuilder
仅当内容不在共享文件夹中,此参数才会生效。如果设为false,系统会将该内容移至新所有者的个人空间根文件夹。如果设为 true,则留在原位置。
示例值:false
func (*TransferOwnerPermissionMemberReqBuilder) Token ¶
func (builder *TransferOwnerPermissionMemberReqBuilder) Token(token string) *TransferOwnerPermissionMemberReqBuilder
文件的 token
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*TransferOwnerPermissionMemberReqBuilder) Type ¶
func (builder *TransferOwnerPermissionMemberReqBuilder) Type(type_ string) *TransferOwnerPermissionMemberReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type TransferOwnerPermissionMemberResp ¶
type TransferOwnerPermissionMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*TransferOwnerPermissionMemberResp) Success ¶
func (resp *TransferOwnerPermissionMemberResp) Success() bool
type UpdateFileCommentReplyPathReqBodyBuilder ¶
type UpdateFileCommentReplyPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateFileCommentReplyPathReqBodyBuilder ¶
func NewUpdateFileCommentReplyPathReqBodyBuilder() *UpdateFileCommentReplyPathReqBodyBuilder
func (*UpdateFileCommentReplyPathReqBodyBuilder) Build ¶
func (builder *UpdateFileCommentReplyPathReqBodyBuilder) Build() (*UpdateFileCommentReplyReqBody, error)
func (*UpdateFileCommentReplyPathReqBodyBuilder) Content ¶
func (builder *UpdateFileCommentReplyPathReqBodyBuilder) Content(content *ReplyContent) *UpdateFileCommentReplyPathReqBodyBuilder
回复内容
示例值:
type UpdateFileCommentReplyReq ¶
type UpdateFileCommentReplyReq struct { Body *UpdateFileCommentReplyReqBody `body:""` // contains filtered or unexported fields }
type UpdateFileCommentReplyReqBody ¶
type UpdateFileCommentReplyReqBody struct {
Content *ReplyContent `json:"content,omitempty"` // 回复内容
}
type UpdateFileCommentReplyReqBodyBuilder ¶
type UpdateFileCommentReplyReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateFileCommentReplyReqBodyBuilder ¶
func NewUpdateFileCommentReplyReqBodyBuilder() *UpdateFileCommentReplyReqBodyBuilder
func (*UpdateFileCommentReplyReqBodyBuilder) Build ¶
func (builder *UpdateFileCommentReplyReqBodyBuilder) Build() *UpdateFileCommentReplyReqBody
func (*UpdateFileCommentReplyReqBodyBuilder) Content ¶
func (builder *UpdateFileCommentReplyReqBodyBuilder) Content(content *ReplyContent) *UpdateFileCommentReplyReqBodyBuilder
回复内容
示例值:
type UpdateFileCommentReplyReqBuilder ¶
type UpdateFileCommentReplyReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateFileCommentReplyReqBuilder ¶
func NewUpdateFileCommentReplyReqBuilder() *UpdateFileCommentReplyReqBuilder
func (*UpdateFileCommentReplyReqBuilder) Body ¶
func (builder *UpdateFileCommentReplyReqBuilder) Body(body *UpdateFileCommentReplyReqBody) *UpdateFileCommentReplyReqBuilder
更新云文档中的某条回复。
func (*UpdateFileCommentReplyReqBuilder) Build ¶
func (builder *UpdateFileCommentReplyReqBuilder) Build() *UpdateFileCommentReplyReq
func (*UpdateFileCommentReplyReqBuilder) CommentId ¶
func (builder *UpdateFileCommentReplyReqBuilder) CommentId(commentId string) *UpdateFileCommentReplyReqBuilder
评论ID
示例值:6916106822734578184
func (*UpdateFileCommentReplyReqBuilder) FileToken ¶
func (builder *UpdateFileCommentReplyReqBuilder) FileToken(fileToken string) *UpdateFileCommentReplyReqBuilder
文档token
示例值:doccnHh7U87HOFpii5u5G*****
func (*UpdateFileCommentReplyReqBuilder) FileType ¶
func (builder *UpdateFileCommentReplyReqBuilder) FileType(fileType string) *UpdateFileCommentReplyReqBuilder
文档类型
示例值:doc
func (*UpdateFileCommentReplyReqBuilder) ReplyId ¶
func (builder *UpdateFileCommentReplyReqBuilder) ReplyId(replyId string) *UpdateFileCommentReplyReqBuilder
回复ID
示例值:6916106822734594568
func (*UpdateFileCommentReplyReqBuilder) UserIdType ¶
func (builder *UpdateFileCommentReplyReqBuilder) UserIdType(userIdType string) *UpdateFileCommentReplyReqBuilder
此次调用中使用的用户ID的类型
示例值:
type UpdateFileCommentReplyResp ¶
type UpdateFileCommentReplyResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UpdateFileCommentReplyResp) Success ¶
func (resp *UpdateFileCommentReplyResp) Success() bool
type UpdatePermissionMemberReq ¶
type UpdatePermissionMemberReq struct { BaseMember *BaseMember `body:""` // contains filtered or unexported fields }
type UpdatePermissionMemberReqBuilder ¶
type UpdatePermissionMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdatePermissionMemberReqBuilder ¶
func NewUpdatePermissionMemberReqBuilder() *UpdatePermissionMemberReqBuilder
func (*UpdatePermissionMemberReqBuilder) BaseMember ¶
func (builder *UpdatePermissionMemberReqBuilder) BaseMember(baseMember *BaseMember) *UpdatePermissionMemberReqBuilder
该接口用于根据 filetoken 更新文档协作者的权限。
func (*UpdatePermissionMemberReqBuilder) Build ¶
func (builder *UpdatePermissionMemberReqBuilder) Build() *UpdatePermissionMemberReq
func (*UpdatePermissionMemberReqBuilder) MemberId ¶
func (builder *UpdatePermissionMemberReqBuilder) MemberId(memberId string) *UpdatePermissionMemberReqBuilder
协作者 ID,与协作者 ID 类型需要对应
示例值:ou_7dab8a3d3cdcc9da365777c7ad535d62
func (*UpdatePermissionMemberReqBuilder) NeedNotification ¶
func (builder *UpdatePermissionMemberReqBuilder) NeedNotification(needNotification bool) *UpdatePermissionMemberReqBuilder
更新权限后是否通知对方;;**注意:** 使用`tenant_access_token`访问不支持该参数
示例值:false
func (*UpdatePermissionMemberReqBuilder) Token ¶
func (builder *UpdatePermissionMemberReqBuilder) Token(token string) *UpdatePermissionMemberReqBuilder
文件的 token,获取方式见 [如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN#08bb5df6)
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*UpdatePermissionMemberReqBuilder) Type ¶
func (builder *UpdatePermissionMemberReqBuilder) Type(type_ string) *UpdatePermissionMemberReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type UpdatePermissionMemberResp ¶
type UpdatePermissionMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UpdatePermissionMemberRespData `json:"data"` // 业务数据 }
func (*UpdatePermissionMemberResp) Success ¶
func (resp *UpdatePermissionMemberResp) Success() bool
type UpdatePermissionMemberRespData ¶
type UpdatePermissionMemberRespData struct {
Member *BaseMember `json:"member,omitempty"` // 本次更新权限的用户信息
}
type UpdatePermissionPublicPasswordReq ¶
type UpdatePermissionPublicPasswordReq struct {
// contains filtered or unexported fields
}
type UpdatePermissionPublicPasswordReqBuilder ¶
type UpdatePermissionPublicPasswordReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdatePermissionPublicPasswordReqBuilder ¶
func NewUpdatePermissionPublicPasswordReqBuilder() *UpdatePermissionPublicPasswordReqBuilder
func (*UpdatePermissionPublicPasswordReqBuilder) Build ¶
func (builder *UpdatePermissionPublicPasswordReqBuilder) Build() *UpdatePermissionPublicPasswordReq
func (*UpdatePermissionPublicPasswordReqBuilder) Token ¶
func (builder *UpdatePermissionPublicPasswordReqBuilder) Token(token string) *UpdatePermissionPublicPasswordReqBuilder
文件的 token
示例值:doccnBKgoMyY5OMbUG6FioTXuBe
func (*UpdatePermissionPublicPasswordReqBuilder) Type ¶
func (builder *UpdatePermissionPublicPasswordReqBuilder) Type(type_ string) *UpdatePermissionPublicPasswordReqBuilder
文件类型,需要与文件的 token 相匹配
示例值:doc
type UpdatePermissionPublicPasswordResp ¶
type UpdatePermissionPublicPasswordResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UpdatePermissionPublicPasswordRespData `json:"data"` // 业务数据 }
func (*UpdatePermissionPublicPasswordResp) Success ¶
func (resp *UpdatePermissionPublicPasswordResp) Success() bool
type UpdatePermissionPublicPasswordRespData ¶
type UpdatePermissionPublicPasswordRespData struct {
Password *string `json:"password,omitempty"` // 密码
}
type UploadAllFilePathReqBodyBuilder ¶
type UploadAllFilePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadAllFilePathReqBodyBuilder ¶
func NewUploadAllFilePathReqBodyBuilder() *UploadAllFilePathReqBodyBuilder
func (*UploadAllFilePathReqBodyBuilder) Build ¶
func (builder *UploadAllFilePathReqBodyBuilder) Build() (*UploadAllFileReqBody, error)
func (*UploadAllFilePathReqBodyBuilder) Checksum ¶
func (builder *UploadAllFilePathReqBodyBuilder) Checksum(checksum string) *UploadAllFilePathReqBodyBuilder
文件adler32校验和(可选)。
示例值:123423882374238912356
func (*UploadAllFilePathReqBodyBuilder) FileName ¶
func (builder *UploadAllFilePathReqBodyBuilder) FileName(fileName string) *UploadAllFilePathReqBodyBuilder
文件名。
示例值:demo.pdf
func (*UploadAllFilePathReqBodyBuilder) FilePath ¶
func (builder *UploadAllFilePathReqBodyBuilder) FilePath(filePath string) *UploadAllFilePathReqBodyBuilder
文件二进制内容。
示例值:file binary
func (*UploadAllFilePathReqBodyBuilder) ParentNode ¶
func (builder *UploadAllFilePathReqBodyBuilder) ParentNode(parentNode string) *UploadAllFilePathReqBodyBuilder
文件夹token,;获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction)
示例值:fldbcO1UuPz8VwnpPx5a92abcef
func (*UploadAllFilePathReqBodyBuilder) ParentType ¶
func (builder *UploadAllFilePathReqBodyBuilder) ParentType(parentType string) *UploadAllFilePathReqBodyBuilder
上传点类型。
示例值:explorer
func (*UploadAllFilePathReqBodyBuilder) Size ¶
func (builder *UploadAllFilePathReqBodyBuilder) Size(size int) *UploadAllFilePathReqBodyBuilder
文件大小(以字节为单位)。
示例值:1024
type UploadAllFileReq ¶
type UploadAllFileReq struct { Body *UploadAllFileReqBody `body:""` // contains filtered or unexported fields }
type UploadAllFileReqBody ¶
type UploadAllFileReqBody struct { FileName *string `json:"file_name,omitempty"` // 文件名。 ParentType *string `json:"parent_type,omitempty"` // 上传点类型。 ParentNode *string `json:"parent_node,omitempty"` // 文件夹token,;获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction) Size *int `json:"size,omitempty"` // 文件大小(以字节为单位)。 Checksum *string `json:"checksum,omitempty"` // 文件adler32校验和(可选)。 File io.Reader `json:"file,omitempty"` // 文件二进制内容。 }
type UploadAllFileReqBodyBuilder ¶
type UploadAllFileReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadAllFileReqBodyBuilder ¶
func NewUploadAllFileReqBodyBuilder() *UploadAllFileReqBodyBuilder
func (*UploadAllFileReqBodyBuilder) Build ¶
func (builder *UploadAllFileReqBodyBuilder) Build() *UploadAllFileReqBody
func (*UploadAllFileReqBodyBuilder) Checksum ¶
func (builder *UploadAllFileReqBodyBuilder) Checksum(checksum string) *UploadAllFileReqBodyBuilder
文件adler32校验和(可选)。
示例值:123423882374238912356
func (*UploadAllFileReqBodyBuilder) File ¶
func (builder *UploadAllFileReqBodyBuilder) File(file io.Reader) *UploadAllFileReqBodyBuilder
文件二进制内容。
示例值:file binary
func (*UploadAllFileReqBodyBuilder) FileName ¶
func (builder *UploadAllFileReqBodyBuilder) FileName(fileName string) *UploadAllFileReqBodyBuilder
文件名。
示例值:demo.pdf
func (*UploadAllFileReqBodyBuilder) ParentNode ¶
func (builder *UploadAllFileReqBodyBuilder) ParentNode(parentNode string) *UploadAllFileReqBodyBuilder
文件夹token,;获取方式见 [概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/files/guide/introduction)
示例值:fldbcO1UuPz8VwnpPx5a92abcef
func (*UploadAllFileReqBodyBuilder) ParentType ¶
func (builder *UploadAllFileReqBodyBuilder) ParentType(parentType string) *UploadAllFileReqBodyBuilder
上传点类型。
示例值:explorer
func (*UploadAllFileReqBodyBuilder) Size ¶
func (builder *UploadAllFileReqBodyBuilder) Size(size int) *UploadAllFileReqBodyBuilder
文件大小(以字节为单位)。
示例值:1024
type UploadAllFileReqBuilder ¶
type UploadAllFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewUploadAllFileReqBuilder ¶
func NewUploadAllFileReqBuilder() *UploadAllFileReqBuilder
func (*UploadAllFileReqBuilder) Body ¶
func (builder *UploadAllFileReqBuilder) Body(body *UploadAllFileReqBody) *UploadAllFileReqBuilder
向云空间指定目录下上传一个小文件。
func (*UploadAllFileReqBuilder) Build ¶
func (builder *UploadAllFileReqBuilder) Build() *UploadAllFileReq
type UploadAllFileResp ¶
type UploadAllFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UploadAllFileRespData `json:"data"` // 业务数据 }
func (*UploadAllFileResp) Success ¶
func (resp *UploadAllFileResp) Success() bool
type UploadAllFileRespData ¶
type UploadAllFileRespData struct {
FileToken *string `json:"file_token,omitempty"` // 新创建文件的 token
}
type UploadAllMediaPathReqBodyBuilder ¶
type UploadAllMediaPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadAllMediaPathReqBodyBuilder ¶
func NewUploadAllMediaPathReqBodyBuilder() *UploadAllMediaPathReqBodyBuilder
func (*UploadAllMediaPathReqBodyBuilder) Build ¶
func (builder *UploadAllMediaPathReqBodyBuilder) Build() (*UploadAllMediaReqBody, error)
func (*UploadAllMediaPathReqBodyBuilder) Checksum ¶
func (builder *UploadAllMediaPathReqBodyBuilder) Checksum(checksum string) *UploadAllMediaPathReqBodyBuilder
文件adler32校验和(可选)。
示例值:12345678
func (*UploadAllMediaPathReqBodyBuilder) Extra ¶
func (builder *UploadAllMediaPathReqBodyBuilder) Extra(extra string) *UploadAllMediaPathReqBodyBuilder
扩展信息(可选)。
示例值:{"test":"test"}
func (*UploadAllMediaPathReqBodyBuilder) FileName ¶
func (builder *UploadAllMediaPathReqBodyBuilder) FileName(fileName string) *UploadAllMediaPathReqBodyBuilder
文件名。
示例值:demo.jpeg
func (*UploadAllMediaPathReqBodyBuilder) FilePath ¶
func (builder *UploadAllMediaPathReqBodyBuilder) FilePath(filePath string) *UploadAllMediaPathReqBodyBuilder
文件二进制内容。
示例值:file binary
func (*UploadAllMediaPathReqBodyBuilder) ParentNode ¶
func (builder *UploadAllMediaPathReqBodyBuilder) ParentNode(parentNode string) *UploadAllMediaPathReqBodyBuilder
上传点的token。
示例值:doccnFivLCfJfblZjGZtxgabcef
func (*UploadAllMediaPathReqBodyBuilder) ParentType ¶
func (builder *UploadAllMediaPathReqBodyBuilder) ParentType(parentType string) *UploadAllMediaPathReqBodyBuilder
上传点类型。
示例值:doc_image
func (*UploadAllMediaPathReqBodyBuilder) Size ¶
func (builder *UploadAllMediaPathReqBodyBuilder) Size(size int) *UploadAllMediaPathReqBodyBuilder
文件大小(以字节为单位)。
示例值:1024
type UploadAllMediaReq ¶
type UploadAllMediaReq struct { Body *UploadAllMediaReqBody `body:""` // contains filtered or unexported fields }
type UploadAllMediaReqBody ¶
type UploadAllMediaReqBody struct { FileName *string `json:"file_name,omitempty"` // 文件名。 ParentType *string `json:"parent_type,omitempty"` // 上传点类型。 ParentNode *string `json:"parent_node,omitempty"` // 上传点的token。 Size *int `json:"size,omitempty"` // 文件大小(以字节为单位)。 Checksum *string `json:"checksum,omitempty"` // 文件adler32校验和(可选)。 Extra *string `json:"extra,omitempty"` // 扩展信息(可选)。 File io.Reader `json:"file,omitempty"` // 文件二进制内容。 }
type UploadAllMediaReqBodyBuilder ¶
type UploadAllMediaReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadAllMediaReqBodyBuilder ¶
func NewUploadAllMediaReqBodyBuilder() *UploadAllMediaReqBodyBuilder
func (*UploadAllMediaReqBodyBuilder) Build ¶
func (builder *UploadAllMediaReqBodyBuilder) Build() *UploadAllMediaReqBody
func (*UploadAllMediaReqBodyBuilder) Checksum ¶
func (builder *UploadAllMediaReqBodyBuilder) Checksum(checksum string) *UploadAllMediaReqBodyBuilder
文件adler32校验和(可选)。
示例值:12345678
func (*UploadAllMediaReqBodyBuilder) Extra ¶
func (builder *UploadAllMediaReqBodyBuilder) Extra(extra string) *UploadAllMediaReqBodyBuilder
扩展信息(可选)。
示例值:{"test":"test"}
func (*UploadAllMediaReqBodyBuilder) File ¶
func (builder *UploadAllMediaReqBodyBuilder) File(file io.Reader) *UploadAllMediaReqBodyBuilder
文件二进制内容。
示例值:file binary
func (*UploadAllMediaReqBodyBuilder) FileName ¶
func (builder *UploadAllMediaReqBodyBuilder) FileName(fileName string) *UploadAllMediaReqBodyBuilder
文件名。
示例值:demo.jpeg
func (*UploadAllMediaReqBodyBuilder) ParentNode ¶
func (builder *UploadAllMediaReqBodyBuilder) ParentNode(parentNode string) *UploadAllMediaReqBodyBuilder
上传点的token。
示例值:doccnFivLCfJfblZjGZtxgabcef
func (*UploadAllMediaReqBodyBuilder) ParentType ¶
func (builder *UploadAllMediaReqBodyBuilder) ParentType(parentType string) *UploadAllMediaReqBodyBuilder
上传点类型。
示例值:doc_image
func (*UploadAllMediaReqBodyBuilder) Size ¶
func (builder *UploadAllMediaReqBodyBuilder) Size(size int) *UploadAllMediaReqBodyBuilder
文件大小(以字节为单位)。
示例值:1024
type UploadAllMediaReqBuilder ¶
type UploadAllMediaReqBuilder struct {
// contains filtered or unexported fields
}
func NewUploadAllMediaReqBuilder ¶
func NewUploadAllMediaReqBuilder() *UploadAllMediaReqBuilder
func (*UploadAllMediaReqBuilder) Body ¶
func (builder *UploadAllMediaReqBuilder) Body(body *UploadAllMediaReqBody) *UploadAllMediaReqBuilder
将文件、图片、视频等素材文件上传到指定云文档中。素材文件在云空间中不会显示,只会显示在对应云文档中。
func (*UploadAllMediaReqBuilder) Build ¶
func (builder *UploadAllMediaReqBuilder) Build() *UploadAllMediaReq
type UploadAllMediaResp ¶
type UploadAllMediaResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UploadAllMediaRespData `json:"data"` // 业务数据 }
func (*UploadAllMediaResp) Success ¶
func (resp *UploadAllMediaResp) Success() bool
type UploadAllMediaRespData ¶
type UploadAllMediaRespData struct {
FileToken *string `json:"file_token,omitempty"` // 素材文件的 token。
}
type UploadFinishFilePathReqBodyBuilder ¶
type UploadFinishFilePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadFinishFilePathReqBodyBuilder ¶
func NewUploadFinishFilePathReqBodyBuilder() *UploadFinishFilePathReqBodyBuilder
func (*UploadFinishFilePathReqBodyBuilder) BlockNum ¶
func (builder *UploadFinishFilePathReqBodyBuilder) BlockNum(blockNum int) *UploadFinishFilePathReqBodyBuilder
分片数量
示例值:1
func (*UploadFinishFilePathReqBodyBuilder) Build ¶
func (builder *UploadFinishFilePathReqBodyBuilder) Build() (*UploadFinishFileReqBody, error)
func (*UploadFinishFilePathReqBodyBuilder) UploadId ¶
func (builder *UploadFinishFilePathReqBodyBuilder) UploadId(uploadId string) *UploadFinishFilePathReqBodyBuilder
分片上传事务ID
示例值:7111211691345512356
type UploadFinishFileReq ¶
type UploadFinishFileReq struct { Body *UploadFinishFileReqBody `body:""` // contains filtered or unexported fields }
type UploadFinishFileReqBody ¶
type UploadFinishFileReqBodyBuilder ¶
type UploadFinishFileReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadFinishFileReqBodyBuilder ¶
func NewUploadFinishFileReqBodyBuilder() *UploadFinishFileReqBodyBuilder
func (*UploadFinishFileReqBodyBuilder) BlockNum ¶
func (builder *UploadFinishFileReqBodyBuilder) BlockNum(blockNum int) *UploadFinishFileReqBodyBuilder
分片数量
示例值:1
func (*UploadFinishFileReqBodyBuilder) Build ¶
func (builder *UploadFinishFileReqBodyBuilder) Build() *UploadFinishFileReqBody
func (*UploadFinishFileReqBodyBuilder) UploadId ¶
func (builder *UploadFinishFileReqBodyBuilder) UploadId(uploadId string) *UploadFinishFileReqBodyBuilder
分片上传事务ID
示例值:7111211691345512356
type UploadFinishFileReqBuilder ¶
type UploadFinishFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewUploadFinishFileReqBuilder ¶
func NewUploadFinishFileReqBuilder() *UploadFinishFileReqBuilder
func (*UploadFinishFileReqBuilder) Body ¶
func (builder *UploadFinishFileReqBuilder) Body(body *UploadFinishFileReqBody) *UploadFinishFileReqBuilder
触发完成上传。
func (*UploadFinishFileReqBuilder) Build ¶
func (builder *UploadFinishFileReqBuilder) Build() *UploadFinishFileReq
type UploadFinishFileResp ¶
type UploadFinishFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UploadFinishFileRespData `json:"data"` // 业务数据 }
func (*UploadFinishFileResp) Success ¶
func (resp *UploadFinishFileResp) Success() bool
type UploadFinishFileRespData ¶
type UploadFinishFileRespData struct {
FileToken *string `json:"file_token,omitempty"` // 新创建的文件token
}
type UploadFinishMediaPathReqBodyBuilder ¶
type UploadFinishMediaPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadFinishMediaPathReqBodyBuilder ¶
func NewUploadFinishMediaPathReqBodyBuilder() *UploadFinishMediaPathReqBodyBuilder
func (*UploadFinishMediaPathReqBodyBuilder) BlockNum ¶
func (builder *UploadFinishMediaPathReqBodyBuilder) BlockNum(blockNum int) *UploadFinishMediaPathReqBodyBuilder
分片数量
示例值:1
func (*UploadFinishMediaPathReqBodyBuilder) Build ¶
func (builder *UploadFinishMediaPathReqBodyBuilder) Build() (*UploadFinishMediaReqBody, error)
func (*UploadFinishMediaPathReqBodyBuilder) UploadId ¶
func (builder *UploadFinishMediaPathReqBodyBuilder) UploadId(uploadId string) *UploadFinishMediaPathReqBodyBuilder
分片上传事务ID
示例值:7111211691345512356
type UploadFinishMediaReq ¶
type UploadFinishMediaReq struct { Body *UploadFinishMediaReqBody `body:""` // contains filtered or unexported fields }
type UploadFinishMediaReqBodyBuilder ¶
type UploadFinishMediaReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadFinishMediaReqBodyBuilder ¶
func NewUploadFinishMediaReqBodyBuilder() *UploadFinishMediaReqBodyBuilder
func (*UploadFinishMediaReqBodyBuilder) BlockNum ¶
func (builder *UploadFinishMediaReqBodyBuilder) BlockNum(blockNum int) *UploadFinishMediaReqBodyBuilder
分片数量
示例值:1
func (*UploadFinishMediaReqBodyBuilder) Build ¶
func (builder *UploadFinishMediaReqBodyBuilder) Build() *UploadFinishMediaReqBody
func (*UploadFinishMediaReqBodyBuilder) UploadId ¶
func (builder *UploadFinishMediaReqBodyBuilder) UploadId(uploadId string) *UploadFinishMediaReqBodyBuilder
分片上传事务ID
示例值:7111211691345512356
type UploadFinishMediaReqBuilder ¶
type UploadFinishMediaReqBuilder struct {
// contains filtered or unexported fields
}
func NewUploadFinishMediaReqBuilder ¶
func NewUploadFinishMediaReqBuilder() *UploadFinishMediaReqBuilder
func (*UploadFinishMediaReqBuilder) Body ¶
func (builder *UploadFinishMediaReqBuilder) Body(body *UploadFinishMediaReqBody) *UploadFinishMediaReqBuilder
触发完成上传。
func (*UploadFinishMediaReqBuilder) Build ¶
func (builder *UploadFinishMediaReqBuilder) Build() *UploadFinishMediaReq
type UploadFinishMediaResp ¶
type UploadFinishMediaResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UploadFinishMediaRespData `json:"data"` // 业务数据 }
func (*UploadFinishMediaResp) Success ¶
func (resp *UploadFinishMediaResp) Success() bool
type UploadFinishMediaRespData ¶
type UploadFinishMediaRespData struct {
FileToken *string `json:"file_token,omitempty"` // 新创建文件的 token
}
type UploadInfo ¶
type UploadInfoBuilder ¶
type UploadInfoBuilder struct {
// contains filtered or unexported fields
}
func NewUploadInfoBuilder ¶
func NewUploadInfoBuilder() *UploadInfoBuilder
func (*UploadInfoBuilder) Build ¶
func (builder *UploadInfoBuilder) Build() *UploadInfo
func (*UploadInfoBuilder) FileName ¶
func (builder *UploadInfoBuilder) FileName(fileName string) *UploadInfoBuilder
文件名
示例值:
func (*UploadInfoBuilder) ParentNode ¶
func (builder *UploadInfoBuilder) ParentNode(parentNode string) *UploadInfoBuilder
父节点
示例值:
func (*UploadInfoBuilder) ParentType ¶
func (builder *UploadInfoBuilder) ParentType(parentType string) *UploadInfoBuilder
父节点类型(父文件系统类型)
示例值:
func (*UploadInfoBuilder) Size ¶
func (builder *UploadInfoBuilder) Size(size int) *UploadInfoBuilder
文件大小
示例值:
type UploadPartFilePathReqBodyBuilder ¶
type UploadPartFilePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadPartFilePathReqBodyBuilder ¶
func NewUploadPartFilePathReqBodyBuilder() *UploadPartFilePathReqBodyBuilder
func (*UploadPartFilePathReqBodyBuilder) Build ¶
func (builder *UploadPartFilePathReqBodyBuilder) Build() (*UploadPartFileReqBody, error)
func (*UploadPartFilePathReqBodyBuilder) Checksum ¶
func (builder *UploadPartFilePathReqBodyBuilder) Checksum(checksum string) *UploadPartFilePathReqBodyBuilder
文件分块adler32校验和(可选)。
示例值:12342388237783212356
func (*UploadPartFilePathReqBodyBuilder) FilePath ¶
func (builder *UploadPartFilePathReqBodyBuilder) FilePath(filePath string) *UploadPartFilePathReqBodyBuilder
文件分片二进制内容。
示例值:file binary
func (*UploadPartFilePathReqBodyBuilder) Seq ¶
func (builder *UploadPartFilePathReqBodyBuilder) Seq(seq int) *UploadPartFilePathReqBodyBuilder
块号,从0开始计数。
示例值:0
func (*UploadPartFilePathReqBodyBuilder) Size ¶
func (builder *UploadPartFilePathReqBodyBuilder) Size(size int) *UploadPartFilePathReqBodyBuilder
块大小(以字节为单位)。
示例值:4194304
func (*UploadPartFilePathReqBodyBuilder) UploadId ¶
func (builder *UploadPartFilePathReqBodyBuilder) UploadId(uploadId string) *UploadPartFilePathReqBodyBuilder
分片上传事务ID。
示例值:7111211691345512356
type UploadPartFileReq ¶
type UploadPartFileReq struct { Body *UploadPartFileReqBody `body:""` // contains filtered or unexported fields }
type UploadPartFileReqBody ¶
type UploadPartFileReqBody struct { UploadId *string `json:"upload_id,omitempty"` // 分片上传事务ID。 Seq *int `json:"seq,omitempty"` // 块号,从0开始计数。 Size *int `json:"size,omitempty"` // 块大小(以字节为单位)。 Checksum *string `json:"checksum,omitempty"` // 文件分块adler32校验和(可选)。 File io.Reader `json:"file,omitempty"` // 文件分片二进制内容。 }
type UploadPartFileReqBodyBuilder ¶
type UploadPartFileReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadPartFileReqBodyBuilder ¶
func NewUploadPartFileReqBodyBuilder() *UploadPartFileReqBodyBuilder
func (*UploadPartFileReqBodyBuilder) Build ¶
func (builder *UploadPartFileReqBodyBuilder) Build() *UploadPartFileReqBody
func (*UploadPartFileReqBodyBuilder) Checksum ¶
func (builder *UploadPartFileReqBodyBuilder) Checksum(checksum string) *UploadPartFileReqBodyBuilder
文件分块adler32校验和(可选)。
示例值:12342388237783212356
func (*UploadPartFileReqBodyBuilder) File ¶
func (builder *UploadPartFileReqBodyBuilder) File(file io.Reader) *UploadPartFileReqBodyBuilder
文件分片二进制内容。
示例值:file binary
func (*UploadPartFileReqBodyBuilder) Seq ¶
func (builder *UploadPartFileReqBodyBuilder) Seq(seq int) *UploadPartFileReqBodyBuilder
块号,从0开始计数。
示例值:0
func (*UploadPartFileReqBodyBuilder) Size ¶
func (builder *UploadPartFileReqBodyBuilder) Size(size int) *UploadPartFileReqBodyBuilder
块大小(以字节为单位)。
示例值:4194304
func (*UploadPartFileReqBodyBuilder) UploadId ¶
func (builder *UploadPartFileReqBodyBuilder) UploadId(uploadId string) *UploadPartFileReqBodyBuilder
分片上传事务ID。
示例值:7111211691345512356
type UploadPartFileReqBuilder ¶
type UploadPartFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewUploadPartFileReqBuilder ¶
func NewUploadPartFileReqBuilder() *UploadPartFileReqBuilder
func (*UploadPartFileReqBuilder) Body ¶
func (builder *UploadPartFileReqBuilder) Body(body *UploadPartFileReqBody) *UploadPartFileReqBuilder
上传对应的文件块。
func (*UploadPartFileReqBuilder) Build ¶
func (builder *UploadPartFileReqBuilder) Build() *UploadPartFileReq
type UploadPartFileResp ¶
type UploadPartFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UploadPartFileResp) Success ¶
func (resp *UploadPartFileResp) Success() bool
type UploadPartMediaPathReqBodyBuilder ¶
type UploadPartMediaPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadPartMediaPathReqBodyBuilder ¶
func NewUploadPartMediaPathReqBodyBuilder() *UploadPartMediaPathReqBodyBuilder
func (*UploadPartMediaPathReqBodyBuilder) Build ¶
func (builder *UploadPartMediaPathReqBodyBuilder) Build() (*UploadPartMediaReqBody, error)
func (*UploadPartMediaPathReqBodyBuilder) Checksum ¶
func (builder *UploadPartMediaPathReqBodyBuilder) Checksum(checksum string) *UploadPartMediaPathReqBodyBuilder
文件分块adler32校验和(可选)。
示例值:12345678
func (*UploadPartMediaPathReqBodyBuilder) FilePath ¶
func (builder *UploadPartMediaPathReqBodyBuilder) FilePath(filePath string) *UploadPartMediaPathReqBodyBuilder
文件分片二进制内容。
示例值:file binary
func (*UploadPartMediaPathReqBodyBuilder) Seq ¶
func (builder *UploadPartMediaPathReqBodyBuilder) Seq(seq int) *UploadPartMediaPathReqBodyBuilder
块号,从0开始计数。
示例值:0
func (*UploadPartMediaPathReqBodyBuilder) Size ¶
func (builder *UploadPartMediaPathReqBodyBuilder) Size(size int) *UploadPartMediaPathReqBodyBuilder
块大小(以字节为单位)。
示例值:4194304
func (*UploadPartMediaPathReqBodyBuilder) UploadId ¶
func (builder *UploadPartMediaPathReqBodyBuilder) UploadId(uploadId string) *UploadPartMediaPathReqBodyBuilder
分片上传事务ID。
示例值:7111211691345512356
type UploadPartMediaReq ¶
type UploadPartMediaReq struct { Body *UploadPartMediaReqBody `body:""` // contains filtered or unexported fields }
type UploadPartMediaReqBody ¶
type UploadPartMediaReqBody struct { UploadId *string `json:"upload_id,omitempty"` // 分片上传事务ID。 Seq *int `json:"seq,omitempty"` // 块号,从0开始计数。 Size *int `json:"size,omitempty"` // 块大小(以字节为单位)。 Checksum *string `json:"checksum,omitempty"` // 文件分块adler32校验和(可选)。 File io.Reader `json:"file,omitempty"` // 文件分片二进制内容。 }
type UploadPartMediaReqBodyBuilder ¶
type UploadPartMediaReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadPartMediaReqBodyBuilder ¶
func NewUploadPartMediaReqBodyBuilder() *UploadPartMediaReqBodyBuilder
func (*UploadPartMediaReqBodyBuilder) Build ¶
func (builder *UploadPartMediaReqBodyBuilder) Build() *UploadPartMediaReqBody
func (*UploadPartMediaReqBodyBuilder) Checksum ¶
func (builder *UploadPartMediaReqBodyBuilder) Checksum(checksum string) *UploadPartMediaReqBodyBuilder
文件分块adler32校验和(可选)。
示例值:12345678
func (*UploadPartMediaReqBodyBuilder) File ¶
func (builder *UploadPartMediaReqBodyBuilder) File(file io.Reader) *UploadPartMediaReqBodyBuilder
文件分片二进制内容。
示例值:file binary
func (*UploadPartMediaReqBodyBuilder) Seq ¶
func (builder *UploadPartMediaReqBodyBuilder) Seq(seq int) *UploadPartMediaReqBodyBuilder
块号,从0开始计数。
示例值:0
func (*UploadPartMediaReqBodyBuilder) Size ¶
func (builder *UploadPartMediaReqBodyBuilder) Size(size int) *UploadPartMediaReqBodyBuilder
块大小(以字节为单位)。
示例值:4194304
func (*UploadPartMediaReqBodyBuilder) UploadId ¶
func (builder *UploadPartMediaReqBodyBuilder) UploadId(uploadId string) *UploadPartMediaReqBodyBuilder
分片上传事务ID。
示例值:7111211691345512356
type UploadPartMediaReqBuilder ¶
type UploadPartMediaReqBuilder struct {
// contains filtered or unexported fields
}
func NewUploadPartMediaReqBuilder ¶
func NewUploadPartMediaReqBuilder() *UploadPartMediaReqBuilder
func (*UploadPartMediaReqBuilder) Body ¶
func (builder *UploadPartMediaReqBuilder) Body(body *UploadPartMediaReqBody) *UploadPartMediaReqBuilder
上传对应的文件块。
func (*UploadPartMediaReqBuilder) Build ¶
func (builder *UploadPartMediaReqBuilder) Build() *UploadPartMediaReq
type UploadPartMediaResp ¶
type UploadPartMediaResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UploadPartMediaResp) Success ¶
func (resp *UploadPartMediaResp) Success() bool
type UploadPrepareFileReq ¶
type UploadPrepareFileReq struct { FileUploadInfo *FileUploadInfo `body:""` // contains filtered or unexported fields }
type UploadPrepareFileReqBuilder ¶
type UploadPrepareFileReqBuilder struct {
// contains filtered or unexported fields
}
func NewUploadPrepareFileReqBuilder ¶
func NewUploadPrepareFileReqBuilder() *UploadPrepareFileReqBuilder
func (*UploadPrepareFileReqBuilder) Build ¶
func (builder *UploadPrepareFileReqBuilder) Build() *UploadPrepareFileReq
func (*UploadPrepareFileReqBuilder) FileUploadInfo ¶
func (builder *UploadPrepareFileReqBuilder) FileUploadInfo(fileUploadInfo *FileUploadInfo) *UploadPrepareFileReqBuilder
发送初始化请求获取上传事务ID和分块策略,目前是以4MB大小进行定长分片。
type UploadPrepareFileResp ¶
type UploadPrepareFileResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UploadPrepareFileRespData `json:"data"` // 业务数据 }
func (*UploadPrepareFileResp) Success ¶
func (resp *UploadPrepareFileResp) Success() bool
type UploadPrepareMediaReq ¶
type UploadPrepareMediaReq struct { MediaUploadInfo *MediaUploadInfo `body:""` // contains filtered or unexported fields }
type UploadPrepareMediaReqBuilder ¶
type UploadPrepareMediaReqBuilder struct {
// contains filtered or unexported fields
}
func NewUploadPrepareMediaReqBuilder ¶
func NewUploadPrepareMediaReqBuilder() *UploadPrepareMediaReqBuilder
func (*UploadPrepareMediaReqBuilder) Build ¶
func (builder *UploadPrepareMediaReqBuilder) Build() *UploadPrepareMediaReq
func (*UploadPrepareMediaReqBuilder) MediaUploadInfo ¶
func (builder *UploadPrepareMediaReqBuilder) MediaUploadInfo(mediaUploadInfo *MediaUploadInfo) *UploadPrepareMediaReqBuilder
发送初始化请求获取上传事务ID和分块策略,目前是以4MB大小进行定长分片。
type UploadPrepareMediaResp ¶
type UploadPrepareMediaResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UploadPrepareMediaRespData `json:"data"` // 业务数据 }
func (*UploadPrepareMediaResp) Success ¶
func (resp *UploadPrepareMediaResp) Success() bool
type UserIdBuilder ¶
type UserIdBuilder struct {
// contains filtered or unexported fields
}
func NewUserIdBuilder ¶
func NewUserIdBuilder() *UserIdBuilder
func (*UserIdBuilder) Build ¶
func (builder *UserIdBuilder) Build() *UserId
func (*UserIdBuilder) OpenId ¶
func (builder *UserIdBuilder) OpenId(openId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UnionId ¶
func (builder *UserIdBuilder) UnionId(unionId string) *UserIdBuilder
示例值:
func (*UserIdBuilder) UserId ¶
func (builder *UserIdBuilder) UserId(userId string) *UserIdBuilder
示例值:
type V1 ¶
type V1 struct { ExportTask *exportTask // 导出 File *file // 文件 FileComment *fileComment // 评论 FileCommentReply *fileCommentReply // 评论 FileStatistics *fileStatistics // file.statistics FileSubscription *fileSubscription // 订阅 FileVersion *fileVersion // 文档版本 FileViewRecord *fileViewRecord // file.view_record ImportTask *importTask // 导入 Media *media // 分片上传 Meta *meta // meta PermissionMember *permissionMember // 成员 PermissionPublic *permissionPublic // 设置 PermissionPublicPassword *permissionPublicPassword // permission.public.password }
type Version ¶
type Version struct { Name *string `json:"name,omitempty"` // 版本文档标题 Version *string `json:"version,omitempty"` // 版本文档版本号 ParentToken *string `json:"parent_token,omitempty"` // shtbcpM2mm3znrLfWnf4browTYp OwnerId *string `json:"owner_id,omitempty"` // 版本文档所有者id CreatorId *string `json:"creator_id,omitempty"` // 版本文档创建者id CreateTime *string `json:"create_time,omitempty"` // 版本文档创建时间 UpdateTime *string `json:"update_time,omitempty"` // 版本文档更新时间 Status *string `json:"status,omitempty"` // 版本文档状态 ObjType *string `json:"obj_type,omitempty"` // 版本文档类型 ParentType *string `json:"parent_type,omitempty"` // 源文档类型 }
type VersionBuilder ¶
type VersionBuilder struct {
// contains filtered or unexported fields
}
func NewVersionBuilder ¶
func NewVersionBuilder() *VersionBuilder
func (*VersionBuilder) Build ¶
func (builder *VersionBuilder) Build() *Version
func (*VersionBuilder) CreateTime ¶
func (builder *VersionBuilder) CreateTime(createTime string) *VersionBuilder
版本文档创建时间
示例值:1660708537
func (*VersionBuilder) CreatorId ¶
func (builder *VersionBuilder) CreatorId(creatorId string) *VersionBuilder
版本文档创建者id
示例值:694699009591869451
func (*VersionBuilder) Name ¶
func (builder *VersionBuilder) Name(name string) *VersionBuilder
版本文档标题
示例值:文档标题
func (*VersionBuilder) ObjType ¶
func (builder *VersionBuilder) ObjType(objType string) *VersionBuilder
版本文档类型
示例值:docx
func (*VersionBuilder) OwnerId ¶
func (builder *VersionBuilder) OwnerId(ownerId string) *VersionBuilder
版本文档所有者id
示例值:694699009591869450
func (*VersionBuilder) ParentToken ¶
func (builder *VersionBuilder) ParentToken(parentToken string) *VersionBuilder
shtbcpM2mm3znrLfWnf4browTYp
示例值:1665739388
func (*VersionBuilder) ParentType ¶
func (builder *VersionBuilder) ParentType(parentType string) *VersionBuilder
源文档类型
示例值:docx
func (*VersionBuilder) Status ¶
func (builder *VersionBuilder) Status(status string) *VersionBuilder
版本文档状态
示例值:0
func (*VersionBuilder) UpdateTime ¶
func (builder *VersionBuilder) UpdateTime(updateTime string) *VersionBuilder
版本文档更新时间
示例值:1660708537
func (*VersionBuilder) Version ¶
func (builder *VersionBuilder) Version(version string) *VersionBuilder
版本文档版本号
示例值:version1