doc_2_0

package
v1.3.81 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) CopyDentry

func (client *Client) CopyDentry(spaceId *string, dentryId *string, request *CopyDentryRequest) (_result *CopyDentryResponse, _err error)

func (*Client) CopyDentryWithOptions

func (client *Client) CopyDentryWithOptions(spaceId *string, dentryId *string, request *CopyDentryRequest, headers *CopyDentryHeaders, runtime *util.RuntimeOptions) (_result *CopyDentryResponse, _err error)

func (*Client) CreateDentry

func (client *Client) CreateDentry(spaceId *string, request *CreateDentryRequest) (_result *CreateDentryResponse, _err error)

func (*Client) CreateDentryWithOptions

func (client *Client) CreateDentryWithOptions(spaceId *string, request *CreateDentryRequest, headers *CreateDentryHeaders, runtime *util.RuntimeOptions) (_result *CreateDentryResponse, _err error)

func (*Client) GetSpaceDirectories

func (client *Client) GetSpaceDirectories(spaceId *string, request *GetSpaceDirectoriesRequest) (_result *GetSpaceDirectoriesResponse, _err error)

func (*Client) GetSpaceDirectoriesWithOptions

func (client *Client) GetSpaceDirectoriesWithOptions(spaceId *string, request *GetSpaceDirectoriesRequest, headers *GetSpaceDirectoriesHeaders, runtime *util.RuntimeOptions) (_result *GetSpaceDirectoriesResponse, _err error)

func (*Client) GetUserInfoByOpenToken

func (client *Client) GetUserInfoByOpenToken(request *GetUserInfoByOpenTokenRequest) (_result *GetUserInfoByOpenTokenResponse, _err error)

func (*Client) GetUserInfoByOpenTokenWithOptions

func (client *Client) GetUserInfoByOpenTokenWithOptions(request *GetUserInfoByOpenTokenRequest, headers *GetUserInfoByOpenTokenHeaders, runtime *util.RuntimeOptions) (_result *GetUserInfoByOpenTokenResponse, _err error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) MoveDentry

func (client *Client) MoveDentry(spaceId *string, dentryId *string, request *MoveDentryRequest) (_result *MoveDentryResponse, _err error)

func (*Client) MoveDentryWithOptions

func (client *Client) MoveDentryWithOptions(spaceId *string, dentryId *string, request *MoveDentryRequest, headers *MoveDentryHeaders, runtime *util.RuntimeOptions) (_result *MoveDentryResponse, _err error)

func (*Client) QueryDentry

func (client *Client) QueryDentry(spaceId *string, dentryId *string, request *QueryDentryRequest) (_result *QueryDentryResponse, _err error)

func (*Client) QueryDentryWithOptions

func (client *Client) QueryDentryWithOptions(spaceId *string, dentryId *string, request *QueryDentryRequest, headers *QueryDentryHeaders, runtime *util.RuntimeOptions) (_result *QueryDentryResponse, _err error)

func (*Client) QueryMineSpace

func (client *Client) QueryMineSpace(unionId *string) (_result *QueryMineSpaceResponse, _err error)

func (*Client) QueryMineSpaceWithOptions

func (client *Client) QueryMineSpaceWithOptions(unionId *string, headers *QueryMineSpaceHeaders, runtime *util.RuntimeOptions) (_result *QueryMineSpaceResponse, _err error)

func (*Client) QueryRecentList

func (client *Client) QueryRecentList(request *QueryRecentListRequest) (_result *QueryRecentListResponse, _err error)

func (*Client) QueryRecentListWithOptions

func (client *Client) QueryRecentListWithOptions(request *QueryRecentListRequest, headers *QueryRecentListHeaders, runtime *util.RuntimeOptions) (_result *QueryRecentListResponse, _err error)

func (*Client) QuerySpace

func (client *Client) QuerySpace(spaceId *string, request *QuerySpaceRequest) (_result *QuerySpaceResponse, _err error)

func (*Client) QuerySpaceWithOptions

func (client *Client) QuerySpaceWithOptions(spaceId *string, request *QuerySpaceRequest, headers *QuerySpaceHeaders, runtime *util.RuntimeOptions) (_result *QuerySpaceResponse, _err error)

func (*Client) RenameDentry

func (client *Client) RenameDentry(spaceId *string, dentryId *string, request *RenameDentryRequest) (_result *RenameDentryResponse, _err error)

func (*Client) RenameDentryWithOptions

func (client *Client) RenameDentryWithOptions(spaceId *string, dentryId *string, request *RenameDentryRequest, headers *RenameDentryHeaders, runtime *util.RuntimeOptions) (_result *RenameDentryResponse, _err error)

func (*Client) Search

func (client *Client) Search(request *SearchRequest) (_result *SearchResponse, _err error)

func (*Client) SearchWithOptions

func (client *Client) SearchWithOptions(request *SearchRequest, headers *SearchHeaders, runtime *util.RuntimeOptions) (_result *SearchResponse, _err error)

type CopyDentryHeaders

type CopyDentryHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (CopyDentryHeaders) GoString

func (s CopyDentryHeaders) GoString() string

func (*CopyDentryHeaders) SetCommonHeaders

func (s *CopyDentryHeaders) SetCommonHeaders(v map[string]*string) *CopyDentryHeaders

func (*CopyDentryHeaders) SetXAcsDingtalkAccessToken

func (s *CopyDentryHeaders) SetXAcsDingtalkAccessToken(v string) *CopyDentryHeaders

func (CopyDentryHeaders) String

func (s CopyDentryHeaders) String() string

type CopyDentryRequest

type CopyDentryRequest struct {
	// 拷贝后的文档名称,长度不能超过50。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 操作人unionId。
	OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"`
	// 需要移动到的知识库id。
	TargetSpaceId *string `json:"targetSpaceId,omitempty" xml:"targetSpaceId,omitempty"`
	// 移动到目标位置的后置节点id。不为空时,需要是归属于 toParentDentryId 的子节点。
	ToNextDentryId *string `json:"toNextDentryId,omitempty" xml:"toNextDentryId,omitempty"`
	// 需要移动到目标位置的父节点id。如果为根目录,则不传;如果为非根目录,则需要传对应的id。
	ToParentDentryId *string `json:"toParentDentryId,omitempty" xml:"toParentDentryId,omitempty"`
	// 移动到目标位置的前置节点id。不为空时,需要是归属于 toParentDentryId 的子节点。
	ToPrevDentryId *string `json:"toPrevDentryId,omitempty" xml:"toPrevDentryId,omitempty"`
}

func (CopyDentryRequest) GoString

func (s CopyDentryRequest) GoString() string

func (*CopyDentryRequest) SetName

func (*CopyDentryRequest) SetOperatorId

func (s *CopyDentryRequest) SetOperatorId(v string) *CopyDentryRequest

func (*CopyDentryRequest) SetTargetSpaceId

func (s *CopyDentryRequest) SetTargetSpaceId(v string) *CopyDentryRequest

func (*CopyDentryRequest) SetToNextDentryId

func (s *CopyDentryRequest) SetToNextDentryId(v string) *CopyDentryRequest

func (*CopyDentryRequest) SetToParentDentryId

func (s *CopyDentryRequest) SetToParentDentryId(v string) *CopyDentryRequest

