v1

package
v1.1.40-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Code generated by lark suite oapi sdk gen

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 Collaborator added in v1.1.41

type Collaborator struct {
	MemberType      string   `json:"member_type,omitempty"`
	MemberOpenId    string   `json:"member_open_id,omitempty"`
	MemberUserId    string   `json:"member_user_id,omitempty"`
	Perm            string   `json:"perm,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Collaborator) MarshalJSON added in v1.1.41

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

type CreateMember

type CreateMember struct {
	Type             string   `json:"type,omitempty"`
	Member           *Member  `json:"member,omitempty"`
	NeedNotification bool     `json:"need_notification,omitempty"`
	ForceSendFields  []string `json:"-"`
}

func (*CreateMember) MarshalJSON

func (s *CreateMember) MarshalJSON() ([]byte, error)
type DocsLink struct {
	Url             string   `json:"url,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*DocsLink) MarshalJSON added in v1.1.23

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

type File

type File struct {
	FileToken       string   `json:"file_token,omitempty"`
	FileName        string   `json:"file_name,omitempty"`
	Size            int      `json:"size,omitempty"`
	MimeType        string   `json:"mime_type,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*File) MarshalJSON added in v1.1.23

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

type FileComment added in v1.1.23

type FileComment struct {
	CommentId       string     `json:"comment_id,omitempty"`
	UserId          string     `json:"user_id,omitempty"`
	CreateTime      int        `json:"create_time,omitempty"`
	UpdateTime      int        `json:"update_time,omitempty"`
	IsSolved        bool       `json:"is_solved,omitempty"`
	SolvedTime      int        `json:"solved_time,omitempty"`
	SolverUserId    string     `json:"solver_user_id,omitempty"`
	ReplyList       *ReplyList `json:"reply_list,omitempty"`
	ForceSendFields []string   `json:"-"`
}

func (*FileComment) MarshalJSON added in v1.1.23

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

type FileCommentCreateReqCall added in v1.1.23

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

func (*FileCommentCreateReqCall) Do added in v1.1.23

func (*FileCommentCreateReqCall) SetFileToken added in v1.1.23

func (rc *FileCommentCreateReqCall) SetFileToken(fileToken string)

func (*FileCommentCreateReqCall) SetFileType added in v1.1.23

func (rc *FileCommentCreateReqCall) SetFileType(fileType string)

func (*FileCommentCreateReqCall) SetUserIdType added in v1.1.23

func (rc *FileCommentCreateReqCall) SetUserIdType(userIdType string)

type FileCommentGetReqCall added in v1.1.23

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

func (*FileCommentGetReqCall) Do added in v1.1.23

func (*FileCommentGetReqCall) SetCommentId added in v1.1.23

func (rc *FileCommentGetReqCall) SetCommentId(commentId int64)

func (*FileCommentGetReqCall) SetFileToken added in v1.1.23

func (rc *FileCommentGetReqCall) SetFileToken(fileToken string)

func (*FileCommentGetReqCall) SetFileType added in v1.1.23

func (rc *FileCommentGetReqCall) SetFileType(fileType string)

func (*FileCommentGetReqCall) SetUserIdType added in v1.1.23

func (rc *FileCommentGetReqCall) SetUserIdType(userIdType string)

type FileCommentListReqCall added in v1.1.23

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

func (*FileCommentListReqCall) Do added in v1.1.23

func (*FileCommentListReqCall) SetFileToken added in v1.1.23

func (rc *FileCommentListReqCall) SetFileToken(fileToken string)

func (*FileCommentListReqCall) SetFileType added in v1.1.23

func (rc *FileCommentListReqCall) SetFileType(fileType string)

func (*FileCommentListReqCall) SetIsSolved added in v1.1.23

func (rc *FileCommentListReqCall) SetIsSolved(isSolved bool)

func (*FileCommentListReqCall) SetPageSize added in v1.1.23

func (rc *FileCommentListReqCall) SetPageSize(pageSize int)

func (*FileCommentListReqCall) SetPageToken added in v1.1.23

func (rc *FileCommentListReqCall) SetPageToken(pageToken string)

func (*FileCommentListReqCall) SetUserIdType added in v1.1.23

func (rc *FileCommentListReqCall) SetUserIdType(userIdType string)

type FileCommentListResult added in v1.1.23

type FileCommentListResult struct {
	HasMore   bool           `json:"has_more,omitempty"`
	PageToken string         `json:"page_token,omitempty"`
	Items     []*FileComment `json:"items,omitempty"`
}

type FileCommentPatchReqBody added in v1.1.23

type FileCommentPatchReqBody struct {
	IsSolved        bool     `json:"is_solved,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*FileCommentPatchReqBody) MarshalJSON added in v1.1.23

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

type FileCommentPatchReqCall added in v1.1.23

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

func (*FileCommentPatchReqCall) Do added in v1.1.23

func (*FileCommentPatchReqCall) SetCommentId added in v1.1.23

func (rc *FileCommentPatchReqCall) SetCommentId(commentId int64)

func (*FileCommentPatchReqCall) SetFileToken added in v1.1.23

func (rc *FileCommentPatchReqCall) SetFileToken(fileToken string)

func (*FileCommentPatchReqCall) SetFileType added in v1.1.23

func (rc *FileCommentPatchReqCall) SetFileType(fileType string)

type FileCommentReply added in v1.1.23

type FileCommentReply struct {
	ReplyId         string        `json:"reply_id,omitempty"`
	UserId          string        `json:"user_id,omitempty"`
	CreateTime      int           `json:"create_time,omitempty"`
	UpdateTime      int           `json:"update_time,omitempty"`
	Content         *ReplyContent `json:"content,omitempty"`
	ForceSendFields []string      `json:"-"`
}

func (*FileCommentReply) MarshalJSON added in v1.1.23

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

type FileCommentReplyDeleteReqCall added in v1.1.23

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

func (*FileCommentReplyDeleteReqCall) Do added in v1.1.23

func (*FileCommentReplyDeleteReqCall) SetCommentId added in v1.1.23

func (rc *FileCommentReplyDeleteReqCall) SetCommentId(commentId int64)

func (*FileCommentReplyDeleteReqCall) SetFileToken added in v1.1.23

func (rc *FileCommentReplyDeleteReqCall) SetFileToken(fileToken string)

func (*FileCommentReplyDeleteReqCall) SetFileType added in v1.1.23

func (rc *FileCommentReplyDeleteReqCall) SetFileType(fileType string)

func (*FileCommentReplyDeleteReqCall) SetReplyId added in v1.1.23

func (rc *FileCommentReplyDeleteReqCall) SetReplyId(replyId int64)

type FileCommentReplyService added in v1.1.23

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

func (*FileCommentReplyService) Delete added in v1.1.23

func (fileCommentReplys *FileCommentReplyService) Delete(ctx *core.Context, optFns ...request.OptFn) *FileCommentReplyDeleteReqCall

func (*FileCommentReplyService) Update added in v1.1.23

type FileCommentReplyUpdateReqBody added in v1.1.23

type FileCommentReplyUpdateReqBody struct {
	Content         *ReplyContent `json:"content,omitempty"`
	ForceSendFields []string      `json:"-"`
}

func (*FileCommentReplyUpdateReqBody) MarshalJSON added in v1.1.23

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

type FileCommentReplyUpdateReqCall added in v1.1.23

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

func (*FileCommentReplyUpdateReqCall) Do added in v1.1.23

func (*FileCommentReplyUpdateReqCall) SetCommentId added in v1.1.23

func (rc *FileCommentReplyUpdateReqCall) SetCommentId(commentId int64)

func (*FileCommentReplyUpdateReqCall) SetFileToken added in v1.1.23

func (rc *FileCommentReplyUpdateReqCall) SetFileToken(fileToken string)

func (*FileCommentReplyUpdateReqCall) SetFileType added in v1.1.23

func (rc *FileCommentReplyUpdateReqCall) SetFileType(fileType string)

func (*FileCommentReplyUpdateReqCall) SetReplyId added in v1.1.23

func (rc *FileCommentReplyUpdateReqCall) SetReplyId(replyId int64)

func (*FileCommentReplyUpdateReqCall) SetUserIdType added in v1.1.41

func (rc *FileCommentReplyUpdateReqCall) SetUserIdType(userIdType string)

type FileCommentService added in v1.1.23

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

func (*FileCommentService) Create added in v1.1.23

func (fileComments *FileCommentService) Create(ctx *core.Context, body *FileComment, optFns ...request.OptFn) *FileCommentCreateReqCall

func (*FileCommentService) Get added in v1.1.23

func (fileComments *FileCommentService) Get(ctx *core.Context, optFns ...request.OptFn) *FileCommentGetReqCall

func (*FileCommentService) List added in v1.1.23

func (fileComments *FileCommentService) List(ctx *core.Context, optFns ...request.OptFn) *FileCommentListReqCall

func (*FileCommentService) Patch added in v1.1.23

func (fileComments *FileCommentService) Patch(ctx *core.Context, body *FileCommentPatchReqBody, optFns ...request.OptFn) *FileCommentPatchReqCall

type FileDownloadReqCall added in v1.1.19

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

func (*FileDownloadReqCall) Do added in v1.1.19

func (rc *FileDownloadReqCall) Do() (io.Writer, error)

func (*FileDownloadReqCall) SetFileToken added in v1.1.19

func (rc *FileDownloadReqCall) SetFileToken(fileToken string)

func (*FileDownloadReqCall) SetResponseStream added in v1.1.19

func (rc *FileDownloadReqCall) SetResponseStream(result io.Writer)

type FileService

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

func (*FileService) Download added in v1.1.19

func (files *FileService) Download(ctx *core.Context, optFns ...request.OptFn) *FileDownloadReqCall

func (*FileService) UploadAll

func (files *FileService) UploadAll(ctx *core.Context, optFns ...request.OptFn) *FileUploadAllReqCall

func (*FileService) UploadFinish

func (files *FileService) UploadFinish(ctx *core.Context, body *FileUploadFinishReqBody, optFns ...request.OptFn) *FileUploadFinishReqCall

func (*FileService) UploadPart

func (files *FileService) UploadPart(ctx *core.Context, optFns ...request.OptFn) *FileUploadPartReqCall

func (*FileService) UploadPrepare

func (files *FileService) UploadPrepare(ctx *core.Context, body *FileUploadInfo, optFns ...request.OptFn) *FileUploadPrepareReqCall

type FileStatistics added in v1.1.41

type FileStatistics struct {
	Uv              int      `json:"uv,omitempty"`
	Pv              int      `json:"pv,omitempty"`
	LikeCount       int      `json:"like_count,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*FileStatistics) MarshalJSON added in v1.1.41

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

type FileUploadAllReqCall

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

func (*FileUploadAllReqCall) Do

func (*FileUploadAllReqCall) SetChecksum

func (rc *FileUploadAllReqCall) SetChecksum(checksum string)

func (*FileUploadAllReqCall) SetFile

func (rc *FileUploadAllReqCall) SetFile(file *request.File)

func (*FileUploadAllReqCall) SetFileName

func (rc *FileUploadAllReqCall) SetFileName(fileName string)

func (*FileUploadAllReqCall) SetParentNode

func (rc *FileUploadAllReqCall) SetParentNode(parentNode string)

func (*FileUploadAllReqCall) SetParentType

func (rc *FileUploadAllReqCall) SetParentType(parentType string)

func (*FileUploadAllReqCall) SetSize

func (rc *FileUploadAllReqCall) SetSize(size int)

type FileUploadAllResult

type FileUploadAllResult struct {
	FileToken string `json:"file_token,omitempty"`
}

type FileUploadFinishReqBody

type FileUploadFinishReqBody struct {
	UploadId        string   `json:"upload_id,omitempty"`
	BlockNum        int      `json:"block_num,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*FileUploadFinishReqBody) MarshalJSON added in v1.1.23

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

type FileUploadFinishReqCall

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

func (*FileUploadFinishReqCall) Do

type FileUploadFinishResult

type FileUploadFinishResult struct {
	FileToken string `json:"file_token,omitempty"`
}

type FileUploadInfo added in v1.1.41

type FileUploadInfo struct {
	FileName        string   `json:"file_name,omitempty"`
	ParentType      string   `json:"parent_type,omitempty"`
	ParentNode      string   `json:"parent_node,omitempty"`
	Size            int      `json:"size,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*FileUploadInfo) MarshalJSON added in v1.1.41

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

type FileUploadPartReqCall

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

func (*FileUploadPartReqCall) Do

func (*FileUploadPartReqCall) SetChecksum

func (rc *FileUploadPartReqCall) SetChecksum(checksum string)

func (*FileUploadPartReqCall) SetFile

func (rc *FileUploadPartReqCall) SetFile(file *request.File)

func (*FileUploadPartReqCall) SetSeq

func (rc *FileUploadPartReqCall) SetSeq(seq int)

func (*FileUploadPartReqCall) SetSize

func (rc *FileUploadPartReqCall) SetSize(size int)

func (*FileUploadPartReqCall) SetUploadId

func (rc *FileUploadPartReqCall) SetUploadId(uploadId string)

type FileUploadPrepareReqCall

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

func (*FileUploadPrepareReqCall) Do

type FileUploadPrepareResult

type FileUploadPrepareResult struct {
	UploadId  string `json:"upload_id,omitempty"`
	BlockSize int    `json:"block_size,omitempty"`
	BlockNum  int    `json:"block_num,omitempty"`
}

type ImportTask added in v1.1.41

type ImportTask struct {
	Ticket          string                `json:"ticket,omitempty"`
	FileExtension   string                `json:"file_extension,omitempty"`
	FileToken       string                `json:"file_token,omitempty"`
	Type            string                `json:"type,omitempty"`
	FileName        string                `json:"file_name,omitempty"`
	Point           *ImportTaskMountPoint `json:"point,omitempty"`
	JobStatus       int                   `json:"job_status,omitempty"`
	JobErrorMsg     string                `json:"job_error_msg,omitempty"`
	Token           string                `json:"token,omitempty"`
	Url             string                `json:"url,omitempty"`
	ForceSendFields []string              `json:"-"`
}

func (*ImportTask) MarshalJSON added in v1.1.41

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

type ImportTaskMountPoint added in v1.1.41

type ImportTaskMountPoint struct {
	MountType       int      `json:"mount_type,omitempty"`
	MountKey        string   `json:"mount_key,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*ImportTaskMountPoint) MarshalJSON added in v1.1.41

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

type Media

type Media struct {
	FileToken       string   `json:"file_token,omitempty"`
	FileName        string   `json:"file_name,omitempty"`
	Size            int      `json:"size,omitempty"`
	MimeType        string   `json:"mime_type,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Media) MarshalJSON added in v1.1.23

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

type MediaBatchGetTmpDownloadUrlReqCall added in v1.1.19

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

func (*MediaBatchGetTmpDownloadUrlReqCall) Do added in v1.1.19

func (*MediaBatchGetTmpDownloadUrlReqCall) SetExtra added in v1.1.41

func (rc *MediaBatchGetTmpDownloadUrlReqCall) SetExtra(extra string)

func (*MediaBatchGetTmpDownloadUrlReqCall) SetFileTokens added in v1.1.19

func (rc *MediaBatchGetTmpDownloadUrlReqCall) SetFileTokens(fileTokens ...string)

type MediaBatchGetTmpDownloadUrlResult added in v1.1.19

type MediaBatchGetTmpDownloadUrlResult struct {
	TmpDownloadUrls []*TmpDownloadUrl `json:"tmp_download_urls,omitempty"`
}

type MediaDownloadReqCall added in v1.1.19

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

func (*MediaDownloadReqCall) Do added in v1.1.19

func (rc *MediaDownloadReqCall) Do() (io.Writer, error)

func (*MediaDownloadReqCall) SetExtra added in v1.1.41

func (rc *MediaDownloadReqCall) SetExtra(extra string)

func (*MediaDownloadReqCall) SetFileToken added in v1.1.19

func (rc *MediaDownloadReqCall) SetFileToken(fileToken string)

func (*MediaDownloadReqCall) SetResponseStream added in v1.1.19

func (rc *MediaDownloadReqCall) SetResponseStream(result io.Writer)

type MediaService

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

func (*MediaService) BatchGetTmpDownloadUrl added in v1.1.19

func (medias *MediaService) BatchGetTmpDownloadUrl(ctx *core.Context, optFns ...request.OptFn) *MediaBatchGetTmpDownloadUrlReqCall

func (*MediaService) Download added in v1.1.19

func (medias *MediaService) Download(ctx *core.Context, optFns ...request.OptFn) *MediaDownloadReqCall

func (*MediaService) UploadAll

func (medias *MediaService) UploadAll(ctx *core.Context, optFns ...request.OptFn) *MediaUploadAllReqCall

func (*MediaService) UploadFinish

func (medias *MediaService) UploadFinish(ctx *core.Context, body *MediaUploadFinishReqBody, optFns ...request.OptFn) *MediaUploadFinishReqCall

func (*MediaService) UploadPart

func (medias *MediaService) UploadPart(ctx *core.Context, optFns ...request.OptFn) *MediaUploadPartReqCall

func (*MediaService) UploadPrepare

func (medias *MediaService) UploadPrepare(ctx *core.Context, body *MediaUploadInfo, optFns ...request.OptFn) *MediaUploadPrepareReqCall

type MediaUploadAllReqCall

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

func (*MediaUploadAllReqCall) Do

func (*MediaUploadAllReqCall) SetChecksum

func (rc *MediaUploadAllReqCall) SetChecksum(checksum string)

func (*MediaUploadAllReqCall) SetExtra added in v1.1.41

func (rc *MediaUploadAllReqCall) SetExtra(extra string)

func (*MediaUploadAllReqCall) SetFile

func (rc *MediaUploadAllReqCall) SetFile(file *request.File)

func (*MediaUploadAllReqCall) SetFileName

func (rc *MediaUploadAllReqCall) SetFileName(fileName string)

func (*MediaUploadAllReqCall) SetParentNode

func (rc *MediaUploadAllReqCall) SetParentNode(parentNode string)

func (*MediaUploadAllReqCall) SetParentType

func (rc *MediaUploadAllReqCall) SetParentType(parentType string)

func (*MediaUploadAllReqCall) SetSize

func (rc *MediaUploadAllReqCall) SetSize(size int)

type MediaUploadAllResult

type MediaUploadAllResult struct {
	FileToken string `json:"file_token,omitempty"`
}

type MediaUploadFinishReqBody

type MediaUploadFinishReqBody struct {
	UploadId        string   `json:"upload_id,omitempty"`
	BlockNum        int      `json:"block_num,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*MediaUploadFinishReqBody) MarshalJSON added in v1.1.23

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

type MediaUploadFinishReqCall

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

func (*MediaUploadFinishReqCall) Do

type MediaUploadFinishResult

type MediaUploadFinishResult struct {
	FileToken string `json:"file_token,omitempty"`
}

type MediaUploadInfo added in v1.1.41

type MediaUploadInfo struct {
	FileName        string   `json:"file_name,omitempty"`
	ParentType      string   `json:"parent_type,omitempty"`
	ParentNode      string   `json:"parent_node,omitempty"`
	Size            int      `json:"size,omitempty"`
	Extra           string   `json:"extra,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*MediaUploadInfo) MarshalJSON added in v1.1.41

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

type MediaUploadPartReqCall

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

func (*MediaUploadPartReqCall) Do

func (*MediaUploadPartReqCall) SetChecksum

func (rc *MediaUploadPartReqCall) SetChecksum(checksum string)

func (*MediaUploadPartReqCall) SetFile

func (rc *MediaUploadPartReqCall) SetFile(file *request.File)

func (*MediaUploadPartReqCall) SetSeq

func (rc *MediaUploadPartReqCall) SetSeq(seq int)

func (*MediaUploadPartReqCall) SetSize

func (rc *MediaUploadPartReqCall) SetSize(size int)

func (*MediaUploadPartReqCall) SetUploadId

func (rc *MediaUploadPartReqCall) SetUploadId(uploadId string)

type MediaUploadPrepareReqCall

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

func (*MediaUploadPrepareReqCall) Do

type MediaUploadPrepareResult

type MediaUploadPrepareResult struct {
	UploadId  string `json:"upload_id,omitempty"`
	BlockSize int    `json:"block_size,omitempty"`
	BlockNum  int    `json:"block_num,omitempty"`
}

type Member added in v1.1.41

type Member struct {
	MemberType      string   `json:"member_type,omitempty"`
	MemberId        string   `json:"member_id,omitempty"`
	Perm            string   `json:"perm,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Member) MarshalJSON added in v1.1.41

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

type Owner added in v1.1.41

type Owner struct {
	MemberType      string   `json:"member_type,omitempty"`
	MemberId        string   `json:"member_id,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Owner) MarshalJSON added in v1.1.41

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

type PermissionPublic added in v1.1.41

type PermissionPublic struct {
	ExternalAccess  bool     `json:"external_access,omitempty"`
	SecurityEntity  string   `json:"security_entity,omitempty"`
	CommentEntity   string   `json:"comment_entity,omitempty"`
	ShareEntity     string   `json:"share_entity,omitempty"`
	LinkShareEntity string   `json:"link_share_entity,omitempty"`
	InviteExternal  bool     `json:"invite_external,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*PermissionPublic) MarshalJSON added in v1.1.41

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

type Person added in v1.1.23

type Person struct {
	UserId          string   `json:"user_id,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*Person) MarshalJSON added in v1.1.23

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

type ReplyContent added in v1.1.23

type ReplyContent struct {
	Elements        []*ReplyElement `json:"elements,omitempty"`
	ForceSendFields []string        `json:"-"`
}

func (*ReplyContent) MarshalJSON added in v1.1.23

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

type ReplyElement added in v1.1.23

type ReplyElement struct {
	Type            string    `json:"type,omitempty"`
	TextRun         *TextRun  `json:"text_run,omitempty"`
	DocsLink        *DocsLink `json:"docs_link,omitempty"`
	Person          *Person   `json:"person,omitempty"`
	ForceSendFields []string  `json:"-"`
}

func (*ReplyElement) MarshalJSON added in v1.1.23

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

type ReplyList added in v1.1.23

type ReplyList struct {
	Replies         []*FileCommentReply `json:"replies,omitempty"`
	ForceSendFields []string            `json:"-"`
}

func (*ReplyList) MarshalJSON added in v1.1.23

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

type Service

type Service struct {
	Files             *FileService
	FileComments      *FileCommentService
	FileCommentReplys *FileCommentReplyService
	Medias            *MediaService
	// contains filtered or unexported fields
}

func NewService

func NewService(conf *config.Config) *Service

type TextRun added in v1.1.23

type TextRun struct {
	Text            string   `json:"text,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*TextRun) MarshalJSON added in v1.1.23

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

type TmpDownloadUrl added in v1.1.19

type TmpDownloadUrl struct {
	FileToken       string   `json:"file_token,omitempty"`
	TmpDownloadUrl  string   `json:"tmp_download_url,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*TmpDownloadUrl) MarshalJSON added in v1.1.23

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

type TokenType added in v1.1.41

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

func (*TokenType) MarshalJSON added in v1.1.41

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

type UploadInfo

type UploadInfo struct {
	FileName        string   `json:"file_name,omitempty"`
	ParentType      string   `json:"parent_type,omitempty"`
	ParentNode      string   `json:"parent_node,omitempty"`
	Size            int      `json:"size,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*UploadInfo) MarshalJSON added in v1.1.23

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

Jump to

Keyboard shortcuts

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