Documentation ¶
Index ¶
- Constants
- type CopySpaceNodePathReqBodyBuilder
- func (builder *CopySpaceNodePathReqBodyBuilder) Build() (*CopySpaceNodeReqBody, error)
- func (builder *CopySpaceNodePathReqBodyBuilder) TargetParentToken(targetParentToken string) *CopySpaceNodePathReqBodyBuilder
- func (builder *CopySpaceNodePathReqBodyBuilder) TargetSpaceId(targetSpaceId string) *CopySpaceNodePathReqBodyBuilder
- func (builder *CopySpaceNodePathReqBodyBuilder) Title(title string) *CopySpaceNodePathReqBodyBuilder
- type CopySpaceNodeReq
- type CopySpaceNodeReqBody
- type CopySpaceNodeReqBodyBuilder
- func (builder *CopySpaceNodeReqBodyBuilder) Build() *CopySpaceNodeReqBody
- func (builder *CopySpaceNodeReqBodyBuilder) TargetParentToken(targetParentToken string) *CopySpaceNodeReqBodyBuilder
- func (builder *CopySpaceNodeReqBodyBuilder) TargetSpaceId(targetSpaceId string) *CopySpaceNodeReqBodyBuilder
- func (builder *CopySpaceNodeReqBodyBuilder) Title(title string) *CopySpaceNodeReqBodyBuilder
- type CopySpaceNodeReqBuilder
- func (builder *CopySpaceNodeReqBuilder) Body(body *CopySpaceNodeReqBody) *CopySpaceNodeReqBuilder
- func (builder *CopySpaceNodeReqBuilder) Build() *CopySpaceNodeReq
- func (builder *CopySpaceNodeReqBuilder) NodeToken(nodeToken string) *CopySpaceNodeReqBuilder
- func (builder *CopySpaceNodeReqBuilder) SpaceId(spaceId string) *CopySpaceNodeReqBuilder
- type CopySpaceNodeResp
- type CopySpaceNodeRespData
- type CreateSpaceMemberReq
- type CreateSpaceMemberReqBuilder
- func (builder *CreateSpaceMemberReqBuilder) Build() *CreateSpaceMemberReq
- func (builder *CreateSpaceMemberReqBuilder) Member(member *Member) *CreateSpaceMemberReqBuilder
- func (builder *CreateSpaceMemberReqBuilder) NeedNotification(needNotification bool) *CreateSpaceMemberReqBuilder
- func (builder *CreateSpaceMemberReqBuilder) SpaceId(spaceId string) *CreateSpaceMemberReqBuilder
- type CreateSpaceMemberResp
- type CreateSpaceMemberRespData
- type CreateSpaceNodeReq
- type CreateSpaceNodeReqBuilder
- type CreateSpaceNodeResp
- type CreateSpaceNodeRespData
- type CreateSpaceReq
- type CreateSpaceReqBuilder
- type CreateSpaceResp
- type CreateSpaceRespData
- type DeleteSpaceMemberReq
- type DeleteSpaceMemberReqBuilder
- func (builder *DeleteSpaceMemberReqBuilder) Build() *DeleteSpaceMemberReq
- func (builder *DeleteSpaceMemberReqBuilder) Member(member *Member) *DeleteSpaceMemberReqBuilder
- func (builder *DeleteSpaceMemberReqBuilder) MemberId(memberId string) *DeleteSpaceMemberReqBuilder
- func (builder *DeleteSpaceMemberReqBuilder) SpaceId(spaceId string) *DeleteSpaceMemberReqBuilder
- type DeleteSpaceMemberResp
- type DeleteSpaceMemberRespData
- type DepartmentId
- type DepartmentIdBuilder
- type GetNodeSpaceReq
- type GetNodeSpaceReqBuilder
- type GetNodeSpaceResp
- type GetNodeSpaceRespData
- type GetSpaceReq
- type GetSpaceReqBuilder
- type GetSpaceResp
- type GetSpaceRespData
- type GetTaskReq
- type GetTaskReqBuilder
- type GetTaskResp
- type GetTaskRespData
- type ListSpaceIterator
- type ListSpaceMemberReq
- type ListSpaceMemberReqBuilder
- func (builder *ListSpaceMemberReqBuilder) Build() *ListSpaceMemberReq
- func (builder *ListSpaceMemberReqBuilder) PageSize(pageSize int) *ListSpaceMemberReqBuilder
- func (builder *ListSpaceMemberReqBuilder) PageToken(pageToken string) *ListSpaceMemberReqBuilder
- func (builder *ListSpaceMemberReqBuilder) SpaceId(spaceId string) *ListSpaceMemberReqBuilder
- type ListSpaceMemberResp
- type ListSpaceMemberRespData
- type ListSpaceNodeIterator
- type ListSpaceNodeReq
- type ListSpaceNodeReqBuilder
- func (builder *ListSpaceNodeReqBuilder) Build() *ListSpaceNodeReq
- func (builder *ListSpaceNodeReqBuilder) Limit(limit int) *ListSpaceNodeReqBuilder
- func (builder *ListSpaceNodeReqBuilder) PageSize(pageSize int) *ListSpaceNodeReqBuilder
- func (builder *ListSpaceNodeReqBuilder) PageToken(pageToken string) *ListSpaceNodeReqBuilder
- func (builder *ListSpaceNodeReqBuilder) ParentNodeToken(parentNodeToken string) *ListSpaceNodeReqBuilder
- func (builder *ListSpaceNodeReqBuilder) SpaceId(spaceId string) *ListSpaceNodeReqBuilder
- type ListSpaceNodeResp
- type ListSpaceNodeRespData
- type ListSpaceReq
- type ListSpaceReqBuilder
- func (builder *ListSpaceReqBuilder) Build() *ListSpaceReq
- func (builder *ListSpaceReqBuilder) Lang(lang string) *ListSpaceReqBuilder
- func (builder *ListSpaceReqBuilder) Limit(limit int) *ListSpaceReqBuilder
- func (builder *ListSpaceReqBuilder) PageSize(pageSize int) *ListSpaceReqBuilder
- func (builder *ListSpaceReqBuilder) PageToken(pageToken string) *ListSpaceReqBuilder
- type ListSpaceResp
- type ListSpaceRespData
- type Member
- type MemberBuilder
- func (builder *MemberBuilder) Build() *Member
- func (builder *MemberBuilder) MemberId(memberId string) *MemberBuilder
- func (builder *MemberBuilder) MemberRole(memberRole string) *MemberBuilder
- func (builder *MemberBuilder) MemberType(memberType string) *MemberBuilder
- func (builder *MemberBuilder) Type(type_ string) *MemberBuilder
- type MoveDocsToWikiSpaceNodePathReqBodyBuilder
- func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) Apply(apply bool) *MoveDocsToWikiSpaceNodePathReqBodyBuilder
- func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) Build() (*MoveDocsToWikiSpaceNodeReqBody, error)
- func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) ObjToken(objToken string) *MoveDocsToWikiSpaceNodePathReqBodyBuilder
- func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) ObjType(objType string) *MoveDocsToWikiSpaceNodePathReqBodyBuilder
- func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) ParentWikiToken(parentWikiToken string) *MoveDocsToWikiSpaceNodePathReqBodyBuilder
- type MoveDocsToWikiSpaceNodeReq
- type MoveDocsToWikiSpaceNodeReqBody
- type MoveDocsToWikiSpaceNodeReqBodyBuilder
- func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) Apply(apply bool) *MoveDocsToWikiSpaceNodeReqBodyBuilder
- func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) Build() *MoveDocsToWikiSpaceNodeReqBody
- func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) ObjToken(objToken string) *MoveDocsToWikiSpaceNodeReqBodyBuilder
- func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) ObjType(objType string) *MoveDocsToWikiSpaceNodeReqBodyBuilder
- func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) ParentWikiToken(parentWikiToken string) *MoveDocsToWikiSpaceNodeReqBodyBuilder
- type MoveDocsToWikiSpaceNodeReqBuilder
- func (builder *MoveDocsToWikiSpaceNodeReqBuilder) Body(body *MoveDocsToWikiSpaceNodeReqBody) *MoveDocsToWikiSpaceNodeReqBuilder
- func (builder *MoveDocsToWikiSpaceNodeReqBuilder) Build() *MoveDocsToWikiSpaceNodeReq
- func (builder *MoveDocsToWikiSpaceNodeReqBuilder) SpaceId(spaceId string) *MoveDocsToWikiSpaceNodeReqBuilder
- type MoveDocsToWikiSpaceNodeResp
- type MoveDocsToWikiSpaceNodeRespData
- type MoveResult
- type MoveResultBuilder
- type MoveSpaceNodePathReqBodyBuilder
- func (builder *MoveSpaceNodePathReqBodyBuilder) Build() (*MoveSpaceNodeReqBody, error)
- func (builder *MoveSpaceNodePathReqBodyBuilder) TargetParentToken(targetParentToken string) *MoveSpaceNodePathReqBodyBuilder
- func (builder *MoveSpaceNodePathReqBodyBuilder) TargetSpaceId(targetSpaceId string) *MoveSpaceNodePathReqBodyBuilder
- type MoveSpaceNodeReq
- type MoveSpaceNodeReqBody
- type MoveSpaceNodeReqBodyBuilder
- type MoveSpaceNodeReqBuilder
- func (builder *MoveSpaceNodeReqBuilder) Body(body *MoveSpaceNodeReqBody) *MoveSpaceNodeReqBuilder
- func (builder *MoveSpaceNodeReqBuilder) Build() *MoveSpaceNodeReq
- func (builder *MoveSpaceNodeReqBuilder) NodeToken(nodeToken string) *MoveSpaceNodeReqBuilder
- func (builder *MoveSpaceNodeReqBuilder) SpaceId(spaceId string) *MoveSpaceNodeReqBuilder
- type MoveSpaceNodeResp
- type MoveSpaceNodeRespData
- type Node
- type NodeBuilder
- func (builder *NodeBuilder) Build() *Node
- func (builder *NodeBuilder) Creator(creator string) *NodeBuilder
- func (builder *NodeBuilder) HasChild(hasChild bool) *NodeBuilder
- func (builder *NodeBuilder) NodeCreateTime(nodeCreateTime string) *NodeBuilder
- func (builder *NodeBuilder) NodeCreator(nodeCreator string) *NodeBuilder
- func (builder *NodeBuilder) NodeToken(nodeToken string) *NodeBuilder
- func (builder *NodeBuilder) NodeType(nodeType string) *NodeBuilder
- func (builder *NodeBuilder) ObjCreateTime(objCreateTime string) *NodeBuilder
- func (builder *NodeBuilder) ObjEditTime(objEditTime string) *NodeBuilder
- func (builder *NodeBuilder) ObjToken(objToken string) *NodeBuilder
- func (builder *NodeBuilder) ObjType(objType string) *NodeBuilder
- func (builder *NodeBuilder) OriginNodeToken(originNodeToken string) *NodeBuilder
- func (builder *NodeBuilder) OriginSpaceId(originSpaceId string) *NodeBuilder
- func (builder *NodeBuilder) Owner(owner string) *NodeBuilder
- func (builder *NodeBuilder) ParentNodeToken(parentNodeToken string) *NodeBuilder
- func (builder *NodeBuilder) SpaceId(spaceId string) *NodeBuilder
- func (builder *NodeBuilder) Title(title string) *NodeBuilder
- type NodeSearch
- type NodeSearchBuilder
- func (builder *NodeSearchBuilder) AreaId(areaId string) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) Build() *NodeSearch
- func (builder *NodeSearchBuilder) Domain(domain string) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) Icon(icon string) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) NodeId(nodeId string) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) ObjToken(objToken string) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) ObjType(objType int) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) ParentId(parentId string) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) SortId(sortId float64) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) SpaceId(spaceId string) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) Title(title string) *NodeSearchBuilder
- func (builder *NodeSearchBuilder) Url(url string) *NodeSearchBuilder
- type Setting
- type SettingBuilder
- func (builder *SettingBuilder) Build() *Setting
- func (builder *SettingBuilder) CommentSetting(commentSetting string) *SettingBuilder
- func (builder *SettingBuilder) CreateSetting(createSetting string) *SettingBuilder
- func (builder *SettingBuilder) SecuritySetting(securitySetting string) *SettingBuilder
- type Space
- type SpaceBuilder
- func (builder *SpaceBuilder) Build() *Space
- func (builder *SpaceBuilder) Description(description string) *SpaceBuilder
- func (builder *SpaceBuilder) Name(name string) *SpaceBuilder
- func (builder *SpaceBuilder) OpenSharing(openSharing string) *SpaceBuilder
- func (builder *SpaceBuilder) SpaceId(spaceId string) *SpaceBuilder
- func (builder *SpaceBuilder) SpaceType(spaceType string) *SpaceBuilder
- func (builder *SpaceBuilder) Visibility(visibility string) *SpaceBuilder
- type TaskResult
- type TaskResultBuilder
- type UpdateSpaceSettingReq
- type UpdateSpaceSettingReqBuilder
- type UpdateSpaceSettingResp
- type UpdateSpaceSettingRespData
- type UpdateTitleSpaceNodePathReqBodyBuilder
- type UpdateTitleSpaceNodeReq
- type UpdateTitleSpaceNodeReqBody
- type UpdateTitleSpaceNodeReqBodyBuilder
- type UpdateTitleSpaceNodeReqBuilder
- func (builder *UpdateTitleSpaceNodeReqBuilder) Body(body *UpdateTitleSpaceNodeReqBody) *UpdateTitleSpaceNodeReqBuilder
- func (builder *UpdateTitleSpaceNodeReqBuilder) Build() *UpdateTitleSpaceNodeReq
- func (builder *UpdateTitleSpaceNodeReqBuilder) NodeToken(nodeToken string) *UpdateTitleSpaceNodeReqBuilder
- func (builder *UpdateTitleSpaceNodeReqBuilder) SpaceId(spaceId string) *UpdateTitleSpaceNodeReqBuilder
- type UpdateTitleSpaceNodeResp
- type V2
Constants ¶
const ( OpenSharingOpen = "open" // 打开 OpenSharingClosed = "closed" // 关闭 )
const ( ShowLanguageLangZH = "zh" // 简体中文 ShowLanguageLangID = "id" // 印尼语 ShowLanguageLangDE = "de" // 德语 ShowLanguageLangEN = "en" // 英语 ShowLanguageLangES = "es" // 西班牙语 ShowLanguageLangFR = "fr" // 法语 ShowLanguageLangIT = "it" // 意大利语 ShowLanguageLangPT = "pt" // 葡萄牙语 ShowLanguageLangVI = "vi" // 越南语 ShowLanguageLangRU = "ru" // 俄语 ShowLanguageLangHI = "hi" // 印地语 ShowLanguageLangTH = "th" // 泰语 ShowLanguageLangKO = "ko" // 韩语 ShowLanguageLangJA = "ja" // 日语 ShowLanguageLangZHHK = "zh-HK" // 繁体中文(中国香港) ShowLanguageLangZHTW = "zh-TW" // 繁体中文(中国台湾) )
const ( ObjTypeForQueryObjTypeDoc = "doc" // 旧版文档 ObjTypeForQueryObjTypeDocx = "docx" // 新版文档 ObjTypeForQueryObjTypeSheet = "sheet" // 表格 ObjTypeForQueryObjTypeMindNote = "mindnote" // 思维导图 ObjTypeForQueryObjTypeBitable = "bitable" // 多维表格 ObjTypeForQueryObjTypeFile = "file" // 文件 ObjTypeForQueryObjTypeSlides = "slides" // 幻灯片 ObjTypeForQueryObjTypeWiki = "wiki" // 知识库节点 )
const ( ShowLanguageListSpaceLangZH = "zh" // 简体中文 ShowLanguageListSpaceLangID = "id" // 印尼语 ShowLanguageListSpaceLangDE = "de" // 德语 ShowLanguageListSpaceLangEN = "en" // 英语 ShowLanguageListSpaceLangES = "es" // 西班牙语 ShowLanguageListSpaceLangFR = "fr" // 法语 ShowLanguageListSpaceLangIT = "it" // 意大利语 ShowLanguageListSpaceLangPT = "pt" // 葡萄牙语 ShowLanguageListSpaceLangVI = "vi" // 越南语 ShowLanguageListSpaceLangRU = "ru" // 俄语 ShowLanguageListSpaceLangHI = "hi" // 印地语 ShowLanguageListSpaceLangTH = "th" // 泰语 ShowLanguageListSpaceLangKO = "ko" // 韩语 ShowLanguageListSpaceLangJA = "ja" // 日语 ShowLanguageListSpaceLangZHHK = "zh-HK" // 繁体中文(中国香港) ShowLanguageListSpaceLangZHTW = "zh-TW" // 繁体中文(中国台湾) )
const ( TypeUser = "user" // 用户 TypeChat = "chat" // 群组 TypeDepartment = "department" // 组织架构 )
const ( ObjTypeObjTypeDoc = "doc" // 旧版文档 ObjTypeObjTypeSheet = "sheet" // 表格 ObjTypeObjTypeMindNote = "mindnote" // 思维导图 ObjTypeObjTypeBitable = "bitable" // 多维表格 ObjTypeObjTypeFile = "file" // 文件 ObjTypeObjTypeDocx = "docx" // 新版文档 ObjTypeObjTypeSlides = "slides" // 幻灯片 )
const ( NodeTypeNodeTypeEntity = "origin" // 实体 NodeTypeNodeTypeShortCut = "shortcut" // 快捷方式 )
const ( MoveDocsToWikiObjTypeObjTypeDoc = "doc" // doc(文档) MoveDocsToWikiObjTypeObjTypeSheet = "sheet" // sheet(表格) MoveDocsToWikiObjTypeObjTypeBitable = "bitable" // bitable(多维表格) MoveDocsToWikiObjTypeObjTypeMindNote = "mindnote" // mindnote(思维导图) MoveDocsToWikiObjTypeObjTypeDocx = "docx" // docx MoveDocsToWikiObjTypeObjTypeFile = "file" // file (文件) MoveDocsToWikiObjTypeObjTypeSlides = "slides" // slides(幻灯片) )
const (
TaskTypeMove = "move" // MoveDocsToWiki任务
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopySpaceNodePathReqBodyBuilder ¶
type CopySpaceNodePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCopySpaceNodePathReqBodyBuilder ¶
func NewCopySpaceNodePathReqBodyBuilder() *CopySpaceNodePathReqBodyBuilder
func (*CopySpaceNodePathReqBodyBuilder) Build ¶
func (builder *CopySpaceNodePathReqBodyBuilder) Build() (*CopySpaceNodeReqBody, error)
func (*CopySpaceNodePathReqBodyBuilder) TargetParentToken ¶
func (builder *CopySpaceNodePathReqBodyBuilder) TargetParentToken(targetParentToken string) *CopySpaceNodePathReqBodyBuilder
目标父节点token
示例值:wikcnKQ1k3p******8Vabce
func (*CopySpaceNodePathReqBodyBuilder) TargetSpaceId ¶
func (builder *CopySpaceNodePathReqBodyBuilder) TargetSpaceId(targetSpaceId string) *CopySpaceNodePathReqBodyBuilder
目标知识空间id
示例值:6946843325487912356
func (*CopySpaceNodePathReqBodyBuilder) Title ¶
func (builder *CopySpaceNodePathReqBodyBuilder) Title(title string) *CopySpaceNodePathReqBodyBuilder
复制后的新标题。如果填空,则新标题为空。如果不填,则使用原节点标题。
示例值:新标题。
type CopySpaceNodeReq ¶
type CopySpaceNodeReq struct { Body *CopySpaceNodeReqBody `body:""` // contains filtered or unexported fields }
type CopySpaceNodeReqBody ¶
type CopySpaceNodeReqBodyBuilder ¶
type CopySpaceNodeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCopySpaceNodeReqBodyBuilder ¶
func NewCopySpaceNodeReqBodyBuilder() *CopySpaceNodeReqBodyBuilder
func (*CopySpaceNodeReqBodyBuilder) Build ¶
func (builder *CopySpaceNodeReqBodyBuilder) Build() *CopySpaceNodeReqBody
func (*CopySpaceNodeReqBodyBuilder) TargetParentToken ¶
func (builder *CopySpaceNodeReqBodyBuilder) TargetParentToken(targetParentToken string) *CopySpaceNodeReqBodyBuilder
目标父节点token
示例值:wikcnKQ1k3p******8Vabce
func (*CopySpaceNodeReqBodyBuilder) TargetSpaceId ¶
func (builder *CopySpaceNodeReqBodyBuilder) TargetSpaceId(targetSpaceId string) *CopySpaceNodeReqBodyBuilder
目标知识空间id
示例值:6946843325487912356
func (*CopySpaceNodeReqBodyBuilder) Title ¶
func (builder *CopySpaceNodeReqBodyBuilder) Title(title string) *CopySpaceNodeReqBodyBuilder
复制后的新标题。如果填空,则新标题为空。如果不填,则使用原节点标题。
示例值:新标题。
type CopySpaceNodeReqBuilder ¶
type CopySpaceNodeReqBuilder struct {
// contains filtered or unexported fields
}
func NewCopySpaceNodeReqBuilder ¶
func NewCopySpaceNodeReqBuilder() *CopySpaceNodeReqBuilder
func (*CopySpaceNodeReqBuilder) Body ¶
func (builder *CopySpaceNodeReqBuilder) Body(body *CopySpaceNodeReqBody) *CopySpaceNodeReqBuilder
此接口用于在知识空间创建节点副本到指定位置。
func (*CopySpaceNodeReqBuilder) Build ¶
func (builder *CopySpaceNodeReqBuilder) Build() *CopySpaceNodeReq
func (*CopySpaceNodeReqBuilder) NodeToken ¶
func (builder *CopySpaceNodeReqBuilder) NodeToken(nodeToken string) *CopySpaceNodeReqBuilder
节点token
示例值:wikcnKQ1k3p******8Vabce
func (*CopySpaceNodeReqBuilder) SpaceId ¶
func (builder *CopySpaceNodeReqBuilder) SpaceId(spaceId string) *CopySpaceNodeReqBuilder
知识空间id
示例值:6946843325487912356
type CopySpaceNodeResp ¶
type CopySpaceNodeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CopySpaceNodeRespData `json:"data"` // 业务数据 }
func (*CopySpaceNodeResp) Success ¶
func (resp *CopySpaceNodeResp) Success() bool
type CopySpaceNodeRespData ¶
type CopySpaceNodeRespData struct {
Node *Node `json:"node,omitempty"` // 创建副本后的新节点
}
type CreateSpaceMemberReq ¶
type CreateSpaceMemberReq struct { Member *Member `body:""` // contains filtered or unexported fields }
type CreateSpaceMemberReqBuilder ¶
type CreateSpaceMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSpaceMemberReqBuilder ¶
func NewCreateSpaceMemberReqBuilder() *CreateSpaceMemberReqBuilder
func (*CreateSpaceMemberReqBuilder) Build ¶
func (builder *CreateSpaceMemberReqBuilder) Build() *CreateSpaceMemberReq
func (*CreateSpaceMemberReqBuilder) Member ¶
func (builder *CreateSpaceMemberReqBuilder) Member(member *Member) *CreateSpaceMemberReqBuilder
添加知识空间成员或管理员。
func (*CreateSpaceMemberReqBuilder) NeedNotification ¶
func (builder *CreateSpaceMemberReqBuilder) NeedNotification(needNotification bool) *CreateSpaceMemberReqBuilder
添加权限后是否通知对方
示例值:true
func (*CreateSpaceMemberReqBuilder) SpaceId ¶
func (builder *CreateSpaceMemberReqBuilder) SpaceId(spaceId string) *CreateSpaceMemberReqBuilder
知识空间id
示例值:1565676577122621
type CreateSpaceMemberResp ¶
type CreateSpaceMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateSpaceMemberRespData `json:"data"` // 业务数据 }
func (*CreateSpaceMemberResp) Success ¶
func (resp *CreateSpaceMemberResp) Success() bool
type CreateSpaceMemberRespData ¶
type CreateSpaceMemberRespData struct {
Member *Member `json:"member,omitempty"` // 知识空间成员
}
type CreateSpaceNodeReq ¶
type CreateSpaceNodeReq struct { Node *Node `body:""` // contains filtered or unexported fields }
type CreateSpaceNodeReqBuilder ¶
type CreateSpaceNodeReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSpaceNodeReqBuilder ¶
func NewCreateSpaceNodeReqBuilder() *CreateSpaceNodeReqBuilder
func (*CreateSpaceNodeReqBuilder) Build ¶
func (builder *CreateSpaceNodeReqBuilder) Build() *CreateSpaceNodeReq
func (*CreateSpaceNodeReqBuilder) Node ¶
func (builder *CreateSpaceNodeReqBuilder) Node(node *Node) *CreateSpaceNodeReqBuilder
此接口用于在知识节点里创建[节点](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview)到指定位置。
func (*CreateSpaceNodeReqBuilder) SpaceId ¶
func (builder *CreateSpaceNodeReqBuilder) SpaceId(spaceId string) *CreateSpaceNodeReqBuilder
知识空间id;[获取方式](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview)
示例值:6704147935988285963
type CreateSpaceNodeResp ¶
type CreateSpaceNodeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateSpaceNodeRespData `json:"data"` // 业务数据 }
func (*CreateSpaceNodeResp) Success ¶
func (resp *CreateSpaceNodeResp) Success() bool
type CreateSpaceNodeRespData ¶
type CreateSpaceNodeRespData struct {
Node *Node `json:"node,omitempty"` // 节点
}
type CreateSpaceReq ¶
type CreateSpaceReq struct { Space *Space `body:""` // contains filtered or unexported fields }
type CreateSpaceReqBuilder ¶
type CreateSpaceReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSpaceReqBuilder ¶
func NewCreateSpaceReqBuilder() *CreateSpaceReqBuilder
func (*CreateSpaceReqBuilder) Build ¶
func (builder *CreateSpaceReqBuilder) Build() *CreateSpaceReq
func (*CreateSpaceReqBuilder) Space ¶
func (builder *CreateSpaceReqBuilder) Space(space *Space) *CreateSpaceReqBuilder
此接口用于创建知识空间
type CreateSpaceResp ¶
type CreateSpaceResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateSpaceRespData `json:"data"` // 业务数据 }
func (*CreateSpaceResp) Success ¶
func (resp *CreateSpaceResp) Success() bool
type CreateSpaceRespData ¶
type CreateSpaceRespData struct {
Space *Space `json:"space,omitempty"` // 知识空间
}
type DeleteSpaceMemberReq ¶
type DeleteSpaceMemberReq struct { Member *Member `body:""` // contains filtered or unexported fields }
type DeleteSpaceMemberReqBuilder ¶
type DeleteSpaceMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteSpaceMemberReqBuilder ¶
func NewDeleteSpaceMemberReqBuilder() *DeleteSpaceMemberReqBuilder
func (*DeleteSpaceMemberReqBuilder) Build ¶
func (builder *DeleteSpaceMemberReqBuilder) Build() *DeleteSpaceMemberReq
func (*DeleteSpaceMemberReqBuilder) Member ¶
func (builder *DeleteSpaceMemberReqBuilder) Member(member *Member) *DeleteSpaceMemberReqBuilder
此接口用于删除知识空间成员或管理员。
func (*DeleteSpaceMemberReqBuilder) MemberId ¶
func (builder *DeleteSpaceMemberReqBuilder) MemberId(memberId string) *DeleteSpaceMemberReqBuilder
成员id,值的类型由请求体的 member_type 参数决定
示例值:g64fb7g7
func (*DeleteSpaceMemberReqBuilder) SpaceId ¶
func (builder *DeleteSpaceMemberReqBuilder) SpaceId(spaceId string) *DeleteSpaceMemberReqBuilder
知识空间id
示例值:7008061636015554580
type DeleteSpaceMemberResp ¶
type DeleteSpaceMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *DeleteSpaceMemberRespData `json:"data"` // 业务数据 }
func (*DeleteSpaceMemberResp) Success ¶
func (resp *DeleteSpaceMemberResp) Success() bool
type DeleteSpaceMemberRespData ¶
type DeleteSpaceMemberRespData struct {
Member *Member `json:"member,omitempty"` // 成员信息
}
type DepartmentId ¶ added in v3.0.29
type DepartmentIdBuilder ¶ added in v3.0.29
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶ added in v3.0.29
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶ added in v3.0.29
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type GetNodeSpaceReq ¶
type GetNodeSpaceReq struct {
// contains filtered or unexported fields
}
type GetNodeSpaceReqBuilder ¶
type GetNodeSpaceReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetNodeSpaceReqBuilder ¶
func NewGetNodeSpaceReqBuilder() *GetNodeSpaceReqBuilder
func (*GetNodeSpaceReqBuilder) Build ¶
func (builder *GetNodeSpaceReqBuilder) Build() *GetNodeSpaceReq
func (*GetNodeSpaceReqBuilder) ObjType ¶ added in v3.0.29
func (builder *GetNodeSpaceReqBuilder) ObjType(objType string) *GetNodeSpaceReqBuilder
文档类型
示例值:docx
func (*GetNodeSpaceReqBuilder) Token ¶
func (builder *GetNodeSpaceReqBuilder) Token(token string) *GetNodeSpaceReqBuilder
文档的节点token
示例值:wikcnKQ1k3p******8Vabcef
type GetNodeSpaceResp ¶
type GetNodeSpaceResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetNodeSpaceRespData `json:"data"` // 业务数据 }
func (*GetNodeSpaceResp) Success ¶
func (resp *GetNodeSpaceResp) Success() bool
type GetNodeSpaceRespData ¶
type GetNodeSpaceRespData struct {
Node *Node `json:"node,omitempty"` // 节点信息
}
type GetSpaceReq ¶
type GetSpaceReq struct {
// contains filtered or unexported fields
}
type GetSpaceReqBuilder ¶
type GetSpaceReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetSpaceReqBuilder ¶
func NewGetSpaceReqBuilder() *GetSpaceReqBuilder
func (*GetSpaceReqBuilder) Build ¶
func (builder *GetSpaceReqBuilder) Build() *GetSpaceReq
func (*GetSpaceReqBuilder) Lang ¶ added in v3.1.3
func (builder *GetSpaceReqBuilder) Lang(lang string) *GetSpaceReqBuilder
当查询个人文档库时,指定返回的文档库名称展示语言。可选值有:zh, id, de, en, es, fr, it, pt, vi, ru, hi, th, ko, ja, zh-HK, zh-TW。
示例值:zh
func (*GetSpaceReqBuilder) SpaceId ¶
func (builder *GetSpaceReqBuilder) SpaceId(spaceId string) *GetSpaceReqBuilder
知识空间id
示例值:6870403571079249922
type GetSpaceResp ¶
type GetSpaceResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetSpaceRespData `json:"data"` // 业务数据 }
func (*GetSpaceResp) Success ¶
func (resp *GetSpaceResp) Success() bool
type GetSpaceRespData ¶
type GetSpaceRespData struct {
Space *Space `json:"space,omitempty"` // 知识空间
}
type GetTaskReq ¶
type GetTaskReq struct {
// contains filtered or unexported fields
}
type GetTaskReqBuilder ¶
type GetTaskReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetTaskReqBuilder ¶
func NewGetTaskReqBuilder() *GetTaskReqBuilder
func (*GetTaskReqBuilder) Build ¶
func (builder *GetTaskReqBuilder) Build() *GetTaskReq
func (*GetTaskReqBuilder) TaskId ¶
func (builder *GetTaskReqBuilder) TaskId(taskId string) *GetTaskReqBuilder
任务id
示例值:7037044037068177428-075c9481e6a0007c1df689dfbe5b55a08b6b06f7
func (*GetTaskReqBuilder) TaskType ¶
func (builder *GetTaskReqBuilder) TaskType(taskType string) *GetTaskReqBuilder
任务类型
示例值:move
type GetTaskResp ¶
type GetTaskResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetTaskRespData `json:"data"` // 业务数据 }
func (*GetTaskResp) Success ¶
func (resp *GetTaskResp) Success() bool
type GetTaskRespData ¶
type GetTaskRespData struct {
Task *TaskResult `json:"task,omitempty"` // 任务结果
}
type ListSpaceIterator ¶
type ListSpaceIterator struct {
// contains filtered or unexported fields
}
func (*ListSpaceIterator) NextPageToken ¶
func (iterator *ListSpaceIterator) NextPageToken() *string
type ListSpaceMemberReq ¶ added in v3.3.1
type ListSpaceMemberReq struct {
// contains filtered or unexported fields
}
type ListSpaceMemberReqBuilder ¶ added in v3.3.1
type ListSpaceMemberReqBuilder struct {
// contains filtered or unexported fields
}
func NewListSpaceMemberReqBuilder ¶ added in v3.3.1
func NewListSpaceMemberReqBuilder() *ListSpaceMemberReqBuilder
func (*ListSpaceMemberReqBuilder) Build ¶ added in v3.3.1
func (builder *ListSpaceMemberReqBuilder) Build() *ListSpaceMemberReq
func (*ListSpaceMemberReqBuilder) PageSize ¶ added in v3.3.1
func (builder *ListSpaceMemberReqBuilder) PageSize(pageSize int) *ListSpaceMemberReqBuilder
分页大小
示例值:1
func (*ListSpaceMemberReqBuilder) PageToken ¶ added in v3.3.1
func (builder *ListSpaceMemberReqBuilder) PageToken(pageToken string) *ListSpaceMemberReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:ou_12345
func (*ListSpaceMemberReqBuilder) SpaceId ¶ added in v3.3.1
func (builder *ListSpaceMemberReqBuilder) SpaceId(spaceId string) *ListSpaceMemberReqBuilder
知识空间id
示例值:7375263209671884820
type ListSpaceMemberResp ¶ added in v3.3.1
type ListSpaceMemberResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListSpaceMemberRespData `json:"data"` // 业务数据 }
func (*ListSpaceMemberResp) Success ¶ added in v3.3.1
func (resp *ListSpaceMemberResp) Success() bool
type ListSpaceMemberRespData ¶ added in v3.3.1
type ListSpaceNodeIterator ¶
type ListSpaceNodeIterator struct {
// contains filtered or unexported fields
}
func (*ListSpaceNodeIterator) Next ¶
func (iterator *ListSpaceNodeIterator) Next() (bool, *Node, error)
func (*ListSpaceNodeIterator) NextPageToken ¶
func (iterator *ListSpaceNodeIterator) NextPageToken() *string
type ListSpaceNodeReq ¶
type ListSpaceNodeReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListSpaceNodeReqBuilder ¶
type ListSpaceNodeReqBuilder struct {
// contains filtered or unexported fields
}
func NewListSpaceNodeReqBuilder ¶
func NewListSpaceNodeReqBuilder() *ListSpaceNodeReqBuilder
func (*ListSpaceNodeReqBuilder) Build ¶
func (builder *ListSpaceNodeReqBuilder) Build() *ListSpaceNodeReq
func (*ListSpaceNodeReqBuilder) Limit ¶
func (builder *ListSpaceNodeReqBuilder) Limit(limit int) *ListSpaceNodeReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListSpaceNodeReqBuilder) PageSize ¶
func (builder *ListSpaceNodeReqBuilder) PageSize(pageSize int) *ListSpaceNodeReqBuilder
分页大小
示例值:10
func (*ListSpaceNodeReqBuilder) PageToken ¶
func (builder *ListSpaceNodeReqBuilder) PageToken(pageToken string) *ListSpaceNodeReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:6946843325487456878
func (*ListSpaceNodeReqBuilder) ParentNodeToken ¶
func (builder *ListSpaceNodeReqBuilder) ParentNodeToken(parentNodeToken string) *ListSpaceNodeReqBuilder
父节点token
示例值:wikcnKQ1k3p******8Vabce
func (*ListSpaceNodeReqBuilder) SpaceId ¶
func (builder *ListSpaceNodeReqBuilder) SpaceId(spaceId string) *ListSpaceNodeReqBuilder
知识空间id
示例值:6946843325487906839
type ListSpaceNodeResp ¶
type ListSpaceNodeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListSpaceNodeRespData `json:"data"` // 业务数据 }
func (*ListSpaceNodeResp) Success ¶
func (resp *ListSpaceNodeResp) Success() bool
type ListSpaceNodeRespData ¶
type ListSpaceReq ¶
type ListSpaceReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListSpaceReqBuilder ¶
type ListSpaceReqBuilder struct {
// contains filtered or unexported fields
}
func NewListSpaceReqBuilder ¶
func NewListSpaceReqBuilder() *ListSpaceReqBuilder
func (*ListSpaceReqBuilder) Build ¶
func (builder *ListSpaceReqBuilder) Build() *ListSpaceReq
func (*ListSpaceReqBuilder) Lang ¶ added in v3.1.3
func (builder *ListSpaceReqBuilder) Lang(lang string) *ListSpaceReqBuilder
当查询个人文档库时,指定返回的文档库名称展示语言。可选值有:zh, id, de, en, es, fr, it, pt, vi, ru, hi, th, ko, ja, zh-HK, zh-TW。
示例值:zh
func (*ListSpaceReqBuilder) Limit ¶
func (builder *ListSpaceReqBuilder) Limit(limit int) *ListSpaceReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListSpaceReqBuilder) PageSize ¶
func (builder *ListSpaceReqBuilder) PageSize(pageSize int) *ListSpaceReqBuilder
分页大小
示例值:10
func (*ListSpaceReqBuilder) PageToken ¶
func (builder *ListSpaceReqBuilder) PageToken(pageToken string) *ListSpaceReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:1565676577122621
type ListSpaceResp ¶
type ListSpaceResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListSpaceRespData `json:"data"` // 业务数据 }
func (*ListSpaceResp) Success ¶
func (resp *ListSpaceResp) Success() bool
type ListSpaceRespData ¶
type Member ¶
type Member struct { MemberType *string `json:"member_type,omitempty"` // “openchat” - 群id ;;“userid” - 用户id;;“email” - 邮箱;;“opendepartmentid” - 部门id;;“openid” - 应用openid;;“unionid” - [unionid](/:ssltoken/home/user-identity-introduction/union-id;) MemberId *string `json:"member_id,omitempty"` // 用户id,值的类型由上面的 member_type 参数决定 MemberRole *string `json:"member_role,omitempty"` // 角色:;;“admin” - 管理员;;“member” - 成员 Type *string `json:"type,omitempty"` // 知识库协作者类型 }
type MemberBuilder ¶
type MemberBuilder struct {
// contains filtered or unexported fields
}
func NewMemberBuilder ¶
func NewMemberBuilder() *MemberBuilder
func (*MemberBuilder) Build ¶
func (builder *MemberBuilder) Build() *Member
func (*MemberBuilder) MemberId ¶
func (builder *MemberBuilder) MemberId(memberId string) *MemberBuilder
用户id,值的类型由上面的 member_type 参数决定
示例值:1565676577122621
func (*MemberBuilder) MemberRole ¶
func (builder *MemberBuilder) MemberRole(memberRole string) *MemberBuilder
角色:;;“admin” - 管理员;;“member” - 成员
示例值:admin
func (*MemberBuilder) MemberType ¶
func (builder *MemberBuilder) MemberType(memberType string) *MemberBuilder
“openchat” - 群id ;;“userid” - 用户id;;“email” - 邮箱;;“opendepartmentid” - 部门id;;“openid” - 应用openid;;“unionid” - [unionid](/:ssltoken/home/user-identity-introduction/union-id;)
示例值:userid
func (*MemberBuilder) Type ¶ added in v3.2.8
func (builder *MemberBuilder) Type(type_ string) *MemberBuilder
知识库协作者类型
示例值:user
type MoveDocsToWikiSpaceNodePathReqBodyBuilder ¶
type MoveDocsToWikiSpaceNodePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewMoveDocsToWikiSpaceNodePathReqBodyBuilder ¶
func NewMoveDocsToWikiSpaceNodePathReqBodyBuilder() *MoveDocsToWikiSpaceNodePathReqBodyBuilder
func (*MoveDocsToWikiSpaceNodePathReqBodyBuilder) Apply ¶
func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) Apply(apply bool) *MoveDocsToWikiSpaceNodePathReqBodyBuilder
没有权限时,是否申请移动文档。;;如果申请移动,文档将在处理人同意时自动移动至指定位置。
示例值:true
func (*MoveDocsToWikiSpaceNodePathReqBodyBuilder) Build ¶
func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) Build() (*MoveDocsToWikiSpaceNodeReqBody, error)
func (*MoveDocsToWikiSpaceNodePathReqBodyBuilder) ObjToken ¶
func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) ObjToken(objToken string) *MoveDocsToWikiSpaceNodePathReqBodyBuilder
文档token
示例值:doccnzAaOD******Wabcdef
func (*MoveDocsToWikiSpaceNodePathReqBodyBuilder) ObjType ¶
func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) ObjType(objType string) *MoveDocsToWikiSpaceNodePathReqBodyBuilder
文档类型
示例值:doc
func (*MoveDocsToWikiSpaceNodePathReqBodyBuilder) ParentWikiToken ¶
func (builder *MoveDocsToWikiSpaceNodePathReqBodyBuilder) ParentWikiToken(parentWikiToken string) *MoveDocsToWikiSpaceNodePathReqBodyBuilder
节点的父亲token。;;传空或不传时将移动为知识空间一级节点。
示例值:wikcnKQ1k3p******8Vabce
type MoveDocsToWikiSpaceNodeReq ¶
type MoveDocsToWikiSpaceNodeReq struct { Body *MoveDocsToWikiSpaceNodeReqBody `body:""` // contains filtered or unexported fields }
type MoveDocsToWikiSpaceNodeReqBody ¶
type MoveDocsToWikiSpaceNodeReqBody struct { ParentWikiToken *string `json:"parent_wiki_token,omitempty"` // 节点的父亲token。;;传空或不传时将移动为知识空间一级节点。 ObjType *string `json:"obj_type,omitempty"` // 文档类型 ObjToken *string `json:"obj_token,omitempty"` // 文档token Apply *bool `json:"apply,omitempty"` // 没有权限时,是否申请移动文档。;;如果申请移动,文档将在处理人同意时自动移动至指定位置。 }
type MoveDocsToWikiSpaceNodeReqBodyBuilder ¶
type MoveDocsToWikiSpaceNodeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewMoveDocsToWikiSpaceNodeReqBodyBuilder ¶
func NewMoveDocsToWikiSpaceNodeReqBodyBuilder() *MoveDocsToWikiSpaceNodeReqBodyBuilder
func (*MoveDocsToWikiSpaceNodeReqBodyBuilder) Apply ¶
func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) Apply(apply bool) *MoveDocsToWikiSpaceNodeReqBodyBuilder
没有权限时,是否申请移动文档。;;如果申请移动,文档将在处理人同意时自动移动至指定位置。
示例值:true
func (*MoveDocsToWikiSpaceNodeReqBodyBuilder) Build ¶
func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) Build() *MoveDocsToWikiSpaceNodeReqBody
func (*MoveDocsToWikiSpaceNodeReqBodyBuilder) ObjToken ¶
func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) ObjToken(objToken string) *MoveDocsToWikiSpaceNodeReqBodyBuilder
文档token
示例值:doccnzAaOD******Wabcdef
func (*MoveDocsToWikiSpaceNodeReqBodyBuilder) ObjType ¶
func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) ObjType(objType string) *MoveDocsToWikiSpaceNodeReqBodyBuilder
文档类型
示例值:doc
func (*MoveDocsToWikiSpaceNodeReqBodyBuilder) ParentWikiToken ¶
func (builder *MoveDocsToWikiSpaceNodeReqBodyBuilder) ParentWikiToken(parentWikiToken string) *MoveDocsToWikiSpaceNodeReqBodyBuilder
节点的父亲token。;;传空或不传时将移动为知识空间一级节点。
示例值:wikcnKQ1k3p******8Vabce
type MoveDocsToWikiSpaceNodeReqBuilder ¶
type MoveDocsToWikiSpaceNodeReqBuilder struct {
// contains filtered or unexported fields
}
func NewMoveDocsToWikiSpaceNodeReqBuilder ¶
func NewMoveDocsToWikiSpaceNodeReqBuilder() *MoveDocsToWikiSpaceNodeReqBuilder
func (*MoveDocsToWikiSpaceNodeReqBuilder) Body ¶
func (builder *MoveDocsToWikiSpaceNodeReqBuilder) Body(body *MoveDocsToWikiSpaceNodeReqBody) *MoveDocsToWikiSpaceNodeReqBuilder
该接口允许移动云空间文档至知识空间,并挂载在指定位置
func (*MoveDocsToWikiSpaceNodeReqBuilder) Build ¶
func (builder *MoveDocsToWikiSpaceNodeReqBuilder) Build() *MoveDocsToWikiSpaceNodeReq
func (*MoveDocsToWikiSpaceNodeReqBuilder) SpaceId ¶
func (builder *MoveDocsToWikiSpaceNodeReqBuilder) SpaceId(spaceId string) *MoveDocsToWikiSpaceNodeReqBuilder
知识库id
示例值:1565676577122621
type MoveDocsToWikiSpaceNodeResp ¶
type MoveDocsToWikiSpaceNodeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *MoveDocsToWikiSpaceNodeRespData `json:"data"` // 业务数据 }
func (*MoveDocsToWikiSpaceNodeResp) Success ¶
func (resp *MoveDocsToWikiSpaceNodeResp) Success() bool
type MoveResult ¶
type MoveResultBuilder ¶
type MoveResultBuilder struct {
// contains filtered or unexported fields
}
func NewMoveResultBuilder ¶
func NewMoveResultBuilder() *MoveResultBuilder
func (*MoveResultBuilder) Build ¶
func (builder *MoveResultBuilder) Build() *MoveResult
func (*MoveResultBuilder) Node ¶
func (builder *MoveResultBuilder) Node(node *Node) *MoveResultBuilder
移动完成的节点信息
示例值:
func (*MoveResultBuilder) Status ¶
func (builder *MoveResultBuilder) Status(status int) *MoveResultBuilder
节点移动状态码
示例值:0
func (*MoveResultBuilder) StatusMsg ¶
func (builder *MoveResultBuilder) StatusMsg(statusMsg string) *MoveResultBuilder
节点移动状态信息
示例值:success
type MoveSpaceNodePathReqBodyBuilder ¶
type MoveSpaceNodePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewMoveSpaceNodePathReqBodyBuilder ¶
func NewMoveSpaceNodePathReqBodyBuilder() *MoveSpaceNodePathReqBodyBuilder
func (*MoveSpaceNodePathReqBodyBuilder) Build ¶
func (builder *MoveSpaceNodePathReqBodyBuilder) Build() (*MoveSpaceNodeReqBody, error)
func (*MoveSpaceNodePathReqBodyBuilder) TargetParentToken ¶
func (builder *MoveSpaceNodePathReqBodyBuilder) TargetParentToken(targetParentToken string) *MoveSpaceNodePathReqBodyBuilder
移动到的父节点token
示例值:wikbcd6ydSUyOEzbdlt1BfpA5Yc
func (*MoveSpaceNodePathReqBodyBuilder) TargetSpaceId ¶
func (builder *MoveSpaceNodePathReqBodyBuilder) TargetSpaceId(targetSpaceId string) *MoveSpaceNodePathReqBodyBuilder
移动到的知识空间ID
示例值:7008061636015512345
type MoveSpaceNodeReq ¶
type MoveSpaceNodeReq struct { Body *MoveSpaceNodeReqBody `body:""` // contains filtered or unexported fields }
type MoveSpaceNodeReqBody ¶
type MoveSpaceNodeReqBodyBuilder ¶
type MoveSpaceNodeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewMoveSpaceNodeReqBodyBuilder ¶
func NewMoveSpaceNodeReqBodyBuilder() *MoveSpaceNodeReqBodyBuilder
func (*MoveSpaceNodeReqBodyBuilder) Build ¶
func (builder *MoveSpaceNodeReqBodyBuilder) Build() *MoveSpaceNodeReqBody
func (*MoveSpaceNodeReqBodyBuilder) TargetParentToken ¶
func (builder *MoveSpaceNodeReqBodyBuilder) TargetParentToken(targetParentToken string) *MoveSpaceNodeReqBodyBuilder
移动到的父节点token
示例值:wikbcd6ydSUyOEzbdlt1BfpA5Yc
func (*MoveSpaceNodeReqBodyBuilder) TargetSpaceId ¶
func (builder *MoveSpaceNodeReqBodyBuilder) TargetSpaceId(targetSpaceId string) *MoveSpaceNodeReqBodyBuilder
移动到的知识空间ID
示例值:7008061636015512345
type MoveSpaceNodeReqBuilder ¶
type MoveSpaceNodeReqBuilder struct {
// contains filtered or unexported fields
}
func NewMoveSpaceNodeReqBuilder ¶
func NewMoveSpaceNodeReqBuilder() *MoveSpaceNodeReqBuilder
func (*MoveSpaceNodeReqBuilder) Body ¶
func (builder *MoveSpaceNodeReqBuilder) Body(body *MoveSpaceNodeReqBody) *MoveSpaceNodeReqBuilder
此方法用于在Wiki内移动节点,支持跨知识空间移动。如果有子节点,会携带子节点一起移动。
func (*MoveSpaceNodeReqBuilder) Build ¶
func (builder *MoveSpaceNodeReqBuilder) Build() *MoveSpaceNodeReq
func (*MoveSpaceNodeReqBuilder) NodeToken ¶
func (builder *MoveSpaceNodeReqBuilder) NodeToken(nodeToken string) *MoveSpaceNodeReqBuilder
需要迁移的节点token
示例值:wikbcd6ydSUyOEzbdlt1BfpA5Yc
func (*MoveSpaceNodeReqBuilder) SpaceId ¶
func (builder *MoveSpaceNodeReqBuilder) SpaceId(spaceId string) *MoveSpaceNodeReqBuilder
知识空间id
示例值:7008061636015512345
type MoveSpaceNodeResp ¶
type MoveSpaceNodeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *MoveSpaceNodeRespData `json:"data"` // 业务数据 }
func (*MoveSpaceNodeResp) Success ¶
func (resp *MoveSpaceNodeResp) Success() bool
type MoveSpaceNodeRespData ¶
type MoveSpaceNodeRespData struct {
Node *Node `json:"node,omitempty"` // 移动后的节点信息
}
type Node ¶
type Node struct { SpaceId *string `json:"space_id,omitempty"` // 知识空间id;[获取方式](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview) NodeToken *string `json:"node_token,omitempty"` // 节点token ObjToken *string `json:"obj_token,omitempty"` // 对应文档类型的token,可根据 obj_type 判断属于哪种文档类型。 ObjType *string `json:"obj_type,omitempty"` // 文档类型,对于快捷方式,该字段是对应的实体的obj_type。 ParentNodeToken *string `json:"parent_node_token,omitempty"` // 父节点 token。若当前节点为一级节点,父节点 token 为空。 NodeType *string `json:"node_type,omitempty"` // 节点类型 OriginNodeToken *string `json:"origin_node_token,omitempty"` // 快捷方式对应的实体node_token,当节点为快捷方式时,该值不为空。 OriginSpaceId *string `json:"origin_space_id,omitempty"` // 快捷方式对应的实体所在的space id HasChild *bool `json:"has_child,omitempty"` // 是否有子节点 Title *string `json:"title,omitempty"` // 文档标题 ObjCreateTime *string `json:"obj_create_time,omitempty"` // 文档创建时间 ObjEditTime *string `json:"obj_edit_time,omitempty"` // 文档最近编辑时间 NodeCreateTime *string `json:"node_create_time,omitempty"` // 节点创建时间 Creator *string `json:"creator,omitempty"` // 节点创建者 Owner *string `json:"owner,omitempty"` // 节点所有者 NodeCreator *string `json:"node_creator,omitempty"` // 节点创建者 }
type NodeBuilder ¶
type NodeBuilder struct {
// contains filtered or unexported fields
}
func NewNodeBuilder ¶
func NewNodeBuilder() *NodeBuilder
func (*NodeBuilder) Build ¶
func (builder *NodeBuilder) Build() *Node
func (*NodeBuilder) Creator ¶
func (builder *NodeBuilder) Creator(creator string) *NodeBuilder
节点创建者
示例值:ou_xxxxx
func (*NodeBuilder) HasChild ¶
func (builder *NodeBuilder) HasChild(hasChild bool) *NodeBuilder
是否有子节点
示例值:false
func (*NodeBuilder) NodeCreateTime ¶
func (builder *NodeBuilder) NodeCreateTime(nodeCreateTime string) *NodeBuilder
节点创建时间
示例值:1642402428
func (*NodeBuilder) NodeCreator ¶ added in v3.2.8
func (builder *NodeBuilder) NodeCreator(nodeCreator string) *NodeBuilder
节点创建者
示例值:ou_xxxxx
func (*NodeBuilder) NodeToken ¶
func (builder *NodeBuilder) NodeToken(nodeToken string) *NodeBuilder
节点token
示例值:wikcnKQ1k3p******8Vabcef
func (*NodeBuilder) NodeType ¶
func (builder *NodeBuilder) NodeType(nodeType string) *NodeBuilder
节点类型
示例值:origin
func (*NodeBuilder) ObjCreateTime ¶
func (builder *NodeBuilder) ObjCreateTime(objCreateTime string) *NodeBuilder
文档创建时间
示例值:1642402428
func (*NodeBuilder) ObjEditTime ¶
func (builder *NodeBuilder) ObjEditTime(objEditTime string) *NodeBuilder
文档最近编辑时间
示例值:1642402428
func (*NodeBuilder) ObjToken ¶
func (builder *NodeBuilder) ObjToken(objToken string) *NodeBuilder
对应文档类型的token,可根据 obj_type 判断属于哪种文档类型。
示例值:doccnzAaOD******Wabcdef
func (*NodeBuilder) ObjType ¶
func (builder *NodeBuilder) ObjType(objType string) *NodeBuilder
文档类型,对于快捷方式,该字段是对应的实体的obj_type。
示例值:doc
func (*NodeBuilder) OriginNodeToken ¶
func (builder *NodeBuilder) OriginNodeToken(originNodeToken string) *NodeBuilder
快捷方式对应的实体node_token,当节点为快捷方式时,该值不为空。
示例值:wikcnKQ1k3p******8Vabcef
func (*NodeBuilder) OriginSpaceId ¶
func (builder *NodeBuilder) OriginSpaceId(originSpaceId string) *NodeBuilder
快捷方式对应的实体所在的space id
示例值:6946843325487912356
func (*NodeBuilder) Owner ¶
func (builder *NodeBuilder) Owner(owner string) *NodeBuilder
节点所有者
示例值:ou_xxxxx
func (*NodeBuilder) ParentNodeToken ¶
func (builder *NodeBuilder) ParentNodeToken(parentNodeToken string) *NodeBuilder
父节点 token。若当前节点为一级节点,父节点 token 为空。
示例值:wikcnKQ1k3p******8Vabcef
func (*NodeBuilder) SpaceId ¶
func (builder *NodeBuilder) SpaceId(spaceId string) *NodeBuilder
知识空间id;[获取方式](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-overview)
示例值:6946843325487912356
func (*NodeBuilder) Title ¶
func (builder *NodeBuilder) Title(title string) *NodeBuilder
文档标题
示例值:标题
type NodeSearch ¶
type NodeSearch struct { NodeId *string `json:"node_id,omitempty"` // node的唯一标识 SpaceId *string `json:"space_id,omitempty"` // 所属空间id ParentId *string `json:"parent_id,omitempty"` // 父节点id ObjType *int `json:"obj_type,omitempty"` // wiki类型 Title *string `json:"title,omitempty"` // wiki标题 Url *string `json:"url,omitempty"` // wiki的访问url Icon *string `json:"icon,omitempty"` // wiki对应图标的url AreaId *string `json:"area_id,omitempty"` // 所属权限范围id SortId *float64 `json:"sort_id,omitempty"` // 序号 Domain *string `json:"domain,omitempty"` // 所在域名 ObjToken *string `json:"obj_token,omitempty"` // objToken }
type NodeSearchBuilder ¶
type NodeSearchBuilder struct {
// contains filtered or unexported fields
}
func NewNodeSearchBuilder ¶
func NewNodeSearchBuilder() *NodeSearchBuilder
func (*NodeSearchBuilder) AreaId ¶
func (builder *NodeSearchBuilder) AreaId(areaId string) *NodeSearchBuilder
所属权限范围id
示例值:7067522558521772323
func (*NodeSearchBuilder) Build ¶
func (builder *NodeSearchBuilder) Build() *NodeSearch
func (*NodeSearchBuilder) Domain ¶
func (builder *NodeSearchBuilder) Domain(domain string) *NodeSearchBuilder
所在域名
示例值:example.feishu.cn
func (*NodeSearchBuilder) Icon ¶
func (builder *NodeSearchBuilder) Icon(icon string) *NodeSearchBuilder
wiki对应图标的url
func (*NodeSearchBuilder) NodeId ¶
func (builder *NodeSearchBuilder) NodeId(nodeId string) *NodeSearchBuilder
node的唯一标识
示例值:wikbcIbccBl4Mik9GQ2KskO6hsf
func (*NodeSearchBuilder) ObjToken ¶
func (builder *NodeSearchBuilder) ObjToken(objToken string) *NodeSearchBuilder
objToken
示例值:doxbcBBOM3vQxO5NztUhKpTBNQd
func (*NodeSearchBuilder) ObjType ¶
func (builder *NodeSearchBuilder) ObjType(objType int) *NodeSearchBuilder
wiki类型
示例值:1
func (*NodeSearchBuilder) ParentId ¶
func (builder *NodeSearchBuilder) ParentId(parentId string) *NodeSearchBuilder
父节点id
示例值:7067522558521772323
func (*NodeSearchBuilder) SortId ¶
func (builder *NodeSearchBuilder) SortId(sortId float64) *NodeSearchBuilder
序号
示例值:1
func (*NodeSearchBuilder) SpaceId ¶
func (builder *NodeSearchBuilder) SpaceId(spaceId string) *NodeSearchBuilder
所属空间id
示例值:7067522558521770004
func (*NodeSearchBuilder) Title ¶
func (builder *NodeSearchBuilder) Title(title string) *NodeSearchBuilder
wiki标题
示例值:文档标题
func (*NodeSearchBuilder) Url ¶
func (builder *NodeSearchBuilder) Url(url string) *NodeSearchBuilder
wiki的访问url
type Setting ¶
type Setting struct { CreateSetting *string `json:"create_setting,omitempty"` // 谁可以创建空间的一级页面: "admin_and_member" = 管理员和成员 "admin" - 仅管理员 SecuritySetting *string `json:"security_setting,omitempty"` // 可阅读用户可否创建副本/打印/导出/复制: "allow" - 允许 "not_allow" - 不允许 CommentSetting *string `json:"comment_setting,omitempty"` // 可阅读用户可否评论: "allow" - 允许 "not_allow" - 不允许 }
type SettingBuilder ¶
type SettingBuilder struct {
// contains filtered or unexported fields
}
func NewSettingBuilder ¶
func NewSettingBuilder() *SettingBuilder
func (*SettingBuilder) Build ¶
func (builder *SettingBuilder) Build() *Setting
func (*SettingBuilder) CommentSetting ¶
func (builder *SettingBuilder) CommentSetting(commentSetting string) *SettingBuilder
可阅读用户可否评论: "allow" - 允许 "not_allow" - 不允许
示例值:allow/not_allow
func (*SettingBuilder) CreateSetting ¶
func (builder *SettingBuilder) CreateSetting(createSetting string) *SettingBuilder
谁可以创建空间的一级页面: "admin_and_member" = 管理员和成员 "admin" - 仅管理员
示例值:admin/admin_and_member
func (*SettingBuilder) SecuritySetting ¶
func (builder *SettingBuilder) SecuritySetting(securitySetting string) *SettingBuilder
可阅读用户可否创建副本/打印/导出/复制: "allow" - 允许 "not_allow" - 不允许
示例值:allow/not_allow
type Space ¶
type Space struct { Name *string `json:"name,omitempty"` // 知识空间名称 Description *string `json:"description,omitempty"` // 知识空间描述 SpaceId *string `json:"space_id,omitempty"` // 知识空间id SpaceType *string `json:"space_type,omitempty"` // 表示知识空间类型(团队空间 或 个人空间) Visibility *string `json:"visibility,omitempty"` // 表示知识空间可见性(公开空间 或 私有空间) OpenSharing *string `json:"open_sharing,omitempty"` // 表示知识空间的分享状态 }
type SpaceBuilder ¶
type SpaceBuilder struct {
// contains filtered or unexported fields
}
func NewSpaceBuilder ¶
func NewSpaceBuilder() *SpaceBuilder
func (*SpaceBuilder) Build ¶
func (builder *SpaceBuilder) Build() *Space
func (*SpaceBuilder) Description ¶
func (builder *SpaceBuilder) Description(description string) *SpaceBuilder
知识空间描述
示例值:知识空间描述
func (*SpaceBuilder) Name ¶
func (builder *SpaceBuilder) Name(name string) *SpaceBuilder
知识空间名称
示例值:知识空间
func (*SpaceBuilder) OpenSharing ¶ added in v3.2.9
func (builder *SpaceBuilder) OpenSharing(openSharing string) *SpaceBuilder
表示知识空间的分享状态
示例值:open
func (*SpaceBuilder) SpaceId ¶
func (builder *SpaceBuilder) SpaceId(spaceId string) *SpaceBuilder
知识空间id
示例值:6946843325487456878
func (*SpaceBuilder) SpaceType ¶
func (builder *SpaceBuilder) SpaceType(spaceType string) *SpaceBuilder
表示知识空间类型(团队空间 或 个人空间)
示例值:team
func (*SpaceBuilder) Visibility ¶
func (builder *SpaceBuilder) Visibility(visibility string) *SpaceBuilder
表示知识空间可见性(公开空间 或 私有空间)
示例值:private
type TaskResult ¶
type TaskResult struct { TaskId *string `json:"task_id,omitempty"` // 任务id MoveResult []*MoveResult `json:"move_result,omitempty"` // [移动云空间文档至知识空间](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/move_docs_to_wiki)任务结果 }
type TaskResultBuilder ¶
type TaskResultBuilder struct {
// contains filtered or unexported fields
}
func NewTaskResultBuilder ¶
func NewTaskResultBuilder() *TaskResultBuilder
func (*TaskResultBuilder) Build ¶
func (builder *TaskResultBuilder) Build() *TaskResult
func (*TaskResultBuilder) MoveResult ¶
func (builder *TaskResultBuilder) MoveResult(moveResult []*MoveResult) *TaskResultBuilder
[移动云空间文档至知识空间](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/wiki-v2/space-node/move_docs_to_wiki)任务结果
示例值:
func (*TaskResultBuilder) TaskId ¶
func (builder *TaskResultBuilder) TaskId(taskId string) *TaskResultBuilder
任务id
示例值:7037044037068177428-075c9481e6a0007c1df689dfbe5b55a08b6b06f7
type UpdateSpaceSettingReq ¶
type UpdateSpaceSettingReq struct { Setting *Setting `body:""` // contains filtered or unexported fields }
type UpdateSpaceSettingReqBuilder ¶
type UpdateSpaceSettingReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateSpaceSettingReqBuilder ¶
func NewUpdateSpaceSettingReqBuilder() *UpdateSpaceSettingReqBuilder
func (*UpdateSpaceSettingReqBuilder) Build ¶
func (builder *UpdateSpaceSettingReqBuilder) Build() *UpdateSpaceSettingReq
func (*UpdateSpaceSettingReqBuilder) Setting ¶
func (builder *UpdateSpaceSettingReqBuilder) Setting(setting *Setting) *UpdateSpaceSettingReqBuilder
根据space_id更新知识空间公共设置
func (*UpdateSpaceSettingReqBuilder) SpaceId ¶
func (builder *UpdateSpaceSettingReqBuilder) SpaceId(spaceId string) *UpdateSpaceSettingReqBuilder
知识空间id
示例值:1565676577122621
type UpdateSpaceSettingResp ¶
type UpdateSpaceSettingResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UpdateSpaceSettingRespData `json:"data"` // 业务数据 }
func (*UpdateSpaceSettingResp) Success ¶
func (resp *UpdateSpaceSettingResp) Success() bool
type UpdateSpaceSettingRespData ¶
type UpdateSpaceSettingRespData struct {
Setting *Setting `json:"setting,omitempty"` // 知识空间设置
}
type UpdateTitleSpaceNodePathReqBodyBuilder ¶
type UpdateTitleSpaceNodePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateTitleSpaceNodePathReqBodyBuilder ¶
func NewUpdateTitleSpaceNodePathReqBodyBuilder() *UpdateTitleSpaceNodePathReqBodyBuilder
func (*UpdateTitleSpaceNodePathReqBodyBuilder) Build ¶
func (builder *UpdateTitleSpaceNodePathReqBodyBuilder) Build() (*UpdateTitleSpaceNodeReqBody, error)
func (*UpdateTitleSpaceNodePathReqBodyBuilder) Title ¶
func (builder *UpdateTitleSpaceNodePathReqBodyBuilder) Title(title string) *UpdateTitleSpaceNodePathReqBodyBuilder
节点新标题
示例值:新标题
type UpdateTitleSpaceNodeReq ¶
type UpdateTitleSpaceNodeReq struct { Body *UpdateTitleSpaceNodeReqBody `body:""` // contains filtered or unexported fields }
type UpdateTitleSpaceNodeReqBody ¶
type UpdateTitleSpaceNodeReqBody struct {
Title *string `json:"title,omitempty"` // 节点新标题
}
type UpdateTitleSpaceNodeReqBodyBuilder ¶
type UpdateTitleSpaceNodeReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateTitleSpaceNodeReqBodyBuilder ¶
func NewUpdateTitleSpaceNodeReqBodyBuilder() *UpdateTitleSpaceNodeReqBodyBuilder
func (*UpdateTitleSpaceNodeReqBodyBuilder) Build ¶
func (builder *UpdateTitleSpaceNodeReqBodyBuilder) Build() *UpdateTitleSpaceNodeReqBody
func (*UpdateTitleSpaceNodeReqBodyBuilder) Title ¶
func (builder *UpdateTitleSpaceNodeReqBodyBuilder) Title(title string) *UpdateTitleSpaceNodeReqBodyBuilder
节点新标题
示例值:新标题
type UpdateTitleSpaceNodeReqBuilder ¶
type UpdateTitleSpaceNodeReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateTitleSpaceNodeReqBuilder ¶
func NewUpdateTitleSpaceNodeReqBuilder() *UpdateTitleSpaceNodeReqBuilder
func (*UpdateTitleSpaceNodeReqBuilder) Body ¶
func (builder *UpdateTitleSpaceNodeReqBuilder) Body(body *UpdateTitleSpaceNodeReqBody) *UpdateTitleSpaceNodeReqBuilder
此接口用于更新节点标题
func (*UpdateTitleSpaceNodeReqBuilder) Build ¶
func (builder *UpdateTitleSpaceNodeReqBuilder) Build() *UpdateTitleSpaceNodeReq
func (*UpdateTitleSpaceNodeReqBuilder) NodeToken ¶
func (builder *UpdateTitleSpaceNodeReqBuilder) NodeToken(nodeToken string) *UpdateTitleSpaceNodeReqBuilder
节点token
示例值:wikcnKQ1k3pcuo5uSK4t8Vabcef
func (*UpdateTitleSpaceNodeReqBuilder) SpaceId ¶
func (builder *UpdateTitleSpaceNodeReqBuilder) SpaceId(spaceId string) *UpdateTitleSpaceNodeReqBuilder
知识空间ID
示例值:6946843325487912356
type UpdateTitleSpaceNodeResp ¶
type UpdateTitleSpaceNodeResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UpdateTitleSpaceNodeResp) Success ¶
func (resp *UpdateTitleSpaceNodeResp) Success() bool