Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type Client
- func (client *Client) CopyDentry(spaceId *string, dentryId *string, request *CopyDentryRequest) (_result *CopyDentryResponse, _err error)
- func (client *Client) CopyDentryWithOptions(spaceId *string, dentryId *string, request *CopyDentryRequest, ...) (_result *CopyDentryResponse, _err error)
- func (client *Client) CreateDentry(spaceId *string, request *CreateDentryRequest) (_result *CreateDentryResponse, _err error)
- func (client *Client) CreateDentryWithOptions(spaceId *string, request *CreateDentryRequest, headers *CreateDentryHeaders, ...) (_result *CreateDentryResponse, _err error)
- func (client *Client) GetSpaceDirectories(spaceId *string, request *GetSpaceDirectoriesRequest) (_result *GetSpaceDirectoriesResponse, _err error)
- func (client *Client) GetSpaceDirectoriesWithOptions(spaceId *string, request *GetSpaceDirectoriesRequest, ...) (_result *GetSpaceDirectoriesResponse, _err error)
- func (client *Client) GetUserInfoByOpenToken(request *GetUserInfoByOpenTokenRequest) (_result *GetUserInfoByOpenTokenResponse, _err error)
- func (client *Client) GetUserInfoByOpenTokenWithOptions(request *GetUserInfoByOpenTokenRequest, headers *GetUserInfoByOpenTokenHeaders, ...) (_result *GetUserInfoByOpenTokenResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) MoveDentry(spaceId *string, dentryId *string, request *MoveDentryRequest) (_result *MoveDentryResponse, _err error)
- func (client *Client) MoveDentryWithOptions(spaceId *string, dentryId *string, request *MoveDentryRequest, ...) (_result *MoveDentryResponse, _err error)
- func (client *Client) QueryDentry(spaceId *string, dentryId *string, request *QueryDentryRequest) (_result *QueryDentryResponse, _err error)
- func (client *Client) QueryDentryWithOptions(spaceId *string, dentryId *string, request *QueryDentryRequest, ...) (_result *QueryDentryResponse, _err error)
- func (client *Client) QueryMineSpace(unionId *string) (_result *QueryMineSpaceResponse, _err error)
- func (client *Client) QueryMineSpaceWithOptions(unionId *string, headers *QueryMineSpaceHeaders, runtime *util.RuntimeOptions) (_result *QueryMineSpaceResponse, _err error)
- func (client *Client) QueryRecentList(request *QueryRecentListRequest) (_result *QueryRecentListResponse, _err error)
- func (client *Client) QueryRecentListWithOptions(request *QueryRecentListRequest, headers *QueryRecentListHeaders, ...) (_result *QueryRecentListResponse, _err error)
- func (client *Client) QuerySpace(spaceId *string, request *QuerySpaceRequest) (_result *QuerySpaceResponse, _err error)
- func (client *Client) QuerySpaceWithOptions(spaceId *string, request *QuerySpaceRequest, headers *QuerySpaceHeaders, ...) (_result *QuerySpaceResponse, _err error)
- func (client *Client) RenameDentry(spaceId *string, dentryId *string, request *RenameDentryRequest) (_result *RenameDentryResponse, _err error)
- func (client *Client) RenameDentryWithOptions(spaceId *string, dentryId *string, request *RenameDentryRequest, ...) (_result *RenameDentryResponse, _err error)
- func (client *Client) Search(request *SearchRequest) (_result *SearchResponse, _err error)
- func (client *Client) SearchWithOptions(request *SearchRequest, headers *SearchHeaders, runtime *util.RuntimeOptions) (_result *SearchResponse, _err error)
- type CopyDentryHeaders
- type CopyDentryRequest
- func (s CopyDentryRequest) GoString() string
- func (s *CopyDentryRequest) SetName(v string) *CopyDentryRequest
- func (s *CopyDentryRequest) SetOperatorId(v string) *CopyDentryRequest
- func (s *CopyDentryRequest) SetTargetSpaceId(v string) *CopyDentryRequest
- func (s *CopyDentryRequest) SetToNextDentryId(v string) *CopyDentryRequest
- func (s *CopyDentryRequest) SetToParentDentryId(v string) *CopyDentryRequest
- func (s *CopyDentryRequest) SetToPrevDentryId(v string) *CopyDentryRequest
- func (s CopyDentryRequest) String() string
- type CopyDentryResponse
- type CreateDentryHeaders
- type CreateDentryRequest
- func (s CreateDentryRequest) GoString() string
- func (s *CreateDentryRequest) SetDentryType(v string) *CreateDentryRequest
- func (s *CreateDentryRequest) SetDocumentType(v int64) *CreateDentryRequest
- func (s *CreateDentryRequest) SetName(v string) *CreateDentryRequest
- func (s *CreateDentryRequest) SetOperatorId(v string) *CreateDentryRequest
- func (s *CreateDentryRequest) SetParentDentryId(v string) *CreateDentryRequest
- func (s CreateDentryRequest) String() string
- type CreateDentryResponse
- type DentryModel
- func (s DentryModel) GoString() string
- func (s *DentryModel) SetContentType(v string) *DentryModel
- func (s *DentryModel) SetCreatedTime(v int64) *DentryModel
- func (s *DentryModel) SetCreator(v *DentryModelCreator) *DentryModel
- func (s *DentryModel) SetDentryId(v string) *DentryModel
- func (s *DentryModel) SetDentryType(v string) *DentryModel
- func (s *DentryModel) SetDentryUuid(v string) *DentryModel
- func (s *DentryModel) SetDocKey(v string) *DentryModel
- func (s *DentryModel) SetExtension(v string) *DentryModel
- func (s *DentryModel) SetHasChildren(v bool) *DentryModel
- func (s *DentryModel) SetLinkSourceInfo(v *LinkSourceInfo) *DentryModel
- func (s *DentryModel) SetName(v string) *DentryModel
- func (s *DentryModel) SetPath(v string) *DentryModel
- func (s *DentryModel) SetSpace(v *SpaceModel) *DentryModel
- func (s *DentryModel) SetSpaceId(v string) *DentryModel
- func (s *DentryModel) SetUpdatedTime(v int64) *DentryModel
- func (s *DentryModel) SetUpdater(v *DentryModelUpdater) *DentryModel
- func (s *DentryModel) SetUrl(v string) *DentryModel
- func (s *DentryModel) SetVisitorInfo(v *DentryModelVisitorInfo) *DentryModel
- func (s DentryModel) String() string
- type DentryModelCreator
- type DentryModelUpdater
- type DentryModelVisitorInfo
- type DentryVO
- func (s DentryVO) GoString() string
- func (s *DentryVO) SetContentType(v string) *DentryVO
- func (s *DentryVO) SetCreatedTime(v int64) *DentryVO
- func (s *DentryVO) SetCreator(v *DentryVOCreator) *DentryVO
- func (s *DentryVO) SetDentryId(v string) *DentryVO
- func (s *DentryVO) SetDentryType(v string) *DentryVO
- func (s *DentryVO) SetDentryUuid(v string) *DentryVO
- func (s *DentryVO) SetDocKey(v string) *DentryVO
- func (s *DentryVO) SetExtension(v string) *DentryVO
- func (s *DentryVO) SetHasChildren(v bool) *DentryVO
- func (s *DentryVO) SetLinkSourceInfo(v *LinkSourceInfo) *DentryVO
- func (s *DentryVO) SetName(v string) *DentryVO
- func (s *DentryVO) SetPath(v string) *DentryVO
- func (s *DentryVO) SetSpace(v *SpaceModel) *DentryVO
- func (s *DentryVO) SetSpaceId(v string) *DentryVO
- func (s *DentryVO) SetUpdatedTime(v int64) *DentryVO
- func (s *DentryVO) SetUpdater(v *DentryVOUpdater) *DentryVO
- func (s *DentryVO) SetUrl(v string) *DentryVO
- func (s *DentryVO) SetVisitorInfo(v *DentryVOVisitorInfo) *DentryVO
- func (s DentryVO) String() string
- type DentryVOCreator
- type DentryVOUpdater
- type DentryVOVisitorInfo
- type GetSpaceDirectoriesHeaders
- func (s GetSpaceDirectoriesHeaders) GoString() string
- func (s *GetSpaceDirectoriesHeaders) SetCommonHeaders(v map[string]*string) *GetSpaceDirectoriesHeaders
- func (s *GetSpaceDirectoriesHeaders) SetXAcsDingtalkAccessToken(v string) *GetSpaceDirectoriesHeaders
- func (s GetSpaceDirectoriesHeaders) String() string
- type GetSpaceDirectoriesRequest
- func (s GetSpaceDirectoriesRequest) GoString() string
- func (s *GetSpaceDirectoriesRequest) SetDentryId(v string) *GetSpaceDirectoriesRequest
- func (s *GetSpaceDirectoriesRequest) SetMaxResults(v int32) *GetSpaceDirectoriesRequest
- func (s *GetSpaceDirectoriesRequest) SetNextToken(v string) *GetSpaceDirectoriesRequest
- func (s *GetSpaceDirectoriesRequest) SetOperatorId(v string) *GetSpaceDirectoriesRequest
- func (s GetSpaceDirectoriesRequest) String() string
- type GetSpaceDirectoriesResponse
- func (s GetSpaceDirectoriesResponse) GoString() string
- func (s *GetSpaceDirectoriesResponse) SetBody(v *GetSpaceDirectoriesResponseBody) *GetSpaceDirectoriesResponse
- func (s *GetSpaceDirectoriesResponse) SetHeaders(v map[string]*string) *GetSpaceDirectoriesResponse
- func (s GetSpaceDirectoriesResponse) String() string
- type GetSpaceDirectoriesResponseBody
- func (s GetSpaceDirectoriesResponseBody) GoString() string
- func (s *GetSpaceDirectoriesResponseBody) SetChildren(v []*DentryModel) *GetSpaceDirectoriesResponseBody
- func (s *GetSpaceDirectoriesResponseBody) SetHasMore(v bool) *GetSpaceDirectoriesResponseBody
- func (s *GetSpaceDirectoriesResponseBody) SetNextToken(v string) *GetSpaceDirectoriesResponseBody
- func (s GetSpaceDirectoriesResponseBody) String() string
- type GetUserInfoByOpenTokenHeaders
- func (s GetUserInfoByOpenTokenHeaders) GoString() string
- func (s *GetUserInfoByOpenTokenHeaders) SetCommonHeaders(v map[string]*string) *GetUserInfoByOpenTokenHeaders
- func (s *GetUserInfoByOpenTokenHeaders) SetXAcsDingtalkAccessToken(v string) *GetUserInfoByOpenTokenHeaders
- func (s GetUserInfoByOpenTokenHeaders) String() string
- type GetUserInfoByOpenTokenRequest
- type GetUserInfoByOpenTokenResponse
- func (s GetUserInfoByOpenTokenResponse) GoString() string
- func (s *GetUserInfoByOpenTokenResponse) SetBody(v *GetUserInfoByOpenTokenResponseBody) *GetUserInfoByOpenTokenResponse
- func (s *GetUserInfoByOpenTokenResponse) SetHeaders(v map[string]*string) *GetUserInfoByOpenTokenResponse
- func (s GetUserInfoByOpenTokenResponse) String() string
- type GetUserInfoByOpenTokenResponseBody
- func (s GetUserInfoByOpenTokenResponseBody) GoString() string
- func (s *GetUserInfoByOpenTokenResponseBody) SetUnionId(v string) *GetUserInfoByOpenTokenResponseBody
- func (s *GetUserInfoByOpenTokenResponseBody) SetUserId(v string) *GetUserInfoByOpenTokenResponseBody
- func (s GetUserInfoByOpenTokenResponseBody) String() string
- type LinkSourceInfo
- func (s LinkSourceInfo) GoString() string
- func (s *LinkSourceInfo) SetExtension(v string) *LinkSourceInfo
- func (s *LinkSourceInfo) SetIconUrl(v *LinkSourceInfoIconUrl) *LinkSourceInfo
- func (s *LinkSourceInfo) SetId(v string) *LinkSourceInfo
- func (s *LinkSourceInfo) SetLinkType(v int64) *LinkSourceInfo
- func (s *LinkSourceInfo) SetSpaceId(v string) *LinkSourceInfo
- func (s LinkSourceInfo) String() string
- type LinkSourceInfoIconUrl
- type MoveDentryHeaders
- type MoveDentryRequest
- func (s MoveDentryRequest) GoString() string
- func (s *MoveDentryRequest) SetOperatorId(v string) *MoveDentryRequest
- func (s *MoveDentryRequest) SetTargetSpaceId(v string) *MoveDentryRequest
- func (s *MoveDentryRequest) SetToNextDentryId(v string) *MoveDentryRequest
- func (s *MoveDentryRequest) SetToParentDentryId(v string) *MoveDentryRequest
- func (s *MoveDentryRequest) SetToPrevDentryId(v string) *MoveDentryRequest
- func (s MoveDentryRequest) String() string
- type MoveDentryResponse
- type OpenActionModel
- type QueryDentryHeaders
- type QueryDentryRequest
- type QueryDentryResponse
- type QueryMineSpaceHeaders
- type QueryMineSpaceResponse
- type QueryRecentListHeaders
- type QueryRecentListRequest
- func (s QueryRecentListRequest) GoString() string
- func (s *QueryRecentListRequest) SetCreatorType(v int32) *QueryRecentListRequest
- func (s *QueryRecentListRequest) SetFileType(v int32) *QueryRecentListRequest
- func (s *QueryRecentListRequest) SetMaxResults(v int32) *QueryRecentListRequest
- func (s *QueryRecentListRequest) SetNextToken(v string) *QueryRecentListRequest
- func (s *QueryRecentListRequest) SetOperatorId(v string) *QueryRecentListRequest
- func (s *QueryRecentListRequest) SetRecentType(v int32) *QueryRecentListRequest
- func (s QueryRecentListRequest) String() string
- type QueryRecentListResponse
- type QueryRecentListResponseBody
- func (s QueryRecentListResponseBody) GoString() string
- func (s *QueryRecentListResponseBody) SetHasMore(v bool) *QueryRecentListResponseBody
- func (s *QueryRecentListResponseBody) SetNextToken(v string) *QueryRecentListResponseBody
- func (s *QueryRecentListResponseBody) SetRecentList(v []*QueryRecentListResponseBodyRecentList) *QueryRecentListResponseBody
- func (s QueryRecentListResponseBody) String() string
- type QueryRecentListResponseBodyRecentList
- func (s QueryRecentListResponseBodyRecentList) GoString() string
- func (s *QueryRecentListResponseBodyRecentList) SetDeleted(v bool) *QueryRecentListResponseBodyRecentList
- func (s *QueryRecentListResponseBodyRecentList) SetDentry(v *DentryModel) *QueryRecentListResponseBodyRecentList
- func (s *QueryRecentListResponseBodyRecentList) SetRecentTime(v int64) *QueryRecentListResponseBodyRecentList
- func (s QueryRecentListResponseBodyRecentList) String() string
- type QuerySpaceHeaders
- type QuerySpaceRequest
- type QuerySpaceResponse
- type RenameDentryHeaders
- type RenameDentryRequest
- type RenameDentryResponse
- type SearchHeaders
- type SearchRequest
- func (s SearchRequest) GoString() string
- func (s *SearchRequest) SetDentryRequest(v *SearchRequestDentryRequest) *SearchRequest
- func (s *SearchRequest) SetKeyword(v string) *SearchRequest
- func (s *SearchRequest) SetOperatorId(v string) *SearchRequest
- func (s *SearchRequest) SetSpaceRequest(v *SearchRequestSpaceRequest) *SearchRequest
- func (s SearchRequest) String() string
- type SearchRequestDentryRequest
- func (s SearchRequestDentryRequest) GoString() string
- func (s *SearchRequestDentryRequest) SetMaxResults(v int32) *SearchRequestDentryRequest
- func (s *SearchRequestDentryRequest) SetNextToken(v string) *SearchRequestDentryRequest
- func (s *SearchRequestDentryRequest) SetSearchFileType(v int32) *SearchRequestDentryRequest
- func (s *SearchRequestDentryRequest) SetSpaceId(v string) *SearchRequestDentryRequest
- func (s SearchRequestDentryRequest) String() string
- type SearchRequestSpaceRequest
- type SearchResponse
- type SearchResponseBody
- type SearchResponseBodyDentryResult
- func (s SearchResponseBodyDentryResult) GoString() string
- func (s *SearchResponseBodyDentryResult) SetHasMore(v bool) *SearchResponseBodyDentryResult
- func (s *SearchResponseBodyDentryResult) SetItems(v []*SearchResponseBodyDentryResultItems) *SearchResponseBodyDentryResult
- func (s *SearchResponseBodyDentryResult) SetNextToken(v string) *SearchResponseBodyDentryResult
- func (s SearchResponseBodyDentryResult) String() string
- type SearchResponseBodyDentryResultItems
- func (s SearchResponseBodyDentryResultItems) GoString() string
- func (s *SearchResponseBodyDentryResultItems) SetContent(v string) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetCreation(v *OpenActionModel) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetDentryId(v string) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetDentryUuid(v string) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetExtension(v string) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetIconUrl(v string) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetLastEdition(v *OpenActionModel) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetName(v string) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetOriginName(v string) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetPath(v string) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetSearchFileType(v int32) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetSpaceId(v string) *SearchResponseBodyDentryResultItems
- func (s *SearchResponseBodyDentryResultItems) SetUrl(v string) *SearchResponseBodyDentryResultItems
- func (s SearchResponseBodyDentryResultItems) String() string
- type SearchResponseBodySpaceResult
- func (s SearchResponseBodySpaceResult) GoString() string
- func (s *SearchResponseBodySpaceResult) SetHasMore(v bool) *SearchResponseBodySpaceResult
- func (s *SearchResponseBodySpaceResult) SetItems(v []*SearchResponseBodySpaceResultItems) *SearchResponseBodySpaceResult
- func (s *SearchResponseBodySpaceResult) SetNextToken(v string) *SearchResponseBodySpaceResult
- func (s SearchResponseBodySpaceResult) String() string
- type SearchResponseBodySpaceResultItems
- func (s SearchResponseBodySpaceResultItems) GoString() string
- func (s *SearchResponseBodySpaceResultItems) SetName(v string) *SearchResponseBodySpaceResultItems
- func (s *SearchResponseBodySpaceResultItems) SetOriginName(v string) *SearchResponseBodySpaceResultItems
- func (s *SearchResponseBodySpaceResultItems) SetSpaceId(v string) *SearchResponseBodySpaceResultItems
- func (s *SearchResponseBodySpaceResultItems) SetUrl(v string) *SearchResponseBodySpaceResultItems
- func (s SearchResponseBodySpaceResultItems) String() string
- type SpaceModel
- func (s SpaceModel) GoString() string
- func (s *SpaceModel) SetId(v string) *SpaceModel
- func (s *SpaceModel) SetName(v string) *SpaceModel
- func (s *SpaceModel) SetOwner(v *SpaceModelOwner) *SpaceModel
- func (s *SpaceModel) SetUrl(v string) *SpaceModel
- func (s *SpaceModel) SetVisitorInfo(v *SpaceModelVisitorInfo) *SpaceModel
- func (s SpaceModel) String() string
- type SpaceModelOwner
- type SpaceModelVisitorInfo
- type SpaceVO
- func (s SpaceVO) GoString() string
- func (s *SpaceVO) SetId(v string) *SpaceVO
- func (s *SpaceVO) SetName(v string) *SpaceVO
- func (s *SpaceVO) SetOwner(v *SpaceVOOwner) *SpaceVO
- func (s *SpaceVO) SetUrl(v string) *SpaceVO
- func (s *SpaceVO) SetVisitorInfo(v *SpaceVOVisitorInfo) *SpaceVO
- func (s SpaceVO) String() string
- type SpaceVOOwner
- type SpaceVOVisitorInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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) 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 (s *CopyDentryRequest) SetName(v string) *CopyDentryRequest
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 (s *CopyDentryResponse) SetBody(v *DentryVO) *CopyDentryResponse
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 (s *CreateDentryRequest) SetName(v string) *CreateDentryRequest
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 (s *CreateDentryResponse) SetBody(v *DentryVO) *CreateDentryResponse
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 (s *DentryModelCreator) SetName(v string) *DentryModelCreator
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 (s *DentryModelUpdater) SetName(v string) *DentryModelUpdater
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) SetContentType ¶
func (*DentryVO) SetCreatedTime ¶
func (*DentryVO) SetCreator ¶
func (s *DentryVO) SetCreator(v *DentryVOCreator) *DentryVO
func (*DentryVO) SetDentryId ¶
func (*DentryVO) SetDentryType ¶
func (*DentryVO) SetDentryUuid ¶
func (*DentryVO) SetExtension ¶
func (*DentryVO) SetHasChildren ¶
func (*DentryVO) SetLinkSourceInfo ¶
func (s *DentryVO) SetLinkSourceInfo(v *LinkSourceInfo) *DentryVO
func (*DentryVO) SetSpace ¶
func (s *DentryVO) SetSpace(v *SpaceModel) *DentryVO
func (*DentryVO) SetSpaceId ¶
func (*DentryVO) SetUpdatedTime ¶
func (*DentryVO) SetUpdater ¶
func (s *DentryVO) SetUpdater(v *DentryVOUpdater) *DentryVO
func (*DentryVO) SetVisitorInfo ¶
func (s *DentryVO) SetVisitorInfo(v *DentryVOVisitorInfo) *DentryVO
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 (s *GetSpaceDirectoriesHeaders) SetCommonHeaders(v map[string]*string) *GetSpaceDirectoriesHeaders
func (*GetSpaceDirectoriesHeaders) SetXAcsDingtalkAccessToken ¶
func (s *GetSpaceDirectoriesHeaders) SetXAcsDingtalkAccessToken(v string) *GetSpaceDirectoriesHeaders
func (GetSpaceDirectoriesHeaders) String ¶
func (s GetSpaceDirectoriesHeaders) String() 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 (s *GetSpaceDirectoriesRequest) SetDentryId(v string) *GetSpaceDirectoriesRequest
func (*GetSpaceDirectoriesRequest) SetMaxResults ¶
func (s *GetSpaceDirectoriesRequest) SetMaxResults(v int32) *GetSpaceDirectoriesRequest
func (*GetSpaceDirectoriesRequest) SetNextToken ¶
func (s *GetSpaceDirectoriesRequest) SetNextToken(v string) *GetSpaceDirectoriesRequest
func (*GetSpaceDirectoriesRequest) SetOperatorId ¶
func (s *GetSpaceDirectoriesRequest) SetOperatorId(v string) *GetSpaceDirectoriesRequest
func (GetSpaceDirectoriesRequest) String ¶
func (s GetSpaceDirectoriesRequest) String() 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 (s *GetSpaceDirectoriesResponse) SetBody(v *GetSpaceDirectoriesResponseBody) *GetSpaceDirectoriesResponse
func (*GetSpaceDirectoriesResponse) SetHeaders ¶
func (s *GetSpaceDirectoriesResponse) SetHeaders(v map[string]*string) *GetSpaceDirectoriesResponse
func (GetSpaceDirectoriesResponse) String ¶
func (s GetSpaceDirectoriesResponse) String() 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 (s GetSpaceDirectoriesResponseBody) GoString() string
func (*GetSpaceDirectoriesResponseBody) SetChildren ¶
func (s *GetSpaceDirectoriesResponseBody) SetChildren(v []*DentryModel) *GetSpaceDirectoriesResponseBody
func (*GetSpaceDirectoriesResponseBody) SetHasMore ¶
func (s *GetSpaceDirectoriesResponseBody) SetHasMore(v bool) *GetSpaceDirectoriesResponseBody
func (*GetSpaceDirectoriesResponseBody) SetNextToken ¶
func (s *GetSpaceDirectoriesResponseBody) SetNextToken(v string) *GetSpaceDirectoriesResponseBody
func (GetSpaceDirectoriesResponseBody) String ¶
func (s GetSpaceDirectoriesResponseBody) String() 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 (s GetUserInfoByOpenTokenHeaders) GoString() string
func (*GetUserInfoByOpenTokenHeaders) SetCommonHeaders ¶
func (s *GetUserInfoByOpenTokenHeaders) SetCommonHeaders(v map[string]*string) *GetUserInfoByOpenTokenHeaders
func (*GetUserInfoByOpenTokenHeaders) SetXAcsDingtalkAccessToken ¶
func (s *GetUserInfoByOpenTokenHeaders) SetXAcsDingtalkAccessToken(v string) *GetUserInfoByOpenTokenHeaders
func (GetUserInfoByOpenTokenHeaders) String ¶
func (s GetUserInfoByOpenTokenHeaders) String() 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 (s GetUserInfoByOpenTokenRequest) GoString() string
func (*GetUserInfoByOpenTokenRequest) SetDocKey ¶
func (s *GetUserInfoByOpenTokenRequest) SetDocKey(v string) *GetUserInfoByOpenTokenRequest
func (*GetUserInfoByOpenTokenRequest) SetOpenToken ¶
func (s *GetUserInfoByOpenTokenRequest) SetOpenToken(v string) *GetUserInfoByOpenTokenRequest
func (GetUserInfoByOpenTokenRequest) String ¶
func (s GetUserInfoByOpenTokenRequest) String() 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 (s GetUserInfoByOpenTokenResponse) GoString() string
func (*GetUserInfoByOpenTokenResponse) SetBody ¶
func (s *GetUserInfoByOpenTokenResponse) SetBody(v *GetUserInfoByOpenTokenResponseBody) *GetUserInfoByOpenTokenResponse
func (*GetUserInfoByOpenTokenResponse) SetHeaders ¶
func (s *GetUserInfoByOpenTokenResponse) SetHeaders(v map[string]*string) *GetUserInfoByOpenTokenResponse
func (GetUserInfoByOpenTokenResponse) String ¶
func (s GetUserInfoByOpenTokenResponse) String() 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 (s GetUserInfoByOpenTokenResponseBody) GoString() string
func (*GetUserInfoByOpenTokenResponseBody) SetUnionId ¶
func (s *GetUserInfoByOpenTokenResponseBody) SetUnionId(v string) *GetUserInfoByOpenTokenResponseBody
func (*GetUserInfoByOpenTokenResponseBody) SetUserId ¶
func (s *GetUserInfoByOpenTokenResponseBody) SetUserId(v string) *GetUserInfoByOpenTokenResponseBody
func (GetUserInfoByOpenTokenResponseBody) String ¶
func (s GetUserInfoByOpenTokenResponseBody) String() 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 (s *LinkSourceInfo) SetIconUrl(v *LinkSourceInfoIconUrl) *LinkSourceInfo
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 (s *LinkSourceInfoIconUrl) SetLine(v string) *LinkSourceInfoIconUrl
func (*LinkSourceInfoIconUrl) SetSmall ¶
func (s *LinkSourceInfoIconUrl) SetSmall(v string) *LinkSourceInfoIconUrl
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 (s *MoveDentryResponse) SetBody(v *DentryVO) *MoveDentryResponse
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 (s *QueryDentryResponse) SetBody(v *DentryVO) *QueryDentryResponse
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 (s *QueryMineSpaceResponse) SetBody(v *SpaceVO) *QueryMineSpaceResponse
func (*QueryMineSpaceResponse) SetHeaders ¶
func (s *QueryMineSpaceResponse) SetHeaders(v map[string]*string) *QueryMineSpaceResponse
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 (s *QueryRecentListRequest) SetFileType(v int32) *QueryRecentListRequest
func (*QueryRecentListRequest) SetMaxResults ¶
func (s *QueryRecentListRequest) SetMaxResults(v int32) *QueryRecentListRequest
func (*QueryRecentListRequest) SetNextToken ¶
func (s *QueryRecentListRequest) SetNextToken(v string) *QueryRecentListRequest
func (*QueryRecentListRequest) SetOperatorId ¶
func (s *QueryRecentListRequest) SetOperatorId(v string) *QueryRecentListRequest
func (*QueryRecentListRequest) SetRecentType ¶
func (s *QueryRecentListRequest) SetRecentType(v int32) *QueryRecentListRequest
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 (s *QueryRecentListResponse) SetBody(v *QueryRecentListResponseBody) *QueryRecentListResponse
func (*QueryRecentListResponse) SetHeaders ¶
func (s *QueryRecentListResponse) SetHeaders(v map[string]*string) *QueryRecentListResponse
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 (s *QueryRecentListResponseBody) SetHasMore(v bool) *QueryRecentListResponseBody
func (*QueryRecentListResponseBody) SetNextToken ¶
func (s *QueryRecentListResponseBody) SetNextToken(v string) *QueryRecentListResponseBody
func (*QueryRecentListResponseBody) SetRecentList ¶
func (s *QueryRecentListResponseBody) SetRecentList(v []*QueryRecentListResponseBodyRecentList) *QueryRecentListResponseBody
func (QueryRecentListResponseBody) String ¶
func (s QueryRecentListResponseBody) String() 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 (s QueryRecentListResponseBodyRecentList) GoString() string
func (*QueryRecentListResponseBodyRecentList) SetDeleted ¶
func (s *QueryRecentListResponseBodyRecentList) SetDeleted(v bool) *QueryRecentListResponseBodyRecentList
func (*QueryRecentListResponseBodyRecentList) SetDentry ¶
func (s *QueryRecentListResponseBodyRecentList) SetDentry(v *DentryModel) *QueryRecentListResponseBodyRecentList
func (*QueryRecentListResponseBodyRecentList) SetRecentTime ¶
func (s *QueryRecentListResponseBodyRecentList) SetRecentTime(v int64) *QueryRecentListResponseBodyRecentList
func (QueryRecentListResponseBodyRecentList) String ¶
func (s QueryRecentListResponseBodyRecentList) 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 *SpaceVO `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (QuerySpaceResponse) GoString ¶
func (s QuerySpaceResponse) GoString() string
func (*QuerySpaceResponse) SetBody ¶
func (s *QuerySpaceResponse) SetBody(v *SpaceVO) *QuerySpaceResponse
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 (s *RenameDentryRequest) SetName(v string) *RenameDentryRequest
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 (s *RenameDentryResponse) SetBody(v *DentryVO) *RenameDentryResponse
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 (s *SearchRequestDentryRequest) SetMaxResults(v int32) *SearchRequestDentryRequest
func (*SearchRequestDentryRequest) SetNextToken ¶
func (s *SearchRequestDentryRequest) SetNextToken(v string) *SearchRequestDentryRequest
func (*SearchRequestDentryRequest) SetSearchFileType ¶
func (s *SearchRequestDentryRequest) SetSearchFileType(v int32) *SearchRequestDentryRequest
func (*SearchRequestDentryRequest) SetSpaceId ¶
func (s *SearchRequestDentryRequest) SetSpaceId(v string) *SearchRequestDentryRequest
func (SearchRequestDentryRequest) String ¶
func (s SearchRequestDentryRequest) String() 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 (s *SearchRequestSpaceRequest) SetMaxResults(v int32) *SearchRequestSpaceRequest
func (*SearchRequestSpaceRequest) SetNextToken ¶
func (s *SearchRequestSpaceRequest) SetNextToken(v string) *SearchRequestSpaceRequest
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 (s *SearchResponse) SetBody(v *SearchResponseBody) *SearchResponse
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 (s *SearchResponseBody) SetDentryResult(v *SearchResponseBodyDentryResult) *SearchResponseBody
func (*SearchResponseBody) SetSpaceResult ¶
func (s *SearchResponseBody) SetSpaceResult(v *SearchResponseBodySpaceResult) *SearchResponseBody
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 (s SearchResponseBodyDentryResult) GoString() string
func (*SearchResponseBodyDentryResult) SetHasMore ¶
func (s *SearchResponseBodyDentryResult) SetHasMore(v bool) *SearchResponseBodyDentryResult
func (*SearchResponseBodyDentryResult) SetItems ¶
func (s *SearchResponseBodyDentryResult) SetItems(v []*SearchResponseBodyDentryResultItems) *SearchResponseBodyDentryResult
func (*SearchResponseBodyDentryResult) SetNextToken ¶
func (s *SearchResponseBodyDentryResult) SetNextToken(v string) *SearchResponseBodyDentryResult
func (SearchResponseBodyDentryResult) String ¶
func (s SearchResponseBodyDentryResult) String() 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 (s SearchResponseBodyDentryResultItems) GoString() string
func (*SearchResponseBodyDentryResultItems) SetContent ¶
func (s *SearchResponseBodyDentryResultItems) SetContent(v string) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetCreation ¶
func (s *SearchResponseBodyDentryResultItems) SetCreation(v *OpenActionModel) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetDentryId ¶
func (s *SearchResponseBodyDentryResultItems) SetDentryId(v string) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetDentryUuid ¶
func (s *SearchResponseBodyDentryResultItems) SetDentryUuid(v string) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetExtension ¶
func (s *SearchResponseBodyDentryResultItems) SetExtension(v string) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetIconUrl ¶
func (s *SearchResponseBodyDentryResultItems) SetIconUrl(v string) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetLastEdition ¶
func (s *SearchResponseBodyDentryResultItems) SetLastEdition(v *OpenActionModel) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetName ¶
func (s *SearchResponseBodyDentryResultItems) SetName(v string) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetOriginName ¶
func (s *SearchResponseBodyDentryResultItems) SetOriginName(v string) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetPath ¶
func (s *SearchResponseBodyDentryResultItems) SetPath(v string) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetSearchFileType ¶
func (s *SearchResponseBodyDentryResultItems) SetSearchFileType(v int32) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetSpaceId ¶
func (s *SearchResponseBodyDentryResultItems) SetSpaceId(v string) *SearchResponseBodyDentryResultItems
func (*SearchResponseBodyDentryResultItems) SetUrl ¶
func (s *SearchResponseBodyDentryResultItems) SetUrl(v string) *SearchResponseBodyDentryResultItems
func (SearchResponseBodyDentryResultItems) String ¶
func (s SearchResponseBodyDentryResultItems) String() 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 (s SearchResponseBodySpaceResult) GoString() string
func (*SearchResponseBodySpaceResult) SetHasMore ¶
func (s *SearchResponseBodySpaceResult) SetHasMore(v bool) *SearchResponseBodySpaceResult
func (*SearchResponseBodySpaceResult) SetItems ¶
func (s *SearchResponseBodySpaceResult) SetItems(v []*SearchResponseBodySpaceResultItems) *SearchResponseBodySpaceResult
func (*SearchResponseBodySpaceResult) SetNextToken ¶
func (s *SearchResponseBodySpaceResult) SetNextToken(v string) *SearchResponseBodySpaceResult
func (SearchResponseBodySpaceResult) String ¶
func (s SearchResponseBodySpaceResult) String() 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 (s SearchResponseBodySpaceResultItems) GoString() string
func (*SearchResponseBodySpaceResultItems) SetName ¶
func (s *SearchResponseBodySpaceResultItems) SetName(v string) *SearchResponseBodySpaceResultItems
func (*SearchResponseBodySpaceResultItems) SetOriginName ¶
func (s *SearchResponseBodySpaceResultItems) SetOriginName(v string) *SearchResponseBodySpaceResultItems
func (*SearchResponseBodySpaceResultItems) SetSpaceId ¶
func (s *SearchResponseBodySpaceResultItems) SetSpaceId(v string) *SearchResponseBodySpaceResultItems
func (*SearchResponseBodySpaceResultItems) SetUrl ¶
func (s *SearchResponseBodySpaceResultItems) SetUrl(v string) *SearchResponseBodySpaceResultItems
func (SearchResponseBodySpaceResultItems) String ¶
func (s SearchResponseBodySpaceResultItems) String() 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) SetOwner ¶
func (s *SpaceVO) SetOwner(v *SpaceVOOwner) *SpaceVO
func (*SpaceVO) SetVisitorInfo ¶
func (s *SpaceVO) SetVisitorInfo(v *SpaceVOVisitorInfo) *SpaceVO
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
Click to show internal directories.
Click to hide internal directories.