v20210303

package
v1.0.939 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// CAM签名/鉴权错误。
	AUTHFAILURE = "AuthFailure"

	// 操作失败。
	FAILEDOPERATION = "FailedOperation"

	// 帐号已欠费。
	FAILEDOPERATION_ARREARSERROR = "FailedOperation.ArrearsError"

	// 今日次数达到限制。
	FAILEDOPERATION_COUNTLIMITERROR = "FailedOperation.CountLimitError"

	// 数据明文内容过长。
	FAILEDOPERATION_DATAINFOTOOLONG = "FailedOperation.DataInfoTooLong"

	// 文件下载失败。
	FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError"

	// 文件编码格式错误。
	FAILEDOPERATION_FILEENCODINDFORMATERROR = "FailedOperation.FileEncodindFormatError"

	// 文件读取失败。
	FAILEDOPERATION_FILEREADFAILED = "FailedOperation.FileReadFailed"

	// 哈希不匹配。
	FAILEDOPERATION_HASHNOMATCH = "FailedOperation.HashNoMatch"

	// 上链失败。
	FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"

	// 查询无记录。
	FAILEDOPERATION_QUERYNORECORD = "FailedOperation.QueryNoRecord"

	// 敏感数据。
	FAILEDOPERATION_SENSITIVEDATA = "FailedOperation.SensitiveData"

	// 未知错误。
	FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"

	// 内部错误。
	INTERNALERROR = "InternalError"

	// 参数错误。
	INVALIDPARAMETER = "InvalidParameter"

	// 用户数据无效。
	INVALIDPARAMETER_ACCOUNTINFOINVALID = "InvalidParameter.AccountInfoInvalid"

	// 文件后缀不正确。
	INVALIDPARAMETER_INVALIDFILESUFFIX = "InvalidParameter.InvalidFileSuffix"

	// 参数值错误。
	INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"

	// URL无效。
	INVALIDPARAMETER_INVALIDURL = "InvalidParameter.InvalidURL"

	// 参数取值错误。
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// 数据明文内容过长。
	INVALIDPARAMETERVALUE_DATAINFOTOOLONG = "InvalidParameterValue.DataInfoTooLong"

	// 哈希不匹配。
	INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"

	// 文件后缀不正确。
	INVALIDPARAMETERVALUE_INVALIDFILESUFFIX = "InvalidParameterValue.InvalidFileSuffix"

	// URL无效。
	INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"

	// 文件内容太大。
	INVALIDPARAMETERVALUE_TOOLARGEFILEERROR = "InvalidParameterValue.TooLargeFileError"

	// 文件内容太大。
	LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError"

	// 余额不足。
	RESOURCEINSUFFICIENT_LOWBALANCE = "ResourceInsufficient.LowBalance"

	// 文件下载失败。
	RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

	// 资源未完成开通。
	RESOURCEUNAVAILABLE_RESOURCENOTOPENED = "ResourceUnavailable.ResourceNotOpened"
)
View Source
const APIVersion = "2021-03-03"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateAudioDeposit

func (c *Client) CreateAudioDeposit(request *CreateAudioDepositRequest) (response *CreateAudioDepositResponse, err error)

CreateAudioDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的音频原文件或下载URL,BTOE对音频原文件存储后,将其Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。音频类型支持格式:mp3、wav、wma、midi、flac;原文件上传大小不超过5 MB,下载URL文件大小不超过25 MB。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
INVALIDPARAMETERVALUE_INVALIDFILESUFFIX = "InvalidParameterValue.InvalidFileSuffix"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
INVALIDPARAMETERVALUE_TOOLARGEFILEERROR = "InvalidParameterValue.TooLargeFileError"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateAudioDepositWithContext added in v1.0.324

func (c *Client) CreateAudioDepositWithContext(ctx context.Context, request *CreateAudioDepositRequest) (response *CreateAudioDepositResponse, err error)

CreateAudioDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的音频原文件或下载URL,BTOE对音频原文件存储后,将其Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。音频类型支持格式:mp3、wav、wma、midi、flac;原文件上传大小不超过5 MB,下载URL文件大小不超过25 MB。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
INVALIDPARAMETERVALUE_INVALIDFILESUFFIX = "InvalidParameterValue.InvalidFileSuffix"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
INVALIDPARAMETERVALUE_TOOLARGEFILEERROR = "InvalidParameterValue.TooLargeFileError"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateDataDeposit

func (c *Client) CreateDataDeposit(request *CreateDataDepositRequest) (response *CreateDataDepositResponse, err error)

CreateDataDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的业务数据明文,业务数据明文存证写入后不可修改,BTOE对业务数据明文存证生成含有电子签章的区块链存证电子凭证。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_QUERYNORECORD = "FailedOperation.QueryNoRecord"
FAILEDOPERATION_SENSITIVEDATA = "FailedOperation.SensitiveData"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATAINFOTOOLONG = "InvalidParameterValue.DataInfoTooLong"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateDataDepositWithContext added in v1.0.324

func (c *Client) CreateDataDepositWithContext(ctx context.Context, request *CreateDataDepositRequest) (response *CreateDataDepositResponse, err error)

CreateDataDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的业务数据明文,业务数据明文存证写入后不可修改,BTOE对业务数据明文存证生成含有电子签章的区块链存证电子凭证。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_QUERYNORECORD = "FailedOperation.QueryNoRecord"
FAILEDOPERATION_SENSITIVEDATA = "FailedOperation.SensitiveData"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DATAINFOTOOLONG = "InvalidParameterValue.DataInfoTooLong"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateDocDeposit

func (c *Client) CreateDocDeposit(request *CreateDocDepositRequest) (response *CreateDocDepositResponse, err error)

CreateDocDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的文档原文件或下载URL,BTOE对文档原文件存储后,将其Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。文档类型支持格式:doc、docx、xls、xlsx、ppt、pptx、 pdf、html、txt、md、csv;原文件上传大小不超过5 MB,下载URL文件大小不超过10 MB。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_FILEREADFAILED = "FailedOperation.FileReadFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDFILESUFFIX = "InvalidParameter.InvalidFileSuffix"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
INVALIDPARAMETERVALUE_INVALIDFILESUFFIX = "InvalidParameterValue.InvalidFileSuffix"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
INVALIDPARAMETERVALUE_TOOLARGEFILEERROR = "InvalidParameterValue.TooLargeFileError"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateDocDepositWithContext added in v1.0.324

func (c *Client) CreateDocDepositWithContext(ctx context.Context, request *CreateDocDepositRequest) (response *CreateDocDepositResponse, err error)

CreateDocDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的文档原文件或下载URL,BTOE对文档原文件存储后,将其Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。文档类型支持格式:doc、docx、xls、xlsx、ppt、pptx、 pdf、html、txt、md、csv;原文件上传大小不超过5 MB,下载URL文件大小不超过10 MB。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_FILEREADFAILED = "FailedOperation.FileReadFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDFILESUFFIX = "InvalidParameter.InvalidFileSuffix"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
INVALIDPARAMETERVALUE_INVALIDFILESUFFIX = "InvalidParameterValue.InvalidFileSuffix"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
INVALIDPARAMETERVALUE_TOOLARGEFILEERROR = "InvalidParameterValue.TooLargeFileError"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateHashDeposit

func (c *Client) CreateHashDeposit(request *CreateHashDepositRequest) (response *CreateHashDepositResponse, err error)

CreateHashDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的原文数据Hash值,BTOE对业务数据Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
RESOURCEUNAVAILABLE_RESOURCENOTOPENED = "ResourceUnavailable.ResourceNotOpened"

func (*Client) CreateHashDepositNoCert

func (c *Client) CreateHashDepositNoCert(request *CreateHashDepositNoCertRequest) (response *CreateHashDepositNoCertResponse, err error)

CreateHashDepositNoCert 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的原文数据Hash值,BTOE对业务数据Hash值存证上链,本接口不生成区块链存证电子凭证。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
RESOURCEUNAVAILABLE_RESOURCENOTOPENED = "ResourceUnavailable.ResourceNotOpened"

func (*Client) CreateHashDepositNoCertWithContext added in v1.0.324

func (c *Client) CreateHashDepositNoCertWithContext(ctx context.Context, request *CreateHashDepositNoCertRequest) (response *CreateHashDepositNoCertResponse, err error)

CreateHashDepositNoCert 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的原文数据Hash值,BTOE对业务数据Hash值存证上链,本接口不生成区块链存证电子凭证。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
RESOURCEUNAVAILABLE_RESOURCENOTOPENED = "ResourceUnavailable.ResourceNotOpened"

func (*Client) CreateHashDepositNoSeal

func (c *Client) CreateHashDepositNoSeal(request *CreateHashDepositNoSealRequest) (response *CreateHashDepositNoSealResponse, err error)

CreateHashDepositNoSeal 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的原文数据Hash值,BTOE对业务数据Hash值存证上链,并生成无电子签章的区块链存证电子凭证。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
RESOURCEUNAVAILABLE_RESOURCENOTOPENED = "ResourceUnavailable.ResourceNotOpened"

func (*Client) CreateHashDepositNoSealWithContext added in v1.0.324

func (c *Client) CreateHashDepositNoSealWithContext(ctx context.Context, request *CreateHashDepositNoSealRequest) (response *CreateHashDepositNoSealResponse, err error)

CreateHashDepositNoSeal 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的原文数据Hash值,BTOE对业务数据Hash值存证上链,并生成无电子签章的区块链存证电子凭证。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
RESOURCEUNAVAILABLE_RESOURCENOTOPENED = "ResourceUnavailable.ResourceNotOpened"

func (*Client) CreateHashDepositWithContext added in v1.0.324

func (c *Client) CreateHashDepositWithContext(ctx context.Context, request *CreateHashDepositRequest) (response *CreateHashDepositResponse, err error)

CreateHashDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的原文数据Hash值,BTOE对业务数据Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
RESOURCEUNAVAILABLE_RESOURCENOTOPENED = "ResourceUnavailable.ResourceNotOpened"

func (*Client) CreateImageDeposit

func (c *Client) CreateImageDeposit(request *CreateImageDepositRequest) (response *CreateImageDepositResponse, err error)

CreateImageDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的图片原文件或下载URL,BTOE对图片原文件存储后,将其Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。图片类型支持格式:png、jpg、jpeg、bmp、gif、svg;原文件上传大小不超过5 MB,下载URL文件大小不超过10 MB。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_FILEENCODINDFORMATERROR = "FailedOperation.FileEncodindFormatError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
INVALIDPARAMETERVALUE_INVALIDFILESUFFIX = "InvalidParameterValue.InvalidFileSuffix"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
INVALIDPARAMETERVALUE_TOOLARGEFILEERROR = "InvalidParameterValue.TooLargeFileError"
RESOURCEINSUFFICIENT_LOWBALANCE = "ResourceInsufficient.LowBalance"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateImageDepositWithContext added in v1.0.324

func (c *Client) CreateImageDepositWithContext(ctx context.Context, request *CreateImageDepositRequest) (response *CreateImageDepositResponse, err error)

CreateImageDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的图片原文件或下载URL,BTOE对图片原文件存储后,将其Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。图片类型支持格式:png、jpg、jpeg、bmp、gif、svg;原文件上传大小不超过5 MB,下载URL文件大小不超过10 MB。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_FILEENCODINDFORMATERROR = "FailedOperation.FileEncodindFormatError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
INVALIDPARAMETERVALUE_INVALIDFILESUFFIX = "InvalidParameterValue.InvalidFileSuffix"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
INVALIDPARAMETERVALUE_TOOLARGEFILEERROR = "InvalidParameterValue.TooLargeFileError"
RESOURCEINSUFFICIENT_LOWBALANCE = "ResourceInsufficient.LowBalance"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateVideoDeposit

func (c *Client) CreateVideoDeposit(request *CreateVideoDepositRequest) (response *CreateVideoDepositResponse, err error)

CreateVideoDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的视频的原文件或下载URL,BTOE对视频原文件存储后,将其Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。视频文件支持格式:mp4、avi、mkv、mov、flv,wmv,rmvb,3gp;文件大小限制:直接上传原文件不大于5MB,下载URL文件大小不大于200 MB。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_FILEENCODINDFORMATERROR = "FailedOperation.FileEncodindFormatError"
FAILEDOPERATION_FILEREADFAILED = "FailedOperation.FileReadFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDFILESUFFIX = "InvalidParameter.InvalidFileSuffix"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
INVALIDPARAMETERVALUE_INVALIDFILESUFFIX = "InvalidParameterValue.InvalidFileSuffix"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
INVALIDPARAMETERVALUE_TOOLARGEFILEERROR = "InvalidParameterValue.TooLargeFileError"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateVideoDepositWithContext added in v1.0.324

func (c *Client) CreateVideoDepositWithContext(ctx context.Context, request *CreateVideoDepositRequest) (response *CreateVideoDepositResponse, err error)

CreateVideoDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE写入待存证的视频的原文件或下载URL,BTOE对视频原文件存储后,将其Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。视频文件支持格式:mp4、avi、mkv、mov、flv,wmv,rmvb,3gp;文件大小限制:直接上传原文件不大于5MB,下载URL文件大小不大于200 MB。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_FILEENCODINDFORMATERROR = "FailedOperation.FileEncodindFormatError"
FAILEDOPERATION_FILEREADFAILED = "FailedOperation.FileReadFailed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDFILESUFFIX = "InvalidParameter.InvalidFileSuffix"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_HASHNOMATCH = "InvalidParameterValue.HashNoMatch"
INVALIDPARAMETERVALUE_INVALIDFILESUFFIX = "InvalidParameterValue.InvalidFileSuffix"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
INVALIDPARAMETERVALUE_TOOLARGEFILEERROR = "InvalidParameterValue.TooLargeFileError"
RESOURCENOTFOUND_DOWNLOADERROR = "ResourceNotFound.DownLoadError"

func (*Client) CreateWebpageDeposit

func (c *Client) CreateWebpageDeposit(request *CreateWebpageDepositRequest) (response *CreateWebpageDepositResponse, err error)

CreateWebpageDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE提交待存证网页的URL,BTOE对URL进行网页快照,并将快照图片存储,将网页快照Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。URL格式必须以http、https开头。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETER_INVALIDURL = "InvalidParameter.InvalidURL"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
RESOURCEINSUFFICIENT_LOWBALANCE = "ResourceInsufficient.LowBalance"
RESOURCEUNAVAILABLE_RESOURCENOTOPENED = "ResourceUnavailable.ResourceNotOpened"

func (*Client) CreateWebpageDepositWithContext added in v1.0.324

func (c *Client) CreateWebpageDepositWithContext(ctx context.Context, request *CreateWebpageDepositRequest) (response *CreateWebpageDepositResponse, err error)

CreateWebpageDeposit 功能迭代,已上线更高版本的接口2021-05-14

用户通过本接口向BTOE提交待存证网页的URL,BTOE对URL进行网页快照,并将快照图片存储,将网页快照Hash值存证上链,并生成含有电子签章的区块链存证电子凭证。URL格式必须以http、https开头。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETER_INVALIDURL = "InvalidParameter.InvalidURL"
INVALIDPARAMETERVALUE_INVALIDURL = "InvalidParameterValue.InvalidURL"
RESOURCEINSUFFICIENT_LOWBALANCE = "ResourceInsufficient.LowBalance"
RESOURCEUNAVAILABLE_RESOURCENOTOPENED = "ResourceUnavailable.ResourceNotOpened"