func (*CopyDentryRequest) SetToPrevDentryId

func (s *CopyDentryRequest) SetToPrevDentryId(v string) *CopyDentryRequest

func (CopyDentryRequest) String

func (s CopyDentryRequest) String() string

type CopyDentryResponse

type CopyDentryResponse struct {
	Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *DentryVO          `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CopyDentryResponse) GoString

func (s CopyDentryResponse) GoString() string

func (*CopyDentryResponse) SetBody

func (*CopyDentryResponse) SetHeaders

func (s *CopyDentryResponse) SetHeaders(v map[string]*string) *CopyDentryResponse

func (CopyDentryResponse) String

func (s CopyDentryResponse) String() string

type CreateDentryHeaders

type CreateDentryHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (CreateDentryHeaders) GoString

func (s CreateDentryHeaders) GoString() string

func (*CreateDentryHeaders) SetCommonHeaders

func (s *CreateDentryHeaders) SetCommonHeaders(v map[string]*string) *CreateDentryHeaders

func (*CreateDentryHeaders) SetXAcsDingtalkAccessToken

func (s *CreateDentryHeaders) SetXAcsDingtalkAccessToken(v string) *CreateDentryHeaders

func (CreateDentryHeaders) String

func (s CreateDentryHeaders) String() string

type CreateDentryRequest

type CreateDentryRequest struct {
	// 节点类型,file-文档,folder-文件夹。
	DentryType *string `json:"dentryType,omitempty" xml:"dentryType,omitempty"`
	// 节点类型为文档才有,0-文字,1-表格,2-PPT,3-白板,6-脑图,7-多维表。
	DocumentType *int64 `json:"documentType,omitempty" xml:"documentType,omitempty"`
	// 节点名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 操作人unionId。
	OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"`
	// 父节点id,可为空。
	ParentDentryId *string `json:"parentDentryId,omitempty" xml:"parentDentryId,omitempty"`
}

func (CreateDentryRequest) GoString

func (s CreateDentryRequest) GoString() string

func (*CreateDentryRequest) SetDentryType

func (s *CreateDentryRequest) SetDentryType(v string) *CreateDentryRequest

func (*CreateDentryRequest) SetDocumentType

func (s *CreateDentryRequest) SetDocumentType(v int64) *CreateDentryRequest

func (*CreateDentryRequest) SetName

func (*CreateDentryRequest) SetOperatorId

func (s *CreateDentryRequest) SetOperatorId(v string) *CreateDentryRequest

func (*CreateDentryRequest) SetParentDentryId

func (s *CreateDentryRequest) SetParentDentryId(v string) *CreateDentryRequest

func (CreateDentryRequest) String

func (s CreateDentryRequest) String() string

type CreateDentryResponse

type CreateDentryResponse struct {
	Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *DentryVO          `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (CreateDentryResponse) GoString

func (s CreateDentryResponse) GoString() string

func (*CreateDentryResponse) SetBody

func (*CreateDentryResponse) SetHeaders

func (s *CreateDentryResponse) SetHeaders(v map[string]*string) *CreateDentryResponse

func (CreateDentryResponse) String

func (s CreateDentryResponse) String() string

type DentryModel

type DentryModel struct {
	// 内容类型。alidoc-钉钉文档;link-快捷方式;archive-压缩包;document-文件。
	ContentType *string `json:"contentType,omitempty" xml:"contentType,omitempty"`
	// 创建时间。
	CreatedTime *int64 `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// 创建者。
	Creator *DentryModelCreator `json:"creator,omitempty" xml:"creator,omitempty" type:"Struct"`
	// 节点id。
	DentryId *string `json:"dentryId,omitempty" xml:"dentryId,omitempty"`
	// 节点类型。file-文件;folder-文件夹。
	DentryType *string `json:"dentryType,omitempty" xml:"dentryType,omitempty"`
	// 节点全局唯一标识id。
	DentryUuid *string `json:"dentryUuid,omitempty" xml:"dentryUuid,omitempty"`
	// 文档docKey,用于标识一篇钉钉文档的key。只有内容类型为alidoc的才会有值。
	DocKey *string `json:"docKey,omitempty" xml:"docKey,omitempty"`
	// 文件后缀名。
	Extension *string `json:"extension,omitempty" xml:"extension,omitempty"`
	// 是否有子节点。
	HasChildren *bool `json:"hasChildren,omitempty" xml:"hasChildren,omitempty"`
	// 快捷方式类型的节点,其指向的原始数据信息。
	LinkSourceInfo *LinkSourceInfo `json:"linkSourceInfo,omitempty" xml:"linkSourceInfo,omitempty"`
	// 节点名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 节点的路径。
	Path *string `json:"path,omitempty" xml:"path,omitempty"`
	// 知识库信息。
	Space *SpaceModel `json:"space,omitempty" xml:"space,omitempty"`
	// 知识库id。
	SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
	// 更新时间。
	UpdatedTime *int64 `json:"updatedTime,omitempty" xml:"updatedTime,omitempty"`
	// 更新人。
	Updater *DentryModelUpdater `json:"updater,omitempty" xml:"updater,omitempty" type:"Struct"`
	// 节点访问url。
	Url *string `json:"url,omitempty" xml:"url,omitempty"`
	// 访问者对当前节点的权限等信息。
	VisitorInfo *DentryModelVisitorInfo `json:"visitorInfo,omitempty" xml:"visitorInfo,omitempty" type:"Struct"`
}

func (DentryModel) GoString

func (s DentryModel) GoString() string

func (*DentryModel) SetContentType

func (s *DentryModel) SetContentType(v string) *DentryModel

func (*DentryModel) SetCreatedTime

func (s *DentryModel) SetCreatedTime(v int64) *DentryModel

func (*DentryModel) SetCreator

func (s *DentryModel) SetCreator(v *DentryModelCreator) *DentryModel

func (*DentryModel) SetDentryId

func (s *DentryModel) SetDentryId(v string) *DentryModel

func (*DentryModel) SetDentryType

func (s *DentryModel) SetDentryType(v string) *DentryModel

func (*DentryModel) SetDentryUuid

func (s *DentryModel) SetDentryUuid(v string) *DentryModel

func (*DentryModel) SetDocKey

func (s *DentryModel) SetDocKey(v string) *DentryModel

func (*DentryModel) SetExtension

func (s *DentryModel) SetExtension(v string) *DentryModel

func (*DentryModel) SetHasChildren

func (s *DentryModel) SetHasChildren(v bool) *DentryModel

func (*DentryModel) SetLinkSourceInfo

func (s *DentryModel) SetLinkSourceInfo(v *LinkSourceInfo) *DentryModel

func (*DentryModel) SetName

func (s *DentryModel) SetName(v string) *DentryModel

func (*DentryModel) SetPath

func (s *DentryModel) SetPath(v string) *DentryModel

func (*DentryModel) SetSpace

func (s *DentryModel) SetSpace(v *SpaceModel) *DentryModel

func (*DentryModel) SetSpaceId

func (s *DentryModel) SetSpaceId(v string) *DentryModel

func (*DentryModel) SetUpdatedTime

func (s *DentryModel) SetUpdatedTime(v int64) *DentryModel

func (*DentryModel) SetUpdater

func (s *DentryModel) SetUpdater(v *DentryModelUpdater) *DentryModel

