doc_2_0

package
v1.3.66 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 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) 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) 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)

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    *DentryOpenVOResult `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 DentryOpenVO added in v1.3.54

type DentryOpenVO struct {
	// 内容类型。alidoc-钉钉文档;link-快捷方式;archive-压缩包。
	ContentType *string `json:"contentType,omitempty" xml:"contentType,omitempty"`
	// 创建时间。
	CreatedTime *int64 `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// 创建者。
	Creator *DentryOpenVOCreator `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"`
	// 文件后缀名。
	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"`
	// 知识库信息。
	Space *SpaceOpenVO `json:"space,omitempty" xml:"space,omitempty"`
	// 知识库id。
	SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
	// 更新时间。
	UpdatedTime *int64 `json:"updatedTime,omitempty" xml:"updatedTime,omitempty"`
	// 更新人。
	Updater *DentryOpenVOUpdater `json:"updater,omitempty" xml:"updater,omitempty" type:"Struct"`
	// 访问者对当前节点的权限等信息。
	VisitorInfo *DentryOpenVOVisitorInfo `json:"visitorInfo,omitempty" xml:"visitorInfo,omitempty" type:"Struct"`
}

func (DentryOpenVO) GoString added in v1.3.54

func (s DentryOpenVO) GoString() string

func (*DentryOpenVO) SetContentType added in v1.3.54

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

func (*DentryOpenVO) SetCreatedTime added in v1.3.54

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

func (*DentryOpenVO) SetCreator added in v1.3.54

func (s *DentryOpenVO) SetCreator(v *DentryOpenVOCreator) *DentryOpenVO

func (*DentryOpenVO) SetDentryId added in v1.3.54

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

func (*DentryOpenVO) SetDentryType added in v1.3.54

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

func (*DentryOpenVO) SetDentryUuid added in v1.3.54

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

func (*DentryOpenVO) SetExtension added in v1.3.54

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

func (*DentryOpenVO) SetHasChildren added in v1.3.54

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

func (*DentryOpenVO) SetLinkSourceInfo added in v1.3.54

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

func (*DentryOpenVO) SetName added in v1.3.54

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

func (*DentryOpenVO) SetSpace added in v1.3.54

func (s *DentryOpenVO) SetSpace(v *SpaceOpenVO) *DentryOpenVO

func (*DentryOpenVO) SetSpaceId added in v1.3.54

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

func (*DentryOpenVO) SetUpdatedTime added in v1.3.54

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

func (*DentryOpenVO) SetUpdater added in v1.3.54

func (s *DentryOpenVO) SetUpdater(v *DentryOpenVOUpdater) *DentryOpenVO

func (*DentryOpenVO) SetVisitorInfo added in v1.3.54

func (s *DentryOpenVO) SetVisitorInfo(v *DentryOpenVOVisitorInfo) *DentryOpenVO

func (DentryOpenVO) String added in v1.3.54

func (s DentryOpenVO) String() string

type DentryOpenVOCreator added in v1.3.54

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

func (DentryOpenVOCreator) GoString added in v1.3.54

func (s DentryOpenVOCreator) GoString() string

func (*DentryOpenVOCreator) SetName added in v1.3.54

func (*DentryOpenVOCreator) SetUnionId added in v1.3.54

func (DentryOpenVOCreator) String added in v1.3.54

func (s DentryOpenVOCreator) String() string

type DentryOpenVOResult added in v1.3.54