func (*Client) GetDepositCert

func (c *Client) GetDepositCert(request *GetDepositCertRequest) (response *GetDepositCertResponse, err error)

GetDepositCert 功能迭代,已上线更高版本的接口2021-05-14

用户通过存证编码向BTOE查询存证电子凭证信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_QUERYNORECORD = "FailedOperation.QueryNoRecord"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) GetDepositCertWithContext added in v1.0.324

func (c *Client) GetDepositCertWithContext(ctx context.Context, request *GetDepositCertRequest) (response *GetDepositCertResponse, err error)

GetDepositCert 功能迭代,已上线更高版本的接口2021-05-14

用户通过存证编码向BTOE查询存证电子凭证信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_QUERYNORECORD = "FailedOperation.QueryNoRecord"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) GetDepositFile

func (c *Client) GetDepositFile(request *GetDepositFileRequest) (response *GetDepositFileResponse, err error)

GetDepositFile 功能迭代,已上线更高版本的接口2021-05-14

用户通过存证编码向BTOE获取存证文件的下载URL。

-注:Hash类存证、业务数据明文存证不产生存证文件。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_ARREARSERROR = "FailedOperation.ArrearsError"
FAILEDOPERATION_COUNTLIMITERROR = "FailedOperation.CountLimitError"
FAILEDOPERATION_DATAINFOTOOLONG = "FailedOperation.DataInfoTooLong"
FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError"
FAILEDOPERATION_HASHNOMATCH = "FailedOperation.HashNoMatch"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_QUERYNORECORD = "FailedOperation.QueryNoRecord"
FAILEDOPERATION_SENSITIVEDATA = "FailedOperation.SensitiveData"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ACCOUNTINFOINVALID = "InvalidParameter.AccountInfoInvalid"
INVALIDPARAMETER_INVALIDFILESUFFIX = "InvalidParameter.InvalidFileSuffix"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError"
RESOURCEINSUFFICIENT_LOWBALANCE = "ResourceInsufficient.LowBalance"

func (*Client) GetDepositFileWithContext added in v1.0.324

func (c *Client) GetDepositFileWithContext(ctx context.Context, request *GetDepositFileRequest) (response *GetDepositFileResponse, err error)

GetDepositFile 功能迭代,已上线更高版本的接口2021-05-14

用户通过存证编码向BTOE获取存证文件的下载URL。

-注:Hash类存证、业务数据明文存证不产生存证文件。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_ARREARSERROR = "FailedOperation.ArrearsError"
FAILEDOPERATION_COUNTLIMITERROR = "FailedOperation.CountLimitError"
FAILEDOPERATION_DATAINFOTOOLONG = "FailedOperation.DataInfoTooLong"
FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError"
FAILEDOPERATION_HASHNOMATCH = "FailedOperation.HashNoMatch"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_QUERYNORECORD = "FailedOperation.QueryNoRecord"
FAILEDOPERATION_SENSITIVEDATA = "FailedOperation.SensitiveData"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_ACCOUNTINFOINVALID = "InvalidParameter.AccountInfoInvalid"
INVALIDPARAMETER_INVALIDFILESUFFIX = "InvalidParameter.InvalidFileSuffix"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED_TOOLARGEFILEERROR = "LimitExceeded.TooLargeFileError"
RESOURCEINSUFFICIENT_LOWBALANCE = "ResourceInsufficient.LowBalance"

func (*Client) GetDepositInfo

func (c *Client) GetDepositInfo(request *GetDepositInfoRequest) (response *GetDepositInfoResponse, err error)

GetDepositInfo 功能迭代,已上线更高版本的接口2021-05-14

用户通过存证编码向BTOE查询存证基本信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError"
FAILEDOPERATION_FILEREADFAILED = "FailedOperation.FileReadFailed"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_QUERYNORECORD = "FailedOperation.QueryNoRecord"
FAILEDOPERATION_SENSITIVEDATA = "FailedOperation.SensitiveData"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) GetDepositInfoWithContext added in v1.0.324

func (c *Client) GetDepositInfoWithContext(ctx context.Context, request *GetDepositInfoRequest) (response *GetDepositInfoResponse, err error)

GetDepositInfo 功能迭代,已上线更高版本的接口2021-05-14

用户通过存证编码向BTOE查询存证基本信息。

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DOWNLOADERROR = "FailedOperation.DownLoadError"
FAILEDOPERATION_FILEREADFAILED = "FailedOperation.FileReadFailed"
FAILEDOPERATION_ONCHAINFAILURE = "FailedOperation.OnChainFailure"
FAILEDOPERATION_QUERYNORECORD = "FailedOperation.QueryNoRecord"
FAILEDOPERATION_SENSITIVEDATA = "FailedOperation.SensitiveData"
FAILEDOPERATION_UNKNOWERROR = "FailedOperation.UnKnowError"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_INVALIDPARAMETERVALUE = "InvalidParameter.InvalidParameterValue"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

type CreateAudioDepositRequest