func (*DentryModel) SetUrl

func (s *DentryModel) SetUrl(v string) *DentryModel

func (*DentryModel) SetVisitorInfo

func (s *DentryModel) SetVisitorInfo(v *DentryModelVisitorInfo) *DentryModel

func (DentryModel) String

func (s DentryModel) String() string

type DentryModelCreator

type DentryModelCreator struct {
	// 用户名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 用户unionId。
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (DentryModelCreator) GoString

func (s DentryModelCreator) GoString() string

func (*DentryModelCreator) SetName

func (*DentryModelCreator) SetUnionId

func (s *DentryModelCreator) SetUnionId(v string) *DentryModelCreator

func (DentryModelCreator) String

func (s DentryModelCreator) String() string

type DentryModelUpdater

type DentryModelUpdater struct {
	// 用户名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 用户unionId。
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (DentryModelUpdater) GoString

func (s DentryModelUpdater) GoString() string

func (*DentryModelUpdater) SetName

func (*DentryModelUpdater) SetUnionId

func (s *DentryModelUpdater) SetUnionId(v string) *DentryModelUpdater

func (DentryModelUpdater) String

func (s DentryModelUpdater) String() string

type DentryModelVisitorInfo

type DentryModelVisitorInfo struct {
	// 节点的操作列表。
	DentryActions []*string `json:"dentryActions,omitempty" xml:"dentryActions,omitempty" type:"Repeated"`
	// 空间的操作列表。
	SpaceActions []*string `json:"spaceActions,omitempty" xml:"spaceActions,omitempty" type:"Repeated"`
}

func (DentryModelVisitorInfo) GoString

func (s DentryModelVisitorInfo) GoString() string

func (*DentryModelVisitorInfo) SetDentryActions

func (s *DentryModelVisitorInfo) SetDentryActions(v []*string) *DentryModelVisitorInfo

func (*DentryModelVisitorInfo) SetSpaceActions

func (s *DentryModelVisitorInfo) SetSpaceActions(v []*string) *DentryModelVisitorInfo

func (DentryModelVisitorInfo) String

func (s DentryModelVisitorInfo) String() string

type DentryVO

type DentryVO struct {
	// 内容类型。alidoc-钉钉文档;link-快捷方式;archive-压缩包;document-文件。
	ContentType *string `json:"contentType,omitempty" xml:"contentType,omitempty"`
	// 创建时间。
	CreatedTime *int64 `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// 创建者。
	Creator *DentryVOCreator `json:"creator,omitempty" xml:"creator,omitempty" type:"Struct"`
	// 节点id。
	DentryId *string `json:"dentryId,omitempty" xml:"dentryId,omitempty"`
	// 节点类型。file-文件;folder-文件夹。
	DentryType *string `json:"dentryType,omitempty" xml:"dentryType,omitempty"`
	// 节点全局唯一标识id。
	DentryUuid *string `json:"dentryUuid,omitempty" xml:"dentryUuid,omitempty"`
	// 文档docKey,用于标识一篇钉钉文档的key。只有内容类型为alidoc的才会有值。
	DocKey *string `json:"docKey,omitempty" xml:"docKey,omitempty"`
	// 文件后缀名。
	Extension *string `json:"extension,omitempty" xml:"extension,omitempty"`
	// 是否有子节点。
	HasChildren *bool `json:"hasChildren,omitempty" xml:"hasChildren,omitempty"`
	// 快捷方式类型的节点,其指向的原始数据信息。
	LinkSourceInfo *LinkSourceInfo `json:"linkSourceInfo,omitempty" xml:"linkSourceInfo,omitempty"`
	// 节点名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 节点的路径。
	Path *string `json:"path,omitempty" xml:"path,omitempty"`
	// 知识库信息。
	Space *SpaceModel `json:"space,omitempty" xml:"space,omitempty"`
	// 知识库id。
	SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
	// 更新时间。
	UpdatedTime *int64 `json:"updatedTime,omitempty" xml:"updatedTime,omitempty"`
	// 更新人。
	Updater *DentryVOUpdater `json:"updater,omitempty" xml:"updater,omitempty" type:"Struct"`
	// 节点访问url。
	Url *string `json:"url,omitempty" xml:"url,omitempty"`
	// 访问者对当前节点的权限等信息。
	VisitorInfo *DentryVOVisitorInfo `json:"visitorInfo,omitempty" xml:"visitorInfo,omitempty" type:"Struct"`
}

func (DentryVO) GoString

func (s DentryVO) GoString() string

func (*DentryVO) SetContentType

func (s *DentryVO) SetContentType(v string) *DentryVO

func (*DentryVO) SetCreatedTime

func (s *DentryVO) SetCreatedTime(v int64) *DentryVO

func (*DentryVO) SetCreator

func (s *DentryVO) SetCreator(v *DentryVOCreator) *DentryVO

func (*DentryVO) SetDentryId

func (s *DentryVO) SetDentryId(v string) *DentryVO

func (*DentryVO) SetDentryType

func (s *DentryVO) SetDentryType(v string) *DentryVO

func (*DentryVO) SetDentryUuid

func (s *DentryVO) SetDentryUuid(v string) *DentryVO

func (*DentryVO) SetDocKey

func (s *DentryVO) SetDocKey(v string) *DentryVO

func (*DentryVO) SetExtension

func (s *DentryVO) SetExtension(v string) *DentryVO

func (*DentryVO) SetHasChildren

func (s *DentryVO) SetHasChildren(v bool) *DentryVO

func (*DentryVO) SetLinkSourceInfo

func (s *DentryVO) SetLinkSourceInfo(v *LinkSourceInfo) *DentryVO

func (*DentryVO) SetName

func (s *DentryVO) SetName(v string) *DentryVO

func (*DentryVO) SetPath

func (s *DentryVO) SetPath(v string) *DentryVO

func (*DentryVO) SetSpace

func (s *DentryVO) SetSpace(v *SpaceModel) *DentryVO

func (*DentryVO) SetSpaceId

func (s *DentryVO) SetSpaceId(v string) *DentryVO

func (*DentryVO) SetUpdatedTime

func (s *DentryVO) SetUpdatedTime(v int64) *DentryVO

func (*DentryVO) SetUpdater

func (s *DentryVO) SetUpdater(v *DentryVOUpdater) *DentryVO

func (*DentryVO) SetUrl

func (s *DentryVO) SetUrl(v string) *DentryVO

func (*DentryVO) SetVisitorInfo

func (s *DentryVO) SetVisitorInfo(v *DentryVOVisitorInfo) *DentryVO

func (DentryVO) String

func (s DentryVO) String() string

type DentryVOCreator

type DentryVOCreator struct {
	// 用户名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 用户unionId。
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (DentryVOCreator) GoString

func (s DentryVOCreator) GoString() string

func (*DentryVOCreator) SetName

func (s *DentryVOCreator) SetName(v string) *DentryVOCreator

func (*DentryVOCreator) SetUnionId

func (s *DentryVOCreator) SetUnionId(v string) *DentryVOCreator

func (DentryVOCreator) String

func (s DentryVOCreator) String() string

type DentryVOUpdater

type DentryVOUpdater struct {
	// 用户名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 用户unionId。
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (DentryVOUpdater) GoString

func (s DentryVOUpdater) GoString() string

func (*DentryVOUpdater) SetName

func (s *DentryVOUpdater) SetName(v string) *DentryVOUpdater

func (*DentryVOUpdater) SetUnionId

func (s *DentryVOUpdater) SetUnionId(v string) *DentryVOUpdater

func (DentryVOUpdater) String

func (s DentryVOUpdater) String() string

type DentryVOVisitorInfo

type DentryVOVisitorInfo struct {
	// 节点的操作列表。
	DentryActions []*string `json:"dentryActions,omitempty" xml:"dentryActions,omitempty" type:"Repeated"`
	// 空间的操作列表。
	SpaceActions []*string `json:"spaceActions,omitempty" xml:"spaceActions,omitempty" type:"Repeated"`
}

func (DentryVOVisitorInfo) GoString

func (s DentryVOVisitorInfo) GoString() string

func (*DentryVOVisitorInfo) SetDentryActions

func (s *DentryVOVisitorInfo) SetDentryActions(v []*string) *DentryVOVisitorInfo

func (*DentryVOVisitorInfo) SetSpaceActions

func (s *DentryVOVisitorInfo) SetSpaceActions(v []*string) *DentryVOVisitorInfo

func (DentryVOVisitorInfo) String

func (s DentryVOVisitorInfo) String() string

type GetSpaceDirectoriesHeaders

type GetSpaceDirectoriesHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetSpaceDirectoriesHeaders) GoString

func (s GetSpaceDirectoriesHeaders) GoString() string

func (*GetSpaceDirectoriesHeaders) SetCommonHeaders

func (*GetSpaceDirectoriesHeaders) SetXAcsDingtalkAccessToken

func (s *GetSpaceDirectoriesHeaders) SetXAcsDingtalkAccessToken(v string) *GetSpaceDirectoriesHeaders

func (GetSpaceDirectoriesHeaders) String

type GetSpaceDirectoriesRequest

type GetSpaceDirectoriesRequest struct {
	// 知识库节点id。
	DentryId *string `json:"dentryId,omitempty" xml:"dentryId,omitempty"`
	// 查询数量,最大500。
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	// 分页token,第一页可不传。
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// 操作用户unionId。
	OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"`
}

func (GetSpaceDirectoriesRequest) GoString

func (s GetSpaceDirectoriesRequest) GoString() string

func (*GetSpaceDirectoriesRequest) SetDentryId

func (*GetSpaceDirectoriesRequest) SetMaxResults

func (*GetSpaceDirectoriesRequest) SetNextToken

func (*GetSpaceDirectoriesRequest) SetOperatorId

func (GetSpaceDirectoriesRequest) String

type GetSpaceDirectoriesResponse

type GetSpaceDirectoriesResponse struct {
	Headers map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetSpaceDirectoriesResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetSpaceDirectoriesResponse) GoString

func (s GetSpaceDirectoriesResponse) GoString() string

func (*GetSpaceDirectoriesResponse) SetBody

func (*GetSpaceDirectoriesResponse) SetHeaders

func (GetSpaceDirectoriesResponse) String

type GetSpaceDirectoriesResponseBody

type GetSpaceDirectoriesResponseBody struct {
	// 子节点列表。
	Children []*DentryModel `json:"children,omitempty" xml:"children,omitempty" type:"Repeated"`
	// 是否还有后续可查询子节点。
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// 分页token。
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (GetSpaceDirectoriesResponseBody) GoString

func (*GetSpaceDirectoriesResponseBody) SetChildren

func (*GetSpaceDirectoriesResponseBody) SetHasMore

func (*GetSpaceDirectoriesResponseBody) SetNextToken

func (GetSpaceDirectoriesResponseBody) String

type GetUserInfoByOpenTokenHeaders

type GetUserInfoByOpenTokenHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (GetUserInfoByOpenTokenHeaders) GoString

func (*GetUserInfoByOpenTokenHeaders) SetCommonHeaders

func (*GetUserInfoByOpenTokenHeaders) SetXAcsDingtalkAccessToken

func (s *GetUserInfoByOpenTokenHeaders) SetXAcsDingtalkAccessToken(v string) *GetUserInfoByOpenTokenHeaders

func (GetUserInfoByOpenTokenHeaders) String

type GetUserInfoByOpenTokenRequest

type GetUserInfoByOpenTokenRequest struct {
	// 文档docKey,标识一篇文档的key。
	DocKey *string `json:"docKey,omitempty" xml:"docKey,omitempty"`
	// 文档颁发给三方应用的 OpenToken,用于三方应用在文档中的免登。
	OpenToken *string `json:"openToken,omitempty" xml:"openToken,omitempty"`
}

func (GetUserInfoByOpenTokenRequest) GoString

func (*GetUserInfoByOpenTokenRequest) SetDocKey

func (*GetUserInfoByOpenTokenRequest) SetOpenToken

func (GetUserInfoByOpenTokenRequest) String

type GetUserInfoByOpenTokenResponse

type GetUserInfoByOpenTokenResponse struct {
	Headers map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *GetUserInfoByOpenTokenResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (GetUserInfoByOpenTokenResponse) GoString

func (*GetUserInfoByOpenTokenResponse) SetHeaders

func (GetUserInfoByOpenTokenResponse) String

type GetUserInfoByOpenTokenResponseBody

type GetUserInfoByOpenTokenResponseBody struct {
	// 用户的 unionId。
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
	// 用户的userId。
	UserId *string `json:"userId,omitempty" xml:"userId,omitempty"`
}

func (GetUserInfoByOpenTokenResponseBody) GoString

func (*GetUserInfoByOpenTokenResponseBody) SetUnionId

func (*GetUserInfoByOpenTokenResponseBody) SetUserId

func (GetUserInfoByOpenTokenResponseBody) String

type LinkSourceInfo

type LinkSourceInfo struct {
	// 快捷方式关联的源文件后缀。
	Extension *string `json:"extension,omitempty" xml:"extension,omitempty"`
	// 非通用快捷方式的图标信息。
	IconUrl *LinkSourceInfoIconUrl `json:"iconUrl,omitempty" xml:"iconUrl,omitempty" type:"Struct"`
	// 快捷方式关联的源文件ID(空间内唯一)。
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// 快捷方式类型。0-通用快捷方式;1-闪会快捷方式;2-日志快捷方式;3-闪会2.0快捷方式。
	LinkType *int64 `json:"linkType,omitempty" xml:"linkType,omitempty"`
	// 快捷方式关联的源文件所属空间id。
	SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
}

func (LinkSourceInfo) GoString

func (s LinkSourceInfo) GoString() string

func (*LinkSourceInfo) SetExtension

func (s *LinkSourceInfo) SetExtension(v string) *LinkSourceInfo

func (*LinkSourceInfo) SetIconUrl

func (*LinkSourceInfo) SetId

func (s *LinkSourceInfo) SetId(v string) *LinkSourceInfo

func (*LinkSourceInfo) SetLinkType

func (s *LinkSourceInfo) SetLinkType(v int64) *LinkSourceInfo

func (*LinkSourceInfo) SetSpaceId

func (s *LinkSourceInfo) SetSpaceId(v string) *LinkSourceInfo

func (LinkSourceInfo) String

func (s LinkSourceInfo) String() string

type LinkSourceInfoIconUrl

type LinkSourceInfoIconUrl struct {
	// 默认的目录树图标。
	Line *string `json:"line,omitempty" xml:"line,omitempty"`
	// 被选中时的加深图标。
	Small *string `json:"small,omitempty" xml:"small,omitempty"`
}

func (LinkSourceInfoIconUrl) GoString

func (s LinkSourceInfoIconUrl) GoString() string

func (*LinkSourceInfoIconUrl) SetLine

func (*LinkSourceInfoIconUrl) SetSmall

func (LinkSourceInfoIconUrl) String

func (s LinkSourceInfoIconUrl) String() string

type MoveDentryHeaders

type MoveDentryHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (MoveDentryHeaders) GoString

func (s MoveDentryHeaders) GoString() string

func (*MoveDentryHeaders) SetCommonHeaders

func (s *MoveDentryHeaders) SetCommonHeaders(v map[string]*string) *MoveDentryHeaders

func (*MoveDentryHeaders) SetXAcsDingtalkAccessToken

func (s *MoveDentryHeaders) SetXAcsDingtalkAccessToken(v string) *MoveDentryHeaders

func (MoveDentryHeaders) String

func (s MoveDentryHeaders) String() string

type MoveDentryRequest

type MoveDentryRequest struct {
	// 操作人unionId。
	OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"`
	// 需要移动到的知识库id。
	TargetSpaceId *string `json:"targetSpaceId,omitempty" xml:"targetSpaceId,omitempty"`
	// 移动到目标位置的后置节点id。不为空时,需要是归属于 toParentDentryId 的子节点。
	ToNextDentryId *string `json:"toNextDentryId,omitempty" xml:"toNextDentryId,omitempty"`
	// 需要移动到目标位置的父节点id。如果为根目录,则不传;如果为非根目录,则需要传对应的id。
	ToParentDentryId *string `json:"toParentDentryId,omitempty" xml:"toParentDentryId,omitempty"`
	// 移动到目标位置的前置节点id。不为空时,需要是归属于 toParentDentryId 的子节点。
	ToPrevDentryId *string `json:"toPrevDentryId,omitempty" xml:"toPrevDentryId,omitempty"`
}

func (MoveDentryRequest) GoString

func (s MoveDentryRequest) GoString() string

func (*MoveDentryRequest) SetOperatorId

func (s *MoveDentryRequest) SetOperatorId(v string) *MoveDentryRequest

func (*MoveDentryRequest) SetTargetSpaceId

func (s *MoveDentryRequest) SetTargetSpaceId(v string) *MoveDentryRequest

func (*MoveDentryRequest) SetToNextDentryId

func (s *MoveDentryRequest) SetToNextDentryId(v string) *MoveDentryRequest

func (*MoveDentryRequest) SetToParentDentryId

func (s *MoveDentryRequest) SetToParentDentryId(v string) *MoveDentryRequest

func (*MoveDentryRequest) SetToPrevDentryId

func (s *MoveDentryRequest) SetToPrevDentryId(v string) *MoveDentryRequest

func (MoveDentryRequest) String

func (s MoveDentryRequest) String() string

type MoveDentryResponse

type MoveDentryResponse struct {
	Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *DentryVO          `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (MoveDentryResponse) GoString

func (s MoveDentryResponse) GoString() string

func (*MoveDentryResponse) SetBody

func (*MoveDentryResponse) SetHeaders

func (s *MoveDentryResponse) SetHeaders(v map[string]*string) *MoveDentryResponse

func (MoveDentryResponse) String

func (s MoveDentryResponse) String() string

type OpenActionModel

type OpenActionModel struct {
	// 操作人名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 操作时间戳。
	Timestamp *int64 `json:"timestamp,omitempty" xml:"timestamp,omitempty"`
}

func (OpenActionModel) GoString

func (s OpenActionModel) GoString() string

func (*OpenActionModel) SetName

func (s *OpenActionModel) SetName(v string) *OpenActionModel

func (*OpenActionModel) SetTimestamp

func (s *OpenActionModel) SetTimestamp(v int64) *OpenActionModel

func (OpenActionModel) String

func (s OpenActionModel) String() string

type QueryDentryHeaders

type QueryDentryHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (QueryDentryHeaders) GoString

func (s QueryDentryHeaders) GoString() string

func (*QueryDentryHeaders) SetCommonHeaders

func (s *QueryDentryHeaders) SetCommonHeaders(v map[string]*string) *QueryDentryHeaders

func (*QueryDentryHeaders) SetXAcsDingtalkAccessToken

func (s *QueryDentryHeaders) SetXAcsDingtalkAccessToken(v string) *QueryDentryHeaders

func (QueryDentryHeaders) String

func (s QueryDentryHeaders) String() string

type QueryDentryRequest

type QueryDentryRequest struct {
	// 是否查询知识库信息。
	IncludeSpace *bool `json:"includeSpace,omitempty" xml:"includeSpace,omitempty"`
	// 操作用户unionId。
	OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"`
}

func (QueryDentryRequest) GoString

func (s QueryDentryRequest) GoString() string

func (*QueryDentryRequest) SetIncludeSpace

func (s *QueryDentryRequest) SetIncludeSpace(v bool) *QueryDentryRequest

func (*QueryDentryRequest) SetOperatorId

func (s *QueryDentryRequest) SetOperatorId(v string) *QueryDentryRequest

func (QueryDentryRequest) String

func (s QueryDentryRequest) String() string

type QueryDentryResponse

type QueryDentryResponse struct {
	Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *DentryVO          `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (QueryDentryResponse) GoString

func (s QueryDentryResponse) GoString() string

func (*QueryDentryResponse) SetBody

func (*QueryDentryResponse) SetHeaders

func (s *QueryDentryResponse) SetHeaders(v map[string]*string) *QueryDentryResponse

func (QueryDentryResponse) String

func (s QueryDentryResponse) String() string

type QueryMineSpaceHeaders

type QueryMineSpaceHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (QueryMineSpaceHeaders) GoString

func (s QueryMineSpaceHeaders) GoString() string

func (*QueryMineSpaceHeaders) SetCommonHeaders

func (s *QueryMineSpaceHeaders) SetCommonHeaders(v map[string]*string) *QueryMineSpaceHeaders

func (*QueryMineSpaceHeaders) SetXAcsDingtalkAccessToken

func (s *QueryMineSpaceHeaders) SetXAcsDingtalkAccessToken(v string) *QueryMineSpaceHeaders

func (QueryMineSpaceHeaders) String

func (s QueryMineSpaceHeaders) String() string

type QueryMineSpaceResponse

type QueryMineSpaceResponse struct {
	Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *SpaceVO           `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (QueryMineSpaceResponse) GoString

func (s QueryMineSpaceResponse) GoString() string

func (*QueryMineSpaceResponse) SetBody

func (*QueryMineSpaceResponse) SetHeaders

func (QueryMineSpaceResponse) String

func (s QueryMineSpaceResponse) String() string

type QueryRecentListHeaders

type QueryRecentListHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (QueryRecentListHeaders) GoString

func (s QueryRecentListHeaders) GoString() string

func (*QueryRecentListHeaders) SetCommonHeaders

func (s *QueryRecentListHeaders) SetCommonHeaders(v map[string]*string) *QueryRecentListHeaders

func (*QueryRecentListHeaders) SetXAcsDingtalkAccessToken

func (s *QueryRecentListHeaders) SetXAcsDingtalkAccessToken(v string) *QueryRecentListHeaders

func (QueryRecentListHeaders) String

func (s QueryRecentListHeaders) String() string

type QueryRecentListRequest

type QueryRecentListRequest struct {
	// 创建人类型。0-全部;1-我创建的;2-他人创建;不填也是查全部。
	CreatorType *int32 `json:"creatorType,omitempty" xml:"creatorType,omitempty"`
	// 访问文档类型:0-文字;1-表格;2-PPT;3-白板;6-脑图;7-多维表;不填的话,则默认是所有。
	FileType *int32 `json:"fileType,omitempty" xml:"fileType,omitempty"`
	// 每页最大条目数,最大值50。
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	// 分页游标,第一页可不传。
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// 操作用户unionId。
	OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"`
	// 最近列表的类型:0-最近访问;1-最近编辑。
	RecentType *int32 `json:"recentType,omitempty" xml:"recentType,omitempty"`
}

func (QueryRecentListRequest) GoString

func (s QueryRecentListRequest) GoString() string

func (*QueryRecentListRequest) SetCreatorType

func (s *QueryRecentListRequest) SetCreatorType(v int32) *QueryRecentListRequest

func (*QueryRecentListRequest) SetFileType

func (*QueryRecentListRequest) SetMaxResults

func (*QueryRecentListRequest) SetNextToken

func (*QueryRecentListRequest) SetOperatorId

func (*QueryRecentListRequest) SetRecentType

func (QueryRecentListRequest) String

func (s QueryRecentListRequest) String() string

type QueryRecentListResponse

type QueryRecentListResponse struct {
	Headers map[string]*string           `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *QueryRecentListResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (QueryRecentListResponse) GoString

func (s QueryRecentListResponse) GoString() string

func (*QueryRecentListResponse) SetBody

func (*QueryRecentListResponse) SetHeaders

func (QueryRecentListResponse) String

func (s QueryRecentListResponse) String() string

type QueryRecentListResponseBody

type QueryRecentListResponseBody struct {
	// 是否还有更多数据。
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// 分页游标。
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// 子节点列表。
	RecentList []*QueryRecentListResponseBodyRecentList `json:"recentList,omitempty" xml:"recentList,omitempty" type:"Repeated"`
}

func (QueryRecentListResponseBody) GoString

func (s QueryRecentListResponseBody) GoString() string

func (*QueryRecentListResponseBody) SetHasMore

func (*QueryRecentListResponseBody) SetNextToken

func (*QueryRecentListResponseBody) SetRecentList

func (QueryRecentListResponseBody) String

type QueryRecentListResponseBodyRecentList

type QueryRecentListResponseBodyRecentList struct {
	// 是否被删除。
	Deleted *bool `json:"deleted,omitempty" xml:"deleted,omitempty"`
	// 节点信息。
	Dentry *DentryModel `json:"dentry,omitempty" xml:"dentry,omitempty"`
	// 如果查询的是访问,那么这里是访问时间;否则就是编辑时间。
	RecentTime *int64 `json:"recentTime,omitempty" xml:"recentTime,omitempty"`
}

func (QueryRecentListResponseBodyRecentList) GoString

func (*QueryRecentListResponseBodyRecentList) SetDeleted

func (*QueryRecentListResponseBodyRecentList) SetDentry

func (*QueryRecentListResponseBodyRecentList) SetRecentTime

func (QueryRecentListResponseBodyRecentList) String

type QuerySpaceHeaders

type QuerySpaceHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (QuerySpaceHeaders) GoString

func (s QuerySpaceHeaders) GoString() string

func (*QuerySpaceHeaders) SetCommonHeaders

func (s *QuerySpaceHeaders) SetCommonHeaders(v map[string]*string) *QuerySpaceHeaders

func (*QuerySpaceHeaders) SetXAcsDingtalkAccessToken

func (s *QuerySpaceHeaders) SetXAcsDingtalkAccessToken(v string) *QuerySpaceHeaders

func (QuerySpaceHeaders) String

func (s QuerySpaceHeaders) String() string

type QuerySpaceRequest

type QuerySpaceRequest struct {
	// 操作用户unionId。
	OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"`
}

func (QuerySpaceRequest) GoString

func (s QuerySpaceRequest) GoString() string

func (*QuerySpaceRequest) SetOperatorId

func (s *QuerySpaceRequest) SetOperatorId(v string) *QuerySpaceRequest

func (QuerySpaceRequest) String

func (s QuerySpaceRequest) String() string

type QuerySpaceResponse

type QuerySpaceResponse struct {
	Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *SpaceVO           `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (QuerySpaceResponse) GoString

func (s QuerySpaceResponse) GoString() string

func (*QuerySpaceResponse) SetBody

func (*QuerySpaceResponse) SetHeaders

func (s *QuerySpaceResponse) SetHeaders(v map[string]*string) *QuerySpaceResponse

func (QuerySpaceResponse) String

func (s QuerySpaceResponse) String() string

type RenameDentryHeaders

type RenameDentryHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (RenameDentryHeaders) GoString

func (s RenameDentryHeaders) GoString() string

func (*RenameDentryHeaders) SetCommonHeaders

func (s *RenameDentryHeaders) SetCommonHeaders(v map[string]*string) *RenameDentryHeaders

func (*RenameDentryHeaders) SetXAcsDingtalkAccessToken

func (s *RenameDentryHeaders) SetXAcsDingtalkAccessToken(v string) *RenameDentryHeaders

func (RenameDentryHeaders) String

func (s RenameDentryHeaders) String() string

type RenameDentryRequest

type RenameDentryRequest struct {
	// 重命名之后的节点名称,长度不能超过50。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 操作人unionId。
	OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"`
}

func (RenameDentryRequest) GoString

func (s RenameDentryRequest) GoString() string

func (*RenameDentryRequest) SetName

func (*RenameDentryRequest) SetOperatorId

func (s *RenameDentryRequest) SetOperatorId(v string) *RenameDentryRequest

func (RenameDentryRequest) String

func (s RenameDentryRequest) String() string

type RenameDentryResponse

type RenameDentryResponse struct {
	Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *DentryVO          `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (RenameDentryResponse) GoString

func (s RenameDentryResponse) GoString() string

func (*RenameDentryResponse) SetBody

func (*RenameDentryResponse) SetHeaders

func (s *RenameDentryResponse) SetHeaders(v map[string]*string) *RenameDentryResponse

func (RenameDentryResponse) String

func (s RenameDentryResponse) String() string

type SearchHeaders

type SearchHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (SearchHeaders) GoString

func (s SearchHeaders) GoString() string

func (*SearchHeaders) SetCommonHeaders

func (s *SearchHeaders) SetCommonHeaders(v map[string]*string) *SearchHeaders

func (*SearchHeaders) SetXAcsDingtalkAccessToken

func (s *SearchHeaders) SetXAcsDingtalkAccessToken(v string) *SearchHeaders

func (SearchHeaders) String

func (s SearchHeaders) String() string

type SearchRequest

type SearchRequest struct {
	// 节点搜索请求,和空间搜索请求二选一必填。
	DentryRequest *SearchRequestDentryRequest `json:"dentryRequest,omitempty" xml:"dentryRequest,omitempty" type:"Struct"`
	//  搜索关键词。
	Keyword *string `json:"keyword,omitempty" xml:"keyword,omitempty"`
	// 操作人unionId。
	OperatorId *string `json:"operatorId,omitempty" xml:"operatorId,omitempty"`
	// 空间搜索请求,和节点搜索请求二选一必填。
	SpaceRequest *SearchRequestSpaceRequest `json:"spaceRequest,omitempty" xml:"spaceRequest,omitempty" type:"Struct"`
}

func (SearchRequest) GoString

func (s SearchRequest) GoString() string

func (*SearchRequest) SetDentryRequest

func (s *SearchRequest) SetDentryRequest(v *SearchRequestDentryRequest) *SearchRequest

func (*SearchRequest) SetKeyword

func (s *SearchRequest) SetKeyword(v string) *SearchRequest

func (*SearchRequest) SetOperatorId

func (s *SearchRequest) SetOperatorId(v string) *SearchRequest

func (*SearchRequest) SetSpaceRequest

func (s *SearchRequest) SetSpaceRequest(v *SearchRequestSpaceRequest) *SearchRequest

func (SearchRequest) String

func (s SearchRequest) String() string

type SearchRequestDentryRequest

type SearchRequestDentryRequest struct {
	// 每页最大条目数,最大值50。
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	// 分页游标。如果是首次调用,可不传;如果非首次调用,该参数传上次调用时返回的nextToken。
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
	// 搜索指定的文件类型。支持的类型有:1-文档;2-表格;3-脑图;4-演示;5-白板。
	SearchFileType *int32 `json:"searchFileType,omitempty" xml:"searchFileType,omitempty"`
	// 知识库id,在指定的知识库中搜索。
	SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
}

func (SearchRequestDentryRequest) GoString

func (s SearchRequestDentryRequest) GoString() string

func (*SearchRequestDentryRequest) SetMaxResults

func (*SearchRequestDentryRequest) SetNextToken

func (*SearchRequestDentryRequest) SetSearchFileType

func (*SearchRequestDentryRequest) SetSpaceId

func (SearchRequestDentryRequest) String

type SearchRequestSpaceRequest

type SearchRequestSpaceRequest struct {
	// 每页最大条目数,最大值50。
	MaxResults *int32 `json:"maxResults,omitempty" xml:"maxResults,omitempty"`
	// 分页游标。如果是首次调用,可不传;如果非首次调用,该参数传上次调用时返回的nextToken。
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (SearchRequestSpaceRequest) GoString

func (s SearchRequestSpaceRequest) GoString() string

func (*SearchRequestSpaceRequest) SetMaxResults

func (*SearchRequestSpaceRequest) SetNextToken

func (SearchRequestSpaceRequest) String

func (s SearchRequestSpaceRequest) String() string

type SearchResponse

type SearchResponse struct {
	Headers map[string]*string  `json:"headers,omitempty" xml:"headers,omitempty" require:"true"`
	Body    *SearchResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"`
}

func (SearchResponse) GoString

func (s SearchResponse) GoString() string

func (*SearchResponse) SetBody

func (*SearchResponse) SetHeaders

func (s *SearchResponse) SetHeaders(v map[string]*string) *SearchResponse

func (SearchResponse) String

func (s SearchResponse) String() string

type SearchResponseBody

type SearchResponseBody struct {
	// 节点搜索结果。
	DentryResult *SearchResponseBodyDentryResult `json:"dentryResult,omitempty" xml:"dentryResult,omitempty" type:"Struct"`
	// 知识库搜索结果。
	SpaceResult *SearchResponseBodySpaceResult `json:"spaceResult,omitempty" xml:"spaceResult,omitempty" type:"Struct"`
}

func (SearchResponseBody) GoString

func (s SearchResponseBody) GoString() string

func (*SearchResponseBody) SetDentryResult

func (*SearchResponseBody) SetSpaceResult

func (SearchResponseBody) String

func (s SearchResponseBody) String() string

type SearchResponseBodyDentryResult

type SearchResponseBodyDentryResult struct {
	// 是否还有更多数据。
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// 搜索命中的节点列表。
	Items []*SearchResponseBodyDentryResultItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// 分页游标。
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (SearchResponseBodyDentryResult) GoString

func (*SearchResponseBodyDentryResult) SetHasMore

func (*SearchResponseBodyDentryResult) SetItems

func (*SearchResponseBodyDentryResult) SetNextToken

func (SearchResponseBodyDentryResult) String

type SearchResponseBodyDentryResultItems

type SearchResponseBodyDentryResultItems struct {
	// 如果内容命中了关键词,会返回该部分内容,带高亮。
	Content *string `json:"content,omitempty" xml:"content,omitempty"`
	// 创建信息。
	Creation *OpenActionModel `json:"creation,omitempty" xml:"creation,omitempty"`
	// 节点id。
	DentryId *string `json:"dentryId,omitempty" xml:"dentryId,omitempty"`
	// 节点唯一标识。
	DentryUuid *string `json:"dentryUuid,omitempty" xml:"dentryUuid,omitempty"`
	// 文件名扩展。
	Extension *string `json:"extension,omitempty" xml:"extension,omitempty"`
	// 节点图标url。
	IconUrl *string `json:"iconUrl,omitempty" xml:"iconUrl,omitempty"`
	// 最后修改信息。
	LastEdition *OpenActionModel `json:"lastEdition,omitempty" xml:"lastEdition,omitempty"`
	// 节点名称,如果命中了关键词,会带有高亮。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 节点原始名称,不带高亮。
	OriginName *string `json:"originName,omitempty" xml:"originName,omitempty"`
	// 节点的路径。
	Path *string `json:"path,omitempty" xml:"path,omitempty"`
	// 文件类型。1-文档;2-表格;3-脑图;4-演示;5-白板;6-office文字;7-office表格;8-office ppt;10-多维表格;11-文本;12-图片;13-视频;14-音频;15-压缩文件;16-其他。
	SearchFileType *int32 `json:"searchFileType,omitempty" xml:"searchFileType,omitempty"`
	// 节点所属的知识库id。
	SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
	// 节点访问url。
	Url *string `json:"url,omitempty" xml:"url,omitempty"`
}

func (SearchResponseBodyDentryResultItems) GoString

func (*SearchResponseBodyDentryResultItems) SetContent

func (*SearchResponseBodyDentryResultItems) SetCreation

func (*SearchResponseBodyDentryResultItems) SetDentryId

func (*SearchResponseBodyDentryResultItems) SetDentryUuid

func (*SearchResponseBodyDentryResultItems) SetExtension

func (*SearchResponseBodyDentryResultItems) SetIconUrl

func (*SearchResponseBodyDentryResultItems) SetLastEdition

func (*SearchResponseBodyDentryResultItems) SetName

func (*SearchResponseBodyDentryResultItems) SetOriginName

func (*SearchResponseBodyDentryResultItems) SetPath

func (*SearchResponseBodyDentryResultItems) SetSearchFileType

func (*SearchResponseBodyDentryResultItems) SetSpaceId

func (*SearchResponseBodyDentryResultItems) SetUrl

func (SearchResponseBodyDentryResultItems) String

type SearchResponseBodySpaceResult

type SearchResponseBodySpaceResult struct {
	// 是否还有更多数据。
	HasMore *bool `json:"hasMore,omitempty" xml:"hasMore,omitempty"`
	// 搜索命中的知识库列表。
	Items []*SearchResponseBodySpaceResultItems `json:"items,omitempty" xml:"items,omitempty" type:"Repeated"`
	// 分页游标。
	NextToken *string `json:"nextToken,omitempty" xml:"nextToken,omitempty"`
}

func (SearchResponseBodySpaceResult) GoString

func (*SearchResponseBodySpaceResult) SetHasMore

func (*SearchResponseBodySpaceResult) SetItems

func (*SearchResponseBodySpaceResult) SetNextToken

func (SearchResponseBodySpaceResult) String

type SearchResponseBodySpaceResultItems

type SearchResponseBodySpaceResultItems struct {
	// 知识库名称,如果命中了关键词,会带有高亮。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 知识库原始名称,不带高亮。
	OriginName *string `json:"originName,omitempty" xml:"originName,omitempty"`
	// 知识库id。
	SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
	// 知识库访问url。
	Url *string `json:"url,omitempty" xml:"url,omitempty"`
}

func (SearchResponseBodySpaceResultItems) GoString

func (*SearchResponseBodySpaceResultItems) SetName

func (*SearchResponseBodySpaceResultItems) SetOriginName

func (*SearchResponseBodySpaceResultItems) SetSpaceId

func (*SearchResponseBodySpaceResultItems) SetUrl

func (SearchResponseBodySpaceResultItems) String

type SpaceModel

type SpaceModel struct {
	// 知识库id。
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// 知识库名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 知识库所有者。
	Owner *SpaceModelOwner `json:"owner,omitempty" xml:"owner,omitempty" type:"Struct"`
	// 知识库访问url。
	Url *string `json:"url,omitempty" xml:"url,omitempty"`
	// 访问者对当前知识库的权限等信息。
	VisitorInfo *SpaceModelVisitorInfo `json:"visitorInfo,omitempty" xml:"visitorInfo,omitempty" type:"Struct"`
}

func (SpaceModel) GoString

func (s SpaceModel) GoString() string

func (*SpaceModel) SetId

func (s *SpaceModel) SetId(v string) *SpaceModel

func (*SpaceModel) SetName

func (s *SpaceModel) SetName(v string) *SpaceModel

func (*SpaceModel) SetOwner

func (s *SpaceModel) SetOwner(v *SpaceModelOwner) *SpaceModel

func (*SpaceModel) SetUrl

func (s *SpaceModel) SetUrl(v string) *SpaceModel

func (*SpaceModel) SetVisitorInfo

func (s *SpaceModel) SetVisitorInfo(v *SpaceModelVisitorInfo) *SpaceModel

func (SpaceModel) String

func (s SpaceModel) String() string

type SpaceModelOwner

type SpaceModelOwner struct {
	// 用户名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 用户unionId。
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (SpaceModelOwner) GoString

func (s SpaceModelOwner) GoString() string

func (*SpaceModelOwner) SetName

func (s *SpaceModelOwner) SetName(v string) *SpaceModelOwner

func (*SpaceModelOwner) SetUnionId

func (s *SpaceModelOwner) SetUnionId(v string) *SpaceModelOwner

func (SpaceModelOwner) String

func (s SpaceModelOwner) String() string

type SpaceModelVisitorInfo

type SpaceModelVisitorInfo struct {
	// 节点的操作列表。
	DentryActions []*string `json:"dentryActions,omitempty" xml:"dentryActions,omitempty" type:"Repeated"`
	// 空间的操作列表。
	SpaceActions []*string `json:"spaceActions,omitempty" xml:"spaceActions,omitempty" type:"Repeated"`
}

func (SpaceModelVisitorInfo) GoString

func (s SpaceModelVisitorInfo) GoString() string

func (*SpaceModelVisitorInfo) SetDentryActions

func (s *SpaceModelVisitorInfo) SetDentryActions(v []*string) *SpaceModelVisitorInfo

func (*SpaceModelVisitorInfo) SetSpaceActions

func (s *SpaceModelVisitorInfo) SetSpaceActions(v []*string) *SpaceModelVisitorInfo

func (SpaceModelVisitorInfo) String

func (s SpaceModelVisitorInfo) String() string

type SpaceVO

type SpaceVO struct {
	// 知识库id。
	Id *string `json:"id,omitempty" xml:"id,omitempty"`
	// 知识库名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 知识库所有者。
	Owner *SpaceVOOwner `json:"owner,omitempty" xml:"owner,omitempty" type:"Struct"`
	// 知识库访问url。
	Url *string `json:"url,omitempty" xml:"url,omitempty"`
	// 访问者对当前知识库的权限等信息。
	VisitorInfo *SpaceVOVisitorInfo `json:"visitorInfo,omitempty" xml:"visitorInfo,omitempty" type:"Struct"`
}

func (SpaceVO) GoString

func (s SpaceVO) GoString() string

func (*SpaceVO) SetId

func (s *SpaceVO) SetId(v string) *SpaceVO

func (*SpaceVO) SetName

func (s *SpaceVO) SetName(v string) *SpaceVO

func (*SpaceVO) SetOwner

func (s *SpaceVO) SetOwner(v *SpaceVOOwner) *SpaceVO

func (*SpaceVO) SetUrl

func (s *SpaceVO) SetUrl(v string) *SpaceVO

func (*SpaceVO) SetVisitorInfo

func (s *SpaceVO) SetVisitorInfo(v *SpaceVOVisitorInfo) *SpaceVO

func (SpaceVO) String

func (s SpaceVO) String() string

type SpaceVOOwner

type SpaceVOOwner struct {
	// 用户名称。
	Name *string `json:"name,omitempty" xml:"name,omitempty"`
	// 用户unionId。
	UnionId *string `json:"unionId,omitempty" xml:"unionId,omitempty"`
}

func (SpaceVOOwner) GoString

func (s SpaceVOOwner) GoString() string

func (*SpaceVOOwner) SetName

func (s *SpaceVOOwner) SetName(v string) *SpaceVOOwner

func (*SpaceVOOwner) SetUnionId

func (s *SpaceVOOwner) SetUnionId(v string) *SpaceVOOwner

func (SpaceVOOwner) String

func (s SpaceVOOwner) String() string

type SpaceVOVisitorInfo

type SpaceVOVisitorInfo struct {
	// 节点的操作列表。
	DentryActions []*string `json:"dentryActions,omitempty" xml:"dentryActions,omitempty" type:"Repeated"`
	// 空间的操作列表。
	SpaceActions []*string `json:"spaceActions,omitempty" xml:"spaceActions,omitempty" type:"Repeated"`
}

func (SpaceVOVisitorInfo) GoString

func (s SpaceVOVisitorInfo) GoString() string

func (*SpaceVOVisitorInfo) SetDentryActions

func (s *SpaceVOVisitorInfo) SetDentryActions(v []*string) *SpaceVOVisitorInfo

func (*SpaceVOVisitorInfo) SetSpaceActions

func (s *SpaceVOVisitorInfo) SetSpaceActions(v []*string) *SpaceVOVisitorInfo

func (SpaceVOVisitorInfo) String

func (s SpaceVOVisitorInfo) String() string

Jump to

Keyboard shortcuts

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