databag

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: 6 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 (*Service) CompareDataBag

func (o *Service) CompareDataBag(compareId int64, callback string) (*response.DataBagBean, error)

func (*Service) FileDataBag

func (o *Service) FileDataBag(fileId int64, callback string) (*response.DataBagBean, error)

func (*Service) GetCompareDownloadURL

func (o *Service) GetCompareDownloadURL(compareId int64) (string, error)

func (*Service) GetCompareStatus

func (o *Service) GetCompareStatus(compareId int64) ([]*response.DataBagBean, error)

func (*Service) GetDownloadURL

func (o *Service) GetDownloadURL(dataBagRequest *request.DataBagRequest) (string, error)

获取离线数据包下载地址 ** 字段 类型 必填 描述 fileId Number Y 通过文件转换Id获取离线数据包下载地址时必填 integrateId Number Y 通过集成模型Id获取离线数据包下载地址时必填 compareId Number Y 通过模型对比Id获取离线数据包下载地址时必填 type String Y 值必须是“offline” databagVersion String N 数据包版本,如果只有一个,则下载唯一的数据包,如果多个,则必须指定数据包版本, 例如 3.0 **

func (*Service) GetFileDownloadURL

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

func (*Service) GetFileStatus

func (o *Service) GetFileStatus(fileId int64) ([]*response.DataBagBean, error)

func (*Service) GetIntegrateDownloadURL

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

func (*Service) GetIntegrateStatus

func (o *Service) GetIntegrateStatus(integrateId int64) ([]*response.DataBagBean, error)

func (*Service) GetStatus

func (o *Service) GetStatus(dataBagRequest *request.DataBagRequest) ([]*response.DataBagBean, error)

查询离线数据包 ** 字段 类型 必填 描述 fileId Number Y 通过文件转换Id创建离线数据包时必填 integrateId Number Y 通过集成模型Id创建离线数据包时必填 compareId Number Y 通过模型对比Id创建离线数据包时必填 **

func (*Service) IntegrateDataBag

func (o *Service) IntegrateDataBag(integrateId int64, callback string) (*response.DataBagBean, error)

func (*Service) MakeDataBag

func (o *Service) MakeDataBag(dataBagRequest *request.DataBagRequest) (*response.DataBagBean, error)

创建离线数据包 ** 字段 类型 必填 描述 fileId Number Y 通过文件转换Id创建离线数据包时必填 integrateId Number Y 通过集成模型Id创建离线数据包时必填 compareId Number Y 通过模型对比Id创建离线数据包时必填 callback String N 回调url **

Jump to

Keyboard shortcuts

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