Documentation
¶
Overview ¶
Code generated by lark suite oapi sdk gen
Code generated by lark suite oapi sdk gen
Index ¶
- type Doc
- type DocBatchUpdateReqBody
- type DocBatchUpdateReqCall
- type DocContentReqCall
- type DocContentResult
- type DocCreateReqBody
- type DocCreateReqCall
- type DocCreateResult
- type DocMetaReqCall
- type DocMetaResult
- type DocRawContentReqCall
- type DocRawContentResult
- type DocService
- func (docs *DocService) BatchUpdate(ctx *core.Context, body *DocBatchUpdateReqBody, optFns ...request.OptFn) *DocBatchUpdateReqCall
- func (docs *DocService) Content(ctx *core.Context, optFns ...request.OptFn) *DocContentReqCall
- func (docs *DocService) Create(ctx *core.Context, body *DocCreateReqBody, optFns ...request.OptFn) *DocCreateReqCall
- func (docs *DocService) Meta(ctx *core.Context, optFns ...request.OptFn) *DocMetaReqCall
- func (docs *DocService) RawContent(ctx *core.Context, optFns ...request.OptFn) *DocRawContentReqCall
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) SetDocToken ¶
func (rc *DocBatchUpdateReqCall) SetDocToken(docToken string)
type DocContentReqCall ¶
type DocContentReqCall struct {
// contains filtered or unexported fields
}
func (*DocContentReqCall) Do ¶
func (rc *DocContentReqCall) Do() (*DocContentResult, error)
func (*DocContentReqCall) SetDocToken ¶
func (rc *DocContentReqCall) SetDocToken(docToken string)
type DocContentResult ¶
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 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 (rc *DocRawContentReqCall) Do() (*DocRawContentResult, error)
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 ¶
Click to show internal directories.
Click to hide internal directories.