type DentryOpenVOResult struct {
	// 内容类型。alidoc-钉钉文档;link-快捷方式;archive-压缩包。
	ContentType *string `json:"contentType,omitempty" xml:"contentType,omitempty"`
	// 创建时间。
	CreatedTime *int64 `json:"createdTime,omitempty" xml:"createdTime,omitempty"`
	// 创建者。
	Creator *DentryOpenVOResultCreator `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"`
	// 文件后缀名。
	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"`
	// 知识库信息。
	Space *SpaceOpenVO `json:"space,omitempty" xml:"space,omitempty"`
	// 知识库id。
	SpaceId *string `json:"spaceId,omitempty" xml:"spaceId,omitempty"`
	// 更新时间。
	UpdatedTime *int64 `json:"updatedTime,omitempty" xml:"updatedTime,omitempty"`
	// 更新人。
	Updater *DentryOpenVOResultUpdater `json:"updater,omitempty" xml:"updater,omitempty" type:"Struct"`
	// 访问者对当前节点的权限等信息。
	VisitorInfo *DentryOpenVOResultVisitorInfo `json:"visitorInfo,omitempty" xml:"visitorInfo,omitempty" type:"Struct"`
}

func (DentryOpenVOResult) GoString added in v1.3.54

func (s DentryOpenVOResult) GoString() string

func (*DentryOpenVOResult) SetContentType added in v1.3.54

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

func (*DentryOpenVOResult) SetCreatedTime added in v1.3.54

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

func (*DentryOpenVOResult) SetCreator added in v1.3.54

func (*DentryOpenVOResult) SetDentryId added in v1.3.54

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

func (*DentryOpenVOResult) SetDentryType added in v1.3.54

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

func (*DentryOpenVOResult) SetDentryUuid added in v1.3.54

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

func (*DentryOpenVOResult) SetExtension added in v1.3.54

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

func (*DentryOpenVOResult) SetHasChildren added in v1.3.54

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

func (*DentryOpenVOResult) SetLinkSourceInfo added in v1.3.54

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

func (*DentryOpenVOResult) SetName added in v1.3.54

func (*DentryOpenVOResult) SetSpace added in v1.3.54

func (*DentryOpenVOResult) SetSpaceId added in v1.3.54

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

func (*DentryOpenVOResult) SetUpdatedTime added in v1.3.54

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

func (*DentryOpenVOResult) SetUpdater added in v1.3.54

func (*DentryOpenVOResult) SetVisitorInfo added in v1.3.54

func (DentryOpenVOResult) String added in v1.3.54

func (s DentryOpenVOResult) String() string

type DentryOpenVOResultCreator added in v1.3.54

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

func (DentryOpenVOResultCreator) GoString added in v1.3.54

func (s DentryOpenVOResultCreator) GoString() string

func (*DentryOpenVOResultCreator) SetName added in v1.3.54

func (*DentryOpenVOResultCreator) SetUnionId added in v1.3.54

func (DentryOpenVOResultCreator) String added in v1.3.54

func (s DentryOpenVOResultCreator) String() string

type DentryOpenVOResultUpdater added in v1.3.54

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

func (DentryOpenVOResultUpdater) GoString added in v1.3.54

func (s DentryOpenVOResultUpdater) GoString() string

func (*DentryOpenVOResultUpdater) SetName added in v1.3.54

func (*DentryOpenVOResultUpdater) SetUnionId added in v1.3.54

func (DentryOpenVOResultUpdater) String added in v1.3.54

func (s DentryOpenVOResultUpdater) String() string

type DentryOpenVOResultVisitorInfo added in v1.3.54

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

func (DentryOpenVOResultVisitorInfo) GoString added in v1.3.54

func (*DentryOpenVOResultVisitorInfo) SetDentryActions added in v1.3.54

func (*DentryOpenVOResultVisitorInfo) SetSpaceActions added in v1.3.54

func (DentryOpenVOResultVisitorInfo) String added in v1.3.54

type DentryOpenVOUpdater added in v1.3.54

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

func (DentryOpenVOUpdater) GoString added in v1.3.54

func (s DentryOpenVOUpdater) GoString() string

func (*DentryOpenVOUpdater) SetName added in v1.3.54

func (*DentryOpenVOUpdater) SetUnionId added in v1.3.54

func (DentryOpenVOUpdater) String added in v1.3.54

func (s DentryOpenVOUpdater) String() string

type DentryOpenVOVisitorInfo added in v1.3.54

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

