Class: TencentCloud::Essbasic::V20210526::Client
- Inherits:
-
Common::AbstractClient
- Object
- Common::AbstractClient
- TencentCloud::Essbasic::V20210526::Client
- Defined in:
- lib/v20210526/client.rb
Instance Method Summary collapse
-
#ArchiveDynamicFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ArchiveDynamicFlowResponse. -
#ChannelBatchCancelFlows(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelBatchCancelFlowsResponse. -
#ChannelCancelFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCancelFlowResponse. -
#ChannelCancelMultiFlowSignQRCode(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCancelMultiFlowSignQRCodeResponse. -
#ChannelCancelUserAutoSignEnableUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCancelUserAutoSignEnableUrlResponse. -
#ChannelCreateBatchCancelFlowUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateBatchCancelFlowUrlResponse. -
#ChannelCreateBatchQuickSignUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateBatchQuickSignUrlResponse. -
#ChannelCreateBatchSignUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateBatchSignUrlResponse. -
#ChannelCreateBoundFlows(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateBoundFlowsResponse. -
#ChannelCreateConvertTaskApi(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateConvertTaskApiResponse. -
#ChannelCreateDynamicFlowApprover(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateDynamicFlowApproverResponse. -
#ChannelCreateEmbedWebUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateEmbedWebUrlResponse. -
#ChannelCreateFlowApprovers(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateFlowApproversResponse. -
#ChannelCreateFlowByFiles(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateFlowByFilesResponse. -
#ChannelCreateFlowGroupByFiles(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateFlowGroupByFilesResponse. -
#ChannelCreateFlowGroupByTemplates(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateFlowGroupByTemplatesResponse. -
#ChannelCreateFlowReminds(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateFlowRemindsResponse. -
#ChannelCreateFlowSignReview(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateFlowSignReviewResponse. -
#ChannelCreateFlowSignUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateFlowSignUrlResponse. -
#ChannelCreateMultiFlowSignQRCode(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateMultiFlowSignQRCodeResponse. -
#ChannelCreateOrganizationBatchSignUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateOrganizationBatchSignUrlResponse. -
#ChannelCreateOrganizationModifyQrCode(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateOrganizationModifyQrCodeResponse. -
#ChannelCreatePreparedPersonalEsign(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreatePreparedPersonalEsignResponse. -
#ChannelCreatePrepareFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreatePrepareFlowResponse. -
#ChannelCreatePrepareFlowGroup(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreatePrepareFlowGroupResponse. -
#ChannelCreateReleaseFlow(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateReleaseFlowResponse. -
#ChannelCreateRole(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateRoleResponse. -
#ChannelCreateSealPolicy(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateSealPolicyResponse. -
#ChannelCreateUserAutoSignEnableUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateUserAutoSignEnableUrlResponse. -
#ChannelCreateUserAutoSignSealUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateUserAutoSignSealUrlResponse. -
#ChannelCreateUserRoles(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateUserRolesResponse. -
#ChannelCreateWebThemeConfig(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelCreateWebThemeConfigResponse. -
#ChannelDeleteRole(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDeleteRoleResponse. -
#ChannelDeleteRoleUsers(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDeleteRoleUsersResponse. -
#ChannelDeleteSealPolicies(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDeleteSealPoliciesResponse. -
#ChannelDescribeAccountBillDetail(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDescribeAccountBillDetailResponse. -
#ChannelDescribeBillUsageDetail(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDescribeBillUsageDetailResponse. -
#ChannelDescribeEmployees(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDescribeEmployeesResponse. -
#ChannelDescribeFlowComponents(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDescribeFlowComponentsResponse. -
#ChannelDescribeOrganizationSeals(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDescribeOrganizationSealsResponse. -
#ChannelDescribeRoles(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDescribeRolesResponse. -
#ChannelDescribeSignFaceVideo(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDescribeSignFaceVideoResponse. -
#ChannelDescribeUserAutoSignStatus(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDescribeUserAutoSignStatusResponse. -
#ChannelDisableUserAutoSign(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelDisableUserAutoSignResponse. -
#ChannelGetTaskResultApi(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelGetTaskResultApiResponse. -
#ChannelModifyRole(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelModifyRoleResponse. -
#ChannelRenewAutoSignLicense(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelRenewAutoSignLicenseResponse. -
#ChannelUpdateSealStatus(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelUpdateSealStatusResponse. -
#ChannelVerifyPdf(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ChannelVerifyPdfResponse. -
#CreateBatchInitOrganizationUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateBatchInitOrganizationUrlResponse. -
#CreateBatchOrganizationAuthorizationUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateBatchOrganizationAuthorizationUrlResponse. -
#CreateBatchOrganizationRegistrationTasks(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateBatchOrganizationRegistrationTasksResponse. -
#CreateChannelFlowEvidenceReport(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateChannelFlowEvidenceReportResponse. -
#CreateChannelOrganizationInfoChangeUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateChannelOrganizationInfoChangeUrlResponse. -
#CreateChannelSubOrganizationActive(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateChannelSubOrganizationActiveResponse. -
#CreateCloseOrganizationUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateCloseOrganizationUrlResponse. -
#CreateConsoleLoginUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateConsoleLoginUrlResponse. -
#CreateEmployeeChangeUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateEmployeeChangeUrlResponse. -
#CreateEmployeeQualificationSealQrCode(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateEmployeeQualificationSealQrCodeResponse. -
#CreateFlowBlockchainEvidenceUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateFlowBlockchainEvidenceUrlResponse. -
#CreateFlowForwards(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateFlowForwardsResponse. -
#CreateFlowGroupSignReview(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateFlowGroupSignReviewResponse. -
#CreateFlowsByTemplates(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateFlowsByTemplatesResponse. -
#CreateLegalSealQrCode(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateLegalSealQrCodeResponse. -
#CreateModifyAdminAuthorizationUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateModifyAdminAuthorizationUrlResponse. -
#CreateOrganizationAuthFile(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateOrganizationAuthFileResponse. -
#CreatePartnerAutoSignAuthUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreatePartnerAutoSignAuthUrlResponse. -
#CreatePersonAuthCertificateImage(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreatePersonAuthCertificateImageResponse. -
#CreateSealByImage(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateSealByImageResponse. -
#CreateSignUrls(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::CreateSignUrlsResponse. -
#DeleteOrganizationAuthorizations(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DeleteOrganizationAuthorizationsResponse. -
#DescribeBatchOrganizationRegistrationTasks(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeBatchOrganizationRegistrationTasksResponse. -
#DescribeBatchOrganizationRegistrationUrls(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeBatchOrganizationRegistrationUrlsResponse. -
#DescribeCancelFlowsTask(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeCancelFlowsTaskResponse. -
#DescribeChannelFlowEvidenceReport(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeChannelFlowEvidenceReportResponse. -
#DescribeChannelOrganizations(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeChannelOrganizationsResponse. -
#DescribeChannelSealPolicyWorkflowUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeChannelSealPolicyWorkflowUrlResponse. -
#DescribeExtendedServiceAuthDetail(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeExtendedServiceAuthDetailResponse. -
#DescribeExtendedServiceAuthInfo(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeExtendedServiceAuthInfoResponse. -
#DescribeFlowDetailInfo(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeFlowDetailInfoResponse. -
#DescribeResourceUrlsByFlows(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeResourceUrlsByFlowsResponse. -
#DescribeTemplates(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeTemplatesResponse. -
#DescribeUsage(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeUsageResponse. -
#DescribeUserFlowType(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::DescribeUserFlowTypeResponse. -
#GetDownloadFlowUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::GetDownloadFlowUrlResponse. -
#initialize(credential, region, profile = nil) ⇒ Client
constructor
A new instance of Client.
-
#ModifyExtendedService(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ModifyExtendedServiceResponse. -
#ModifyFlowDeadline(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ModifyFlowDeadlineResponse. -
#ModifyPartnerAutoSignAuthUrl(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::ModifyPartnerAutoSignAuthUrlResponse. -
#OperateChannelTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::OperateChannelTemplateResponse. -
#OperateTemplate(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::OperateTemplateResponse. -
#PrepareFlows(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::PrepareFlowsResponse. -
#SyncProxyOrganization(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::SyncProxyOrganizationResponse. -
#SyncProxyOrganizationOperators(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::SyncProxyOrganizationOperatorsResponse. -
#UploadFiles(request) ⇒ Object
@rtype: :class:
Tencentcloud::essbasic::V20210526::UploadFilesResponse.
Constructor Details
#initialize(credential, region, profile = nil) ⇒ Client
Returns a new instance of Client.
24 25 26 27 28 29 |
# File 'lib/v20210526/client.rb', line 24 def initialize(credential, region, profile = nil) api_version = '2021-05-26' 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
#ArchiveDynamicFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ArchiveDynamicFlowResponse
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/v20210526/client.rb', line 44 def ArchiveDynamicFlow(request) body = send_request('ArchiveDynamicFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ArchiveDynamicFlowResponse.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 |
#ChannelBatchCancelFlows(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelBatchCancelFlowsResponse
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/v20210526/client.rb', line 82 def ChannelBatchCancelFlows(request) body = send_request('ChannelBatchCancelFlows', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelBatchCancelFlowsResponse.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 |
#ChannelCancelFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCancelFlowResponse
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/v20210526/client.rb', line 117 def ChannelCancelFlow(request) body = send_request('ChannelCancelFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCancelFlowResponse.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 |
#ChannelCancelMultiFlowSignQRCode(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCancelMultiFlowSignQRCodeResponse
143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 |
# File 'lib/v20210526/client.rb', line 143 def ChannelCancelMultiFlowSignQRCode(request) body = send_request('ChannelCancelMultiFlowSignQRCode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCancelMultiFlowSignQRCodeResponse.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 |
#ChannelCancelUserAutoSignEnableUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCancelUserAutoSignEnableUrlResponse
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 |
# File 'lib/v20210526/client.rb', line 167 def ChannelCancelUserAutoSignEnableUrl(request) body = send_request('ChannelCancelUserAutoSignEnableUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCancelUserAutoSignEnableUrlResponse.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 |
#ChannelCreateBatchCancelFlowUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateBatchCancelFlowUrlResponse
203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 |
# File 'lib/v20210526/client.rb', line 203 def ChannelCreateBatchCancelFlowUrl(request) body = send_request('ChannelCreateBatchCancelFlowUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateBatchCancelFlowUrlResponse.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 |
#ChannelCreateBatchQuickSignUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateBatchQuickSignUrlResponse
234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 |
# File 'lib/v20210526/client.rb', line 234 def ChannelCreateBatchQuickSignUrl(request) body = send_request('ChannelCreateBatchQuickSignUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateBatchQuickSignUrlResponse.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 |
#ChannelCreateBatchSignUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateBatchSignUrlResponse
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 |
# File 'lib/v20210526/client.rb', line 269 def ChannelCreateBatchSignUrl(request) body = send_request('ChannelCreateBatchSignUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateBatchSignUrlResponse.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 |
#ChannelCreateBoundFlows(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateBoundFlowsResponse
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 |
# File 'lib/v20210526/client.rb', line 313 def ChannelCreateBoundFlows(request) body = send_request('ChannelCreateBoundFlows', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateBoundFlowsResponse.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 |
#ChannelCreateConvertTaskApi(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateConvertTaskApiResponse
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 |
# File 'lib/v20210526/client.rb', line 344 def ChannelCreateConvertTaskApi(request) body = send_request('ChannelCreateConvertTaskApi', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateConvertTaskApiResponse.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 |
#ChannelCreateDynamicFlowApprover(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateDynamicFlowApproverResponse
375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 |
# File 'lib/v20210526/client.rb', line 375 def ChannelCreateDynamicFlowApprover(request) body = send_request('ChannelCreateDynamicFlowApprover', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateDynamicFlowApproverResponse.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 |
#ChannelCreateEmbedWebUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateEmbedWebUrlResponse
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
# File 'lib/v20210526/client.rb', line 410 def ChannelCreateEmbedWebUrl(request) body = send_request('ChannelCreateEmbedWebUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateEmbedWebUrlResponse.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 |
#ChannelCreateFlowApprovers(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateFlowApproversResponse
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 |
# File 'lib/v20210526/client.rb', line 454 def ChannelCreateFlowApprovers(request) body = send_request('ChannelCreateFlowApprovers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateFlowApproversResponse.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 |
#ChannelCreateFlowByFiles(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateFlowByFilesResponse
505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 |
# File 'lib/v20210526/client.rb', line 505 def ChannelCreateFlowByFiles(request) body = send_request('ChannelCreateFlowByFiles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateFlowByFilesResponse.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 |
#ChannelCreateFlowGroupByFiles(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateFlowGroupByFilesResponse
595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 |
# File 'lib/v20210526/client.rb', line 595 def ChannelCreateFlowGroupByFiles(request) body = send_request('ChannelCreateFlowGroupByFiles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateFlowGroupByFilesResponse.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 |
#ChannelCreateFlowGroupByTemplates(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateFlowGroupByTemplatesResponse
683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 |
# File 'lib/v20210526/client.rb', line 683 def ChannelCreateFlowGroupByTemplates(request) body = send_request('ChannelCreateFlowGroupByTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateFlowGroupByTemplatesResponse.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 |
#ChannelCreateFlowReminds(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateFlowRemindsResponse
716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 |
# File 'lib/v20210526/client.rb', line 716 def ChannelCreateFlowReminds(request) body = send_request('ChannelCreateFlowReminds', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateFlowRemindsResponse.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 |
#ChannelCreateFlowSignReview(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateFlowSignReviewResponse
755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 |
# File 'lib/v20210526/client.rb', line 755 def ChannelCreateFlowSignReview(request) body = send_request('ChannelCreateFlowSignReview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateFlowSignReviewResponse.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 |
#ChannelCreateFlowSignUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateFlowSignUrlResponse
786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 |
# File 'lib/v20210526/client.rb', line 786 def ChannelCreateFlowSignUrl(request) body = send_request('ChannelCreateFlowSignUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateFlowSignUrlResponse.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 |
#ChannelCreateMultiFlowSignQRCode(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateMultiFlowSignQRCodeResponse
826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 |
# File 'lib/v20210526/client.rb', line 826 def ChannelCreateMultiFlowSignQRCode(request) body = send_request('ChannelCreateMultiFlowSignQRCode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateMultiFlowSignQRCodeResponse.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 |
#ChannelCreateOrganizationBatchSignUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateOrganizationBatchSignUrlResponse
858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 |
# File 'lib/v20210526/client.rb', line 858 def ChannelCreateOrganizationBatchSignUrl(request) body = send_request('ChannelCreateOrganizationBatchSignUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateOrganizationBatchSignUrlResponse.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 |
#ChannelCreateOrganizationModifyQrCode(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateOrganizationModifyQrCodeResponse
882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 |
# File 'lib/v20210526/client.rb', line 882 def ChannelCreateOrganizationModifyQrCode(request) body = send_request('ChannelCreateOrganizationModifyQrCode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateOrganizationModifyQrCodeResponse.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 |
#ChannelCreatePreparedPersonalEsign(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreatePreparedPersonalEsignResponse
995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'lib/v20210526/client.rb', line 995 def ChannelCreatePreparedPersonalEsign(request) body = send_request('ChannelCreatePreparedPersonalEsign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreatePreparedPersonalEsignResponse.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 |
#ChannelCreatePrepareFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreatePrepareFlowResponse
943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 |
# File 'lib/v20210526/client.rb', line 943 def ChannelCreatePrepareFlow(request) body = send_request('ChannelCreatePrepareFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreatePrepareFlowResponse.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 |
#ChannelCreatePrepareFlowGroup(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreatePrepareFlowGroupResponse
971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 |
# File 'lib/v20210526/client.rb', line 971 def ChannelCreatePrepareFlowGroup(request) body = send_request('ChannelCreatePrepareFlowGroup', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreatePrepareFlowGroupResponse.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 |
#ChannelCreateReleaseFlow(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateReleaseFlowResponse
1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 |
# File 'lib/v20210526/client.rb', line 1030 def ChannelCreateReleaseFlow(request) body = send_request('ChannelCreateReleaseFlow', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateReleaseFlowResponse.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 |
#ChannelCreateRole(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateRoleResponse
1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 |
# File 'lib/v20210526/client.rb', line 1058 def ChannelCreateRole(request) body = send_request('ChannelCreateRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateRoleResponse.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 |
#ChannelCreateSealPolicy(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateSealPolicyResponse
1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 |
# File 'lib/v20210526/client.rb', line 1082 def ChannelCreateSealPolicy(request) body = send_request('ChannelCreateSealPolicy', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateSealPolicyResponse.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 |
#ChannelCreateUserAutoSignEnableUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateUserAutoSignEnableUrlResponse
1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 |
# File 'lib/v20210526/client.rb', line 1108 def ChannelCreateUserAutoSignEnableUrl(request) body = send_request('ChannelCreateUserAutoSignEnableUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateUserAutoSignEnableUrlResponse.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 |
#ChannelCreateUserAutoSignSealUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateUserAutoSignSealUrlResponse
1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 |
# File 'lib/v20210526/client.rb', line 1139 def ChannelCreateUserAutoSignSealUrl(request) body = send_request('ChannelCreateUserAutoSignSealUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateUserAutoSignSealUrlResponse.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 |
#ChannelCreateUserRoles(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateUserRolesResponse
1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 |
# File 'lib/v20210526/client.rb', line 1167 def ChannelCreateUserRoles(request) body = send_request('ChannelCreateUserRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateUserRolesResponse.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 |
#ChannelCreateWebThemeConfig(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelCreateWebThemeConfigResponse
1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 |
# File 'lib/v20210526/client.rb', line 1192 def ChannelCreateWebThemeConfig(request) body = send_request('ChannelCreateWebThemeConfig', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelCreateWebThemeConfigResponse.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 |
#ChannelDeleteRole(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDeleteRoleResponse
1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 |
# File 'lib/v20210526/client.rb', line 1218 def ChannelDeleteRole(request) body = send_request('ChannelDeleteRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDeleteRoleResponse.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 |
#ChannelDeleteRoleUsers(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDeleteRoleUsersResponse
1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 |
# File 'lib/v20210526/client.rb', line 1245 def ChannelDeleteRoleUsers(request) body = send_request('ChannelDeleteRoleUsers', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDeleteRoleUsersResponse.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 |
#ChannelDeleteSealPolicies(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDeleteSealPoliciesResponse
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 |
# File 'lib/v20210526/client.rb', line 1269 def ChannelDeleteSealPolicies(request) body = send_request('ChannelDeleteSealPolicies', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDeleteSealPoliciesResponse.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 |
#ChannelDescribeAccountBillDetail(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDescribeAccountBillDetailResponse
1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 |
# File 'lib/v20210526/client.rb', line 1296 def ChannelDescribeAccountBillDetail(request) body = send_request('ChannelDescribeAccountBillDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDescribeAccountBillDetailResponse.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 |
#ChannelDescribeBillUsageDetail(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDescribeBillUsageDetailResponse
1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 |
# File 'lib/v20210526/client.rb', line 1324 def ChannelDescribeBillUsageDetail(request) body = send_request('ChannelDescribeBillUsageDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDescribeBillUsageDetailResponse.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 |
#ChannelDescribeEmployees(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDescribeEmployeesResponse
1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 |
# File 'lib/v20210526/client.rb', line 1350 def ChannelDescribeEmployees(request) body = send_request('ChannelDescribeEmployees', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDescribeEmployeesResponse.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 |
#ChannelDescribeFlowComponents(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDescribeFlowComponentsResponse
1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 |
# File 'lib/v20210526/client.rb', line 1408 def ChannelDescribeFlowComponents(request) body = send_request('ChannelDescribeFlowComponents', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDescribeFlowComponentsResponse.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 |
#ChannelDescribeOrganizationSeals(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDescribeOrganizationSealsResponse
1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 |
# File 'lib/v20210526/client.rb', line 1435 def ChannelDescribeOrganizationSeals(request) body = send_request('ChannelDescribeOrganizationSeals', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDescribeOrganizationSealsResponse.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 |
#ChannelDescribeRoles(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDescribeRolesResponse
1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 |
# File 'lib/v20210526/client.rb', line 1471 def ChannelDescribeRoles(request) body = send_request('ChannelDescribeRoles', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDescribeRolesResponse.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 |
#ChannelDescribeSignFaceVideo(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDescribeSignFaceVideoResponse
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 |
# File 'lib/v20210526/client.rb', line 1501 def ChannelDescribeSignFaceVideo(request) body = send_request('ChannelDescribeSignFaceVideo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDescribeSignFaceVideoResponse.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 |
#ChannelDescribeUserAutoSignStatus(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDescribeUserAutoSignStatusResponse
1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 |
# File 'lib/v20210526/client.rb', line 1527 def ChannelDescribeUserAutoSignStatus(request) body = send_request('ChannelDescribeUserAutoSignStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDescribeUserAutoSignStatusResponse.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 |
#ChannelDisableUserAutoSign(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelDisableUserAutoSignResponse
1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 |
# File 'lib/v20210526/client.rb', line 1557 def ChannelDisableUserAutoSign(request) body = send_request('ChannelDisableUserAutoSign', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelDisableUserAutoSignResponse.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 |
#ChannelGetTaskResultApi(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelGetTaskResultApiResponse
1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 |
# File 'lib/v20210526/client.rb', line 1587 def ChannelGetTaskResultApi(request) body = send_request('ChannelGetTaskResultApi', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelGetTaskResultApiResponse.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 |
#ChannelModifyRole(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelModifyRoleResponse
1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 |
# File 'lib/v20210526/client.rb', line 1615 def ChannelModifyRole(request) body = send_request('ChannelModifyRole', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelModifyRoleResponse.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 |
#ChannelRenewAutoSignLicense(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelRenewAutoSignLicenseResponse
1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 |
# File 'lib/v20210526/client.rb', line 1643 def ChannelRenewAutoSignLicense(request) body = send_request('ChannelRenewAutoSignLicense', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelRenewAutoSignLicenseResponse.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 |
#ChannelUpdateSealStatus(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelUpdateSealStatusResponse
1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 |
# File 'lib/v20210526/client.rb', line 1667 def ChannelUpdateSealStatus(request) body = send_request('ChannelUpdateSealStatus', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelUpdateSealStatusResponse.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 |
#ChannelVerifyPdf(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ChannelVerifyPdfResponse
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 |
# File 'lib/v20210526/client.rb', line 1694 def ChannelVerifyPdf(request) body = send_request('ChannelVerifyPdf', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ChannelVerifyPdfResponse.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 |
#CreateBatchInitOrganizationUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateBatchInitOrganizationUrlResponse
1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 |
# File 'lib/v20210526/client.rb', line 1724 def CreateBatchInitOrganizationUrl(request) body = send_request('CreateBatchInitOrganizationUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateBatchInitOrganizationUrlResponse.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 |
#CreateBatchOrganizationAuthorizationUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateBatchOrganizationAuthorizationUrlResponse
1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 |
# File 'lib/v20210526/client.rb', line 1753 def CreateBatchOrganizationAuthorizationUrl(request) body = send_request('CreateBatchOrganizationAuthorizationUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateBatchOrganizationAuthorizationUrlResponse.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 |
#CreateBatchOrganizationRegistrationTasks(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateBatchOrganizationRegistrationTasksResponse
1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 |
# File 'lib/v20210526/client.rb', line 1797 def CreateBatchOrganizationRegistrationTasks(request) body = send_request('CreateBatchOrganizationRegistrationTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateBatchOrganizationRegistrationTasksResponse.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 |
#CreateChannelFlowEvidenceReport(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateChannelFlowEvidenceReportResponse
1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/v20210526/client.rb', line 1832 def CreateChannelFlowEvidenceReport(request) body = send_request('CreateChannelFlowEvidenceReport', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateChannelFlowEvidenceReportResponse.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 |
#CreateChannelOrganizationInfoChangeUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateChannelOrganizationInfoChangeUrlResponse
1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 |
# File 'lib/v20210526/client.rb', line 1904 def CreateChannelOrganizationInfoChangeUrl(request) body = send_request('CreateChannelOrganizationInfoChangeUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateChannelOrganizationInfoChangeUrlResponse.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 |
#CreateChannelSubOrganizationActive(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateChannelSubOrganizationActiveResponse
1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 |
# File 'lib/v20210526/client.rb', line 1942 def CreateChannelSubOrganizationActive(request) body = send_request('CreateChannelSubOrganizationActive', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateChannelSubOrganizationActiveResponse.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 |
#CreateCloseOrganizationUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateCloseOrganizationUrlResponse
1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 |
# File 'lib/v20210526/client.rb', line 1970 def CreateCloseOrganizationUrl(request) body = send_request('CreateCloseOrganizationUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateCloseOrganizationUrlResponse.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 |
#CreateConsoleLoginUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateConsoleLoginUrlResponse
2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 |
# File 'lib/v20210526/client.rb', line 2033 def CreateConsoleLoginUrl(request) body = send_request('CreateConsoleLoginUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateConsoleLoginUrlResponse.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 |
#CreateEmployeeChangeUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateEmployeeChangeUrlResponse
2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 |
# File 'lib/v20210526/client.rb', line 2061 def CreateEmployeeChangeUrl(request) body = send_request('CreateEmployeeChangeUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEmployeeChangeUrlResponse.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 |
#CreateEmployeeQualificationSealQrCode(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateEmployeeQualificationSealQrCodeResponse
2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 |
# File 'lib/v20210526/client.rb', line 2097 def CreateEmployeeQualificationSealQrCode(request) body = send_request('CreateEmployeeQualificationSealQrCode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateEmployeeQualificationSealQrCodeResponse.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 |
#CreateFlowBlockchainEvidenceUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateFlowBlockchainEvidenceUrlResponse
2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 |
# File 'lib/v20210526/client.rb', line 2131 def CreateFlowBlockchainEvidenceUrl(request) body = send_request('CreateFlowBlockchainEvidenceUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateFlowBlockchainEvidenceUrlResponse.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 |
#CreateFlowForwards(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateFlowForwardsResponse
2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 |
# File 'lib/v20210526/client.rb', line 2162 def CreateFlowForwards(request) body = send_request('CreateFlowForwards', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateFlowForwardsResponse.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 |
#CreateFlowGroupSignReview(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateFlowGroupSignReviewResponse
2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 |
# File 'lib/v20210526/client.rb', line 2191 def CreateFlowGroupSignReview(request) body = send_request('CreateFlowGroupSignReview', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateFlowGroupSignReviewResponse.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 |
#CreateFlowsByTemplates(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateFlowsByTemplatesResponse
2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 |
# File 'lib/v20210526/client.rb', line 2278 def CreateFlowsByTemplates(request) body = send_request('CreateFlowsByTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateFlowsByTemplatesResponse.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 |
#CreateLegalSealQrCode(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateLegalSealQrCodeResponse
2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 |
# File 'lib/v20210526/client.rb', line 2310 def CreateLegalSealQrCode(request) body = send_request('CreateLegalSealQrCode', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateLegalSealQrCodeResponse.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 |
#CreateModifyAdminAuthorizationUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateModifyAdminAuthorizationUrlResponse
2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 |
# File 'lib/v20210526/client.rb', line 2337 def CreateModifyAdminAuthorizationUrl(request) body = send_request('CreateModifyAdminAuthorizationUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateModifyAdminAuthorizationUrlResponse.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 |
#CreateOrganizationAuthFile(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateOrganizationAuthFileResponse
2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 |
# File 'lib/v20210526/client.rb', line 2366 def CreateOrganizationAuthFile(request) body = send_request('CreateOrganizationAuthFile', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateOrganizationAuthFileResponse.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 |
#CreatePartnerAutoSignAuthUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreatePartnerAutoSignAuthUrlResponse
2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 |
# File 'lib/v20210526/client.rb', line 2402 def CreatePartnerAutoSignAuthUrl(request) body = send_request('CreatePartnerAutoSignAuthUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePartnerAutoSignAuthUrlResponse.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 |
#CreatePersonAuthCertificateImage(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreatePersonAuthCertificateImageResponse
2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 |
# File 'lib/v20210526/client.rb', line 2436 def CreatePersonAuthCertificateImage(request) body = send_request('CreatePersonAuthCertificateImage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreatePersonAuthCertificateImageResponse.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 |
#CreateSealByImage(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateSealByImageResponse
2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 |
# File 'lib/v20210526/client.rb', line 2464 def CreateSealByImage(request) body = send_request('CreateSealByImage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSealByImageResponse.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 |
#CreateSignUrls(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::CreateSignUrlsResponse
2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 |
# File 'lib/v20210526/client.rb', line 2505 def CreateSignUrls(request) body = send_request('CreateSignUrls', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = CreateSignUrlsResponse.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 |
#DeleteOrganizationAuthorizations(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DeleteOrganizationAuthorizationsResponse
2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 |
# File 'lib/v20210526/client.rb', line 2535 def DeleteOrganizationAuthorizations(request) body = send_request('DeleteOrganizationAuthorizations', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DeleteOrganizationAuthorizationsResponse.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 |
#DescribeBatchOrganizationRegistrationTasks(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeBatchOrganizationRegistrationTasksResponse
2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 |
# File 'lib/v20210526/client.rb', line 2559 def DescribeBatchOrganizationRegistrationTasks(request) body = send_request('DescribeBatchOrganizationRegistrationTasks', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBatchOrganizationRegistrationTasksResponse.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 |
#DescribeBatchOrganizationRegistrationUrls(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeBatchOrganizationRegistrationUrlsResponse
2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 |
# File 'lib/v20210526/client.rb', line 2588 def DescribeBatchOrganizationRegistrationUrls(request) body = send_request('DescribeBatchOrganizationRegistrationUrls', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeBatchOrganizationRegistrationUrlsResponse.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 |
#DescribeCancelFlowsTask(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeCancelFlowsTaskResponse
2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 |
# File 'lib/v20210526/client.rb', line 2612 def DescribeCancelFlowsTask(request) body = send_request('DescribeCancelFlowsTask', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeCancelFlowsTaskResponse.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 |
#DescribeChannelFlowEvidenceReport(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeChannelFlowEvidenceReportResponse
2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 |
# File 'lib/v20210526/client.rb', line 2643 def DescribeChannelFlowEvidenceReport(request) body = send_request('DescribeChannelFlowEvidenceReport', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChannelFlowEvidenceReportResponse.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 |
#DescribeChannelOrganizations(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeChannelOrganizationsResponse
2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 |
# File 'lib/v20210526/client.rb', line 2670 def DescribeChannelOrganizations(request) body = send_request('DescribeChannelOrganizations', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChannelOrganizationsResponse.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 |
#DescribeChannelSealPolicyWorkflowUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeChannelSealPolicyWorkflowUrlResponse
2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 |
# File 'lib/v20210526/client.rb', line 2696 def DescribeChannelSealPolicyWorkflowUrl(request) body = send_request('DescribeChannelSealPolicyWorkflowUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeChannelSealPolicyWorkflowUrlResponse.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 |
#DescribeExtendedServiceAuthDetail(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeExtendedServiceAuthDetailResponse
2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 |
# File 'lib/v20210526/client.rb', line 2726 def DescribeExtendedServiceAuthDetail(request) body = send_request('DescribeExtendedServiceAuthDetail', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExtendedServiceAuthDetailResponse.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 |
#DescribeExtendedServiceAuthInfo(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeExtendedServiceAuthInfoResponse
2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 |
# File 'lib/v20210526/client.rb', line 2763 def DescribeExtendedServiceAuthInfo(request) body = send_request('DescribeExtendedServiceAuthInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeExtendedServiceAuthInfoResponse.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 |
#DescribeFlowDetailInfo(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeFlowDetailInfoResponse
2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 |
# File 'lib/v20210526/client.rb', line 2791 def DescribeFlowDetailInfo(request) body = send_request('DescribeFlowDetailInfo', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeFlowDetailInfoResponse.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 |
#DescribeResourceUrlsByFlows(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeResourceUrlsByFlowsResponse
2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 |
# File 'lib/v20210526/client.rb', line 2841 def DescribeResourceUrlsByFlows(request) body = send_request('DescribeResourceUrlsByFlows', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeResourceUrlsByFlowsResponse.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 |
#DescribeTemplates(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeTemplatesResponse
2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 |
# File 'lib/v20210526/client.rb', line 2896 def DescribeTemplates(request) body = send_request('DescribeTemplates', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeTemplatesResponse.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 |
#DescribeUsage(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeUsageResponse
2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 |
# File 'lib/v20210526/client.rb', line 2924 def DescribeUsage(request) body = send_request('DescribeUsage', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUsageResponse.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 |
#DescribeUserFlowType(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::DescribeUserFlowTypeResponse
2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 |
# File 'lib/v20210526/client.rb', line 2952 def DescribeUserFlowType(request) body = send_request('DescribeUserFlowType', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = DescribeUserFlowTypeResponse.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 |
#GetDownloadFlowUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::GetDownloadFlowUrlResponse
2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 |
# File 'lib/v20210526/client.rb', line 2983 def GetDownloadFlowUrl(request) body = send_request('GetDownloadFlowUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = GetDownloadFlowUrlResponse.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 |
#ModifyExtendedService(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ModifyExtendedServiceResponse
3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 |
# File 'lib/v20210526/client.rb', line 3019 def ModifyExtendedService(request) body = send_request('ModifyExtendedService', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyExtendedServiceResponse.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 |
#ModifyFlowDeadline(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ModifyFlowDeadlineResponse
3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 |
# File 'lib/v20210526/client.rb', line 3056 def ModifyFlowDeadline(request) body = send_request('ModifyFlowDeadline', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyFlowDeadlineResponse.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 |
#ModifyPartnerAutoSignAuthUrl(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::ModifyPartnerAutoSignAuthUrlResponse
3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 |
# File 'lib/v20210526/client.rb', line 3089 def ModifyPartnerAutoSignAuthUrl(request) body = send_request('ModifyPartnerAutoSignAuthUrl', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = ModifyPartnerAutoSignAuthUrlResponse.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 |
#OperateChannelTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::OperateChannelTemplateResponse
3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 |
# File 'lib/v20210526/client.rb', line 3130 def OperateChannelTemplate(request) body = send_request('OperateChannelTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OperateChannelTemplateResponse.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 |
#OperateTemplate(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::OperateTemplateResponse
3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 |
# File 'lib/v20210526/client.rb', line 3167 def OperateTemplate(request) body = send_request('OperateTemplate', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = OperateTemplateResponse.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 |
#PrepareFlows(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::PrepareFlowsResponse
3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 |
# File 'lib/v20210526/client.rb', line 3195 def PrepareFlows(request) body = send_request('PrepareFlows', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = PrepareFlowsResponse.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 |
#SyncProxyOrganization(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::SyncProxyOrganizationResponse
3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 |
# File 'lib/v20210526/client.rb', line 3232 def SyncProxyOrganization(request) body = send_request('SyncProxyOrganization', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SyncProxyOrganizationResponse.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 |
#SyncProxyOrganizationOperators(request) ⇒ Object
@rtype: :class:Tencentcloud::essbasic::V20210526::SyncProxyOrganizationOperatorsResponse
3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 |
# File 'lib/v20210526/client.rb', line 3268 def SyncProxyOrganizationOperators(request) body = send_request('SyncProxyOrganizationOperators', request.serialize) response = JSON.parse(body) if response['Response'].key?('Error') == false model = SyncProxyOrganizationOperatorsResponse.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::V20210526::UploadFilesResponse
3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 |
# File 'lib/v20210526/client.rb', line 3307 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 |