Documentation ¶
Index ¶
- type Service
- 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)
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 (*Service) DeleteFileShareLink ¶
取消模型文件的分享链接
func (*Service) DeleteIntegrateShareLink ¶
取消模型集成的分享链接
func (*Service) DeleteShareLinks ¶
func (o *Service) DeleteShareLinks(sourceIds []int64) (*response.BatchDeleteResultBean, error)
func (*Service) FileShareLink ¶
func (o *Service) FileShareLink(fileId int64, activeHours int, expireDate string, needPassword bool) (*response.ShareLinkBean, error)
生成模型文件的分享链接
func (*Service) GetFileShareLink ¶
func (o *Service) GetFileShareLink(fileId int64) (*response.ShareLinkBean, error)
获取模型文件的分享链接
func (*Service) GetIntegrateShareLink ¶
func (o *Service) GetIntegrateShareLink(integrateId int64) (*response.ShareLinkBean, error)
获取模型集成的分享链接
func (*Service) GetShareLinks ¶
分享链接列表
func (*Service) IntegrateShareLink ¶
func (o *Service) IntegrateShareLink(integrateId int64, activeHours int, expireDate string, needPassword bool) (*response.ShareLinkBean, error)
生成模型集成的分享链接
Click to show internal directories.
Click to hide internal directories.