sharelink

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	service.AbstractService //base class
	AccessTokenService      *service.AccessTokenService
}

Service ***

func NewService

func NewService(serviceClient *utils.ServiceClient, endpoint *config.Endpoint,
	accessTokenService *service.AccessTokenService) *Service

NewService ***

func (o *Service) DeleteFileShareLink(fileId int64) (string, error)

取消模型文件的分享链接

func (o *Service) DeleteIntegrateShareLink(integrateId int64) (string, error)

取消模型集成的分享链接

func (o *Service) DeleteShareLinks(sourceIds []int64) (*response.BatchDeleteResultBean, error)
func (o *Service) FileShareLink(fileId int64, activeHours int, expireDate string, needPassword bool) (*response.ShareLinkBean, error)

生成模型文件的分享链接

func (o *Service) GetFileShareLink(fileId int64) (*response.ShareLinkBean, error)

获取模型文件的分享链接

func (o *Service) GetIntegrateShareLink(integrateId int64) (*response.ShareLinkBean, error)

获取模型集成的分享链接

func (o *Service) GetShareLinks(pageNo int, pageSize int) (*response.ShareLinkBeanPageList, error)

分享链接列表

func (o *Service) IntegrateShareLink(integrateId int64, activeHours int, expireDate string, needPassword bool) (*response.ShareLinkBean, error)

生成模型集成的分享链接

Jump to

Keyboard shortcuts

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