v2

package
v1.1.48 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 5 Imported by: 2

Documentation

Overview

Code generated by lark suite oapi sdk gen

Code generated by lark suite oapi sdk gen

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Child

type Child struct {
	Token           string   `json:"token,omitempty"`
	Name            string   `json:"name,omitempty"`
	Type            string   `json:"type,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Child) MarshalJSON

func (s *Child) MarshalJSON() ([]byte, error)

type FileCopyReqBody

type FileCopyReqBody struct {
	Type            string   `json:"type,omitempty"`
	DstFolderToken  string   `json:"dstFolderToken,omitempty"`
	DstName         string   `json:"dstName,omitempty"`
	CommentNeeded   bool     `json:"commentNeeded,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*FileCopyReqBody) MarshalJSON

func (s *FileCopyReqBody) MarshalJSON() ([]byte, error)

type FileCopyReqCall

type FileCopyReqCall struct {
	// contains filtered or unexported fields
}

func (*FileCopyReqCall) Do

func (rc *FileCopyReqCall) Do() (*FileCopyResult, error)

func (*FileCopyReqCall) SetFileToken

func (rc *FileCopyReqCall) SetFileToken(fileToken string)

type FileCopyResult

type FileCopyResult struct {
	FolderToken string `json:"folderToken,omitempty"`
	Revision    int    `json:"revision,omitempty"`
	Token       string `json:"token,omitempty"`
	Type        string `json:"type,omitempty"`
	Url         string `json:"url,omitempty"`
}

type FileCreateReqBody

type FileCreateReqBody struct {
	Title           string   `json:"title,omitempty"`
	Type            string   `json:"type,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*FileCreateReqBody) MarshalJSON

func (s *FileCreateReqBody) MarshalJSON() ([]byte, error)

type FileCreateReqCall

type FileCreateReqCall struct {
	// contains filtered or unexported fields
}

func (*FileCreateReqCall) Do

func (*FileCreateReqCall) SetFolderToken

func (rc *FileCreateReqCall) SetFolderToken(folderToken string)

type FileCreateResult

type FileCreateResult struct {
	Url      string `json:"url,omitempty"`
	Revision int    `json:"revision,omitempty"`
	Token    string `json:"token,omitempty"`
}

type FileDocsDeleteReqCall

type FileDocsDeleteReqCall struct {
	// contains filtered or unexported fields
}

func (*FileDocsDeleteReqCall) Do

func (*FileDocsDeleteReqCall) SetDocToken

func (rc *FileDocsDeleteReqCall) SetDocToken(docToken string)

type FileDocsDeleteResult

type FileDocsDeleteResult struct {
	Id     string `json:"id,omitempty"`
	Result bool   `json:"result,omitempty"`
}

type FileService

type FileService struct {
	// contains filtered or unexported fields
}

func (*FileService) Copy

func (files *FileService) Copy(ctx *core.Context, body *FileCopyReqBody, optFns ...request.OptFn) *FileCopyReqCall

func (*FileService) Create

func (files *FileService) Create(ctx *core.Context, body *FileCreateReqBody, optFns ...request.OptFn) *FileCreateReqCall

func (*FileService) DocsDelete

func (files *FileService) DocsDelete(ctx *core.Context, optFns ...request.OptFn) *FileDocsDeleteReqCall

func (*FileService) SpreadsheetsDelete

func (files *FileService) SpreadsheetsDelete(ctx *core.Context, optFns ...request.OptFn) *FileSpreadsheetsDeleteReqCall

type FileSpreadsheetsDeleteReqCall

type FileSpreadsheetsDeleteReqCall struct {
	// contains filtered or unexported fields
}

func (*FileSpreadsheetsDeleteReqCall) Do

func (*FileSpreadsheetsDeleteReqCall) SetSpreadsheetToken

func (rc *FileSpreadsheetsDeleteReqCall) SetSpreadsheetToken(spreadsheetToken string)

type FileSpreadsheetsDeleteResult

type FileSpreadsheetsDeleteResult struct {
	Id     string `json:"id,omitempty"`
	Result bool   `json:"result,omitempty"`
}

type FolderChildrenReqCall

type FolderChildrenReqCall struct {
	// contains filtered or unexported fields
}

func (*FolderChildrenReqCall) Do

func (*FolderChildrenReqCall) SetFolderToken

func (rc *FolderChildrenReqCall) SetFolderToken(folderToken string)

func (*FolderChildrenReqCall) SetTypes

func (rc *FolderChildrenReqCall) SetTypes(types ...string)

type FolderChildrenResult

type FolderChildrenResult struct {
	ParentToken string            `json:"parentToken,omitempty"`
	Children    map[string]*Child `json:"children,omitempty"`
}

type FolderCreateReqBody

type FolderCreateReqBody struct {
	Title           string   `json:"title,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*FolderCreateReqBody) MarshalJSON

func (s *FolderCreateReqBody) MarshalJSON() ([]byte, error)

type FolderCreateReqCall

type FolderCreateReqCall struct {
	// contains filtered or unexported fields
}

func (*FolderCreateReqCall) Do

func (*FolderCreateReqCall) SetFolderToken

func (rc *FolderCreateReqCall) SetFolderToken(folderToken string)

type FolderCreateResult

type FolderCreateResult struct {
	Url      string `json:"url,omitempty"`
	Revision int    `json:"revision,omitempty"`
	Token    string `json:"token,omitempty"`
}

type FolderMetaReqCall

type FolderMetaReqCall struct {
	// contains filtered or unexported fields
}

func (*FolderMetaReqCall) Do

func (*FolderMetaReqCall) SetFolderToken

func (rc *FolderMetaReqCall) SetFolderToken(folderToken string)

type FolderMetaResult

type FolderMetaResult struct {
	Id        string `json:"id,omitempty"`
	Name      string `json:"name,omitempty"`
	Token     string `json:"token,omitempty"`
	CreateUid string `json:"createUid,omitempty"`
	EditUid   string `json:"editUid,omitempty"`
	ParentId  string `json:"parentId,omitempty"`
	OwnUid    string `json:"ownUid,omitempty"`
}

type FolderRootMetaReqCall

type FolderRootMetaReqCall struct {
	// contains filtered or unexported fields
}

func (*FolderRootMetaReqCall) Do

type FolderRootMetaResult

type FolderRootMetaResult struct {
	Token  string `json:"token,omitempty"`
	Id     string `json:"id,omitempty"`
	UserId string `json:"user_id,omitempty"`
}

type FolderService

type FolderService struct {
	// contains filtered or unexported fields
}

func (*FolderService) Children

func (folders *FolderService) Children(ctx *core.Context, optFns ...request.OptFn) *FolderChildrenReqCall

func (*FolderService) Create

func (folders *FolderService) Create(ctx *core.Context, body *FolderCreateReqBody, optFns ...request.OptFn) *FolderCreateReqCall

func (*FolderService) Meta

func (folders *FolderService) Meta(ctx *core.Context, optFns ...request.OptFn) *FolderMetaReqCall

func (*FolderService) RootMeta

func (folders *FolderService) RootMeta(ctx *core.Context, optFns ...request.OptFn) *FolderRootMetaReqCall

type OperatorId

type OperatorId struct {
	OpenId          string   `json:"open_id,omitempty"`
	UnionId         string   `json:"union_id,omitempty"`
	UserId          string   `json:"user_id,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*OperatorId) MarshalJSON

func (s *OperatorId) MarshalJSON() ([]byte, error)

type Service

type Service struct {
	Files   *FileService
	Folders *FolderService
	// contains filtered or unexported fields
}

func NewService

func NewService(conf *config.Config) *Service

Jump to

Keyboard shortcuts

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