Class: TencentCloud::Essbasic::V20201222::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Essbasic::V20201222::Client
- Defined in:
- lib/v20201222/client.rb
Instance Method Summary collapse
-
#ArchiveFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::ArchiveFlowResponse. -
#CancelFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CancelFlowResponse. -
#CheckBankCard2EVerification(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CheckBankCard2EVerificationResponse. -
#CheckBankCard3EVerification(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CheckBankCard3EVerificationResponse. -
#CheckBankCard4EVerification(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CheckBankCard4EVerificationResponse. -
#CheckBankCardVerification(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CheckBankCardVerificationResponse. -
#CheckFaceIdentify(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CheckFaceIdentifyResponse. -
#CheckIdCardVerification(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CheckIdCardVerificationResponse. -
#CheckMobileAndName(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CheckMobileAndNameResponse. -
#CheckMobileVerification(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CheckMobileVerificationResponse. -
#CheckVerifyCodeMatchFlowId(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CheckVerifyCodeMatchFlowIdResponse. -
#CreateFaceIdSign(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateFaceIdSignResponse. -
#CreateFlowByFiles(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateFlowByFilesResponse. -
#CreateH5FaceIdUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateH5FaceIdUrlResponse. -
#CreatePreviewSignUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreatePreviewSignUrlResponse. -
#CreateSeal(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateSealResponse. -
#CreateServerFlowSign(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateServerFlowSignResponse. -
#CreateSignUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateSignUrlResponse. -
#CreateSubOrganization(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateSubOrganizationResponse. -
#CreateSubOrganizationAndSeal(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateSubOrganizationAndSealResponse. -
#CreateUser(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateUserResponse. -
#CreateUserAndSeal(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::CreateUserAndSealResponse. -
#DeleteSeal(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DeleteSealResponse. -
#DescribeCatalogApprovers(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeCatalogApproversResponse. -
#DescribeCatalogSignComponents(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeCatalogSignComponentsResponse. -
#DescribeCustomFlowIds(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeCustomFlowIdsResponse. -
#DescribeCustomFlowIdsByFlowId(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeCustomFlowIdsByFlowIdResponse. -
#DescribeFaceIdPhotos(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeFaceIdPhotosResponse. -
#DescribeFaceIdResults(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeFaceIdResultsResponse. -
#DescribeFileIdsByCustomIds(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeFileIdsByCustomIdsResponse. -
#DescribeFileUrls(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeFileUrlsResponse. -
#DescribeFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeFlowResponse. -
#DescribeFlowApprovers(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeFlowApproversResponse. -
#DescribeFlowFiles(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeFlowFilesResponse. -
#DescribeSeals(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeSealsResponse. -
#DescribeSubOrganizations(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeSubOrganizationsResponse. -
#DescribeUsers(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DescribeUsersResponse. -
#DestroyFlowFile(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::DestroyFlowFileResponse. -
#GenerateOrganizationSeal(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::GenerateOrganizationSealResponse. -
#GenerateUserSeal(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::GenerateUserSealResponse. -
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ModifyOrganizationDefaultSeal(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::ModifyOrganizationDefaultSealResponse. -
#ModifySeal(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::ModifySealResponse. -
#ModifySubOrganizationInfo(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::ModifySubOrganizationInfoResponse. -
#ModifyUser(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::ModifyUserResponse. -
#ModifyUserDefaultSeal(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::ModifyUserDefaultSealResponse. -
#RejectFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::RejectFlowResponse. -
#SendFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::SendFlowResponse. -
#SendFlowUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::SendFlowUrlResponse. -
#SendSignInnerVerifyCode(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::SendSignInnerVerifyCodeResponse. -
#SignFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::SignFlowResponse. -
#UploadFiles(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::UploadFilesResponse. -
#VerifySubOrganization(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::VerifySubOrganizationResponse. -
#VerifyUser(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20201222::VerifyUserResponse.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20201222/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2020-12-22' api_endpoint = 'essbasic.tencentcloudapi.com' sdk_version = 'ESSBASIC_' + File.read(File.('../VERSION', __dir__)).strip super(credential, region, api_version, api_endpoint, sdk_version, profile) end |
Instance Method Details
#ArchiveFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::ArchiveFlowResponse
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 |
# File 'lib/v20201222/client.rb', line 39 def ArchiveFlow(request) body = send_request('ArchiveFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ArchiveFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CancelFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CancelFlowResponse
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# File 'lib/v20201222/client.rb', line 65 def CancelFlow(request) body = send_request('CancelFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CancelFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckBankCard2EVerification(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CheckBankCard2EVerificationResponse
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
# File 'lib/v20201222/client.rb', line 89 def CheckBankCard2EVerification(request) body = send_request('CheckBankCard2EVerification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckBankCard2EVerificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckBankCard3EVerification(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CheckBankCard3EVerificationResponse
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'lib/v20201222/client.rb', line 113 def CheckBankCard3EVerification(request) body = send_request('CheckBankCard3EVerification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckBankCard3EVerificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckBankCard4EVerification(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CheckBankCard4EVerificationResponse
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 |
# File 'lib/v20201222/client.rb', line 137 def CheckBankCard4EVerification(request) body = send_request('CheckBankCard4EVerification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckBankCard4EVerificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckBankCardVerification(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CheckBankCardVerificationResponse
164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/v20201222/client.rb', line 164 def CheckBankCardVerification(request) body = send_request('CheckBankCardVerification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckBankCardVerificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckFaceIdentify(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CheckFaceIdentifyResponse
188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 |
# File 'lib/v20201222/client.rb', line 188 def CheckFaceIdentify(request) body = send_request('CheckFaceIdentify', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckFaceIdentifyResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckIdCardVerification(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CheckIdCardVerificationResponse
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 |
# File 'lib/v20201222/client.rb', line 212 def CheckIdCardVerification(request) body = send_request('CheckIdCardVerification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckIdCardVerificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckMobileAndName(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CheckMobileAndNameResponse
236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 |
# File 'lib/v20201222/client.rb', line 236 def CheckMobileAndName(request) body = send_request('CheckMobileAndName', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckMobileAndNameResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckMobileVerification(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CheckMobileVerificationResponse
260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
# File 'lib/v20201222/client.rb', line 260 def CheckMobileVerification(request) body = send_request('CheckMobileVerification', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckMobileVerificationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CheckVerifyCodeMatchFlowId(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CheckVerifyCodeMatchFlowIdResponse
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/v20201222/client.rb', line 284 def CheckVerifyCodeMatchFlowId(request) body = send_request('CheckVerifyCodeMatchFlowId', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CheckVerifyCodeMatchFlowIdResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateFaceIdSign(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateFaceIdSignResponse
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 |
# File 'lib/v20201222/client.rb', line 308 def CreateFaceIdSign(request) body = send_request('CreateFaceIdSign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateFaceIdSignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateFlowByFiles(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateFlowByFilesResponse
334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 |
# File 'lib/v20201222/client.rb', line 334 def CreateFlowByFiles(request) body = send_request('CreateFlowByFiles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateFlowByFilesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateH5FaceIdUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateH5FaceIdUrlResponse
358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 |
# File 'lib/v20201222/client.rb', line 358 def CreateH5FaceIdUrl(request) body = send_request('CreateH5FaceIdUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateH5FaceIdUrlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreatePreviewSignUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreatePreviewSignUrlResponse
384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 |
# File 'lib/v20201222/client.rb', line 384 def CreatePreviewSignUrl(request) body = send_request('CreatePreviewSignUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePreviewSignUrlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSeal(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateSealResponse
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
# File 'lib/v20201222/client.rb', line 410 def CreateSeal(request) body = send_request('CreateSeal', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSealResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateServerFlowSign(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateServerFlowSignResponse
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 |
# File 'lib/v20201222/client.rb', line 438 def CreateServerFlowSign(request) body = send_request('CreateServerFlowSign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateServerFlowSignResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSignUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateSignUrlResponse
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 |
# File 'lib/v20201222/client.rb', line 464 def CreateSignUrl(request) body = send_request('CreateSignUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSignUrlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSubOrganization(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateSubOrganizationResponse
488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 |
# File 'lib/v20201222/client.rb', line 488 def CreateSubOrganization(request) body = send_request('CreateSubOrganization', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSubOrganizationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateSubOrganizationAndSeal(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateSubOrganizationAndSealResponse
516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 |
# File 'lib/v20201222/client.rb', line 516 def CreateSubOrganizationAndSeal(request) body = send_request('CreateSubOrganizationAndSeal', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSubOrganizationAndSealResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateUser(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateUserResponse
540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 |
# File 'lib/v20201222/client.rb', line 540 def CreateUser(request) body = send_request('CreateUser', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateUserResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#CreateUserAndSeal(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::CreateUserAndSealResponse
568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 |
# File 'lib/v20201222/client.rb', line 568 def CreateUserAndSeal(request) body = send_request('CreateUserAndSeal', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateUserAndSealResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DeleteSeal(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DeleteSealResponse
594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 |
# File 'lib/v20201222/client.rb', line 594 def DeleteSeal(request) body = send_request('DeleteSeal', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteSealResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCatalogApprovers(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeCatalogApproversResponse
618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 |
# File 'lib/v20201222/client.rb', line 618 def DescribeCatalogApprovers(request) body = send_request('DescribeCatalogApprovers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCatalogApproversResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCatalogSignComponents(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeCatalogSignComponentsResponse
642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 |
# File 'lib/v20201222/client.rb', line 642 def DescribeCatalogSignComponents(request) body = send_request('DescribeCatalogSignComponents', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCatalogSignComponentsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCustomFlowIds(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeCustomFlowIdsResponse
666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 |
# File 'lib/v20201222/client.rb', line 666 def DescribeCustomFlowIds(request) body = send_request('DescribeCustomFlowIds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCustomFlowIdsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeCustomFlowIdsByFlowId(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeCustomFlowIdsByFlowIdResponse
690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 |
# File 'lib/v20201222/client.rb', line 690 def DescribeCustomFlowIdsByFlowId(request) body = send_request('DescribeCustomFlowIdsByFlowId', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCustomFlowIdsByFlowIdResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeFaceIdPhotos(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeFaceIdPhotosResponse
714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 |
# File 'lib/v20201222/client.rb', line 714 def DescribeFaceIdPhotos(request) body = send_request('DescribeFaceIdPhotos', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFaceIdPhotosResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeFaceIdResults(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeFaceIdResultsResponse
738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 |
# File 'lib/v20201222/client.rb', line 738 def DescribeFaceIdResults(request) body = send_request('DescribeFaceIdResults', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFaceIdResultsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeFileIdsByCustomIds(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeFileIdsByCustomIdsResponse
762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 |
# File 'lib/v20201222/client.rb', line 762 def DescribeFileIdsByCustomIds(request) body = send_request('DescribeFileIdsByCustomIds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFileIdsByCustomIdsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeFileUrls(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeFileUrlsResponse
786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 |
# File 'lib/v20201222/client.rb', line 786 def DescribeFileUrls(request) body = send_request('DescribeFileUrls', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFileUrlsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeFlowResponse
810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 |
# File 'lib/v20201222/client.rb', line 810 def DescribeFlow(request) body = send_request('DescribeFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeFlowApprovers(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeFlowApproversResponse
834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 |
# File 'lib/v20201222/client.rb', line 834 def DescribeFlowApprovers(request) body = send_request('DescribeFlowApprovers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFlowApproversResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeFlowFiles(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeFlowFilesResponse
858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'lib/v20201222/client.rb', line 858 def DescribeFlowFiles(request) body = send_request('DescribeFlowFiles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFlowFilesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSeals(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeSealsResponse
882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'lib/v20201222/client.rb', line 882 def DescribeSeals(request) body = send_request('DescribeSeals', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSealsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeSubOrganizations(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeSubOrganizationsResponse
908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 |
# File 'lib/v20201222/client.rb', line 908 def DescribeSubOrganizations(request) body = send_request('DescribeSubOrganizations', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeSubOrganizationsResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DescribeUsers(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DescribeUsersResponse
934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 |
# File 'lib/v20201222/client.rb', line 934 def DescribeUsers(request) body = send_request('DescribeUsers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUsersResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#DestroyFlowFile(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::DestroyFlowFileResponse
960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 |
# File 'lib/v20201222/client.rb', line 960 def DestroyFlowFile(request) body = send_request('DestroyFlowFile', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DestroyFlowFileResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GenerateOrganizationSeal(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::GenerateOrganizationSealResponse
984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 |
# File 'lib/v20201222/client.rb', line 984 def GenerateOrganizationSeal(request) body = send_request('GenerateOrganizationSeal', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GenerateOrganizationSealResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#GenerateUserSeal(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::GenerateUserSealResponse
1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 |
# File 'lib/v20201222/client.rb', line 1012 def GenerateUserSeal(request) body = send_request('GenerateUserSeal', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GenerateUserSealResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyOrganizationDefaultSeal(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::ModifyOrganizationDefaultSealResponse
1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 |
# File 'lib/v20201222/client.rb', line 1036 def ModifyOrganizationDefaultSeal(request) body = send_request('ModifyOrganizationDefaultSeal', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyOrganizationDefaultSealResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySeal(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::ModifySealResponse
1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 |
# File 'lib/v20201222/client.rb', line 1062 def ModifySeal(request) body = send_request('ModifySeal', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySealResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifySubOrganizationInfo(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::ModifySubOrganizationInfoResponse
1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 |
# File 'lib/v20201222/client.rb', line 1088 def ModifySubOrganizationInfo(request) body = send_request('ModifySubOrganizationInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifySubOrganizationInfoResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyUser(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::ModifyUserResponse
1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 |
# File 'lib/v20201222/client.rb', line 1114 def ModifyUser(request) body = send_request('ModifyUser', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyUserResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#ModifyUserDefaultSeal(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::ModifyUserDefaultSealResponse
1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 |
# File 'lib/v20201222/client.rb', line 1138 def ModifyUserDefaultSeal(request) body = send_request('ModifyUserDefaultSeal', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyUserDefaultSealResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#RejectFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::RejectFlowResponse
1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 |
# File 'lib/v20201222/client.rb', line 1162 def RejectFlow(request) body = send_request('RejectFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = RejectFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::SendFlowResponse
1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 |
# File 'lib/v20201222/client.rb', line 1186 def SendFlow(request) body = send_request('SendFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendFlowUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::SendFlowUrlResponse
1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 |
# File 'lib/v20201222/client.rb', line 1210 def SendFlowUrl(request) body = send_request('SendFlowUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendFlowUrlResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SendSignInnerVerifyCode(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::SendSignInnerVerifyCodeResponse
1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 |
# File 'lib/v20201222/client.rb', line 1234 def SendSignInnerVerifyCode(request) body = send_request('SendSignInnerVerifyCode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SendSignInnerVerifyCodeResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#SignFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::SignFlowResponse
1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 |
# File 'lib/v20201222/client.rb', line 1258 def SignFlow(request) body = send_request('SignFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SignFlowResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#UploadFiles(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::UploadFilesResponse
1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 |
# File 'lib/v20201222/client.rb', line 1282 def UploadFiles(request) body = send_request('UploadFiles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = UploadFilesResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#VerifySubOrganization(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::VerifySubOrganizationResponse
1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 |
# File 'lib/v20201222/client.rb', line 1308 def VerifySubOrganization(request) body = send_request('VerifySubOrganization', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = VerifySubOrganizationResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |
#VerifyUser(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20201222::VerifyUserResponse
1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 |
# File 'lib/v20201222/client.rb', line 1334 def VerifyUser(request) body = send_request('VerifyUser', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = VerifyUserResponse.new model.deserialize(response['Response']) model else code = response['Response']['Error']['Code'] = response['Response']['Error']['Message'] reqid = response['Response']['RequestId'] raise TencentCloud::Common::TencentCloudSDKException.new(code, , reqid) end rescue TencentCloud::Common::TencentCloudSDKException => e raise e rescue StandardError => e raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect) end |