v1

package
v1.1.40-rc5 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 5 Imported by: 0

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 DocsApi

type DocsApi struct {
}

type DocsApiMetaReqBody

type DocsApiMetaReqBody struct {
	RequestDocs     []*RequestDoc `json:"request_docs,omitempty"`
	ForceSendFields []string      `json:"-"`
}

func (*DocsApiMetaReqBody) MarshalJSON

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

type DocsApiMetaReqCall

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

func (*DocsApiMetaReqCall) Do

type DocsApiMetaResult

type DocsApiMetaResult struct {
	DocsMetas []*DocsMeta `json:"docs_metas,omitempty"`
}

type DocsApiSearchReqBody

type DocsApiSearchReqBody struct {
	SearchKey       string   `json:"search_key,omitempty"`
	Count           int      `json:"count,omitempty"`
	Offset          int      `json:"offset,omitempty"`
	OwnerIds        []string `json:"owner_ids,omitempty"`
	ChatIds         []string `json:"chat_ids,omitempty"`
	DocsTypes       []string `json:"docs_types,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*DocsApiSearchReqBody) MarshalJSON

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

type DocsApiSearchReqCall

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

func (*DocsApiSearchReqCall) Do

type DocsApiSearchResult

type DocsApiSearchResult struct {
	DocsEntities []*DocsEntity `json:"docs_entities,omitempty"`
	HasMore      bool          `json:"has_more,omitempty"`
	Total        int           `json:"total,omitempty"`
}

type DocsApiService

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

func (*DocsApiService) Meta

func (docsApis *DocsApiService) Meta(ctx *core.Context, body *DocsApiMetaReqBody, optFns ...request.OptFn) *DocsApiMetaReqCall

func (*DocsApiService) Search

func (docsApis *DocsApiService) Search(ctx *core.Context, body *DocsApiSearchReqBody, optFns ...request.OptFn) *DocsApiSearchReqCall

type DocsEntity

type DocsEntity struct {
	DocsToken       string   `json:"docs_token,omitempty"`
	DocsType        string   `json:"docs_type,omitempty"`
	Title           string   `json:"title,omitempty"`
	DocsOwner       string   `json:"docs_owner,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*DocsEntity) MarshalJSON

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

type DocsMeta

type DocsMeta struct {
	DocsToken        string   `json:"docs_token,omitempty"`
	DocsType         string   `json:"docs_type,omitempty"`
	Title            string   `json:"title,omitempty"`
	OwnerId          string   `json:"owner_id,omitempty"`
	CreateTime       int      `json:"create_time,omitempty"`
	LatestModifyUser string   `json:"latest_modify_user,omitempty"`
	LatestModifyTime int      `json:"latest_modify_time,omitempty"`
	ForceSendFields  []string `json:"-"`
}

func (*DocsMeta) MarshalJSON

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

type RequestDoc

type RequestDoc struct {
	DocsToken       string   `json:"docs_token,omitempty"`
	DocsType        string   `json:"docs_type,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*RequestDoc) MarshalJSON

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

type Service

type Service struct {
	DocsApis *DocsApiService
	// 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