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: 6 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 PublicGetReqBody

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

func (*PublicGetReqBody) MarshalJSON

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

type PublicGetReqCall

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

func (*PublicGetReqCall) Do

func (rc *PublicGetReqCall) Do() (*PublicGetResult, error)

type PublicGetResult

type PublicGetResult struct {
	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"`
	ExternalAccess     bool   `json:"external_access,omitempty"`
	InviteExternal     bool   `json:"invite_external,omitempty"`
	PermissionVerision string `json:"permission_verision,omitempty"`
}

type PublicService

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

func (*PublicService) Get

func (publics *PublicService) Get(ctx *core.Context, body *PublicGetReqBody, optFns ...request.OptFn) *PublicGetReqCall

func (*PublicService) Update

func (publics *PublicService) Update(ctx *core.Context, body *PublicUpdateReqBody, optFns ...request.OptFn) *PublicUpdateReqCall

type PublicUpdateReqBody

type PublicUpdateReqBody struct {
	Token           string   `json:"token,omitempty"`
	Type            string   `json:"type,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"`
	ExternalAccess  bool     `json:"external_access,omitempty"`
	InviteExternal  bool     `json:"invite_external,omitempty"`
	ForceSendFields []string `json:"-"`
}

func (*PublicUpdateReqBody) MarshalJSON

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

type PublicUpdateReqCall

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

func (*PublicUpdateReqCall) Do

type Service

type Service struct {
	Publics *PublicService
	// 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