func (DentryOpenVOVisitorInfo) GoString added in v1.3.54

func (s DentryOpenVOVisitorInfo) GoString() string

func (*DentryOpenVOVisitorInfo) SetDentryActions added in v1.3.54

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

func (*DentryOpenVOVisitorInfo) SetSpaceActions added in v1.3.54

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

func (DentryOpenVOVisitorInfo) String added in v1.3.54

func (s DentryOpenVOVisitorInfo) 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 []*DentryOpenVO `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    *DentryOpenVOResult `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 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    *DentryOpenVOResult `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 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    *SpaceOpenVOResult `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 SpaceOpenVO added in v1.3.54

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

func (SpaceOpenVO) GoString added in v1.3.54

func (s SpaceOpenVO) GoString() string

func (*SpaceOpenVO) SetId added in v1.3.54

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

func (*SpaceOpenVO) SetName added in v1.3.54

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

func (*SpaceOpenVO) SetOwner added in v1.3.54

func (s *SpaceOpenVO) SetOwner(v *SpaceOpenVOOwner) *SpaceOpenVO

func (*SpaceOpenVO) SetVisitorInfo added in v1.3.54

func (s *SpaceOpenVO) SetVisitorInfo(v *SpaceOpenVOVisitorInfo) *SpaceOpenVO

func (SpaceOpenVO) String added in v1.3.54

func (s SpaceOpenVO) String() string

type SpaceOpenVOOwner added in v1.3.54

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

func (SpaceOpenVOOwner) GoString added in v1.3.54

func (s SpaceOpenVOOwner) GoString() string

func (*SpaceOpenVOOwner) SetName added in v1.3.54

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

func (*SpaceOpenVOOwner) SetUnionId added in v1.3.54

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

func (SpaceOpenVOOwner) String added in v1.3.54

func (s SpaceOpenVOOwner) String() string

type SpaceOpenVOResult added in v1.3.54

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

func (SpaceOpenVOResult) GoString added in v1.3.54

func (s SpaceOpenVOResult) GoString() string

func (*SpaceOpenVOResult) SetId added in v1.3.54

func (*SpaceOpenVOResult) SetName added in v1.3.54

func (*SpaceOpenVOResult) SetOwner added in v1.3.54

func (*SpaceOpenVOResult) SetVisitorInfo added in v1.3.54

func (SpaceOpenVOResult) String added in v1.3.54

func (s SpaceOpenVOResult) String() string

type SpaceOpenVOResultOwner added in v1.3.54

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

func (SpaceOpenVOResultOwner) GoString added in v1.3.54

func (s SpaceOpenVOResultOwner) GoString() string

func (*SpaceOpenVOResultOwner) SetName added in v1.3.54

func (*SpaceOpenVOResultOwner) SetUnionId added in v1.3.54

func (SpaceOpenVOResultOwner) String added in v1.3.54

func (s SpaceOpenVOResultOwner) String() string

type SpaceOpenVOResultVisitorInfo added in v1.3.54

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

func (SpaceOpenVOResultVisitorInfo) GoString added in v1.3.54

func (s SpaceOpenVOResultVisitorInfo) GoString() string

func (*SpaceOpenVOResultVisitorInfo) SetDentryActions added in v1.3.54

func (*SpaceOpenVOResultVisitorInfo) SetSpaceActions added in v1.3.54

func (SpaceOpenVOResultVisitorInfo) String added in v1.3.54

type SpaceOpenVOVisitorInfo added in v1.3.54

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

func (SpaceOpenVOVisitorInfo) GoString added in v1.3.54

func (s SpaceOpenVOVisitorInfo) GoString() string

func (*SpaceOpenVOVisitorInfo) SetDentryActions added in v1.3.54

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

func (*SpaceOpenVOVisitorInfo) SetSpaceActions added in v1.3.54

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

func (SpaceOpenVOVisitorInfo) String added in v1.3.54

func (s SpaceOpenVOVisitorInfo) String() string

Jump to

Keyboard shortcuts

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