tencentcloud-sdk-tdid 3.0.747 → 3.0.748
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/lib/VERSION +1 -1
 - data/lib/v20210519/client.rb +223 -7
 - data/lib/v20210519/models.rb +569 -7
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: d90912e788e3e931ce136debff2478454a7d84ad
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 1f2f38e7e9766689324ac974f1a79a2ba1b29ae0
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: eb5de8e9ca8e435a4abb79de4f1814672fe0b58da6b0f8fafd3a8bace21899a362403f51aa38eb1eab86065b391317e00f0fea638b400f3cb4fb88b3158733aa
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: bdcf7362b1f6a484c4783d6648d02279f489a637c33c0d31f7184aad060e1239d42a96be9ae2cb337daae8a977c6a50753d7eb3fd89d34a39a8823270fbbee60
         
     | 
    
        data/lib/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            3.0. 
     | 
| 
      
 1 
     | 
    
         
            +
            3.0.748
         
     | 
    
        data/lib/v20210519/client.rb
    CHANGED
    
    | 
         @@ -29,16 +29,40 @@ module TencentCloud 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    end
         
     | 
| 
       30 
30 
     | 
    
         | 
| 
       31 
31 
     | 
    
         | 
| 
       32 
     | 
    
         
            -
                    #  
     | 
| 
      
 32 
     | 
    
         
            +
                    # 根据披露策略创建选择性披露凭证
         
     | 
| 
       33 
33 
     | 
    
         | 
| 
       34 
     | 
    
         
            -
                    # @param request: Request instance for  
     | 
| 
       35 
     | 
    
         
            -
                    # @type request: :class:`Tencentcloud::tdid::V20210519:: 
     | 
| 
       36 
     | 
    
         
            -
                    # @rtype: :class:`Tencentcloud::tdid::V20210519:: 
     | 
| 
       37 
     | 
    
         
            -
                    def  
     | 
