lib/v20210519/client.rb in tencentcloud-sdk-tdid-3.0.599 vs lib/v20210519/client.rb in tencentcloud-sdk-tdid-3.0.600
- old
+ new
@@ -53,10 +53,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 检查区块链信息
# @param request: Request instance for CheckChain.
# @type request: :class:`Tencentcloud::tdid::V20210519::CheckChainRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::CheckChainResponse`
@@ -77,10 +79,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 创建凭证
# @param request: Request instance for CreateCredential.
# @type request: :class:`Tencentcloud::tdid::V20210519::CreateCredentialRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::CreateCredentialResponse`
@@ -101,10 +105,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 创建选择性批露凭证
# @param request: Request instance for CreateSelectiveCredential.
# @type request: :class:`Tencentcloud::tdid::V20210519::CreateSelectiveCredentialRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::CreateSelectiveCredentialResponse`
@@ -125,10 +131,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 创建机构DID
# @param request: Request instance for CreateTDid.
# @type request: :class:`Tencentcloud::tdid::V20210519::CreateTDidRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::CreateTDidResponse`
@@ -149,10 +157,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 新建DID根据私钥生成Tdid
# @param request: Request instance for CreateTDidByPrivateKey.
# @type request: :class:`Tencentcloud::tdid::V20210519::CreateTDidByPrivateKeyRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::CreateTDidByPrivateKeyResponse`
@@ -173,10 +183,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 新建DID根据公钥生成Tdid
# @param request: Request instance for CreateTDidByPublicKey.
# @type request: :class:`Tencentcloud::tdid::V20210519::CreateTDidByPublicKeyRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::CreateTDidByPublicKeyResponse`
@@ -223,10 +235,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 获取权威机构信息
# @param request: Request instance for GetAuthorityIssuer.
# @type request: :class:`Tencentcloud::tdid::V20210519::GetAuthorityIssuerRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::GetAuthorityIssuerResponse`
@@ -299,10 +313,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 凭证模版详情
# @param request: Request instance for GetCptInfo.
# @type request: :class:`Tencentcloud::tdid::V20210519::GetCptInfoRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::GetCptInfoResponse`
@@ -349,10 +365,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 获取凭证链上状态信息
# @param request: Request instance for GetCredentialStatus.
# @type request: :class:`Tencentcloud::tdid::V20210519::GetCredentialStatusRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::GetCredentialStatusResponse`
@@ -373,62 +391,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 下线已有内测接口,待上线正式版本的接口
+ # 该接口不再使用
- # 获取DID区块链网络详情
-
- # @param request: Request instance for GetDidClusterDetail.
- # @type request: :class:`Tencentcloud::tdid::V20210519::GetDidClusterDetailRequest`
- # @rtype: :class:`Tencentcloud::tdid::V20210519::GetDidClusterDetailResponse`
- def GetDidClusterDetail(request)
- body = send_request('GetDidClusterDetail', request.serialize)
- response = JSON.parse(body)
- if response['Response'].key?('Error') == false
- model = GetDidClusterDetailResponse.new
- model.deserialize(response['Response'])
- model
- else
- code = response['Response']['Error']['Code']
- message = response['Response']['Error']['Message']
- reqid = response['Response']['RequestId']
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
- end
- rescue TencentCloud::Common::TencentCloudSDKException => e
- raise e
- rescue StandardError => e
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
- end
-
- # 下线已有内测接口,待上线正式版本的接口
-
- # 获取用户的DID网络列表
-
- # @param request: Request instance for GetDidClusterList.
- # @type request: :class:`Tencentcloud::tdid::V20210519::GetDidClusterListRequest`
- # @rtype: :class:`Tencentcloud::tdid::V20210519::GetDidClusterListResponse`
- def GetDidClusterList(request)
- body = send_request('GetDidClusterList', request.serialize)
- response = JSON.parse(body)
- if response['Response'].key?('Error') == false
- model = GetDidClusterListResponse.new
- model.deserialize(response['Response'])
- model
- else
- code = response['Response']['Error']['Code']
- message = response['Response']['Error']['Message']
- reqid = response['Response']['RequestId']
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
- end
- rescue TencentCloud::Common::TencentCloudSDKException => e
- raise e
- rescue StandardError => e
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
- end
-
# 查看DID文档
# @param request: Request instance for GetDidDocument.
# @type request: :class:`Tencentcloud::tdid::V20210519::GetDidDocumentRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::GetDidDocumentResponse`
@@ -449,10 +417,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 凭证模版新建
# @param request: Request instance for RegisterCpt.
# @type request: :class:`Tencentcloud::tdid::V20210519::RegisterCptRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::RegisterCptResponse`
@@ -473,10 +443,12 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+ # 该接口不再使用
+
# 设置凭证链上状态
# @param request: Request instance for SetCredentialStatus.
# @type request: :class:`Tencentcloud::tdid::V20210519::SetCredentialStatusRequest`
# @rtype: :class:`Tencentcloud::tdid::V20210519::SetCredentialStatusResponse`
@@ -496,9 +468,11 @@
rescue TencentCloud::Common::TencentCloudSDKException => e
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
+
+ # 该接口不再使用
# 验证凭证
# @param request: Request instance for VerifyCredential.
# @type request: :class:`Tencentcloud::tdid::V20210519::VerifyCredentialRequest`
\ No newline at end of file