v2

package
v1.1.37 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: MIT Imports: 6 Imported by: 1

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 Doc

type Doc struct {
}

type DocBatchUpdateReqBody

type DocBatchUpdateReqBody struct {
	DocToken        string   `json:"docToken,omitempty"`
	Revision        int      `json:"Revision,omitempty"`
	Requests        []string `json:"Requests,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*DocBatchUpdateReqBody) MarshalJSON

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

type DocBatchUpdateReqCall

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

func (*DocBatchUpdateReqCall) Do

func (*DocBatchUpdateReqCall) SetDocToken

func (rc *DocBatchUpdateReqCall) SetDocToken(docToken string)

type DocContentReqCall

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

func (*DocContentReqCall) Do

func (*DocContentReqCall) SetDocToken

func (rc *DocContentReqCall) SetDocToken(docToken string)

type DocContentResult

type DocContentResult struct {
	Content  string `json:"content,omitempty"`
	Revision int    `json:"revision,omitempty"`
}

type DocCreateReqBody

type DocCreateReqBody struct {
	FolderToken     string   `json:"FolderToken,omitempty"`
	Content         string   `json:"Content,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*DocCreateReqBody) MarshalJSON

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

type DocCreateReqCall

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

func (*DocCreateReqCall) Do

func (rc *DocCreateReqCall) Do() (*DocCreateResult, error)

type DocCreateResult

type DocCreateResult struct {
	ObjToken string `json:"objToken,omitempty"`
	Url      string `json:"url,omitempty"`
}

type DocMetaReqCall

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

func (*DocMetaReqCall) Do

func (rc *DocMetaReqCall) Do() (*DocMetaResult, error)

func (*DocMetaReqCall) SetDocToken

func (rc *DocMetaReqCall) SetDocToken(docToken string)

type DocMetaResult

type DocMetaResult struct {
	CreateDate     string `json:"create_date,omitempty"`
	CreateTime     int    `json:"create_time,omitempty"`
	Creator        string `json:"creator,omitempty"`
	CreateUserName string `json:"create_user_name,omitempty"`
	DeleteFlag     int    `json:"delete_flag,omitempty"`
	EditTime       int    `json:"edit_time,omitempty"`
	EditUserName   string `json:"edit_user_name,omitempty"`
	IsExternal     bool   `json:"is_external,omitempty"`
	IsPined        bool   `json:"is_pined,omitempty"`
	IsStared       bool   `json:"is_stared,omitempty"`
	ObjType        string `json:"obj_type,omitempty"`
	Owner          string `json:"owner,omitempty"`
	OwnerUserName  string `json:"owner_user_name,omitempty"`
	ServerTime     int    `json:"server_time,omitempty"`
	TenantId       string `json:"tenant_id,omitempty"`
	Title          string `json:"title,omitempty"`
	Type           int    `json:"type,omitempty"`
	Url            string `json:"url,omitempty"`
}

type DocRawContentReqCall

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

func (*DocRawContentReqCall) Do

func (*DocRawContentReqCall) SetDocToken

func (rc *DocRawContentReqCall) SetDocToken(docToken string)

type DocRawContentResult

type DocRawContentResult struct {
	Content string `json:"content,omitempty"`
}

type DocService

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

func (*DocService) BatchUpdate

func (docs *DocService) BatchUpdate(ctx *core.Context, body *DocBatchUpdateReqBody, optFns ...request.OptFn) *DocBatchUpdateReqCall

func (*DocService) Content

func (docs *DocService) Content(ctx *core.Context, optFns ...request.OptFn) *DocContentReqCall

func (*DocService) Create

func (docs *DocService) Create(ctx *core.Context, body *DocCreateReqBody, optFns ...request.OptFn) *DocCreateReqCall

func (*DocService) Meta

func (docs *DocService) Meta(ctx *core.Context, optFns ...request.OptFn) *DocMetaReqCall

func (*DocService) RawContent

func (docs *DocService) RawContent(ctx *core.Context, optFns ...request.OptFn) *DocRawContentReqCall

type Service

type Service struct {
	Docs *DocService
	// 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