type CreateAudioDepositRequest struct {
	*tchttp.BaseRequest

	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 对应数据Base64文件名称
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 文件hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 数据Base64编码,大小不超过5M
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// 资源访问链接 与fileContent必须二选一
	FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

func NewCreateAudioDepositRequest

func NewCreateAudioDepositRequest() (request *CreateAudioDepositRequest)

func (*CreateAudioDepositRequest) FromJsonString

func (r *CreateAudioDepositRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAudioDepositRequest) ToJsonString

func (r *CreateAudioDepositRequest) ToJsonString() string

type CreateAudioDepositRequestParams added in v1.0.426

type CreateAudioDepositRequestParams struct {
	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 对应数据Base64文件名称
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 文件hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 数据Base64编码,大小不超过5M
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// 资源访问链接 与fileContent必须二选一
	FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

Predefined struct for user

type CreateAudioDepositResponse

type CreateAudioDepositResponse struct {
	*tchttp.BaseResponse
	Response *CreateAudioDepositResponseParams `json:"Response"`
}

func NewCreateAudioDepositResponse

func NewCreateAudioDepositResponse() (response *CreateAudioDepositResponse)

func (*CreateAudioDepositResponse) FromJsonString

func (r *CreateAudioDepositResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAudioDepositResponse) ToJsonString

func (r *CreateAudioDepositResponse) ToJsonString() string

type CreateAudioDepositResponseParams added in v1.0.426

type CreateAudioDepositResponseParams struct {
	// 业务ID 透传 长度最大不超过64
	// 注意:此字段可能返回 null,表示取不到有效值。
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 请求成功,返回存证编码,用于查询存证后续业务数据
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDataDepositRequest

type CreateDataDepositRequest struct {
	*tchttp.BaseRequest

	// 业务数据明文(json格式字符串),最大256kb
	EvidenceInfo *string `json:"EvidenceInfo,omitnil,omitempty" name:"EvidenceInfo"`

	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 数据hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

func NewCreateDataDepositRequest

func NewCreateDataDepositRequest() (request *CreateDataDepositRequest)

func (*CreateDataDepositRequest) FromJsonString

func (r *CreateDataDepositRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDataDepositRequest) ToJsonString

func (r *CreateDataDepositRequest) ToJsonString() string

type CreateDataDepositRequestParams added in v1.0.426

type CreateDataDepositRequestParams struct {
	// 业务数据明文(json格式字符串),最大256kb
	EvidenceInfo *string `json:"EvidenceInfo,omitnil,omitempty" name:"EvidenceInfo"`

	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 数据hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

Predefined struct for user

type CreateDataDepositResponse

type CreateDataDepositResponse struct {
	*tchttp.BaseResponse
	Response *CreateDataDepositResponseParams `json:"Response"`
}

func NewCreateDataDepositResponse

func NewCreateDataDepositResponse() (response *CreateDataDepositResponse)

func (*CreateDataDepositResponse) FromJsonString

func (r *CreateDataDepositResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDataDepositResponse) ToJsonString

func (r *CreateDataDepositResponse) ToJsonString() string

type CreateDataDepositResponseParams added in v1.0.426

type CreateDataDepositResponseParams struct {
	// 业务ID 透传 长度最大不超过64
	// 注意:此字段可能返回 null,表示取不到有效值。
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 请求成功,返回存证编码,用于查询存证后续业务数据
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDocDepositRequest

type CreateDocDepositRequest struct {
	*tchttp.BaseRequest

	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 对应数据Base64文件名称
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 文件hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 数据Base64编码,大小不超过5M
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// 资源访问链接 与fileContent必须二选一
	FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

func NewCreateDocDepositRequest

func NewCreateDocDepositRequest() (request *CreateDocDepositRequest)

func (*CreateDocDepositRequest) FromJsonString

func (r *CreateDocDepositRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDocDepositRequest) ToJsonString

func (r *CreateDocDepositRequest) ToJsonString() string

type CreateDocDepositRequestParams added in v1.0.426

type CreateDocDepositRequestParams struct {
	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 对应数据Base64文件名称
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 文件hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 数据Base64编码,大小不超过5M
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// 资源访问链接 与fileContent必须二选一
	FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

Predefined struct for user

type CreateDocDepositResponse

type CreateDocDepositResponse struct {
	*tchttp.BaseResponse
	Response *CreateDocDepositResponseParams `json:"Response"`
}

func NewCreateDocDepositResponse

func NewCreateDocDepositResponse() (response *CreateDocDepositResponse)

func (*CreateDocDepositResponse) FromJsonString

func (r *CreateDocDepositResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDocDepositResponse) ToJsonString

func (r *CreateDocDepositResponse) ToJsonString() string

type CreateDocDepositResponseParams added in v1.0.426

type CreateDocDepositResponseParams struct {
	// 业务ID 透传 长度最大不超过64
	// 注意:此字段可能返回 null,表示取不到有效值。
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 请求成功,返回存证编码,用于查询存证后续业务数据
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateHashDepositNoCertRequest

type CreateHashDepositNoCertRequest struct {
	*tchttp.BaseRequest

	// 数据hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 该字段为透传字段,方便调用方做业务处理, 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 业务扩展信息
	EvidenceInfo *string `json:"EvidenceInfo,omitnil,omitempty" name:"EvidenceInfo"`
}

func NewCreateHashDepositNoCertRequest

func NewCreateHashDepositNoCertRequest() (request *CreateHashDepositNoCertRequest)

func (*CreateHashDepositNoCertRequest) FromJsonString

func (r *CreateHashDepositNoCertRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHashDepositNoCertRequest) ToJsonString

func (r *CreateHashDepositNoCertRequest) ToJsonString() string

type CreateHashDepositNoCertRequestParams added in v1.0.426

type CreateHashDepositNoCertRequestParams struct {
	// 数据hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 该字段为透传字段,方便调用方做业务处理, 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 业务扩展信息
	EvidenceInfo *string `json:"EvidenceInfo,omitnil,omitempty" name:"EvidenceInfo"`
}

Predefined struct for user

type CreateHashDepositNoCertResponse

type CreateHashDepositNoCertResponse struct {
	*tchttp.BaseResponse
	Response *CreateHashDepositNoCertResponseParams `json:"Response"`
}

func NewCreateHashDepositNoCertResponse

func NewCreateHashDepositNoCertResponse() (response *CreateHashDepositNoCertResponse)

func (*CreateHashDepositNoCertResponse) FromJsonString

func (r *CreateHashDepositNoCertResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHashDepositNoCertResponse) ToJsonString

func (r *CreateHashDepositNoCertResponse) ToJsonString() string

type CreateHashDepositNoCertResponseParams added in v1.0.426

type CreateHashDepositNoCertResponseParams struct {
	// 透传字段
	// 注意:此字段可能返回 null,表示取不到有效值。
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 上链时间
	EvidenceTime *string `json:"EvidenceTime,omitnil,omitempty" name:"EvidenceTime"`

	// 区块链交易哈希
	EvidenceTxHash *string `json:"EvidenceTxHash,omitnil,omitempty" name:"EvidenceTxHash"`

	// 区块高度
	BlockchainHeight *uint64 `json:"BlockchainHeight,omitnil,omitempty" name:"BlockchainHeight"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateHashDepositNoSealRequest

type CreateHashDepositNoSealRequest struct {
	*tchttp.BaseRequest

	// 数据hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 该字段为透传字段,方便调用方做业务处理, 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 业务扩展信息
	EvidenceInfo *string `json:"EvidenceInfo,omitnil,omitempty" name:"EvidenceInfo"`
}

func NewCreateHashDepositNoSealRequest

func NewCreateHashDepositNoSealRequest() (request *CreateHashDepositNoSealRequest)

func (*CreateHashDepositNoSealRequest) FromJsonString

func (r *CreateHashDepositNoSealRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHashDepositNoSealRequest) ToJsonString

func (r *CreateHashDepositNoSealRequest) ToJsonString() string

type CreateHashDepositNoSealRequestParams added in v1.0.426

type CreateHashDepositNoSealRequestParams struct {
	// 数据hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 该字段为透传字段,方便调用方做业务处理, 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 业务扩展信息
	EvidenceInfo *string `json:"EvidenceInfo,omitnil,omitempty" name:"EvidenceInfo"`
}

Predefined struct for user

type CreateHashDepositNoSealResponse

type CreateHashDepositNoSealResponse struct {
	*tchttp.BaseResponse
	Response *CreateHashDepositNoSealResponseParams `json:"Response"`
}

func NewCreateHashDepositNoSealResponse

func NewCreateHashDepositNoSealResponse() (response *CreateHashDepositNoSealResponse)

func (*CreateHashDepositNoSealResponse) FromJsonString

func (r *CreateHashDepositNoSealResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHashDepositNoSealResponse) ToJsonString

func (r *CreateHashDepositNoSealResponse) ToJsonString() string

type CreateHashDepositNoSealResponseParams added in v1.0.426

type CreateHashDepositNoSealResponseParams struct {
	// 透传字段
	// 注意:此字段可能返回 null,表示取不到有效值。
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 上链时间
	EvidenceTime *string `json:"EvidenceTime,omitnil,omitempty" name:"EvidenceTime"`

	// 区块链交易哈希
	EvidenceTxHash *string `json:"EvidenceTxHash,omitnil,omitempty" name:"EvidenceTxHash"`

	// 区块高度
	BlockchainHeight *uint64 `json:"BlockchainHeight,omitnil,omitempty" name:"BlockchainHeight"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateHashDepositRequest

type CreateHashDepositRequest struct {
	*tchttp.BaseRequest

	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 数据hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 该字段为透传字段,方便调用方做业务处理, 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

func NewCreateHashDepositRequest

func NewCreateHashDepositRequest() (request *CreateHashDepositRequest)

func (*CreateHashDepositRequest) FromJsonString

func (r *CreateHashDepositRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHashDepositRequest) ToJsonString

func (r *CreateHashDepositRequest) ToJsonString() string

type CreateHashDepositRequestParams added in v1.0.426

type CreateHashDepositRequestParams struct {
	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 数据hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 该字段为透传字段,方便调用方做业务处理, 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

Predefined struct for user

type CreateHashDepositResponse

type CreateHashDepositResponse struct {
	*tchttp.BaseResponse
	Response *CreateHashDepositResponseParams `json:"Response"`
}

func NewCreateHashDepositResponse

func NewCreateHashDepositResponse() (response *CreateHashDepositResponse)

func (*CreateHashDepositResponse) FromJsonString

func (r *CreateHashDepositResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateHashDepositResponse) ToJsonString

func (r *CreateHashDepositResponse) ToJsonString() string

type CreateHashDepositResponseParams added in v1.0.426

type CreateHashDepositResponseParams struct {
	// 透传字段
	// 注意:此字段可能返回 null,表示取不到有效值。
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateImageDepositRequest

type CreateImageDepositRequest struct {
	*tchttp.BaseRequest

	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 对应数据Base64文件名称 test.png
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 文件hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 数据Base64编码,大小不超过5M
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// 资源访问链接 与fileContent必须二选一
	FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

func NewCreateImageDepositRequest

func NewCreateImageDepositRequest() (request *CreateImageDepositRequest)

func (*CreateImageDepositRequest) FromJsonString

func (r *CreateImageDepositRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateImageDepositRequest) ToJsonString

func (r *CreateImageDepositRequest) ToJsonString() string

type CreateImageDepositRequestParams added in v1.0.426

type CreateImageDepositRequestParams struct {
	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 对应数据Base64文件名称 test.png
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 文件hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 数据Base64编码,大小不超过5M
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// 资源访问链接 与fileContent必须二选一
	FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

Predefined struct for user

type CreateImageDepositResponse

type CreateImageDepositResponse struct {
	*tchttp.BaseResponse
	Response *CreateImageDepositResponseParams `json:"Response"`
}

func NewCreateImageDepositResponse

func NewCreateImageDepositResponse() (response *CreateImageDepositResponse)

func (*CreateImageDepositResponse) FromJsonString

func (r *CreateImageDepositResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateImageDepositResponse) ToJsonString

func (r *CreateImageDepositResponse) ToJsonString() string

type CreateImageDepositResponseParams added in v1.0.426

type CreateImageDepositResponseParams struct {
	// 业务ID 透传 长度最大不超过64
	// 注意:此字段可能返回 null,表示取不到有效值。
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 请求成功,返回存证编码,用于查询存证后续业务数据
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateVideoDepositRequest

type CreateVideoDepositRequest struct {
	*tchttp.BaseRequest

	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 对应数据Base64文件名称
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 文件hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 数据Base64编码,大小不超过5M
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// 资源访问链接 与fileContent必须二选一
	FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

func NewCreateVideoDepositRequest

func NewCreateVideoDepositRequest() (request *CreateVideoDepositRequest)

func (*CreateVideoDepositRequest) FromJsonString

func (r *CreateVideoDepositRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateVideoDepositRequest) ToJsonString

func (r *CreateVideoDepositRequest) ToJsonString() string

type CreateVideoDepositRequestParams added in v1.0.426

type CreateVideoDepositRequestParams struct {
	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 对应数据Base64文件名称
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 文件hash
	EvidenceHash *string `json:"EvidenceHash,omitnil,omitempty" name:"EvidenceHash"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 数据Base64编码,大小不超过5M
	FileContent *string `json:"FileContent,omitnil,omitempty" name:"FileContent"`

	// 资源访问链接 与fileContent必须二选一
	FileUrl *string `json:"FileUrl,omitnil,omitempty" name:"FileUrl"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

Predefined struct for user

type CreateVideoDepositResponse

type CreateVideoDepositResponse struct {
	*tchttp.BaseResponse
	Response *CreateVideoDepositResponseParams `json:"Response"`
}

func NewCreateVideoDepositResponse

func NewCreateVideoDepositResponse() (response *CreateVideoDepositResponse)

func (*CreateVideoDepositResponse) FromJsonString

func (r *CreateVideoDepositResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateVideoDepositResponse) ToJsonString

func (r *CreateVideoDepositResponse) ToJsonString() string

type CreateVideoDepositResponseParams added in v1.0.426

type CreateVideoDepositResponseParams struct {
	// 业务ID 透传 长度最大不超过64
	// 注意:此字段可能返回 null,表示取不到有效值。
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 请求成功,返回存证编码,用于查询存证后续业务数据
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateWebpageDepositRequest

type CreateWebpageDepositRequest struct {
	*tchttp.BaseRequest

	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 网页链接
	EvidenceUrl *string `json:"EvidenceUrl,omitnil,omitempty" name:"EvidenceUrl"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

func NewCreateWebpageDepositRequest

func NewCreateWebpageDepositRequest() (request *CreateWebpageDepositRequest)

func (*CreateWebpageDepositRequest) FromJsonString

func (r *CreateWebpageDepositRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWebpageDepositRequest) ToJsonString

func (r *CreateWebpageDepositRequest) ToJsonString() string

type CreateWebpageDepositRequestParams added in v1.0.426

type CreateWebpageDepositRequestParams struct {
	// 存证名称(长度最大30)
	EvidenceName *string `json:"EvidenceName,omitnil,omitempty" name:"EvidenceName"`

	// 网页链接
	EvidenceUrl *string `json:"EvidenceUrl,omitnil,omitempty" name:"EvidenceUrl"`

	// 业务ID 透传 长度最大不超过64
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 算法类型 0 SM3, 1 SHA256, 2 SHA384 默认0
	HashType *uint64 `json:"HashType,omitnil,omitempty" name:"HashType"`

	// 存证描述
	EvidenceDescription *string `json:"EvidenceDescription,omitnil,omitempty" name:"EvidenceDescription"`
}

Predefined struct for user

type CreateWebpageDepositResponse

type CreateWebpageDepositResponse struct {
	*tchttp.BaseResponse
	Response *CreateWebpageDepositResponseParams `json:"Response"`
}

func NewCreateWebpageDepositResponse

func NewCreateWebpageDepositResponse() (response *CreateWebpageDepositResponse)

func (*CreateWebpageDepositResponse) FromJsonString

func (r *CreateWebpageDepositResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateWebpageDepositResponse) ToJsonString

func (r *CreateWebpageDepositResponse) ToJsonString() string

type CreateWebpageDepositResponseParams added in v1.0.426

type CreateWebpageDepositResponseParams struct {
	// 业务ID 透传 长度最大不超过64
	// 注意:此字段可能返回 null,表示取不到有效值。
	BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"`

	// 请求成功,返回存证编码,用于查询存证后续业务数据
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetDepositCertRequest

type GetDepositCertRequest struct {
	*tchttp.BaseRequest

	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`
}

func NewGetDepositCertRequest

func NewGetDepositCertRequest() (request *GetDepositCertRequest)

func (*GetDepositCertRequest) FromJsonString

func (r *GetDepositCertRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDepositCertRequest) ToJsonString

func (r *GetDepositCertRequest) ToJsonString() string

type GetDepositCertRequestParams added in v1.0.426

type GetDepositCertRequestParams struct {
	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`
}

Predefined struct for user

type GetDepositCertResponse

type GetDepositCertResponse struct {
	*tchttp.BaseResponse
	Response *GetDepositCertResponseParams `json:"Response"`
}

func NewGetDepositCertResponse

func NewGetDepositCertResponse() (response *GetDepositCertResponse)

func (*GetDepositCertResponse) FromJsonString

func (r *GetDepositCertResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDepositCertResponse) ToJsonString

func (r *GetDepositCertResponse) ToJsonString() string

type GetDepositCertResponseParams added in v1.0.426

type GetDepositCertResponseParams struct {
	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 存证证书文件临时链接
	EvidenceCert *string `json:"EvidenceCert,omitnil,omitempty" name:"EvidenceCert"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetDepositFileRequest

type GetDepositFileRequest struct {
	*tchttp.BaseRequest

	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`
}

func NewGetDepositFileRequest

func NewGetDepositFileRequest() (request *GetDepositFileRequest)

func (*GetDepositFileRequest) FromJsonString

func (r *GetDepositFileRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDepositFileRequest) ToJsonString

func (r *GetDepositFileRequest) ToJsonString() string

type GetDepositFileRequestParams added in v1.0.426

type GetDepositFileRequestParams struct {
	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`
}

Predefined struct for user

type GetDepositFileResponse

type GetDepositFileResponse struct {
	*tchttp.BaseResponse
	Response *GetDepositFileResponseParams `json:"Response"`
}

func NewGetDepositFileResponse

func NewGetDepositFileResponse() (response *GetDepositFileResponse)

func (*GetDepositFileResponse) FromJsonString

func (r *GetDepositFileResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDepositFileResponse) ToJsonString

func (r *GetDepositFileResponse) ToJsonString() string

type GetDepositFileResponseParams added in v1.0.426

type GetDepositFileResponseParams struct {
	// 存证编号
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 存证文件临时链接
	EvidenceFile *string `json:"EvidenceFile,omitnil,omitempty" name:"EvidenceFile"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type GetDepositInfoRequest

type GetDepositInfoRequest struct {
	*tchttp.BaseRequest

	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`
}

func NewGetDepositInfoRequest

func NewGetDepositInfoRequest() (request *GetDepositInfoRequest)

func (*GetDepositInfoRequest) FromJsonString

func (r *GetDepositInfoRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDepositInfoRequest) ToJsonString

func (r *GetDepositInfoRequest) ToJsonString() string

type GetDepositInfoRequestParams added in v1.0.426

type GetDepositInfoRequestParams struct {
	// 存证编码
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`
}

Predefined struct for user

type GetDepositInfoResponse

type GetDepositInfoResponse struct {
	*tchttp.BaseResponse
	Response *GetDepositInfoResponseParams `json:"Response"`
}

func NewGetDepositInfoResponse

func NewGetDepositInfoResponse() (response *GetDepositInfoResponse)

func (*GetDepositInfoResponse) FromJsonString

func (r *GetDepositInfoResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*GetDepositInfoResponse) ToJsonString

func (r *GetDepositInfoResponse) ToJsonString() string

type GetDepositInfoResponseParams added in v1.0.426

type GetDepositInfoResponseParams struct {
	// 存证编号
	EvidenceId *string `json:"EvidenceId,omitnil,omitempty" name:"EvidenceId"`

	// 上链时间
	EvidenceTime *string `json:"EvidenceTime,omitnil,omitempty" name:"EvidenceTime"`

	// 区块链交易哈希
	EvidenceTxHash *string `json:"EvidenceTxHash,omitnil,omitempty" name:"EvidenceTxHash"`

	// 区块高度
	BlockchainHeight *int64 `json:"BlockchainHeight,omitnil,omitempty" name:"BlockchainHeight"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

Jump to

Keyboard shortcuts

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