| 
       38 
     | 
    
         
            -
                      body = send_request(' 
     | 
| 
      
 34 
     | 
    
         
            +
                    # @param request: Request instance for CreateDisclosedCredential.
         
     | 
| 
      
 35 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::CreateDisclosedCredentialRequest`
         
     | 
| 
      
 36 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::CreateDisclosedCredentialResponse`
         
     | 
| 
      
 37 
     | 
    
         
            +
                    def CreateDisclosedCredential(request)
         
     | 
| 
      
 38 
     | 
    
         
            +
                      body = send_request('CreateDisclosedCredential', request.serialize)
         
     | 
| 
       39 
39 
     | 
    
         
             
                      response = JSON.parse(body)
         
     | 
| 
       40 
40 
     | 
    
         
             
                      if response['Response'].key?('Error') == false
         
     | 
| 
       41 
     | 
    
         
            -
                        model =  
     | 
| 
      
 41 
     | 
    
         
            +
                        model = CreateDisclosedCredentialResponse.new
         
     | 
| 
      
 42 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 43 
     | 
    
         
            +
                        model
         
     | 
| 
      
 44 
     | 
    
         
            +
                      else
         
     | 
| 
      
 45 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 46 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 47 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 48 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 49 
     | 
    
         
            +
                      end
         
     | 
| 
      
 50 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 51 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 52 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 53 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 54 
     | 
    
         
            +
                    end
         
     | 
| 
      
 55 
     | 
    
         
            +
             
     | 
| 
      
 56 
     | 
    
         
            +
                    # 创建凭证持有人的可验证表达
         
     | 
| 
      
 57 
     | 
    
         
            +
             
     | 
| 
      
 58 
     | 
    
         
            +
                    # @param request: Request instance for CreatePresentation.
         
     | 
| 
      
 59 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::CreatePresentationRequest`
         
     | 
| 
      
 60 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::CreatePresentationResponse`
         
     | 
| 
      
 61 
     | 
    
         
            +
                    def CreatePresentation(request)
         
     | 
| 
      
 62 
     | 
    
         
            +
                      body = send_request('CreatePresentation', request.serialize)
         
     | 
| 
      
 63 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 64 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 65 
     | 
    
         
            +
                        model = CreatePresentationResponse.new
         
     | 
| 
       42 
66 
     | 
    
         
             
                        model.deserialize(response['Response'])
         
     | 
| 
       43 
67 
     | 
    
         
             
                        model
         
     | 
| 
       44 
68 
     | 
    
         
             
                      else
         
     | 
| 
         @@ -125,6 +149,30 @@ module TencentCloud 
     | 
|
| 
       125 
149 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       126 
150 
     | 
    
         
             
                    end
         
     | 
| 
       127 
151 
     | 
    
         | 
| 
      
 152 
     | 
    
         
            +
                    # 获取某个应用关键指标统计数据
         
     | 
| 
      
 153 
     | 
    
         
            +
             
     | 
| 
      
 154 
     | 
    
         
            +
                    # @param request: Request instance for GetAppSummary.
         
     | 
| 
      
 155 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::GetAppSummaryRequest`
         
     | 
| 
      
 156 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::GetAppSummaryResponse`
         
     | 
| 
      
 157 
     | 
    
         
            +
                    def GetAppSummary(request)
         
     | 
| 
      
 158 
     | 
    
         
            +
                      body = send_request('GetAppSummary', request.serialize)
         
     | 
| 
      
 159 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 160 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 161 
     | 
    
         
            +
                        model = GetAppSummaryResponse.new
         
     | 
| 
      
 162 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 163 
     | 
    
         
            +
                        model
         
     | 
| 
      
 164 
     | 
    
         
            +
                      else
         
     | 
| 
      
 165 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 166 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 167 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 168 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 169 
     | 
    
         
            +
                      end
         
     | 
| 
      
 170 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 171 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 172 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 173 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 174 
     | 
    
         
            +
                    end
         
     | 
| 
      
 175 
     | 
    
         
            +
             
     | 
| 
       128 
176 
     | 
    
         
             
                    # 获取凭证链上状态信息
         
     | 
| 
       129 
177 
     | 
    
         | 
| 
       130 
178 
     | 
    
         
             
                    # @param request: Request instance for GetCredentialState.
         
     | 
| 
         @@ -149,6 +197,54 @@ module TencentCloud 
     | 
|
| 
       149 
197 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       150 
198 
     | 
    
         
             
                    end
         
     | 
| 
       151 
199 
     | 
    
         | 
| 
      
 200 
     | 
    
         
            +
                    # 获取某个应用关键指标统计数据
         
     | 
| 
      
 201 
     | 
    
         
            +
             
     | 
| 
      
 202 
     | 
    
         
            +
                    # @param request: Request instance for GetOverSummary.
         
     | 
| 
      
 203 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::GetOverSummaryRequest`
         
     | 
| 
      
 204 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::GetOverSummaryResponse`
         
     | 
| 
      
 205 
     | 
    
         
            +
                    def GetOverSummary(request)
         
     | 
| 
      
 206 
     | 
    
         
            +
                      body = send_request('GetOverSummary', request.serialize)
         
     | 
| 
      
 207 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 208 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 209 
     | 
    
         
            +
                        model = GetOverSummaryResponse.new
         
     | 
| 
      
 210 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 211 
     | 
    
         
            +
                        model
         
     | 
| 
      
 212 
     | 
    
         
            +
                      else
         
     | 
| 
      
 213 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 214 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 215 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 216 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 217 
     | 
    
         
            +
                      end
         
     | 
| 
      
 218 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 219 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 220 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 221 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 222 
     | 
    
         
            +
                    end
         
     | 
| 
      
 223 
     | 
    
         
            +
             
     | 
| 
      
 224 
     | 
    
         
            +
                    # 通过业务层绑定的对象ID获取DID标识
         
     | 
| 
      
 225 
     | 
    
         
            +
             
     | 
| 
      
 226 
     | 
    
         
            +
                    # @param request: Request instance for GetTDidByObjectId.
         
     | 
| 
      
 227 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::GetTDidByObjectIdRequest`
         
     | 
| 
      
 228 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::GetTDidByObjectIdResponse`
         
     | 
| 
      
 229 
     | 
    
         
            +
                    def GetTDidByObjectId(request)
         
     | 
| 
      
 230 
     | 
    
         
            +
                      body = send_request('GetTDidByObjectId', request.serialize)
         
     | 
| 
      
 231 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 232 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 233 
     | 
    
         
            +
                        model = GetTDidByObjectIdResponse.new
         
     | 
| 
      
 234 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 235 
     | 
    
         
            +
                        model
         
     | 
| 
      
 236 
     | 
    
         
            +
                      else
         
     | 
| 
      
 237 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 238 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 239 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 240 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 241 
     | 
    
         
            +
                      end
         
     | 
| 
      
 242 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 243 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 244 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 245 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 246 
     | 
    
         
            +
                    end
         
     | 
| 
      
 247 
     | 
    
         
            +
             
     | 
| 
       152 
248 
     | 
    
         
             
                    # 获取DID标识的文档
         
     | 
| 
       153 
249 
     | 
    
         | 
| 
       154 
250 
     | 
    
         
             
                    # @param request: Request instance for GetTDidDocument.
         
     | 
| 
         @@ -173,6 +269,30 @@ module TencentCloud 
     | 
|
| 
       173 
269 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       174 
270 
     | 
    
         
             
                    end
         
     | 
| 
       175 
271 
     | 
    
         | 
| 
      
 272 
     | 
    
         
            +
                    # 查询DID标识的认证公钥
         
     | 
| 
      
 273 
     | 
    
         
            +
             
     | 
| 
      
 274 
     | 
    
         
            +
                    # @param request: Request instance for GetTDidPubKey.
         
     | 
| 
      
 275 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::GetTDidPubKeyRequest`
         
     | 
| 
      
 276 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::GetTDidPubKeyResponse`
         
     | 
| 
      
 277 
     | 
    
         
            +
                    def GetTDidPubKey(request)
         
     | 
| 
      
 278 
     | 
    
         
            +
                      body = send_request('GetTDidPubKey', request.serialize)
         
     | 
| 
      
 279 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 280 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 281 
     | 
    
         
            +
                        model = GetTDidPubKeyResponse.new
         
     | 
| 
      
 282 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 283 
     | 
    
         
            +
                        model
         
     | 
| 
      
 284 
     | 
    
         
            +
                      else
         
     | 
| 
      
 285 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 286 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 287 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 288 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 289 
     | 
    
         
            +
                      end
         
     | 
| 
      
 290 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 291 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 292 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 293 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 294 
     | 
    
         
            +
                    end
         
     | 
| 
      
 295 
     | 
    
         
            +
             
     | 
| 
       176 
296 
     | 
    
         
             
                    # 颁发可验证凭证
         
     | 
| 
       177 
297 
     | 
    
         | 
| 
       178 
298 
     | 
    
         
             
                    # @param request: Request instance for IssueCredential.
         
     | 
| 
         @@ -197,6 +317,78 @@ module TencentCloud 
     | 
|
| 
       197 
317 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       198 
318 
     | 
    
         
             
                    end
         
     | 
| 
       199 
319 
     | 
    
         | 
| 
      
 320 
     | 
    
         
            +
                    # 查询权威机构信息
         
     | 
| 
      
 321 
     | 
    
         
            +
             
     | 
| 
      
 322 
     | 
    
         
            +
                    # @param request: Request instance for QueryAuthorityInfo.
         
     | 
| 
      
 323 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::QueryAuthorityInfoRequest`
         
     | 
| 
      
 324 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::QueryAuthorityInfoResponse`
         
     | 
| 
      
 325 
     | 
    
         
            +
                    def QueryAuthorityInfo(request)
         
     | 
| 
      
 326 
     | 
    
         
            +
                      body = send_request('QueryAuthorityInfo', request.serialize)
         
     | 
| 
      
 327 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 328 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 329 
     | 
    
         
            +
                        model = QueryAuthorityInfoResponse.new
         
     | 
| 
      
 330 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 331 
     | 
    
         
            +
                        model
         
     | 
| 
      
 332 
     | 
    
         
            +
                      else
         
     | 
| 
      
 333 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 334 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 335 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 336 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 337 
     | 
    
         
            +
                      end
         
     | 
| 
      
 338 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 339 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 340 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 341 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 342 
     | 
    
         
            +
                    end
         
     | 
| 
      
 343 
     | 
    
         
            +
             
     | 
| 
      
 344 
     | 
    
         
            +
                    # 查询凭证模版内容
         
     | 
| 
      
 345 
     | 
    
         
            +
             
     | 
| 
      
 346 
     | 
    
         
            +
                    # @param request: Request instance for QueryCPT.
         
     | 
| 
      
 347 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::QueryCPTRequest`
         
     | 
| 
      
 348 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::QueryCPTResponse`
         
     | 
| 
      
 349 
     | 
    
         
            +
                    def QueryCPT(request)
         
     | 
| 
      
 350 
     | 
    
         
            +
                      body = send_request('QueryCPT', request.serialize)
         
     | 
| 
      
 351 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 352 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 353 
     | 
    
         
            +
                        model = QueryCPTResponse.new
         
     | 
| 
      
 354 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 355 
     | 
    
         
            +
                        model
         
     | 
| 
      
 356 
     | 
    
         
            +
                      else
         
     | 
| 
      
 357 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 358 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 359 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 360 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 361 
     | 
    
         
            +
                      end
         
     | 
| 
      
 362 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 363 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 364 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 365 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 366 
     | 
    
         
            +
                    end
         
     | 
| 
      
 367 
     | 
    
         
            +
             
     | 
| 
      
 368 
     | 
    
         
            +
                    # 设置DID文档的自定义属性
         
     | 
| 
      
 369 
     | 
    
         
            +
             
     | 
| 
      
 370 
     | 
    
         
            +
                    # @param request: Request instance for SetTDidAttribute.
         
     | 
| 
      
 371 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::SetTDidAttributeRequest`
         
     | 
| 
      
 372 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::SetTDidAttributeResponse`
         
     | 
| 
      
 373 
     | 
    
         
            +
                    def SetTDidAttribute(request)
         
     | 
| 
      
 374 
     | 
    
         
            +
                      body = send_request('SetTDidAttribute', request.serialize)
         
     | 
| 
      
 375 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 376 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 377 
     | 
    
         
            +
                        model = SetTDidAttributeResponse.new
         
     | 
| 
      
 378 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 379 
     | 
    
         
            +
                        model
         
     | 
| 
      
 380 
     | 
    
         
            +
                      else
         
     | 
| 
      
 381 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 382 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 383 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 384 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 385 
     | 
    
         
            +
                      end
         
     | 
| 
      
 386 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 387 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 388 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 389 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 390 
     | 
    
         
            +
                    end
         
     | 
| 
      
 391 
     | 
    
         
            +
             
     | 
| 
       200 
392 
     | 
    
         
             
                    # 更新凭证的链上状态
         
     | 
| 
       201 
393 
     | 
    
         | 
| 
       202 
394 
     | 
    
         
             
                    # @param request: Request instance for UpdateCredentialState.
         
     | 
| 
         @@ -245,6 +437,30 @@ module TencentCloud 
     | 
|
| 
       245 
437 
     | 
    
         
             
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
       246 
438 
     | 
    
         
             
                    end
         
     | 
| 
       247 
439 
     | 
    
         | 
| 
      
 440 
     | 
    
         
            +
                    # 验证可验证表达的内容
         
     | 
| 
      
 441 
     | 
    
         
            +
             
     | 
| 
      
 442 
     | 
    
         
            +
                    # @param request: Request instance for VerifyPresentation.
         
     | 
| 
      
 443 
     | 
    
         
            +
                    # @type request: :class:`Tencentcloud::tdid::V20210519::VerifyPresentationRequest`
         
     | 
| 
      
 444 
     | 
    
         
            +
                    # @rtype: :class:`Tencentcloud::tdid::V20210519::VerifyPresentationResponse`
         
     | 
| 
      
 445 
     | 
    
         
            +
                    def VerifyPresentation(request)
         
     | 
| 
      
 446 
     | 
    
         
            +
                      body = send_request('VerifyPresentation', request.serialize)
         
     | 
| 
      
 447 
     | 
    
         
            +
                      response = JSON.parse(body)
         
     | 
| 
      
 448 
     | 
    
         
            +
                      if response['Response'].key?('Error') == false
         
     | 
| 
      
 449 
     | 
    
         
            +
                        model = VerifyPresentationResponse.new
         
     | 
| 
      
 450 
     | 
    
         
            +
                        model.deserialize(response['Response'])
         
     | 
| 
      
 451 
     | 
    
         
            +
                        model
         
     | 
| 
      
 452 
     | 
    
         
            +
                      else
         
     | 
| 
      
 453 
     | 
    
         
            +
                        code = response['Response']['Error']['Code']
         
     | 
| 
      
 454 
     | 
    
         
            +
                        message = response['Response']['Error']['Message']
         
     | 
| 
      
 455 
     | 
    
         
            +
                        reqid = response['Response']['RequestId']
         
     | 
| 
      
 456 
     | 
    
         
            +
                        raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
         
     | 
| 
      
 457 
     | 
    
         
            +
                      end
         
     | 
| 
      
 458 
     | 
    
         
            +
                    rescue TencentCloud::Common::TencentCloudSDKException => e
         
     | 
| 
      
 459 
     | 
    
         
            +
                      raise e
         
     | 
| 
      
 460 
     | 
    
         
            +
                    rescue StandardError => e
         
     | 
| 
      
 461 
     | 
    
         
            +
                      raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
         
     | 
| 
      
 462 
     | 
    
         
            +
                    end
         
     | 
| 
      
 463 
     | 
    
         
            +
             
     | 
| 
       248 
464 
     | 
    
         | 
| 
       249 
465 
     | 
    
         
             
                  end
         
     | 
| 
       250 
466 
     | 
    
         
             
                end
         
     | 
    
        data/lib/v20210519/models.rb
    CHANGED
    
    | 
         @@ -69,29 +69,117 @@ module TencentCloud 
     | 
|
| 
       69 
69 
     | 
    
         
             
                    end
         
     | 
| 
       70 
70 
     | 
    
         
             
                  end
         
     | 
| 
       71 
71 
     | 
    
         | 
| 
       72 
     | 
    
         
            -
                  #  
     | 
| 
       73 
     | 
    
         
            -
                  class  
     | 
| 
      
 72 
     | 
    
         
            +
                  # CreateDisclosedCredential请求参数结构体
         
     | 
| 
      
 73 
     | 
    
         
            +
                  class CreateDisclosedCredentialRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 74 
     | 
    
         
            +
                    # @param PolicyId: 披露策略id,PolicyJson和PolicyId任选其一
         
     | 
| 
      
 75 
     | 
    
         
            +
                    # @type PolicyId: Integer
         
     | 
| 
      
 76 
     | 
    
         
            +
                    # @param CredentialData: 凭证文本内容,FunctionArg和CredentialText任选其一
         
     | 
| 
      
 77 
     | 
    
         
            +
                    # @type CredentialData: String
         
     | 
| 
      
 78 
     | 
    
         
            +
                    # @param PolicyJson: 披露策略文本
         
     | 
| 
      
 79 
     | 
    
         
            +
                    # @type PolicyJson: String
         
     | 
| 
      
 80 
     | 
    
         
            +
                    # @param DAPId: DID应用ID
         
     | 
| 
      
 81 
     | 
    
         
            +
                    # @type DAPId: Integer
         
     | 
| 
       74 
82 
     | 
    
         | 
| 
      
 83 
     | 
    
         
            +
                    attr_accessor :PolicyId, :CredentialData, :PolicyJson, :DAPId
         
     | 
| 
       75 
84 
     | 
    
         | 
| 
       76 
     | 
    
         
            -
                    def initialize()
         
     | 
| 
      
 85 
     | 
    
         
            +
                    def initialize(policyid=nil, credentialdata=nil, policyjson=nil, dapid=nil)
         
     | 
| 
      
 86 
     | 
    
         
            +
                      @PolicyId = policyid
         
     | 
| 
      
 87 
     | 
    
         
            +
                      @CredentialData = credentialdata
         
     | 
| 
      
 88 
     | 
    
         
            +
                      @PolicyJson = policyjson
         
     | 
| 
      
 89 
     | 
    
         
            +
                      @DAPId = dapid
         
     | 
| 
      
 90 
     | 
    
         
            +
                    end
         
     | 
| 
      
 91 
     | 
    
         
            +
             
     | 
| 
      
 92 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 93 
     | 
    
         
            +
                      @PolicyId = params['PolicyId']
         
     | 
| 
      
 94 
     | 
    
         
            +
                      @CredentialData = params['CredentialData']
         
     | 
| 
      
 95 
     | 
    
         
            +
                      @PolicyJson = params['PolicyJson']
         
     | 
| 
      
 96 
     | 
    
         
            +
                      @DAPId = params['DAPId']
         
     | 
| 
      
 97 
     | 
    
         
            +
                    end
         
     | 
| 
      
 98 
     | 
    
         
            +
                  end
         
     | 
| 
      
 99 
     | 
    
         
            +
             
     | 
| 
      
 100 
     | 
    
         
            +
                  # CreateDisclosedCredential返回参数结构体
         
     | 
| 
      
 101 
     | 
    
         
            +
                  class CreateDisclosedCredentialResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 102 
     | 
    
         
            +
                    # @param CredentialData: 凭证字符串
         
     | 
| 
      
 103 
     | 
    
         
            +
                    # @type CredentialData: String
         
     | 
| 
      
 104 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 105 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 106 
     | 
    
         
            +
             
     | 
| 
      
 107 
     | 
    
         
            +
                    attr_accessor :CredentialData, :RequestId
         
     | 
| 
      
 108 
     | 
    
         
            +
             
     | 
| 
      
 109 
     | 
    
         
            +
                    def initialize(credentialdata=nil, requestid=nil)
         
     | 
| 
      
 110 
     | 
    
         
            +
                      @CredentialData = credentialdata
         
     | 
| 
      
 111 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
       77 
112 
     | 
    
         
             
                    end
         
     | 
| 
       78 
113 
     | 
    
         | 
| 
       79 
114 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
      
 115 
     | 
    
         
            +
                      @CredentialData = params['CredentialData']
         
     | 
| 
      
 116 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
       80 
117 
     | 
    
         
             
                    end
         
     | 
| 
       81 
118 
     | 
    
         
             
                  end
         
     | 
| 
       82 
119 
     | 
    
         | 
| 
       83 
     | 
    
         
            -
                  #  
     | 
| 
       84 
     | 
    
         
            -
                  class  
     | 
| 
      
 120 
     | 
    
         
            +
                  # CreatePresentation请求参数结构体
         
     | 
| 
      
 121 
     | 
    
         
            +
                  class CreatePresentationRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 122 
     | 
    
         
            +
                    # @param DAPId: DID应用id
         
     | 
| 
      
 123 
     | 
    
         
            +
                    # @type DAPId: Integer
         
     | 
| 
      
 124 
     | 
    
         
            +
                    # @param Credentials: 凭证列表
         
     | 
| 
      
 125 
     | 
    
         
            +
                    # @type Credentials: Array
         
     | 
| 
      
 126 
     | 
    
         
            +
                    # @param Did: VP持有人的DID标识
         
     | 
| 
      
 127 
     | 
    
         
            +
                    # @type Did: String
         
     | 
| 
      
 128 
     | 
    
         
            +
                    # @param VerifyCode: VP随机验证码
         
     | 
| 
      
 129 
     | 
    
         
            +
                    # @type VerifyCode: String
         
     | 
| 
      
 130 
     | 
    
         
            +
                    # @param PolicyJson: 选择性披露策略
         
     | 
| 
      
 131 
     | 
    
         
            +
                    # @type PolicyJson: String
         
     | 
| 
      
 132 
     | 
    
         
            +
                    # @param Unsigned: 是否签名,ture时signatureValue为待签名内容由调用端自行签名,false时signatureValue为平台自动已签名的内容。默认false
         
     | 
| 
      
 133 
     | 
    
         
            +
                    # @type Unsigned: Boolean
         
     | 
| 
      
 134 
     | 
    
         
            +
                    # @param CredentialList: 可验证凭证证明列表
         
     | 
| 
      
 135 
     | 
    
         
            +
                    # @type CredentialList: Array
         
     | 
| 
      
 136 
     | 
    
         
            +
             
     | 
| 
      
 137 
     | 
    
         
            +
                    attr_accessor :DAPId, :Credentials, :Did, :VerifyCode, :PolicyJson, :Unsigned, :CredentialList
         
     | 
| 
      
 138 
     | 
    
         
            +
             
     | 
| 
      
 139 
     | 
    
         
            +
                    def initialize(dapid=nil, credentials=nil, did=nil, verifycode=nil, policyjson=nil, unsigned=nil, credentiallist=nil)
         
     | 
| 
      
 140 
     | 
    
         
            +
                      @DAPId = dapid
         
     | 
| 
      
 141 
     | 
    
         
            +
                      @Credentials = credentials
         
     | 
| 
      
 142 
     | 
    
         
            +
                      @Did = did
         
     | 
| 
      
 143 
     | 
    
         
            +
                      @VerifyCode = verifycode
         
     | 
| 
      
 144 
     | 
    
         
            +
                      @PolicyJson = policyjson
         
     | 
| 
      
 145 
     | 
    
         
            +
                      @Unsigned = unsigned
         
     | 
| 
      
 146 
     | 
    
         
            +
                      @CredentialList = credentiallist
         
     | 
| 
      
 147 
     | 
    
         
            +
                    end
         
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
      
 149 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 150 
     | 
    
         
            +
                      @DAPId = params['DAPId']
         
     | 
| 
      
 151 
     | 
    
         
            +
                      @Credentials = params['Credentials']
         
     | 
| 
      
 152 
     | 
    
         
            +
                      @Did = params['Did']
         
     | 
| 
      
 153 
     | 
    
         
            +
                      @VerifyCode = params['VerifyCode']
         
     | 
| 
      
 154 
     | 
    
         
            +
                      @PolicyJson = params['PolicyJson']
         
     | 
| 
      
 155 
     | 
    
         
            +
                      @Unsigned = params['Unsigned']
         
     | 
| 
      
 156 
     | 
    
         
            +
                      unless params['CredentialList'].nil?
         
     | 
| 
      
 157 
     | 
    
         
            +
                        @CredentialList = []
         
     | 
| 
      
 158 
     | 
    
         
            +
                        params['CredentialList'].each do |i|
         
     | 
| 
      
 159 
     | 
    
         
            +
                          credentialproof_tmp = CredentialProof.new
         
     | 
| 
      
 160 
     | 
    
         
            +
                          credentialproof_tmp.deserialize(i)
         
     | 
| 
      
 161 
     | 
    
         
            +
                          @CredentialList << credentialproof_tmp
         
     | 
| 
      
 162 
     | 
    
         
            +
                        end
         
     | 
| 
      
 163 
     | 
    
         
            +
                      end
         
     | 
| 
      
 164 
     | 
    
         
            +
                    end
         
     | 
| 
      
 165 
     | 
    
         
            +
                  end
         
     | 
| 
      
 166 
     | 
    
         
            +
             
     | 
| 
      
 167 
     | 
    
         
            +
                  # CreatePresentation返回参数结构体
         
     | 
| 
      
 168 
     | 
    
         
            +
                  class CreatePresentationResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 169 
     | 
    
         
            +
                    # @param PresentationData: 可验证表达内容
         
     | 
| 
      
 170 
     | 
    
         
            +
                    # @type PresentationData: String
         
     | 
| 
       85 
171 
     | 
    
         
             
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
       86 
172 
     | 
    
         
             
                    # @type RequestId: String
         
     | 
| 
       87 
173 
     | 
    
         | 
| 
       88 
     | 
    
         
            -
                    attr_accessor :RequestId
         
     | 
| 
      
 174 
     | 
    
         
            +
                    attr_accessor :PresentationData, :RequestId
         
     | 
| 
       89 
175 
     | 
    
         | 
| 
       90 
     | 
    
         
            -
                    def initialize(requestid=nil)
         
     | 
| 
      
 176 
     | 
    
         
            +
                    def initialize(presentationdata=nil, requestid=nil)
         
     | 
| 
      
 177 
     | 
    
         
            +
                      @PresentationData = presentationdata
         
     | 
| 
       91 
178 
     | 
    
         
             
                      @RequestId = requestid
         
     | 
| 
       92 
179 
     | 
    
         
             
                    end
         
     | 
| 
       93 
180 
     | 
    
         | 
| 
       94 
181 
     | 
    
         
             
                    def deserialize(params)
         
     | 
| 
      
 182 
     | 
    
         
            +
                      @PresentationData = params['PresentationData']
         
     | 
| 
       95 
183 
     | 
    
         
             
                      @RequestId = params['RequestId']
         
     | 
| 
       96 
184 
     | 
    
         
             
                    end
         
     | 
| 
       97 
185 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -198,6 +286,22 @@ module TencentCloud 
     | 
|
| 
       198 
286 
     | 
    
         
             
                    end
         
     | 
| 
       199 
287 
     | 
    
         
             
                  end
         
     | 
| 
       200 
288 
     | 
    
         | 
| 
      
 289 
     | 
    
         
            +
                  # 可验证凭证证明信息
         
     | 
| 
      
 290 
     | 
    
         
            +
                  class CredentialProof < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 291 
     | 
    
         
            +
                    # @param Credential: 可验证凭证内容
         
     | 
| 
      
 292 
     | 
    
         
            +
                    # @type Credential: String
         
     | 
| 
      
 293 
     | 
    
         
            +
             
     | 
| 
      
 294 
     | 
    
         
            +
                    attr_accessor :Credential
         
     | 
| 
      
 295 
     | 
    
         
            +
             
     | 
| 
      
 296 
     | 
    
         
            +
                    def initialize(credential=nil)
         
     | 
| 
      
 297 
     | 
    
         
            +
                      @Credential = credential
         
     | 
| 
      
 298 
     | 
    
         
            +
                    end
         
     | 
| 
      
 299 
     | 
    
         
            +
             
     | 
| 
      
 300 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 301 
     | 
    
         
            +
                      @Credential = params['Credential']
         
     | 
| 
      
 302 
     | 
    
         
            +
                    end
         
     | 
| 
      
 303 
     | 
    
         
            +
                  end
         
     | 
| 
      
 304 
     | 
    
         
            +
             
     | 
| 
       201 
305 
     | 
    
         
             
                  # 凭证链上状态信息
         
     | 
| 
       202 
306 
     | 
    
         
             
                  class CredentialState < TencentCloud::Common::AbstractModel
         
     | 
| 
       203 
307 
     | 
    
         
             
                    # @param Id: 凭证唯一id
         
     | 
| 
         @@ -301,6 +405,74 @@ module TencentCloud 
     | 
|
| 
       301 
405 
     | 
    
         
             
                    end
         
     | 
| 
       302 
406 
     | 
    
         
             
                  end
         
     | 
| 
       303 
407 
     | 
    
         | 
| 
      
 408 
     | 
    
         
            +
                  # did自定义属性
         
     | 
| 
      
 409 
     | 
    
         
            +
                  class DidAttribute < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 410 
     | 
    
         
            +
                    # @param Key: 键名
         
     | 
| 
      
 411 
     | 
    
         
            +
                    # @type Key: String
         
     | 
| 
      
 412 
     | 
    
         
            +
                    # @param Val: 键值
         
     | 
| 
      
 413 
     | 
    
         
            +
                    # @type Val: String
         
     | 
| 
      
 414 
     | 
    
         
            +
             
     | 
| 
      
 415 
     | 
    
         
            +
                    attr_accessor :Key, :Val
         
     | 
| 
      
 416 
     | 
    
         
            +
             
     | 
| 
      
 417 
     | 
    
         
            +
                    def initialize(key=nil, val=nil)
         
     | 
| 
      
 418 
     | 
    
         
            +
                      @Key = key
         
     | 
| 
      
 419 
     | 
    
         
            +
                      @Val = val
         
     | 
| 
      
 420 
     | 
    
         
            +
                    end
         
     | 
| 
      
 421 
     | 
    
         
            +
             
     | 
| 
      
 422 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 423 
     | 
    
         
            +
                      @Key = params['Key']
         
     | 
| 
      
 424 
     | 
    
         
            +
                      @Val = params['Val']
         
     | 
| 
      
 425 
     | 
    
         
            +
                    end
         
     | 
| 
      
 426 
     | 
    
         
            +
                  end
         
     | 
| 
      
 427 
     | 
    
         
            +
             
     | 
| 
      
 428 
     | 
    
         
            +
                  # GetAppSummary请求参数结构体
         
     | 
| 
      
 429 
     | 
    
         
            +
                  class GetAppSummaryRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 430 
     | 
    
         
            +
                    # @param DAPId: DID应用Id
         
     | 
| 
      
 431 
     | 
    
         
            +
                    # @type DAPId: Integer
         
     | 
| 
      
 432 
     | 
    
         
            +
             
     | 
| 
      
 433 
     | 
    
         
            +
                    attr_accessor :DAPId
         
     | 
| 
      
 434 
     | 
    
         
            +
             
     | 
| 
      
 435 
     | 
    
         
            +
                    def initialize(dapid=nil)
         
     | 
| 
      
 436 
     | 
    
         
            +
                      @DAPId = dapid
         
     | 
| 
      
 437 
     | 
    
         
            +
                    end
         
     | 
| 
      
 438 
     | 
    
         
            +
             
     | 
| 
      
 439 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 440 
     | 
    
         
            +
                      @DAPId = params['DAPId']
         
     | 
| 
      
 441 
     | 
    
         
            +
                    end
         
     | 
| 
      
 442 
     | 
    
         
            +
                  end
         
     | 
| 
      
 443 
     | 
    
         
            +
             
     | 
| 
      
 444 
     | 
    
         
            +
                  # GetAppSummary返回参数结构体
         
     | 
| 
      
 445 
     | 
    
         
            +
                  class GetAppSummaryResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 446 
     | 
    
         
            +
                    # @param AppCounter: 用户参与应用的统计指标
         
     | 
| 
      
 447 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 448 
     | 
    
         
            +
                    # @type AppCounter: :class:`Tencentcloud::Tdid.v20210519.models.ResourceCounterData`
         
     | 
| 
      
 449 
     | 
    
         
            +
                    # @param UserCounter: 用户创建资源的统计指标
         
     | 
| 
      
 450 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 451 
     | 
    
         
            +
                    # @type UserCounter: :class:`Tencentcloud::Tdid.v20210519.models.ResourceCounterData`
         
     | 
| 
      
 452 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 453 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 454 
     | 
    
         
            +
             
     | 
| 
      
 455 
     | 
    
         
            +
                    attr_accessor :AppCounter, :UserCounter, :RequestId
         
     | 
| 
      
 456 
     | 
    
         
            +
             
     | 
| 
      
 457 
     | 
    
         
            +
                    def initialize(appcounter=nil, usercounter=nil, requestid=nil)
         
     | 
| 
      
 458 
     | 
    
         
            +
                      @AppCounter = appcounter
         
     | 
| 
      
 459 
     | 
    
         
            +
                      @UserCounter = usercounter
         
     | 
| 
      
 460 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 461 
     | 
    
         
            +
                    end
         
     | 
| 
      
 462 
     | 
    
         
            +
             
     | 
| 
      
 463 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 464 
     | 
    
         
            +
                      unless params['AppCounter'].nil?
         
     | 
| 
      
 465 
     | 
    
         
            +
                        @AppCounter = ResourceCounterData.new
         
     | 
| 
      
 466 
     | 
    
         
            +
                        @AppCounter.deserialize(params['AppCounter'])
         
     | 
| 
      
 467 
     | 
    
         
            +
                      end
         
     | 
| 
      
 468 
     | 
    
         
            +
                      unless params['UserCounter'].nil?
         
     | 
| 
      
 469 
     | 
    
         
            +
                        @UserCounter = ResourceCounterData.new
         
     | 
| 
      
 470 
     | 
    
         
            +
                        @UserCounter.deserialize(params['UserCounter'])
         
     | 
| 
      
 471 
     | 
    
         
            +
                      end
         
     | 
| 
      
 472 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 473 
     | 
    
         
            +
                    end
         
     | 
| 
      
 474 
     | 
    
         
            +
                  end
         
     | 
| 
      
 475 
     | 
    
         
            +
             
     | 
| 
       304 
476 
     | 
    
         
             
                  # GetCredentialState请求参数结构体
         
     | 
| 
       305 
477 
     | 
    
         
             
                  class GetCredentialStateRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       306 
478 
     | 
    
         
             
                    # @param CredentialId: 凭证唯一Id
         
     | 
| 
         @@ -345,6 +517,105 @@ module TencentCloud 
     | 
|
| 
       345 
517 
     | 
    
         
             
                    end
         
     | 
| 
       346 
518 
     | 
    
         
             
                  end
         
     | 
| 
       347 
519 
     | 
    
         | 
| 
      
 520 
     | 
    
         
            +
                  # GetOverSummary请求参数结构体
         
     | 
| 
      
 521 
     | 
    
         
            +
                  class GetOverSummaryRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 522 
     | 
    
         
            +
             
     | 
| 
      
 523 
     | 
    
         
            +
             
     | 
| 
      
 524 
     | 
    
         
            +
                    def initialize()
         
     | 
| 
      
 525 
     | 
    
         
            +
                    end
         
     | 
| 
      
 526 
     | 
    
         
            +
             
     | 
| 
      
 527 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 528 
     | 
    
         
            +
                    end
         
     | 
| 
      
 529 
     | 
    
         
            +
                  end
         
     | 
| 
      
 530 
     | 
    
         
            +
             
     | 
| 
      
 531 
     | 
    
         
            +
                  # GetOverSummary返回参数结构体
         
     | 
| 
      
 532 
     | 
    
         
            +
                  class GetOverSummaryResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 533 
     | 
    
         
            +
                    # @param AppCounter: 用户参与应用的统计指标
         
     | 
| 
      
 534 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 535 
     | 
    
         
            +
                    # @type AppCounter: :class:`Tencentcloud::Tdid.v20210519.models.ResourceCounterData`
         
     | 
| 
      
 536 
     | 
    
         
            +
                    # @param UserCounter: 用户部署应用的统计指标
         
     | 
| 
      
 537 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 538 
     | 
    
         
            +
                    # @type UserCounter: :class:`Tencentcloud::Tdid.v20210519.models.ResourceCounterData`
         
     | 
| 
      
 539 
     | 
    
         
            +
                    # @param AppCnt: 用户参与的应用总数
         
     | 
| 
      
 540 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 541 
     | 
    
         
            +
                    # @type AppCnt: Integer
         
     | 
| 
      
 542 
     | 
    
         
            +
                    # @param DeployCnt: 用户部署的应用总数
         
     | 
| 
      
 543 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 544 
     | 
    
         
            +
                    # @type DeployCnt: Integer
         
     | 
| 
      
 545 
     | 
    
         
            +
                    # @param ChainCnt: 部署网络子链总数
         
     | 
| 
      
 546 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 547 
     | 
    
         
            +
                    # @type ChainCnt: Integer
         
     | 
| 
      
 548 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 549 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 550 
     | 
    
         
            +
             
     | 
| 
      
 551 
     | 
    
         
            +
                    attr_accessor :AppCounter, :UserCounter, :AppCnt, :DeployCnt, :ChainCnt, :RequestId
         
     | 
| 
      
 552 
     | 
    
         
            +
             
     | 
| 
      
 553 
     | 
    
         
            +
                    def initialize(appcounter=nil, usercounter=nil, appcnt=nil, deploycnt=nil, chaincnt=nil, requestid=nil)
         
     | 
| 
      
 554 
     | 
    
         
            +
                      @AppCounter = appcounter
         
     | 
| 
      
 555 
     | 
    
         
            +
                      @UserCounter = usercounter
         
     | 
| 
      
 556 
     | 
    
         
            +
                      @AppCnt = appcnt
         
     | 
| 
      
 557 
     | 
    
         
            +
                      @DeployCnt = deploycnt
         
     | 
| 
      
 558 
     | 
    
         
            +
                      @ChainCnt = chaincnt
         
     | 
| 
      
 559 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 560 
     | 
    
         
            +
                    end
         
     | 
| 
      
 561 
     | 
    
         
            +
             
     | 
| 
      
 562 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 563 
     | 
    
         
            +
                      unless params['AppCounter'].nil?
         
     | 
| 
      
 564 
     | 
    
         
            +
                        @AppCounter = ResourceCounterData.new
         
     | 
| 
      
 565 
     | 
    
         
            +
                        @AppCounter.deserialize(params['AppCounter'])
         
     | 
| 
      
 566 
     | 
    
         
            +
                      end
         
     | 
| 
      
 567 
     | 
    
         
            +
                      unless params['UserCounter'].nil?
         
     | 
| 
      
 568 
     | 
    
         
            +
                        @UserCounter = ResourceCounterData.new
         
     | 
| 
      
 569 
     | 
    
         
            +
                        @UserCounter.deserialize(params['UserCounter'])
         
     | 
| 
      
 570 
     | 
    
         
            +
                      end
         
     | 
| 
      
 571 
     | 
    
         
            +
                      @AppCnt = params['AppCnt']
         
     | 
| 
      
 572 
     | 
    
         
            +
                      @DeployCnt = params['DeployCnt']
         
     | 
| 
      
 573 
     | 
    
         
            +
                      @ChainCnt = params['ChainCnt']
         
     | 
| 
      
 574 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 575 
     | 
    
         
            +
                    end
         
     | 
| 
      
 576 
     | 
    
         
            +
                  end
         
     | 
| 
      
 577 
     | 
    
         
            +
             
     | 
| 
      
 578 
     | 
    
         
            +
                  # GetTDidByObjectId请求参数结构体
         
     | 
| 
      
 579 
     | 
    
         
            +
                  class GetTDidByObjectIdRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 580 
     | 
    
         
            +
                    # @param ObjectId: 业务层为DID设置的唯一标识
         
     | 
| 
      
 581 
     | 
    
         
            +
                    # @type ObjectId: String
         
     | 
| 
      
 582 
     | 
    
         
            +
                    # @param DAPId: DID应用Id
         
     | 
| 
      
 583 
     | 
    
         
            +
                    # @type DAPId: Integer
         
     | 
| 
      
 584 
     | 
    
         
            +
             
     | 
| 
      
 585 
     | 
    
         
            +
                    attr_accessor :ObjectId, :DAPId
         
     | 
| 
      
 586 
     | 
    
         
            +
             
     | 
| 
      
 587 
     | 
    
         
            +
                    def initialize(objectid=nil, dapid=nil)
         
     | 
| 
      
 588 
     | 
    
         
            +
                      @ObjectId = objectid
         
     | 
| 
      
 589 
     | 
    
         
            +
                      @DAPId = dapid
         
     | 
| 
      
 590 
     | 
    
         
            +
                    end
         
     | 
| 
      
 591 
     | 
    
         
            +
             
     | 
| 
      
 592 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 593 
     | 
    
         
            +
                      @ObjectId = params['ObjectId']
         
     | 
| 
      
 594 
     | 
    
         
            +
                      @DAPId = params['DAPId']
         
     | 
| 
      
 595 
     | 
    
         
            +
                    end
         
     | 
| 
      
 596 
     | 
    
         
            +
                  end
         
     | 
| 
      
 597 
     | 
    
         
            +
             
     | 
| 
      
 598 
     | 
    
         
            +
                  # GetTDidByObjectId返回参数结构体
         
     | 
| 
      
 599 
     | 
    
         
            +
                  class GetTDidByObjectIdResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 600 
     | 
    
         
            +
                    # @param Did: DID标识
         
     | 
| 
      
 601 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 602 
     | 
    
         
            +
                    # @type Did: String
         
     | 
| 
      
 603 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 604 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 605 
     | 
    
         
            +
             
     | 
| 
      
 606 
     | 
    
         
            +
                    attr_accessor :Did, :RequestId
         
     | 
| 
      
 607 
     | 
    
         
            +
             
     | 
| 
      
 608 
     | 
    
         
            +
                    def initialize(did=nil, requestid=nil)
         
     | 
| 
      
 609 
     | 
    
         
            +
                      @Did = did
         
     | 
| 
      
 610 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 611 
     | 
    
         
            +
                    end
         
     | 
| 
      
 612 
     | 
    
         
            +
             
     | 
| 
      
 613 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 614 
     | 
    
         
            +
                      @Did = params['Did']
         
     | 
| 
      
 615 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 616 
     | 
    
         
            +
                    end
         
     | 
| 
      
 617 
     | 
    
         
            +
                  end
         
     | 
| 
      
 618 
     | 
    
         
            +
             
     | 
| 
       348 
619 
     | 
    
         
             
                  # GetTDidDocument请求参数结构体
         
     | 
| 
       349 
620 
     | 
    
         
             
                  class GetTDidDocumentRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       350 
621 
     | 
    
         
             
                    # @param Did: DID标识
         
     | 
| 
         @@ -385,6 +656,46 @@ module TencentCloud 
     | 
|
| 
       385 
656 
     | 
    
         
             
                    end
         
     | 
| 
       386 
657 
     | 
    
         
             
                  end
         
     | 
| 
       387 
658 
     | 
    
         | 
| 
      
 659 
     | 
    
         
            +
                  # GetTDidPubKey请求参数结构体
         
     | 
| 
      
 660 
     | 
    
         
            +
                  class GetTDidPubKeyRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 661 
     | 
    
         
            +
                    # @param Did: DID标识
         
     | 
| 
      
 662 
     | 
    
         
            +
                    # @type Did: String
         
     | 
| 
      
 663 
     | 
    
         
            +
                    # @param DAPId: DID应用Id
         
     | 
| 
      
 664 
     | 
    
         
            +
                    # @type DAPId: Integer
         
     | 
| 
      
 665 
     | 
    
         
            +
             
     | 
| 
      
 666 
     | 
    
         
            +
                    attr_accessor :Did, :DAPId
         
     | 
| 
      
 667 
     | 
    
         
            +
             
     | 
| 
      
 668 
     | 
    
         
            +
                    def initialize(did=nil, dapid=nil)
         
     | 
| 
      
 669 
     | 
    
         
            +
                      @Did = did
         
     | 
| 
      
 670 
     | 
    
         
            +
                      @DAPId = dapid
         
     | 
| 
      
 671 
     | 
    
         
            +
                    end
         
     | 
| 
      
 672 
     | 
    
         
            +
             
     | 
| 
      
 673 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 674 
     | 
    
         
            +
                      @Did = params['Did']
         
     | 
| 
      
 675 
     | 
    
         
            +
                      @DAPId = params['DAPId']
         
     | 
| 
      
 676 
     | 
    
         
            +
                    end
         
     | 
| 
      
 677 
     | 
    
         
            +
                  end
         
     | 
| 
      
 678 
     | 
    
         
            +
             
     | 
| 
      
 679 
     | 
    
         
            +
                  # GetTDidPubKey返回参数结构体
         
     | 
| 
      
 680 
     | 
    
         
            +
                  class GetTDidPubKeyResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 681 
     | 
    
         
            +
                    # @param AuthPublicKeyList: DID公钥数组
         
     | 
| 
      
 682 
     | 
    
         
            +
                    # @type AuthPublicKeyList: Array
         
     | 
| 
      
 683 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 684 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 685 
     | 
    
         
            +
             
     | 
| 
      
 686 
     | 
    
         
            +
                    attr_accessor :AuthPublicKeyList, :RequestId
         
     | 
| 
      
 687 
     | 
    
         
            +
             
     | 
| 
      
 688 
     | 
    
         
            +
                    def initialize(authpublickeylist=nil, requestid=nil)
         
     | 
| 
      
 689 
     | 
    
         
            +
                      @AuthPublicKeyList = authpublickeylist
         
     | 
| 
      
 690 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 691 
     | 
    
         
            +
                    end
         
     | 
| 
      
 692 
     | 
    
         
            +
             
     | 
| 
      
 693 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 694 
     | 
    
         
            +
                      @AuthPublicKeyList = params['AuthPublicKeyList']
         
     | 
| 
      
 695 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 696 
     | 
    
         
            +
                    end
         
     | 
| 
      
 697 
     | 
    
         
            +
                  end
         
     | 
| 
      
 698 
     | 
    
         
            +
             
     | 
| 
       388 
699 
     | 
    
         
             
                  # IssueCredential请求参数结构体
         
     | 
| 
       389 
700 
     | 
    
         
             
                  class IssueCredentialRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       390 
701 
     | 
    
         
             
                    # @param CRDLArg: 参数集合,详见示例
         
     | 
| 
         @@ -432,6 +743,201 @@ module TencentCloud 
     | 
|
| 
       432 
743 
     | 
    
         
             
                    end
         
     | 
| 
       433 
744 
     | 
    
         
             
                  end
         
     | 
| 
       434 
745 
     | 
    
         | 
| 
      
 746 
     | 
    
         
            +
                  # QueryAuthorityInfo请求参数结构体
         
     | 
| 
      
 747 
     | 
    
         
            +
                  class QueryAuthorityInfoRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 748 
     | 
    
         
            +
                    # @param Did: DID标识
         
     | 
| 
      
 749 
     | 
    
         
            +
                    # @type Did: String
         
     | 
| 
      
 750 
     | 
    
         
            +
                    # @param DAPId: DID应用id
         
     | 
| 
      
 751 
     | 
    
         
            +
                    # @type DAPId: Integer
         
     | 
| 
      
 752 
     | 
    
         
            +
                    # @param Name: 权威机构名称
         
     | 
| 
      
 753 
     | 
    
         
            +
                    # @type Name: String
         
     | 
| 
      
 754 
     | 
    
         
            +
             
     | 
| 
      
 755 
     | 
    
         
            +
                    attr_accessor :Did, :DAPId, :Name
         
     | 
| 
      
 756 
     | 
    
         
            +
             
     | 
| 
      
 757 
     | 
    
         
            +
                    def initialize(did=nil, dapid=nil, name=nil)
         
     | 
| 
      
 758 
     | 
    
         
            +
                      @Did = did
         
     | 
| 
      
 759 
     | 
    
         
            +
                      @DAPId = dapid
         
     | 
| 
      
 760 
     | 
    
         
            +
                      @Name = name
         
     | 
| 
      
 761 
     | 
    
         
            +
                    end
         
     | 
| 
      
 762 
     | 
    
         
            +
             
     | 
| 
      
 763 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 764 
     | 
    
         
            +
                      @Did = params['Did']
         
     | 
| 
      
 765 
     | 
    
         
            +
                      @DAPId = params['DAPId']
         
     | 
| 
      
 766 
     | 
    
         
            +
                      @Name = params['Name']
         
     | 
| 
      
 767 
     | 
    
         
            +
                    end
         
     | 
| 
      
 768 
     | 
    
         
            +
                  end
         
     | 
| 
      
 769 
     | 
    
         
            +
             
     | 
| 
      
 770 
     | 
    
         
            +
                  # QueryAuthorityInfo返回参数结构体
         
     | 
| 
      
 771 
     | 
    
         
            +
                  class QueryAuthorityInfoResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 772 
     | 
    
         
            +
                    # @param Name: 名称
         
     | 
| 
      
 773 
     | 
    
         
            +
                    # @type Name: String
         
     | 
| 
      
 774 
     | 
    
         
            +
                    # @param Did: 权威机构did
         
     | 
| 
      
 775 
     | 
    
         
            +
                    # @type Did: String
         
     | 
| 
      
 776 
     | 
    
         
            +
                    # @param Status: 状态:1为已认证,2为未认证
         
     | 
| 
      
 777 
     | 
    
         
            +
                    # @type Status: Integer
         
     | 
| 
      
 778 
     | 
    
         
            +
                    # @param Description: 机构备注信息
         
     | 
| 
      
 779 
     | 
    
         
            +
                    # @type Description: String
         
     | 
| 
      
 780 
     | 
    
         
            +
                    # @param RecognizeTime: 认证时间
         
     | 
| 
      
 781 
     | 
    
         
            +
                    # @type RecognizeTime: String
         
     | 
| 
      
 782 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 783 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 784 
     | 
    
         
            +
             
     | 
| 
      
 785 
     | 
    
         
            +
                    attr_accessor :Name, :Did, :Status, :Description, :RecognizeTime, :RequestId
         
     | 
| 
      
 786 
     | 
    
         
            +
             
     | 
| 
      
 787 
     | 
    
         
            +
                    def initialize(name=nil, did=nil, status=nil, description=nil, recognizetime=nil, requestid=nil)
         
     | 
| 
      
 788 
     | 
    
         
            +
                      @Name = name
         
     | 
| 
      
 789 
     | 
    
         
            +
                      @Did = did
         
     | 
| 
      
 790 
     | 
    
         
            +
                      @Status = status
         
     | 
| 
      
 791 
     | 
    
         
            +
                      @Description = description
         
     | 
| 
      
 792 
     | 
    
         
            +
                      @RecognizeTime = recognizetime
         
     | 
| 
      
 793 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 794 
     | 
    
         
            +
                    end
         
     | 
| 
      
 795 
     | 
    
         
            +
             
     | 
| 
      
 796 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 797 
     | 
    
         
            +
                      @Name = params['Name']
         
     | 
| 
      
 798 
     | 
    
         
            +
                      @Did = params['Did']
         
     | 
| 
      
 799 
     | 
    
         
            +
                      @Status = params['Status']
         
     | 
| 
      
 800 
     | 
    
         
            +
                      @Description = params['Description']
         
     | 
| 
      
 801 
     | 
    
         
            +
                      @RecognizeTime = params['RecognizeTime']
         
     | 
| 
      
 802 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 803 
     | 
    
         
            +
                    end
         
     | 
| 
      
 804 
     | 
    
         
            +
                  end
         
     | 
| 
      
 805 
     | 
    
         
            +
             
     | 
| 
      
 806 
     | 
    
         
            +
                  # QueryCPT请求参数结构体
         
     | 
| 
      
 807 
     | 
    
         
            +
                  class QueryCPTRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 808 
     | 
    
         
            +
                    # @param DAPId: DID应用id
         
     | 
| 
      
 809 
     | 
    
         
            +
                    # @type DAPId: Integer
         
     | 
| 
      
 810 
     | 
    
         
            +
                    # @param CPTId: 凭证模板id
         
     | 
| 
      
 811 
     | 
    
         
            +
                    # @type CPTId: Integer
         
     | 
| 
      
 812 
     | 
    
         
            +
             
     | 
| 
      
 813 
     | 
    
         
            +
                    attr_accessor :DAPId, :CPTId
         
     | 
| 
      
 814 
     | 
    
         
            +
             
     | 
| 
      
 815 
     | 
    
         
            +
                    def initialize(dapid=nil, cptid=nil)
         
     | 
| 
      
 816 
     | 
    
         
            +
                      @DAPId = dapid
         
     | 
| 
      
 817 
     | 
    
         
            +
                      @CPTId = cptid
         
     | 
| 
      
 818 
     | 
    
         
            +
                    end
         
     | 
| 
      
 819 
     | 
    
         
            +
             
     | 
| 
      
 820 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 821 
     | 
    
         
            +
                      @DAPId = params['DAPId']
         
     | 
| 
      
 822 
     | 
    
         
            +
                      @CPTId = params['CPTId']
         
     | 
| 
      
 823 
     | 
    
         
            +
                    end
         
     | 
| 
      
 824 
     | 
    
         
            +
                  end
         
     | 
| 
      
 825 
     | 
    
         
            +
             
     | 
| 
      
 826 
     | 
    
         
            +
                  # QueryCPT返回参数结构体
         
     | 
| 
      
 827 
     | 
    
         
            +
                  class QueryCPTResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 828 
     | 
    
         
            +
                    # @param CPTJson: 凭证模板内容
         
     | 
| 
      
 829 
     | 
    
         
            +
                    # @type CPTJson: String
         
     | 
| 
      
 830 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 831 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 832 
     | 
    
         
            +
             
     | 
| 
      
 833 
     | 
    
         
            +
                    attr_accessor :CPTJson, :RequestId
         
     | 
| 
      
 834 
     | 
    
         
            +
             
     | 
| 
      
 835 
     | 
    
         
            +
                    def initialize(cptjson=nil, requestid=nil)
         
     | 
| 
      
 836 
     | 
    
         
            +
                      @CPTJson = cptjson
         
     | 
| 
      
 837 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 838 
     | 
    
         
            +
                    end
         
     | 
| 
      
 839 
     | 
    
         
            +
             
     | 
| 
      
 840 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 841 
     | 
    
         
            +
                      @CPTJson = params['CPTJson']
         
     | 
| 
      
 842 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 843 
     | 
    
         
            +
                    end
         
     | 
| 
      
 844 
     | 
    
         
            +
                  end
         
     | 
| 
      
 845 
     | 
    
         
            +
             
     | 
| 
      
 846 
     | 
    
         
            +
                  # 资源计数统计数据
         
     | 
| 
      
 847 
     | 
    
         
            +
                  class ResourceCounterData < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 848 
     | 
    
         
            +
                    # @param DidCnt: DID总数
         
     | 
| 
      
 849 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 850 
     | 
    
         
            +
                    # @type DidCnt: Integer
         
     | 
| 
      
 851 
     | 
    
         
            +
                    # @param VCCnt: VC总数
         
     | 
| 
      
 852 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 853 
     | 
    
         
            +
                    # @type VCCnt: Integer
         
     | 
| 
      
 854 
     | 
    
         
            +
                    # @param CPTCnt: CPT总数
         
     | 
| 
      
 855 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 856 
     | 
    
         
            +
                    # @type CPTCnt: Integer
         
     | 
| 
      
 857 
     | 
    
         
            +
                    # @param VerifyCnt:  VC验证总数
         
     | 
| 
      
 858 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 859 
     | 
    
         
            +
                    # @type VerifyCnt: Integer
         
     | 
| 
      
 860 
     | 
    
         
            +
                    # @param AuthCnt: 权威机构数量
         
     | 
| 
      
 861 
     | 
    
         
            +
                    # 注意:此字段可能返回 null,表示取不到有效值。
         
     | 
| 
      
 862 
     | 
    
         
            +
                    # @type AuthCnt: Integer
         
     | 
| 
      
 863 
     | 
    
         
            +
             
     | 
| 
      
 864 
     | 
    
         
            +
                    attr_accessor :DidCnt, :VCCnt, :CPTCnt, :VerifyCnt, :AuthCnt
         
     | 
| 
      
 865 
     | 
    
         
            +
             
     | 
| 
      
 866 
     | 
    
         
            +
                    def initialize(didcnt=nil, vccnt=nil, cptcnt=nil, verifycnt=nil, authcnt=nil)
         
     | 
| 
      
 867 
     | 
    
         
            +
                      @DidCnt = didcnt
         
     | 
| 
      
 868 
     | 
    
         
            +
                      @VCCnt = vccnt
         
     | 
| 
      
 869 
     | 
    
         
            +
                      @CPTCnt = cptcnt
         
     | 
| 
      
 870 
     | 
    
         
            +
                      @VerifyCnt = verifycnt
         
     | 
| 
      
 871 
     | 
    
         
            +
                      @AuthCnt = authcnt
         
     | 
| 
      
 872 
     | 
    
         
            +
                    end
         
     | 
| 
      
 873 
     | 
    
         
            +
             
     | 
| 
      
 874 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 875 
     | 
    
         
            +
                      @DidCnt = params['DidCnt']
         
     | 
| 
      
 876 
     | 
    
         
            +
                      @VCCnt = params['VCCnt']
         
     | 
| 
      
 877 
     | 
    
         
            +
                      @CPTCnt = params['CPTCnt']
         
     | 
| 
      
 878 
     | 
    
         
            +
                      @VerifyCnt = params['VerifyCnt']
         
     | 
| 
      
 879 
     | 
    
         
            +
                      @AuthCnt = params['AuthCnt']
         
     | 
| 
      
 880 
     | 
    
         
            +
                    end
         
     | 
| 
      
 881 
     | 
    
         
            +
                  end
         
     | 
| 
      
 882 
     | 
    
         
            +
             
     | 
| 
      
 883 
     | 
    
         
            +
                  # SetTDidAttribute请求参数结构体
         
     | 
| 
      
 884 
     | 
    
         
            +
                  class SetTDidAttributeRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 885 
     | 
    
         
            +
                    # @param Did: DID标识符
         
     | 
| 
      
 886 
     | 
    
         
            +
                    # @type Did: String
         
     | 
| 
      
 887 
     | 
    
         
            +
                    # @param Attributes: 属性名值对数组
         
     | 
| 
      
 888 
     | 
    
         
            +
                    # @type Attributes: Array
         
     | 
| 
      
 889 
     | 
    
         
            +
                    # @param DAPId: DID应用Id
         
     | 
| 
      
 890 
     | 
    
         
            +
                    # @type DAPId: Integer
         
     | 
| 
      
 891 
     | 
    
         
            +
                    # @param OperateCredential: 操作鉴权凭证
         
     | 
| 
      
 892 
     | 
    
         
            +
                    # @type OperateCredential: String
         
     | 
| 
      
 893 
     | 
    
         
            +
             
     | 
| 
      
 894 
     | 
    
         
            +
                    attr_accessor :Did, :Attributes, :DAPId, :OperateCredential
         
     | 
| 
      
 895 
     | 
    
         
            +
             
     | 
| 
      
 896 
     | 
    
         
            +
                    def initialize(did=nil, attributes=nil, dapid=nil, operatecredential=nil)
         
     | 
| 
      
 897 
     | 
    
         
            +
                      @Did = did
         
     | 
| 
      
 898 
     | 
    
         
            +
                      @Attributes = attributes
         
     | 
| 
      
 899 
     | 
    
         
            +
                      @DAPId = dapid
         
     | 
| 
      
 900 
     | 
    
         
            +
                      @OperateCredential = operatecredential
         
     | 
| 
      
 901 
     | 
    
         
            +
                    end
         
     | 
| 
      
 902 
     | 
    
         
            +
             
     | 
| 
      
 903 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 904 
     | 
    
         
            +
                      @Did = params['Did']
         
     | 
| 
      
 905 
     | 
    
         
            +
                      unless params['Attributes'].nil?
         
     | 
| 
      
 906 
     | 
    
         
            +
                        @Attributes = []
         
     | 
| 
      
 907 
     | 
    
         
            +
                        params['Attributes'].each do |i|
         
     | 
| 
      
 908 
     | 
    
         
            +
                          didattribute_tmp = DidAttribute.new
         
     | 
| 
      
 909 
     | 
    
         
            +
                          didattribute_tmp.deserialize(i)
         
     | 
| 
      
 910 
     | 
    
         
            +
                          @Attributes << didattribute_tmp
         
     | 
| 
      
 911 
     | 
    
         
            +
                        end
         
     | 
| 
      
 912 
     | 
    
         
            +
                      end
         
     | 
| 
      
 913 
     | 
    
         
            +
                      @DAPId = params['DAPId']
         
     | 
| 
      
 914 
     | 
    
         
            +
                      @OperateCredential = params['OperateCredential']
         
     | 
| 
      
 915 
     | 
    
         
            +
                    end
         
     | 
| 
      
 916 
     | 
    
         
            +
                  end
         
     | 
| 
      
 917 
     | 
    
         
            +
             
     | 
| 
      
 918 
     | 
    
         
            +
                  # SetTDidAttribute返回参数结构体
         
     | 
| 
      
 919 
     | 
    
         
            +
                  class SetTDidAttributeResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 920 
     | 
    
         
            +
                    # @param Transaction: 上链交易信息
         
     | 
| 
      
 921 
     | 
    
         
            +
                    # @type Transaction: :class:`Tencentcloud::Tdid.v20210519.models.ChainTransaction`
         
     | 
| 
      
 922 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 923 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 924 
     | 
    
         
            +
             
     | 
| 
      
 925 
     | 
    
         
            +
                    attr_accessor :Transaction, :RequestId
         
     | 
| 
      
 926 
     | 
    
         
            +
             
     | 
| 
      
 927 
     | 
    
         
            +
                    def initialize(transaction=nil, requestid=nil)
         
     | 
| 
      
 928 
     | 
    
         
            +
                      @Transaction = transaction
         
     | 
| 
      
 929 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 930 
     | 
    
         
            +
                    end
         
     | 
| 
      
 931 
     | 
    
         
            +
             
     | 
| 
      
 932 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 933 
     | 
    
         
            +
                      unless params['Transaction'].nil?
         
     | 
| 
      
 934 
     | 
    
         
            +
                        @Transaction = ChainTransaction.new
         
     | 
| 
      
 935 
     | 
    
         
            +
                        @Transaction.deserialize(params['Transaction'])
         
     | 
| 
      
 936 
     | 
    
         
            +
                      end
         
     | 
| 
      
 937 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 938 
     | 
    
         
            +
                    end
         
     | 
| 
      
 939 
     | 
    
         
            +
                  end
         
     | 
| 
      
 940 
     | 
    
         
            +
             
     | 
| 
       435 
941 
     | 
    
         
             
                  # UpdateCredentialState请求参数结构体
         
     | 
| 
       436 
942 
     | 
    
         
             
                  class UpdateCredentialStateRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
       437 
943 
     | 
    
         
             
                    # @param DAPId: DID应用Id
         
     | 
| 
         @@ -525,6 +1031,62 @@ module TencentCloud 
     | 
|
| 
       525 
1031 
     | 
    
         
             
                    end
         
     | 
| 
       526 
1032 
     | 
    
         
             
                  end
         
     | 
| 
       527 
1033 
     | 
    
         | 
| 
      
 1034 
     | 
    
         
            +
                  # VerifyPresentation请求参数结构体
         
     | 
| 
      
 1035 
     | 
    
         
            +
                  class VerifyPresentationRequest < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 1036 
     | 
    
         
            +
                    # @param Did: VP持有人的did标识
         
     | 
| 
      
 1037 
     | 
    
         
            +
                    # @type Did: String
         
     | 
| 
      
 1038 
     | 
    
         
            +
                    # @param PresentationData: 可验证表达内容
         
     | 
| 
      
 1039 
     | 
    
         
            +
                    # @type PresentationData: String
         
     | 
| 
      
 1040 
     | 
    
         
            +
                    # @param DAPId: DID应用id
         
     | 
| 
      
 1041 
     | 
    
         
            +
                    # @type DAPId: Integer
         
     | 
| 
      
 1042 
     | 
    
         
            +
                    # @param VerifyCode: 随机验证码
         
     | 
| 
      
 1043 
     | 
    
         
            +
                    # @type VerifyCode: String
         
     | 
| 
      
 1044 
     | 
    
         
            +
             
     | 
| 
      
 1045 
     | 
    
         
            +
                    attr_accessor :Did, :PresentationData, :DAPId, :VerifyCode
         
     | 
| 
      
 1046 
     | 
    
         
            +
             
     | 
| 
      
 1047 
     | 
    
         
            +
                    def initialize(did=nil, presentationdata=nil, dapid=nil, verifycode=nil)
         
     | 
| 
      
 1048 
     | 
    
         
            +
                      @Did = did
         
     | 
| 
      
 1049 
     | 
    
         
            +
                      @PresentationData = presentationdata
         
     | 
| 
      
 1050 
     | 
    
         
            +
                      @DAPId = dapid
         
     | 
| 
      
 1051 
     | 
    
         
            +
                      @VerifyCode = verifycode
         
     | 
| 
      
 1052 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1053 
     | 
    
         
            +
             
     | 
| 
      
 1054 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 1055 
     | 
    
         
            +
                      @Did = params['Did']
         
     | 
| 
      
 1056 
     | 
    
         
            +
                      @PresentationData = params['PresentationData']
         
     | 
| 
      
 1057 
     | 
    
         
            +
                      @DAPId = params['DAPId']
         
     | 
| 
      
 1058 
     | 
    
         
            +
                      @VerifyCode = params['VerifyCode']
         
     | 
| 
      
 1059 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1060 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1061 
     | 
    
         
            +
             
     | 
| 
      
 1062 
     | 
    
         
            +
                  # VerifyPresentation返回参数结构体
         
     | 
| 
      
 1063 
     | 
    
         
            +
                  class VerifyPresentationResponse < TencentCloud::Common::AbstractModel
         
     | 
| 
      
 1064 
     | 
    
         
            +
                    # @param Result: 是否验证成功
         
     | 
| 
      
 1065 
     | 
    
         
            +
                    # @type Result: Boolean
         
     | 
| 
      
 1066 
     | 
    
         
            +
                    # @param VerifyCode: 验证返回码
         
     | 
| 
      
 1067 
     | 
    
         
            +
                    # @type VerifyCode: Integer
         
     | 
| 
      
 1068 
     | 
    
         
            +
                    # @param VerifyMessage: 验证消息
         
     | 
| 
      
 1069 
     | 
    
         
            +
                    # @type VerifyMessage: String
         
     | 
| 
      
 1070 
     | 
    
         
            +
                    # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
         
     | 
| 
      
 1071 
     | 
    
         
            +
                    # @type RequestId: String
         
     | 
| 
      
 1072 
     | 
    
         
            +
             
     | 
| 
      
 1073 
     | 
    
         
            +
                    attr_accessor :Result, :VerifyCode, :VerifyMessage, :RequestId
         
     | 
| 
      
 1074 
     | 
    
         
            +
             
     | 
| 
      
 1075 
     | 
    
         
            +
                    def initialize(result=nil, verifycode=nil, verifymessage=nil, requestid=nil)
         
     | 
| 
      
 1076 
     | 
    
         
            +
                      @Result = result
         
     | 
| 
      
 1077 
     | 
    
         
            +
                      @VerifyCode = verifycode
         
     | 
| 
      
 1078 
     | 
    
         
            +
                      @VerifyMessage = verifymessage
         
     | 
| 
      
 1079 
     | 
    
         
            +
                      @RequestId = requestid
         
     | 
| 
      
 1080 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1081 
     | 
    
         
            +
             
     | 
| 
      
 1082 
     | 
    
         
            +
                    def deserialize(params)
         
     | 
| 
      
 1083 
     | 
    
         
            +
                      @Result = params['Result']
         
     | 
| 
      
 1084 
     | 
    
         
            +
                      @VerifyCode = params['VerifyCode']
         
     | 
| 
      
 1085 
     | 
    
         
            +
                      @VerifyMessage = params['VerifyMessage']
         
     | 
| 
      
 1086 
     | 
    
         
            +
                      @RequestId = params['RequestId']
         
     | 
| 
      
 1087 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1088 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1089 
     | 
    
         
            +
             
     | 
| 
       528 
1090 
     | 
    
         
             
                end
         
     | 
| 
       529 
1091 
     | 
    
         
             
              end
         
     | 
| 
       530 
1092 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: tencentcloud-sdk-tdid
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 3.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 3.0.748
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Tencent Cloud
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2024-01- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2024-01-12 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: tencentcloud-sdk-common
         
     |