From f10a2a333b44f1ad39a872a075bc07a17e1e540e Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 21 Feb 2023 10:58:57 +0000 Subject: [PATCH] Supported GetQccSearchCertification and GetQccCertificationDetailById Api For Zhimaxinyong. --- VERSION | 2 +- dt-oc-info/CMakeLists.txt | 302 +++ .../dt-oc-info/Dt_oc_infoClient.h | 486 ++++ .../dt-oc-info/Dt_oc_infoExport.h | 32 + .../model/GetOcCompetitorsRequest.h | 48 + .../dt-oc-info/model/GetOcCompetitorsResult.h | 77 + .../dt-oc-info/model/GetOcCoreTeamsRequest.h | 48 + .../dt-oc-info/model/GetOcCoreTeamsResult.h | 70 + .../dt-oc-info/model/GetOcFinancingRequest.h | 48 + .../dt-oc-info/model/GetOcFinancingResult.h | 71 + .../dt-oc-info/model/GetOcFuzzSearchRequest.h | 48 + .../dt-oc-info/model/GetOcFuzzSearchResult.h | 67 + .../model/GetOcIcAbnormalOperationRequest.h | 48 + .../model/GetOcIcAbnormalOperationResult.h | 72 + .../model/GetOcIcAdminLicenseRequest.h | 48 + .../model/GetOcIcAdminLicenseResult.h | 72 + .../dt-oc-info/model/GetOcIcBasicRequest.h | 42 + .../dt-oc-info/model/GetOcIcBasicResult.h | 93 + .../dt-oc-info/model/GetOcIcBranchRequest.h | 48 + .../dt-oc-info/model/GetOcIcBranchResult.h | 70 + .../model/GetOcIcChangeRecordRequest.h | 48 + .../model/GetOcIcChangeRecordResult.h | 70 + .../dt-oc-info/model/GetOcIcCheckupRequest.h | 48 + .../dt-oc-info/model/GetOcIcCheckupResult.h | 70 + .../model/GetOcIcClearAccountRequest.h | 48 + .../model/GetOcIcClearAccountResult.h | 68 + .../model/GetOcIcDoubleCheckupRequest.h | 48 + .../model/GetOcIcDoubleCheckupResult.h | 75 + .../dt-oc-info/model/GetOcIcEmployeeRequest.h | 51 + .../dt-oc-info/model/GetOcIcEmployeeResult.h | 68 + .../model/GetOcIcEquityFrozenRequest.h | 48 + .../model/GetOcIcEquityFrozenResult.h | 81 + .../model/GetOcIcEquityPledgeRequest.h | 48 + .../model/GetOcIcEquityPledgeResult.h | 76 + .../model/GetOcIcInvestmentRequest.h | 48 + .../model/GetOcIcInvestmentResult.h | 76 + .../GetOcIcKnowledgePropertyPledgeRequest.h | 51 + .../GetOcIcKnowledgePropertyPledgeResult.h | 74 + .../dt-oc-info/model/GetOcIcMortgageRequest.h | 48 + .../dt-oc-info/model/GetOcIcMortgageResult.h | 80 + .../model/GetOcIcSeriousOffenseRequest.h | 48 + .../model/GetOcIcSeriousOffenseResult.h | 73 + .../model/GetOcIcShareholderRequest.h | 48 + .../model/GetOcIcShareholderResult.h | 71 + .../model/GetOcIcSimpleCancelRequest.h | 48 + .../model/GetOcIcSimpleCancelResult.h | 75 + .../model/GetOcIpCertificateRequest.h | 48 + .../model/GetOcIpCertificateResult.h | 76 + .../dt-oc-info/model/GetOcIpDomainRequest.h | 48 + .../dt-oc-info/model/GetOcIpDomainResult.h | 72 + .../dt-oc-info/model/GetOcIpPatentRequest.h | 48 + .../dt-oc-info/model/GetOcIpPatentResult.h | 83 + .../model/GetOcIpSoftwareCopyrightRequest.h | 48 + .../model/GetOcIpSoftwareCopyrightResult.h | 75 + .../model/GetOcIpTrademarkRequest.h | 48 + .../dt-oc-info/model/GetOcIpTrademarkResult.h | 81 + .../model/GetOcIpWorksCopyrightRequest.h | 48 + .../model/GetOcIpWorksCopyrightResult.h | 73 + .../model/GetOcJusticeAuctionRequest.h | 48 + .../model/GetOcJusticeAuctionResult.h | 78 + .../model/GetOcJusticeCaseFilingRequest.h | 48 + .../model/GetOcJusticeCaseFilingResult.h | 76 + .../GetOcJusticeCourtAnnouncementRequest.h | 48 + .../GetOcJusticeCourtAnnouncementResult.h | 75 + .../model/GetOcJusticeCourtNoticeRequest.h | 51 + .../model/GetOcJusticeCourtNoticeResult.h | 71 + .../model/GetOcJusticeDishonestyRequest.h | 48 + .../model/GetOcJusticeDishonestyResult.h | 80 + .../model/GetOcJusticeExecutedRequest.h | 51 + .../model/GetOcJusticeExecutedResult.h | 70 + .../model/GetOcJusticeJudgementDocRequest.h | 48 + .../model/GetOcJusticeJudgementDocResult.h | 81 + .../GetOcJusticeLimitHighConsumeRequest.h | 51 + .../GetOcJusticeLimitHighConsumeResult.h | 74 + .../model/GetOcJusticeTerminalCaseRequest.h | 48 + .../model/GetOcJusticeTerminalCaseResult.h | 75 + .../model/GetOcListedCompanyRequest.h | 48 + .../model/GetOcListedCompanyResult.h | 75 + .../GetOcNegativeAdminPunishmentRequest.h | 48 + .../GetOcNegativeAdminPunishmentResult.h | 74 + .../GetOcNegativeCustomsPunishmentRequest.h | 48 + .../GetOcNegativeCustomsPunishmentResult.h | 74 + ...etOcNegativeEnvironmentPunishmentRequest.h | 48 + ...GetOcNegativeEnvironmentPunishmentResult.h | 75 + .../GetOcNegativeFoodDrugPunishmentRequest.h | 48 + .../GetOcNegativeFoodDrugPunishmentResult.h | 74 + .../GetOcNegativeQualityPunishmentRequest.h | 48 + .../GetOcNegativeQualityPunishmentResult.h | 72 + .../model/GetOcOperationBiddingRequest.h | 48 + .../model/GetOcOperationBiddingResult.h | 82 + .../model/GetOcOperationCustomsRequest.h | 48 + .../model/GetOcOperationCustomsResult.h | 82 + .../model/GetOcOperationPurchaseLandRequest.h | 48 + .../model/GetOcOperationPurchaseLandResult.h | 86 + .../model/GetOcOperationRecruitmentRequest.h | 48 + .../model/GetOcOperationRecruitmentResult.h | 78 + .../model/GetOcProductBandRequest.h | 48 + .../dt-oc-info/model/GetOcProductBandResult.h | 74 + .../model/GetOcTaxAbnormalRequest.h | 48 + .../dt-oc-info/model/GetOcTaxAbnormalResult.h | 77 + .../dt-oc-info/model/GetOcTaxClassARequest.h | 48 + .../dt-oc-info/model/GetOcTaxClassAResult.h | 70 + .../model/GetOcTaxGeneralTaxpayerRequest.h | 48 + .../model/GetOcTaxGeneralTaxpayerResult.h | 73 + .../dt-oc-info/model/GetOcTaxIllegalRequest.h | 48 + .../dt-oc-info/model/GetOcTaxIllegalResult.h | 88 + .../dt-oc-info/model/GetOcTaxOverdueRequest.h | 48 + .../dt-oc-info/model/GetOcTaxOverdueResult.h | 76 + .../model/GetOcTaxPunishmentRequest.h | 48 + .../model/GetOcTaxPunishmentResult.h | 74 + .../GetQccCertificationDetailByIdRequest.h | 42 + .../GetQccCertificationDetailByIdResult.h | 49 + .../model/GetQccSearchCertificationRequest.h | 51 + .../model/GetQccSearchCertificationResult.h | 63 + dt-oc-info/src/Dt-oc-infoClient.cc | 2033 +++++++++++++++++ .../src/model/GetOcCompetitorsRequest.cc | 54 + .../src/model/GetOcCompetitorsResult.cc | 119 + dt-oc-info/src/model/GetOcCoreTeamsRequest.cc | 54 + dt-oc-info/src/model/GetOcCoreTeamsResult.cc | 105 + dt-oc-info/src/model/GetOcFinancingRequest.cc | 54 + dt-oc-info/src/model/GetOcFinancingResult.cc | 107 + .../src/model/GetOcFuzzSearchRequest.cc | 54 + dt-oc-info/src/model/GetOcFuzzSearchResult.cc | 99 + .../model/GetOcIcAbnormalOperationRequest.cc | 54 + .../model/GetOcIcAbnormalOperationResult.cc | 109 + .../src/model/GetOcIcAdminLicenseRequest.cc | 54 + .../src/model/GetOcIcAdminLicenseResult.cc | 109 + dt-oc-info/src/model/GetOcIcBasicRequest.cc | 36 + dt-oc-info/src/model/GetOcIcBasicResult.cc | 146 ++ dt-oc-info/src/model/GetOcIcBranchRequest.cc | 54 + dt-oc-info/src/model/GetOcIcBranchResult.cc | 105 + .../src/model/GetOcIcChangeRecordRequest.cc | 54 + .../src/model/GetOcIcChangeRecordResult.cc | 105 + dt-oc-info/src/model/GetOcIcCheckupRequest.cc | 54 + dt-oc-info/src/model/GetOcIcCheckupResult.cc | 105 + .../src/model/GetOcIcClearAccountRequest.cc | 54 + .../src/model/GetOcIcClearAccountResult.cc | 101 + .../src/model/GetOcIcDoubleCheckupRequest.cc | 54 + .../src/model/GetOcIcDoubleCheckupResult.cc | 115 + .../src/model/GetOcIcEmployeeRequest.cc | 63 + dt-oc-info/src/model/GetOcIcEmployeeResult.cc | 101 + .../src/model/GetOcIcEquityFrozenRequest.cc | 54 + .../src/model/GetOcIcEquityFrozenResult.cc | 127 + .../src/model/GetOcIcEquityPledgeRequest.cc | 54 + .../src/model/GetOcIcEquityPledgeResult.cc | 117 + .../src/model/GetOcIcInvestmentRequest.cc | 54 + .../src/model/GetOcIcInvestmentResult.cc | 117 + .../GetOcIcKnowledgePropertyPledgeRequest.cc | 63 + .../GetOcIcKnowledgePropertyPledgeResult.cc | 113 + .../src/model/GetOcIcMortgageRequest.cc | 54 + dt-oc-info/src/model/GetOcIcMortgageResult.cc | 125 + .../src/model/GetOcIcSeriousOffenseRequest.cc | 54 + .../src/model/GetOcIcSeriousOffenseResult.cc | 111 + .../src/model/GetOcIcShareholderRequest.cc | 54 + .../src/model/GetOcIcShareholderResult.cc | 107 + .../src/model/GetOcIcSimpleCancelRequest.cc | 54 + .../src/model/GetOcIcSimpleCancelResult.cc | 115 + .../src/model/GetOcIpCertificateRequest.cc | 54 + .../src/model/GetOcIpCertificateResult.cc | 117 + dt-oc-info/src/model/GetOcIpDomainRequest.cc | 54 + dt-oc-info/src/model/GetOcIpDomainResult.cc | 109 + dt-oc-info/src/model/GetOcIpPatentRequest.cc | 54 + dt-oc-info/src/model/GetOcIpPatentResult.cc | 131 ++ .../model/GetOcIpSoftwareCopyrightRequest.cc | 54 + .../model/GetOcIpSoftwareCopyrightResult.cc | 115 + .../src/model/GetOcIpTrademarkRequest.cc | 54 + .../src/model/GetOcIpTrademarkResult.cc | 127 + .../src/model/GetOcIpWorksCopyrightRequest.cc | 54 + .../src/model/GetOcIpWorksCopyrightResult.cc | 111 + .../src/model/GetOcJusticeAuctionRequest.cc | 54 + .../src/model/GetOcJusticeAuctionResult.cc | 121 + .../model/GetOcJusticeCaseFilingRequest.cc | 54 + .../src/model/GetOcJusticeCaseFilingResult.cc | 117 + .../GetOcJusticeCourtAnnouncementRequest.cc | 54 + .../GetOcJusticeCourtAnnouncementResult.cc | 115 + .../model/GetOcJusticeCourtNoticeRequest.cc | 63 + .../model/GetOcJusticeCourtNoticeResult.cc | 107 + .../model/GetOcJusticeDishonestyRequest.cc | 54 + .../src/model/GetOcJusticeDishonestyResult.cc | 125 + .../src/model/GetOcJusticeExecutedRequest.cc | 63 + .../src/model/GetOcJusticeExecutedResult.cc | 105 + .../model/GetOcJusticeJudgementDocRequest.cc | 54 + .../model/GetOcJusticeJudgementDocResult.cc | 127 + .../GetOcJusticeLimitHighConsumeRequest.cc | 63 + .../GetOcJusticeLimitHighConsumeResult.cc | 113 + .../model/GetOcJusticeTerminalCaseRequest.cc | 54 + .../model/GetOcJusticeTerminalCaseResult.cc | 115 + .../src/model/GetOcListedCompanyRequest.cc | 54 + .../src/model/GetOcListedCompanyResult.cc | 115 + .../GetOcNegativeAdminPunishmentRequest.cc | 54 + .../GetOcNegativeAdminPunishmentResult.cc | 113 + .../GetOcNegativeCustomsPunishmentRequest.cc | 54 + .../GetOcNegativeCustomsPunishmentResult.cc | 113 + ...tOcNegativeEnvironmentPunishmentRequest.cc | 54 + ...etOcNegativeEnvironmentPunishmentResult.cc | 115 + .../GetOcNegativeFoodDrugPunishmentRequest.cc | 54 + .../GetOcNegativeFoodDrugPunishmentResult.cc | 113 + .../GetOcNegativeQualityPunishmentRequest.cc | 54 + .../GetOcNegativeQualityPunishmentResult.cc | 109 + .../src/model/GetOcOperationBiddingRequest.cc | 54 + .../src/model/GetOcOperationBiddingResult.cc | 129 ++ .../src/model/GetOcOperationCustomsRequest.cc | 54 + .../src/model/GetOcOperationCustomsResult.cc | 129 ++ .../GetOcOperationPurchaseLandRequest.cc | 54 + .../model/GetOcOperationPurchaseLandResult.cc | 137 ++ .../model/GetOcOperationRecruitmentRequest.cc | 54 + .../model/GetOcOperationRecruitmentResult.cc | 121 + .../src/model/GetOcProductBandRequest.cc | 54 + .../src/model/GetOcProductBandResult.cc | 113 + .../src/model/GetOcTaxAbnormalRequest.cc | 54 + .../src/model/GetOcTaxAbnormalResult.cc | 119 + dt-oc-info/src/model/GetOcTaxClassARequest.cc | 54 + dt-oc-info/src/model/GetOcTaxClassAResult.cc | 105 + .../model/GetOcTaxGeneralTaxpayerRequest.cc | 54 + .../model/GetOcTaxGeneralTaxpayerResult.cc | 111 + .../src/model/GetOcTaxIllegalRequest.cc | 54 + dt-oc-info/src/model/GetOcTaxIllegalResult.cc | 141 ++ .../src/model/GetOcTaxOverdueRequest.cc | 54 + dt-oc-info/src/model/GetOcTaxOverdueResult.cc | 117 + .../src/model/GetOcTaxPunishmentRequest.cc | 54 + .../src/model/GetOcTaxPunishmentResult.cc | 113 + .../GetQccCertificationDetailByIdRequest.cc | 36 + .../GetQccCertificationDetailByIdResult.cc | 44 + .../model/GetQccSearchCertificationRequest.cc | 63 + .../model/GetQccSearchCertificationResult.cc | 94 + 225 files changed, 18857 insertions(+), 1 deletion(-) create mode 100644 dt-oc-info/CMakeLists.txt create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/Dt_oc_infoClient.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/Dt_oc_infoExport.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCompetitorsRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCompetitorsResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFinancingRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFinancingResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBasicRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBasicResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBranchRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBranchResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcCheckupRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcCheckupResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcMortgageRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcMortgageResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcShareholderRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcShareholderResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpCertificateRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpCertificateResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpDomainRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpDomainResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpPatentRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpPatentResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcListedCompanyRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcListedCompanyResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcProductBandRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcProductBandResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxClassARequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxClassAResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdResult.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationRequest.h create mode 100644 dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationResult.h create mode 100644 dt-oc-info/src/Dt-oc-infoClient.cc create mode 100644 dt-oc-info/src/model/GetOcCompetitorsRequest.cc create mode 100644 dt-oc-info/src/model/GetOcCompetitorsResult.cc create mode 100644 dt-oc-info/src/model/GetOcCoreTeamsRequest.cc create mode 100644 dt-oc-info/src/model/GetOcCoreTeamsResult.cc create mode 100644 dt-oc-info/src/model/GetOcFinancingRequest.cc create mode 100644 dt-oc-info/src/model/GetOcFinancingResult.cc create mode 100644 dt-oc-info/src/model/GetOcFuzzSearchRequest.cc create mode 100644 dt-oc-info/src/model/GetOcFuzzSearchResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcAbnormalOperationRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcAbnormalOperationResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcAdminLicenseRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcAdminLicenseResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcBasicRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcBasicResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcBranchRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcBranchResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcChangeRecordRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcChangeRecordResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcCheckupRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcCheckupResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcClearAccountRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcClearAccountResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcDoubleCheckupRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcDoubleCheckupResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcEmployeeRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcEmployeeResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcEquityFrozenRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcEquityFrozenResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcEquityPledgeRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcEquityPledgeResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcInvestmentRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcInvestmentResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcKnowledgePropertyPledgeRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcKnowledgePropertyPledgeResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcMortgageRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcMortgageResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcSeriousOffenseRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcSeriousOffenseResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcShareholderRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcShareholderResult.cc create mode 100644 dt-oc-info/src/model/GetOcIcSimpleCancelRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIcSimpleCancelResult.cc create mode 100644 dt-oc-info/src/model/GetOcIpCertificateRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIpCertificateResult.cc create mode 100644 dt-oc-info/src/model/GetOcIpDomainRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIpDomainResult.cc create mode 100644 dt-oc-info/src/model/GetOcIpPatentRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIpPatentResult.cc create mode 100644 dt-oc-info/src/model/GetOcIpSoftwareCopyrightRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIpSoftwareCopyrightResult.cc create mode 100644 dt-oc-info/src/model/GetOcIpTrademarkRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIpTrademarkResult.cc create mode 100644 dt-oc-info/src/model/GetOcIpWorksCopyrightRequest.cc create mode 100644 dt-oc-info/src/model/GetOcIpWorksCopyrightResult.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeAuctionRequest.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeAuctionResult.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeCaseFilingRequest.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeCaseFilingResult.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeCourtAnnouncementRequest.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeCourtAnnouncementResult.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeCourtNoticeRequest.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeCourtNoticeResult.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeDishonestyRequest.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeDishonestyResult.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeExecutedRequest.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeExecutedResult.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeJudgementDocRequest.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeJudgementDocResult.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeLimitHighConsumeRequest.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeLimitHighConsumeResult.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeTerminalCaseRequest.cc create mode 100644 dt-oc-info/src/model/GetOcJusticeTerminalCaseResult.cc create mode 100644 dt-oc-info/src/model/GetOcListedCompanyRequest.cc create mode 100644 dt-oc-info/src/model/GetOcListedCompanyResult.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeAdminPunishmentRequest.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeAdminPunishmentResult.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeCustomsPunishmentRequest.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeCustomsPunishmentResult.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeEnvironmentPunishmentRequest.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeEnvironmentPunishmentResult.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeFoodDrugPunishmentRequest.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeFoodDrugPunishmentResult.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeQualityPunishmentRequest.cc create mode 100644 dt-oc-info/src/model/GetOcNegativeQualityPunishmentResult.cc create mode 100644 dt-oc-info/src/model/GetOcOperationBiddingRequest.cc create mode 100644 dt-oc-info/src/model/GetOcOperationBiddingResult.cc create mode 100644 dt-oc-info/src/model/GetOcOperationCustomsRequest.cc create mode 100644 dt-oc-info/src/model/GetOcOperationCustomsResult.cc create mode 100644 dt-oc-info/src/model/GetOcOperationPurchaseLandRequest.cc create mode 100644 dt-oc-info/src/model/GetOcOperationPurchaseLandResult.cc create mode 100644 dt-oc-info/src/model/GetOcOperationRecruitmentRequest.cc create mode 100644 dt-oc-info/src/model/GetOcOperationRecruitmentResult.cc create mode 100644 dt-oc-info/src/model/GetOcProductBandRequest.cc create mode 100644 dt-oc-info/src/model/GetOcProductBandResult.cc create mode 100644 dt-oc-info/src/model/GetOcTaxAbnormalRequest.cc create mode 100644 dt-oc-info/src/model/GetOcTaxAbnormalResult.cc create mode 100644 dt-oc-info/src/model/GetOcTaxClassARequest.cc create mode 100644 dt-oc-info/src/model/GetOcTaxClassAResult.cc create mode 100644 dt-oc-info/src/model/GetOcTaxGeneralTaxpayerRequest.cc create mode 100644 dt-oc-info/src/model/GetOcTaxGeneralTaxpayerResult.cc create mode 100644 dt-oc-info/src/model/GetOcTaxIllegalRequest.cc create mode 100644 dt-oc-info/src/model/GetOcTaxIllegalResult.cc create mode 100644 dt-oc-info/src/model/GetOcTaxOverdueRequest.cc create mode 100644 dt-oc-info/src/model/GetOcTaxOverdueResult.cc create mode 100644 dt-oc-info/src/model/GetOcTaxPunishmentRequest.cc create mode 100644 dt-oc-info/src/model/GetOcTaxPunishmentResult.cc create mode 100644 dt-oc-info/src/model/GetQccCertificationDetailByIdRequest.cc create mode 100644 dt-oc-info/src/model/GetQccCertificationDetailByIdResult.cc create mode 100644 dt-oc-info/src/model/GetQccSearchCertificationRequest.cc create mode 100644 dt-oc-info/src/model/GetQccSearchCertificationResult.cc diff --git a/VERSION b/VERSION index be86da276..0da6c63ca 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1459 \ No newline at end of file +1.36.1460 \ No newline at end of file diff --git a/dt-oc-info/CMakeLists.txt b/dt-oc-info/CMakeLists.txt new file mode 100644 index 000000000..374dcb418 --- /dev/null +++ b/dt-oc-info/CMakeLists.txt @@ -0,0 +1,302 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(dt-oc-info_public_header + include/alibabacloud/dt-oc-info/Dt_oc_infoClient.h + include/alibabacloud/dt-oc-info/Dt_oc_infoExport.h ) + +set(dt-oc-info_public_header_model + include/alibabacloud/dt-oc-info/model/GetOcCompetitorsRequest.h + include/alibabacloud/dt-oc-info/model/GetOcCompetitorsResult.h + include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsRequest.h + include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsResult.h + include/alibabacloud/dt-oc-info/model/GetOcFinancingRequest.h + include/alibabacloud/dt-oc-info/model/GetOcFinancingResult.h + include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchRequest.h + include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcBasicRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcBasicResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcBranchRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcBranchResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcCheckupRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcCheckupResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcMortgageRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcMortgageResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcShareholderRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcShareholderResult.h + include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelResult.h + include/alibabacloud/dt-oc-info/model/GetOcIpCertificateRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIpCertificateResult.h + include/alibabacloud/dt-oc-info/model/GetOcIpDomainRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIpDomainResult.h + include/alibabacloud/dt-oc-info/model/GetOcIpPatentRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIpPatentResult.h + include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightResult.h + include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkResult.h + include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightRequest.h + include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightResult.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionRequest.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionResult.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingRequest.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingResult.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementRequest.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementResult.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeRequest.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeResult.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyRequest.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyResult.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedRequest.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedResult.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocRequest.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocResult.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeRequest.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeResult.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseRequest.h + include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseResult.h + include/alibabacloud/dt-oc-info/model/GetOcListedCompanyRequest.h + include/alibabacloud/dt-oc-info/model/GetOcListedCompanyResult.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentRequest.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentResult.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentRequest.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentResult.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentRequest.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentResult.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentRequest.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentResult.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentRequest.h + include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentResult.h + include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingRequest.h + include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingResult.h + include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsRequest.h + include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsResult.h + include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandRequest.h + include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandResult.h + include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentRequest.h + include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentResult.h + include/alibabacloud/dt-oc-info/model/GetOcProductBandRequest.h + include/alibabacloud/dt-oc-info/model/GetOcProductBandResult.h + include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalRequest.h + include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalResult.h + include/alibabacloud/dt-oc-info/model/GetOcTaxClassARequest.h + include/alibabacloud/dt-oc-info/model/GetOcTaxClassAResult.h + include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerRequest.h + include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerResult.h + include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalRequest.h + include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalResult.h + include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueRequest.h + include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueResult.h + include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentRequest.h + include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentResult.h + include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdRequest.h + include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdResult.h + include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationRequest.h + include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationResult.h ) + +set(dt-oc-info_src + src/Dt-oc-infoClient.cc + src/model/GetOcCompetitorsRequest.cc + src/model/GetOcCompetitorsResult.cc + src/model/GetOcCoreTeamsRequest.cc + src/model/GetOcCoreTeamsResult.cc + src/model/GetOcFinancingRequest.cc + src/model/GetOcFinancingResult.cc + src/model/GetOcFuzzSearchRequest.cc + src/model/GetOcFuzzSearchResult.cc + src/model/GetOcIcAbnormalOperationRequest.cc + src/model/GetOcIcAbnormalOperationResult.cc + src/model/GetOcIcAdminLicenseRequest.cc + src/model/GetOcIcAdminLicenseResult.cc + src/model/GetOcIcBasicRequest.cc + src/model/GetOcIcBasicResult.cc + src/model/GetOcIcBranchRequest.cc + src/model/GetOcIcBranchResult.cc + src/model/GetOcIcChangeRecordRequest.cc + src/model/GetOcIcChangeRecordResult.cc + src/model/GetOcIcCheckupRequest.cc + src/model/GetOcIcCheckupResult.cc + src/model/GetOcIcClearAccountRequest.cc + src/model/GetOcIcClearAccountResult.cc + src/model/GetOcIcDoubleCheckupRequest.cc + src/model/GetOcIcDoubleCheckupResult.cc + src/model/GetOcIcEmployeeRequest.cc + src/model/GetOcIcEmployeeResult.cc + src/model/GetOcIcEquityFrozenRequest.cc + src/model/GetOcIcEquityFrozenResult.cc + src/model/GetOcIcEquityPledgeRequest.cc + src/model/GetOcIcEquityPledgeResult.cc + src/model/GetOcIcInvestmentRequest.cc + src/model/GetOcIcInvestmentResult.cc + src/model/GetOcIcKnowledgePropertyPledgeRequest.cc + src/model/GetOcIcKnowledgePropertyPledgeResult.cc + src/model/GetOcIcMortgageRequest.cc + src/model/GetOcIcMortgageResult.cc + src/model/GetOcIcSeriousOffenseRequest.cc + src/model/GetOcIcSeriousOffenseResult.cc + src/model/GetOcIcShareholderRequest.cc + src/model/GetOcIcShareholderResult.cc + src/model/GetOcIcSimpleCancelRequest.cc + src/model/GetOcIcSimpleCancelResult.cc + src/model/GetOcIpCertificateRequest.cc + src/model/GetOcIpCertificateResult.cc + src/model/GetOcIpDomainRequest.cc + src/model/GetOcIpDomainResult.cc + src/model/GetOcIpPatentRequest.cc + src/model/GetOcIpPatentResult.cc + src/model/GetOcIpSoftwareCopyrightRequest.cc + src/model/GetOcIpSoftwareCopyrightResult.cc + src/model/GetOcIpTrademarkRequest.cc + src/model/GetOcIpTrademarkResult.cc + src/model/GetOcIpWorksCopyrightRequest.cc + src/model/GetOcIpWorksCopyrightResult.cc + src/model/GetOcJusticeAuctionRequest.cc + src/model/GetOcJusticeAuctionResult.cc + src/model/GetOcJusticeCaseFilingRequest.cc + src/model/GetOcJusticeCaseFilingResult.cc + src/model/GetOcJusticeCourtAnnouncementRequest.cc + src/model/GetOcJusticeCourtAnnouncementResult.cc + src/model/GetOcJusticeCourtNoticeRequest.cc + src/model/GetOcJusticeCourtNoticeResult.cc + src/model/GetOcJusticeDishonestyRequest.cc + src/model/GetOcJusticeDishonestyResult.cc + src/model/GetOcJusticeExecutedRequest.cc + src/model/GetOcJusticeExecutedResult.cc + src/model/GetOcJusticeJudgementDocRequest.cc + src/model/GetOcJusticeJudgementDocResult.cc + src/model/GetOcJusticeLimitHighConsumeRequest.cc + src/model/GetOcJusticeLimitHighConsumeResult.cc + src/model/GetOcJusticeTerminalCaseRequest.cc + src/model/GetOcJusticeTerminalCaseResult.cc + src/model/GetOcListedCompanyRequest.cc + src/model/GetOcListedCompanyResult.cc + src/model/GetOcNegativeAdminPunishmentRequest.cc + src/model/GetOcNegativeAdminPunishmentResult.cc + src/model/GetOcNegativeCustomsPunishmentRequest.cc + src/model/GetOcNegativeCustomsPunishmentResult.cc + src/model/GetOcNegativeEnvironmentPunishmentRequest.cc + src/model/GetOcNegativeEnvironmentPunishmentResult.cc + src/model/GetOcNegativeFoodDrugPunishmentRequest.cc + src/model/GetOcNegativeFoodDrugPunishmentResult.cc + src/model/GetOcNegativeQualityPunishmentRequest.cc + src/model/GetOcNegativeQualityPunishmentResult.cc + src/model/GetOcOperationBiddingRequest.cc + src/model/GetOcOperationBiddingResult.cc + src/model/GetOcOperationCustomsRequest.cc + src/model/GetOcOperationCustomsResult.cc + src/model/GetOcOperationPurchaseLandRequest.cc + src/model/GetOcOperationPurchaseLandResult.cc + src/model/GetOcOperationRecruitmentRequest.cc + src/model/GetOcOperationRecruitmentResult.cc + src/model/GetOcProductBandRequest.cc + src/model/GetOcProductBandResult.cc + src/model/GetOcTaxAbnormalRequest.cc + src/model/GetOcTaxAbnormalResult.cc + src/model/GetOcTaxClassARequest.cc + src/model/GetOcTaxClassAResult.cc + src/model/GetOcTaxGeneralTaxpayerRequest.cc + src/model/GetOcTaxGeneralTaxpayerResult.cc + src/model/GetOcTaxIllegalRequest.cc + src/model/GetOcTaxIllegalResult.cc + src/model/GetOcTaxOverdueRequest.cc + src/model/GetOcTaxOverdueResult.cc + src/model/GetOcTaxPunishmentRequest.cc + src/model/GetOcTaxPunishmentResult.cc + src/model/GetQccCertificationDetailByIdRequest.cc + src/model/GetQccCertificationDetailByIdResult.cc + src/model/GetQccSearchCertificationRequest.cc + src/model/GetQccSearchCertificationResult.cc ) + +add_library(dt-oc-info ${LIB_TYPE} + ${dt-oc-info_public_header} + ${dt-oc-info_public_header_model} + ${dt-oc-info_src}) + +set_target_properties(dt-oc-info + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}dt-oc-info + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(dt-oc-info + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_DT_OC_INFO_LIBRARY) +endif() + +target_include_directories(dt-oc-info + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(dt-oc-info + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(dt-oc-info + jsoncpp) + target_include_directories(dt-oc-info + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(dt-oc-info + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(dt-oc-info + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(dt-oc-info + PRIVATE /usr/include/jsoncpp) + target_link_libraries(dt-oc-info + jsoncpp) +endif() + +install(FILES ${dt-oc-info_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dt-oc-info) +install(FILES ${dt-oc-info_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dt-oc-info/model) +install(TARGETS dt-oc-info + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/Dt_oc_infoClient.h b/dt-oc-info/include/alibabacloud/dt-oc-info/Dt_oc_infoClient.h new file mode 100644 index 000000000..f387fbcad --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/Dt_oc_infoClient.h @@ -0,0 +1,486 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_DT_OC_INFOCLIENT_H_ +#define ALIBABACLOUD_DT_OC_INFO_DT_OC_INFOCLIENT_H_ + +#include +#include +#include +#include +#include "Dt_oc_infoExport.h" +#include "model/GetOcCompetitorsRequest.h" +#include "model/GetOcCompetitorsResult.h" +#include "model/GetOcCoreTeamsRequest.h" +#include "model/GetOcCoreTeamsResult.h" +#include "model/GetOcFinancingRequest.h" +#include "model/GetOcFinancingResult.h" +#include "model/GetOcFuzzSearchRequest.h" +#include "model/GetOcFuzzSearchResult.h" +#include "model/GetOcIcAbnormalOperationRequest.h" +#include "model/GetOcIcAbnormalOperationResult.h" +#include "model/GetOcIcAdminLicenseRequest.h" +#include "model/GetOcIcAdminLicenseResult.h" +#include "model/GetOcIcBasicRequest.h" +#include "model/GetOcIcBasicResult.h" +#include "model/GetOcIcBranchRequest.h" +#include "model/GetOcIcBranchResult.h" +#include "model/GetOcIcChangeRecordRequest.h" +#include "model/GetOcIcChangeRecordResult.h" +#include "model/GetOcIcCheckupRequest.h" +#include "model/GetOcIcCheckupResult.h" +#include "model/GetOcIcClearAccountRequest.h" +#include "model/GetOcIcClearAccountResult.h" +#include "model/GetOcIcDoubleCheckupRequest.h" +#include "model/GetOcIcDoubleCheckupResult.h" +#include "model/GetOcIcEmployeeRequest.h" +#include "model/GetOcIcEmployeeResult.h" +#include "model/GetOcIcEquityFrozenRequest.h" +#include "model/GetOcIcEquityFrozenResult.h" +#include "model/GetOcIcEquityPledgeRequest.h" +#include "model/GetOcIcEquityPledgeResult.h" +#include "model/GetOcIcInvestmentRequest.h" +#include "model/GetOcIcInvestmentResult.h" +#include "model/GetOcIcKnowledgePropertyPledgeRequest.h" +#include "model/GetOcIcKnowledgePropertyPledgeResult.h" +#include "model/GetOcIcMortgageRequest.h" +#include "model/GetOcIcMortgageResult.h" +#include "model/GetOcIcSeriousOffenseRequest.h" +#include "model/GetOcIcSeriousOffenseResult.h" +#include "model/GetOcIcShareholderRequest.h" +#include "model/GetOcIcShareholderResult.h" +#include "model/GetOcIcSimpleCancelRequest.h" +#include "model/GetOcIcSimpleCancelResult.h" +#include "model/GetOcIpCertificateRequest.h" +#include "model/GetOcIpCertificateResult.h" +#include "model/GetOcIpDomainRequest.h" +#include "model/GetOcIpDomainResult.h" +#include "model/GetOcIpPatentRequest.h" +#include "model/GetOcIpPatentResult.h" +#include "model/GetOcIpSoftwareCopyrightRequest.h" +#include "model/GetOcIpSoftwareCopyrightResult.h" +#include "model/GetOcIpTrademarkRequest.h" +#include "model/GetOcIpTrademarkResult.h" +#include "model/GetOcIpWorksCopyrightRequest.h" +#include "model/GetOcIpWorksCopyrightResult.h" +#include "model/GetOcJusticeAuctionRequest.h" +#include "model/GetOcJusticeAuctionResult.h" +#include "model/GetOcJusticeCaseFilingRequest.h" +#include "model/GetOcJusticeCaseFilingResult.h" +#include "model/GetOcJusticeCourtAnnouncementRequest.h" +#include "model/GetOcJusticeCourtAnnouncementResult.h" +#include "model/GetOcJusticeCourtNoticeRequest.h" +#include "model/GetOcJusticeCourtNoticeResult.h" +#include "model/GetOcJusticeDishonestyRequest.h" +#include "model/GetOcJusticeDishonestyResult.h" +#include "model/GetOcJusticeExecutedRequest.h" +#include "model/GetOcJusticeExecutedResult.h" +#include "model/GetOcJusticeJudgementDocRequest.h" +#include "model/GetOcJusticeJudgementDocResult.h" +#include "model/GetOcJusticeLimitHighConsumeRequest.h" +#include "model/GetOcJusticeLimitHighConsumeResult.h" +#include "model/GetOcJusticeTerminalCaseRequest.h" +#include "model/GetOcJusticeTerminalCaseResult.h" +#include "model/GetOcListedCompanyRequest.h" +#include "model/GetOcListedCompanyResult.h" +#include "model/GetOcNegativeAdminPunishmentRequest.h" +#include "model/GetOcNegativeAdminPunishmentResult.h" +#include "model/GetOcNegativeCustomsPunishmentRequest.h" +#include "model/GetOcNegativeCustomsPunishmentResult.h" +#include "model/GetOcNegativeEnvironmentPunishmentRequest.h" +#include "model/GetOcNegativeEnvironmentPunishmentResult.h" +#include "model/GetOcNegativeFoodDrugPunishmentRequest.h" +#include "model/GetOcNegativeFoodDrugPunishmentResult.h" +#include "model/GetOcNegativeQualityPunishmentRequest.h" +#include "model/GetOcNegativeQualityPunishmentResult.h" +#include "model/GetOcOperationBiddingRequest.h" +#include "model/GetOcOperationBiddingResult.h" +#include "model/GetOcOperationCustomsRequest.h" +#include "model/GetOcOperationCustomsResult.h" +#include "model/GetOcOperationPurchaseLandRequest.h" +#include "model/GetOcOperationPurchaseLandResult.h" +#include "model/GetOcOperationRecruitmentRequest.h" +#include "model/GetOcOperationRecruitmentResult.h" +#include "model/GetOcProductBandRequest.h" +#include "model/GetOcProductBandResult.h" +#include "model/GetOcTaxAbnormalRequest.h" +#include "model/GetOcTaxAbnormalResult.h" +#include "model/GetOcTaxClassARequest.h" +#include "model/GetOcTaxClassAResult.h" +#include "model/GetOcTaxGeneralTaxpayerRequest.h" +#include "model/GetOcTaxGeneralTaxpayerResult.h" +#include "model/GetOcTaxIllegalRequest.h" +#include "model/GetOcTaxIllegalResult.h" +#include "model/GetOcTaxOverdueRequest.h" +#include "model/GetOcTaxOverdueResult.h" +#include "model/GetOcTaxPunishmentRequest.h" +#include "model/GetOcTaxPunishmentResult.h" +#include "model/GetQccCertificationDetailByIdRequest.h" +#include "model/GetQccCertificationDetailByIdResult.h" +#include "model/GetQccSearchCertificationRequest.h" +#include "model/GetQccSearchCertificationResult.h" + + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT Dt_oc_infoClient : public RpcServiceClient + { + public: + typedef Outcome GetOcCompetitorsOutcome; + typedef std::future GetOcCompetitorsOutcomeCallable; + typedef std::function&)> GetOcCompetitorsAsyncHandler; + typedef Outcome GetOcCoreTeamsOutcome; + typedef std::future GetOcCoreTeamsOutcomeCallable; + typedef std::function&)> GetOcCoreTeamsAsyncHandler; + typedef Outcome GetOcFinancingOutcome; + typedef std::future GetOcFinancingOutcomeCallable; + typedef std::function&)> GetOcFinancingAsyncHandler; + typedef Outcome GetOcFuzzSearchOutcome; + typedef std::future GetOcFuzzSearchOutcomeCallable; + typedef std::function&)> GetOcFuzzSearchAsyncHandler; + typedef Outcome GetOcIcAbnormalOperationOutcome; + typedef std::future GetOcIcAbnormalOperationOutcomeCallable; + typedef std::function&)> GetOcIcAbnormalOperationAsyncHandler; + typedef Outcome GetOcIcAdminLicenseOutcome; + typedef std::future GetOcIcAdminLicenseOutcomeCallable; + typedef std::function&)> GetOcIcAdminLicenseAsyncHandler; + typedef Outcome GetOcIcBasicOutcome; + typedef std::future GetOcIcBasicOutcomeCallable; + typedef std::function&)> GetOcIcBasicAsyncHandler; + typedef Outcome GetOcIcBranchOutcome; + typedef std::future GetOcIcBranchOutcomeCallable; + typedef std::function&)> GetOcIcBranchAsyncHandler; + typedef Outcome GetOcIcChangeRecordOutcome; + typedef std::future GetOcIcChangeRecordOutcomeCallable; + typedef std::function&)> GetOcIcChangeRecordAsyncHandler; + typedef Outcome GetOcIcCheckupOutcome; + typedef std::future GetOcIcCheckupOutcomeCallable; + typedef std::function&)> GetOcIcCheckupAsyncHandler; + typedef Outcome GetOcIcClearAccountOutcome; + typedef std::future GetOcIcClearAccountOutcomeCallable; + typedef std::function&)> GetOcIcClearAccountAsyncHandler; + typedef Outcome GetOcIcDoubleCheckupOutcome; + typedef std::future GetOcIcDoubleCheckupOutcomeCallable; + typedef std::function&)> GetOcIcDoubleCheckupAsyncHandler; + typedef Outcome GetOcIcEmployeeOutcome; + typedef std::future GetOcIcEmployeeOutcomeCallable; + typedef std::function&)> GetOcIcEmployeeAsyncHandler; + typedef Outcome GetOcIcEquityFrozenOutcome; + typedef std::future GetOcIcEquityFrozenOutcomeCallable; + typedef std::function&)> GetOcIcEquityFrozenAsyncHandler; + typedef Outcome GetOcIcEquityPledgeOutcome; + typedef std::future GetOcIcEquityPledgeOutcomeCallable; + typedef std::function&)> GetOcIcEquityPledgeAsyncHandler; + typedef Outcome GetOcIcInvestmentOutcome; + typedef std::future GetOcIcInvestmentOutcomeCallable; + typedef std::function&)> GetOcIcInvestmentAsyncHandler; + typedef Outcome GetOcIcKnowledgePropertyPledgeOutcome; + typedef std::future GetOcIcKnowledgePropertyPledgeOutcomeCallable; + typedef std::function&)> GetOcIcKnowledgePropertyPledgeAsyncHandler; + typedef Outcome GetOcIcMortgageOutcome; + typedef std::future GetOcIcMortgageOutcomeCallable; + typedef std::function&)> GetOcIcMortgageAsyncHandler; + typedef Outcome GetOcIcSeriousOffenseOutcome; + typedef std::future GetOcIcSeriousOffenseOutcomeCallable; + typedef std::function&)> GetOcIcSeriousOffenseAsyncHandler; + typedef Outcome GetOcIcShareholderOutcome; + typedef std::future GetOcIcShareholderOutcomeCallable; + typedef std::function&)> GetOcIcShareholderAsyncHandler; + typedef Outcome GetOcIcSimpleCancelOutcome; + typedef std::future GetOcIcSimpleCancelOutcomeCallable; + typedef std::function&)> GetOcIcSimpleCancelAsyncHandler; + typedef Outcome GetOcIpCertificateOutcome; + typedef std::future GetOcIpCertificateOutcomeCallable; + typedef std::function&)> GetOcIpCertificateAsyncHandler; + typedef Outcome GetOcIpDomainOutcome; + typedef std::future GetOcIpDomainOutcomeCallable; + typedef std::function&)> GetOcIpDomainAsyncHandler; + typedef Outcome GetOcIpPatentOutcome; + typedef std::future GetOcIpPatentOutcomeCallable; + typedef std::function&)> GetOcIpPatentAsyncHandler; + typedef Outcome GetOcIpSoftwareCopyrightOutcome; + typedef std::future GetOcIpSoftwareCopyrightOutcomeCallable; + typedef std::function&)> GetOcIpSoftwareCopyrightAsyncHandler; + typedef Outcome GetOcIpTrademarkOutcome; + typedef std::future GetOcIpTrademarkOutcomeCallable; + typedef std::function&)> GetOcIpTrademarkAsyncHandler; + typedef Outcome GetOcIpWorksCopyrightOutcome; + typedef std::future GetOcIpWorksCopyrightOutcomeCallable; + typedef std::function&)> GetOcIpWorksCopyrightAsyncHandler; + typedef Outcome GetOcJusticeAuctionOutcome; + typedef std::future GetOcJusticeAuctionOutcomeCallable; + typedef std::function&)> GetOcJusticeAuctionAsyncHandler; + typedef Outcome GetOcJusticeCaseFilingOutcome; + typedef std::future GetOcJusticeCaseFilingOutcomeCallable; + typedef std::function&)> GetOcJusticeCaseFilingAsyncHandler; + typedef Outcome GetOcJusticeCourtAnnouncementOutcome; + typedef std::future GetOcJusticeCourtAnnouncementOutcomeCallable; + typedef std::function&)> GetOcJusticeCourtAnnouncementAsyncHandler; + typedef Outcome GetOcJusticeCourtNoticeOutcome; + typedef std::future GetOcJusticeCourtNoticeOutcomeCallable; + typedef std::function&)> GetOcJusticeCourtNoticeAsyncHandler; + typedef Outcome GetOcJusticeDishonestyOutcome; + typedef std::future GetOcJusticeDishonestyOutcomeCallable; + typedef std::function&)> GetOcJusticeDishonestyAsyncHandler; + typedef Outcome GetOcJusticeExecutedOutcome; + typedef std::future GetOcJusticeExecutedOutcomeCallable; + typedef std::function&)> GetOcJusticeExecutedAsyncHandler; + typedef Outcome GetOcJusticeJudgementDocOutcome; + typedef std::future GetOcJusticeJudgementDocOutcomeCallable; + typedef std::function&)> GetOcJusticeJudgementDocAsyncHandler; + typedef Outcome GetOcJusticeLimitHighConsumeOutcome; + typedef std::future GetOcJusticeLimitHighConsumeOutcomeCallable; + typedef std::function&)> GetOcJusticeLimitHighConsumeAsyncHandler; + typedef Outcome GetOcJusticeTerminalCaseOutcome; + typedef std::future GetOcJusticeTerminalCaseOutcomeCallable; + typedef std::function&)> GetOcJusticeTerminalCaseAsyncHandler; + typedef Outcome GetOcListedCompanyOutcome; + typedef std::future GetOcListedCompanyOutcomeCallable; + typedef std::function&)> GetOcListedCompanyAsyncHandler; + typedef Outcome GetOcNegativeAdminPunishmentOutcome; + typedef std::future GetOcNegativeAdminPunishmentOutcomeCallable; + typedef std::function&)> GetOcNegativeAdminPunishmentAsyncHandler; + typedef Outcome GetOcNegativeCustomsPunishmentOutcome; + typedef std::future GetOcNegativeCustomsPunishmentOutcomeCallable; + typedef std::function&)> GetOcNegativeCustomsPunishmentAsyncHandler; + typedef Outcome GetOcNegativeEnvironmentPunishmentOutcome; + typedef std::future GetOcNegativeEnvironmentPunishmentOutcomeCallable; + typedef std::function&)> GetOcNegativeEnvironmentPunishmentAsyncHandler; + typedef Outcome GetOcNegativeFoodDrugPunishmentOutcome; + typedef std::future GetOcNegativeFoodDrugPunishmentOutcomeCallable; + typedef std::function&)> GetOcNegativeFoodDrugPunishmentAsyncHandler; + typedef Outcome GetOcNegativeQualityPunishmentOutcome; + typedef std::future GetOcNegativeQualityPunishmentOutcomeCallable; + typedef std::function&)> GetOcNegativeQualityPunishmentAsyncHandler; + typedef Outcome GetOcOperationBiddingOutcome; + typedef std::future GetOcOperationBiddingOutcomeCallable; + typedef std::function&)> GetOcOperationBiddingAsyncHandler; + typedef Outcome GetOcOperationCustomsOutcome; + typedef std::future GetOcOperationCustomsOutcomeCallable; + typedef std::function&)> GetOcOperationCustomsAsyncHandler; + typedef Outcome GetOcOperationPurchaseLandOutcome; + typedef std::future GetOcOperationPurchaseLandOutcomeCallable; + typedef std::function&)> GetOcOperationPurchaseLandAsyncHandler; + typedef Outcome GetOcOperationRecruitmentOutcome; + typedef std::future GetOcOperationRecruitmentOutcomeCallable; + typedef std::function&)> GetOcOperationRecruitmentAsyncHandler; + typedef Outcome GetOcProductBandOutcome; + typedef std::future GetOcProductBandOutcomeCallable; + typedef std::function&)> GetOcProductBandAsyncHandler; + typedef Outcome GetOcTaxAbnormalOutcome; + typedef std::future GetOcTaxAbnormalOutcomeCallable; + typedef std::function&)> GetOcTaxAbnormalAsyncHandler; + typedef Outcome GetOcTaxClassAOutcome; + typedef std::future GetOcTaxClassAOutcomeCallable; + typedef std::function&)> GetOcTaxClassAAsyncHandler; + typedef Outcome GetOcTaxGeneralTaxpayerOutcome; + typedef std::future GetOcTaxGeneralTaxpayerOutcomeCallable; + typedef std::function&)> GetOcTaxGeneralTaxpayerAsyncHandler; + typedef Outcome GetOcTaxIllegalOutcome; + typedef std::future GetOcTaxIllegalOutcomeCallable; + typedef std::function&)> GetOcTaxIllegalAsyncHandler; + typedef Outcome GetOcTaxOverdueOutcome; + typedef std::future GetOcTaxOverdueOutcomeCallable; + typedef std::function&)> GetOcTaxOverdueAsyncHandler; + typedef Outcome GetOcTaxPunishmentOutcome; + typedef std::future GetOcTaxPunishmentOutcomeCallable; + typedef std::function&)> GetOcTaxPunishmentAsyncHandler; + typedef Outcome GetQccCertificationDetailByIdOutcome; + typedef std::future GetQccCertificationDetailByIdOutcomeCallable; + typedef std::function&)> GetQccCertificationDetailByIdAsyncHandler; + typedef Outcome GetQccSearchCertificationOutcome; + typedef std::future GetQccSearchCertificationOutcomeCallable; + typedef std::function&)> GetQccSearchCertificationAsyncHandler; + + Dt_oc_infoClient(const Credentials &credentials, const ClientConfiguration &configuration); + Dt_oc_infoClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + Dt_oc_infoClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~Dt_oc_infoClient(); + GetOcCompetitorsOutcome getOcCompetitors(const Model::GetOcCompetitorsRequest &request)const; + void getOcCompetitorsAsync(const Model::GetOcCompetitorsRequest& request, const GetOcCompetitorsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcCompetitorsOutcomeCallable getOcCompetitorsCallable(const Model::GetOcCompetitorsRequest& request) const; + GetOcCoreTeamsOutcome getOcCoreTeams(const Model::GetOcCoreTeamsRequest &request)const; + void getOcCoreTeamsAsync(const Model::GetOcCoreTeamsRequest& request, const GetOcCoreTeamsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcCoreTeamsOutcomeCallable getOcCoreTeamsCallable(const Model::GetOcCoreTeamsRequest& request) const; + GetOcFinancingOutcome getOcFinancing(const Model::GetOcFinancingRequest &request)const; + void getOcFinancingAsync(const Model::GetOcFinancingRequest& request, const GetOcFinancingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcFinancingOutcomeCallable getOcFinancingCallable(const Model::GetOcFinancingRequest& request) const; + GetOcFuzzSearchOutcome getOcFuzzSearch(const Model::GetOcFuzzSearchRequest &request)const; + void getOcFuzzSearchAsync(const Model::GetOcFuzzSearchRequest& request, const GetOcFuzzSearchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcFuzzSearchOutcomeCallable getOcFuzzSearchCallable(const Model::GetOcFuzzSearchRequest& request) const; + GetOcIcAbnormalOperationOutcome getOcIcAbnormalOperation(const Model::GetOcIcAbnormalOperationRequest &request)const; + void getOcIcAbnormalOperationAsync(const Model::GetOcIcAbnormalOperationRequest& request, const GetOcIcAbnormalOperationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcAbnormalOperationOutcomeCallable getOcIcAbnormalOperationCallable(const Model::GetOcIcAbnormalOperationRequest& request) const; + GetOcIcAdminLicenseOutcome getOcIcAdminLicense(const Model::GetOcIcAdminLicenseRequest &request)const; + void getOcIcAdminLicenseAsync(const Model::GetOcIcAdminLicenseRequest& request, const GetOcIcAdminLicenseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcAdminLicenseOutcomeCallable getOcIcAdminLicenseCallable(const Model::GetOcIcAdminLicenseRequest& request) const; + GetOcIcBasicOutcome getOcIcBasic(const Model::GetOcIcBasicRequest &request)const; + void getOcIcBasicAsync(const Model::GetOcIcBasicRequest& request, const GetOcIcBasicAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcBasicOutcomeCallable getOcIcBasicCallable(const Model::GetOcIcBasicRequest& request) const; + GetOcIcBranchOutcome getOcIcBranch(const Model::GetOcIcBranchRequest &request)const; + void getOcIcBranchAsync(const Model::GetOcIcBranchRequest& request, const GetOcIcBranchAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcBranchOutcomeCallable getOcIcBranchCallable(const Model::GetOcIcBranchRequest& request) const; + GetOcIcChangeRecordOutcome getOcIcChangeRecord(const Model::GetOcIcChangeRecordRequest &request)const; + void getOcIcChangeRecordAsync(const Model::GetOcIcChangeRecordRequest& request, const GetOcIcChangeRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcChangeRecordOutcomeCallable getOcIcChangeRecordCallable(const Model::GetOcIcChangeRecordRequest& request) const; + GetOcIcCheckupOutcome getOcIcCheckup(const Model::GetOcIcCheckupRequest &request)const; + void getOcIcCheckupAsync(const Model::GetOcIcCheckupRequest& request, const GetOcIcCheckupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcCheckupOutcomeCallable getOcIcCheckupCallable(const Model::GetOcIcCheckupRequest& request) const; + GetOcIcClearAccountOutcome getOcIcClearAccount(const Model::GetOcIcClearAccountRequest &request)const; + void getOcIcClearAccountAsync(const Model::GetOcIcClearAccountRequest& request, const GetOcIcClearAccountAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcClearAccountOutcomeCallable getOcIcClearAccountCallable(const Model::GetOcIcClearAccountRequest& request) const; + GetOcIcDoubleCheckupOutcome getOcIcDoubleCheckup(const Model::GetOcIcDoubleCheckupRequest &request)const; + void getOcIcDoubleCheckupAsync(const Model::GetOcIcDoubleCheckupRequest& request, const GetOcIcDoubleCheckupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcDoubleCheckupOutcomeCallable getOcIcDoubleCheckupCallable(const Model::GetOcIcDoubleCheckupRequest& request) const; + GetOcIcEmployeeOutcome getOcIcEmployee(const Model::GetOcIcEmployeeRequest &request)const; + void getOcIcEmployeeAsync(const Model::GetOcIcEmployeeRequest& request, const GetOcIcEmployeeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcEmployeeOutcomeCallable getOcIcEmployeeCallable(const Model::GetOcIcEmployeeRequest& request) const; + GetOcIcEquityFrozenOutcome getOcIcEquityFrozen(const Model::GetOcIcEquityFrozenRequest &request)const; + void getOcIcEquityFrozenAsync(const Model::GetOcIcEquityFrozenRequest& request, const GetOcIcEquityFrozenAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcEquityFrozenOutcomeCallable getOcIcEquityFrozenCallable(const Model::GetOcIcEquityFrozenRequest& request) const; + GetOcIcEquityPledgeOutcome getOcIcEquityPledge(const Model::GetOcIcEquityPledgeRequest &request)const; + void getOcIcEquityPledgeAsync(const Model::GetOcIcEquityPledgeRequest& request, const GetOcIcEquityPledgeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcEquityPledgeOutcomeCallable getOcIcEquityPledgeCallable(const Model::GetOcIcEquityPledgeRequest& request) const; + GetOcIcInvestmentOutcome getOcIcInvestment(const Model::GetOcIcInvestmentRequest &request)const; + void getOcIcInvestmentAsync(const Model::GetOcIcInvestmentRequest& request, const GetOcIcInvestmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcInvestmentOutcomeCallable getOcIcInvestmentCallable(const Model::GetOcIcInvestmentRequest& request) const; + GetOcIcKnowledgePropertyPledgeOutcome getOcIcKnowledgePropertyPledge(const Model::GetOcIcKnowledgePropertyPledgeRequest &request)const; + void getOcIcKnowledgePropertyPledgeAsync(const Model::GetOcIcKnowledgePropertyPledgeRequest& request, const GetOcIcKnowledgePropertyPledgeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcKnowledgePropertyPledgeOutcomeCallable getOcIcKnowledgePropertyPledgeCallable(const Model::GetOcIcKnowledgePropertyPledgeRequest& request) const; + GetOcIcMortgageOutcome getOcIcMortgage(const Model::GetOcIcMortgageRequest &request)const; + void getOcIcMortgageAsync(const Model::GetOcIcMortgageRequest& request, const GetOcIcMortgageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcMortgageOutcomeCallable getOcIcMortgageCallable(const Model::GetOcIcMortgageRequest& request) const; + GetOcIcSeriousOffenseOutcome getOcIcSeriousOffense(const Model::GetOcIcSeriousOffenseRequest &request)const; + void getOcIcSeriousOffenseAsync(const Model::GetOcIcSeriousOffenseRequest& request, const GetOcIcSeriousOffenseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcSeriousOffenseOutcomeCallable getOcIcSeriousOffenseCallable(const Model::GetOcIcSeriousOffenseRequest& request) const; + GetOcIcShareholderOutcome getOcIcShareholder(const Model::GetOcIcShareholderRequest &request)const; + void getOcIcShareholderAsync(const Model::GetOcIcShareholderRequest& request, const GetOcIcShareholderAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcShareholderOutcomeCallable getOcIcShareholderCallable(const Model::GetOcIcShareholderRequest& request) const; + GetOcIcSimpleCancelOutcome getOcIcSimpleCancel(const Model::GetOcIcSimpleCancelRequest &request)const; + void getOcIcSimpleCancelAsync(const Model::GetOcIcSimpleCancelRequest& request, const GetOcIcSimpleCancelAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIcSimpleCancelOutcomeCallable getOcIcSimpleCancelCallable(const Model::GetOcIcSimpleCancelRequest& request) const; + GetOcIpCertificateOutcome getOcIpCertificate(const Model::GetOcIpCertificateRequest &request)const; + void getOcIpCertificateAsync(const Model::GetOcIpCertificateRequest& request, const GetOcIpCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIpCertificateOutcomeCallable getOcIpCertificateCallable(const Model::GetOcIpCertificateRequest& request) const; + GetOcIpDomainOutcome getOcIpDomain(const Model::GetOcIpDomainRequest &request)const; + void getOcIpDomainAsync(const Model::GetOcIpDomainRequest& request, const GetOcIpDomainAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIpDomainOutcomeCallable getOcIpDomainCallable(const Model::GetOcIpDomainRequest& request) const; + GetOcIpPatentOutcome getOcIpPatent(const Model::GetOcIpPatentRequest &request)const; + void getOcIpPatentAsync(const Model::GetOcIpPatentRequest& request, const GetOcIpPatentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIpPatentOutcomeCallable getOcIpPatentCallable(const Model::GetOcIpPatentRequest& request) const; + GetOcIpSoftwareCopyrightOutcome getOcIpSoftwareCopyright(const Model::GetOcIpSoftwareCopyrightRequest &request)const; + void getOcIpSoftwareCopyrightAsync(const Model::GetOcIpSoftwareCopyrightRequest& request, const GetOcIpSoftwareCopyrightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIpSoftwareCopyrightOutcomeCallable getOcIpSoftwareCopyrightCallable(const Model::GetOcIpSoftwareCopyrightRequest& request) const; + GetOcIpTrademarkOutcome getOcIpTrademark(const Model::GetOcIpTrademarkRequest &request)const; + void getOcIpTrademarkAsync(const Model::GetOcIpTrademarkRequest& request, const GetOcIpTrademarkAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIpTrademarkOutcomeCallable getOcIpTrademarkCallable(const Model::GetOcIpTrademarkRequest& request) const; + GetOcIpWorksCopyrightOutcome getOcIpWorksCopyright(const Model::GetOcIpWorksCopyrightRequest &request)const; + void getOcIpWorksCopyrightAsync(const Model::GetOcIpWorksCopyrightRequest& request, const GetOcIpWorksCopyrightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcIpWorksCopyrightOutcomeCallable getOcIpWorksCopyrightCallable(const Model::GetOcIpWorksCopyrightRequest& request) const; + GetOcJusticeAuctionOutcome getOcJusticeAuction(const Model::GetOcJusticeAuctionRequest &request)const; + void getOcJusticeAuctionAsync(const Model::GetOcJusticeAuctionRequest& request, const GetOcJusticeAuctionAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcJusticeAuctionOutcomeCallable getOcJusticeAuctionCallable(const Model::GetOcJusticeAuctionRequest& request) const; + GetOcJusticeCaseFilingOutcome getOcJusticeCaseFiling(const Model::GetOcJusticeCaseFilingRequest &request)const; + void getOcJusticeCaseFilingAsync(const Model::GetOcJusticeCaseFilingRequest& request, const GetOcJusticeCaseFilingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcJusticeCaseFilingOutcomeCallable getOcJusticeCaseFilingCallable(const Model::GetOcJusticeCaseFilingRequest& request) const; + GetOcJusticeCourtAnnouncementOutcome getOcJusticeCourtAnnouncement(const Model::GetOcJusticeCourtAnnouncementRequest &request)const; + void getOcJusticeCourtAnnouncementAsync(const Model::GetOcJusticeCourtAnnouncementRequest& request, const GetOcJusticeCourtAnnouncementAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcJusticeCourtAnnouncementOutcomeCallable getOcJusticeCourtAnnouncementCallable(const Model::GetOcJusticeCourtAnnouncementRequest& request) const; + GetOcJusticeCourtNoticeOutcome getOcJusticeCourtNotice(const Model::GetOcJusticeCourtNoticeRequest &request)const; + void getOcJusticeCourtNoticeAsync(const Model::GetOcJusticeCourtNoticeRequest& request, const GetOcJusticeCourtNoticeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcJusticeCourtNoticeOutcomeCallable getOcJusticeCourtNoticeCallable(const Model::GetOcJusticeCourtNoticeRequest& request) const; + GetOcJusticeDishonestyOutcome getOcJusticeDishonesty(const Model::GetOcJusticeDishonestyRequest &request)const; + void getOcJusticeDishonestyAsync(const Model::GetOcJusticeDishonestyRequest& request, const GetOcJusticeDishonestyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcJusticeDishonestyOutcomeCallable getOcJusticeDishonestyCallable(const Model::GetOcJusticeDishonestyRequest& request) const; + GetOcJusticeExecutedOutcome getOcJusticeExecuted(const Model::GetOcJusticeExecutedRequest &request)const; + void getOcJusticeExecutedAsync(const Model::GetOcJusticeExecutedRequest& request, const GetOcJusticeExecutedAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcJusticeExecutedOutcomeCallable getOcJusticeExecutedCallable(const Model::GetOcJusticeExecutedRequest& request) const; + GetOcJusticeJudgementDocOutcome getOcJusticeJudgementDoc(const Model::GetOcJusticeJudgementDocRequest &request)const; + void getOcJusticeJudgementDocAsync(const Model::GetOcJusticeJudgementDocRequest& request, const GetOcJusticeJudgementDocAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcJusticeJudgementDocOutcomeCallable getOcJusticeJudgementDocCallable(const Model::GetOcJusticeJudgementDocRequest& request) const; + GetOcJusticeLimitHighConsumeOutcome getOcJusticeLimitHighConsume(const Model::GetOcJusticeLimitHighConsumeRequest &request)const; + void getOcJusticeLimitHighConsumeAsync(const Model::GetOcJusticeLimitHighConsumeRequest& request, const GetOcJusticeLimitHighConsumeAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcJusticeLimitHighConsumeOutcomeCallable getOcJusticeLimitHighConsumeCallable(const Model::GetOcJusticeLimitHighConsumeRequest& request) const; + GetOcJusticeTerminalCaseOutcome getOcJusticeTerminalCase(const Model::GetOcJusticeTerminalCaseRequest &request)const; + void getOcJusticeTerminalCaseAsync(const Model::GetOcJusticeTerminalCaseRequest& request, const GetOcJusticeTerminalCaseAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcJusticeTerminalCaseOutcomeCallable getOcJusticeTerminalCaseCallable(const Model::GetOcJusticeTerminalCaseRequest& request) const; + GetOcListedCompanyOutcome getOcListedCompany(const Model::GetOcListedCompanyRequest &request)const; + void getOcListedCompanyAsync(const Model::GetOcListedCompanyRequest& request, const GetOcListedCompanyAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcListedCompanyOutcomeCallable getOcListedCompanyCallable(const Model::GetOcListedCompanyRequest& request) const; + GetOcNegativeAdminPunishmentOutcome getOcNegativeAdminPunishment(const Model::GetOcNegativeAdminPunishmentRequest &request)const; + void getOcNegativeAdminPunishmentAsync(const Model::GetOcNegativeAdminPunishmentRequest& request, const GetOcNegativeAdminPunishmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcNegativeAdminPunishmentOutcomeCallable getOcNegativeAdminPunishmentCallable(const Model::GetOcNegativeAdminPunishmentRequest& request) const; + GetOcNegativeCustomsPunishmentOutcome getOcNegativeCustomsPunishment(const Model::GetOcNegativeCustomsPunishmentRequest &request)const; + void getOcNegativeCustomsPunishmentAsync(const Model::GetOcNegativeCustomsPunishmentRequest& request, const GetOcNegativeCustomsPunishmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcNegativeCustomsPunishmentOutcomeCallable getOcNegativeCustomsPunishmentCallable(const Model::GetOcNegativeCustomsPunishmentRequest& request) const; + GetOcNegativeEnvironmentPunishmentOutcome getOcNegativeEnvironmentPunishment(const Model::GetOcNegativeEnvironmentPunishmentRequest &request)const; + void getOcNegativeEnvironmentPunishmentAsync(const Model::GetOcNegativeEnvironmentPunishmentRequest& request, const GetOcNegativeEnvironmentPunishmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcNegativeEnvironmentPunishmentOutcomeCallable getOcNegativeEnvironmentPunishmentCallable(const Model::GetOcNegativeEnvironmentPunishmentRequest& request) const; + GetOcNegativeFoodDrugPunishmentOutcome getOcNegativeFoodDrugPunishment(const Model::GetOcNegativeFoodDrugPunishmentRequest &request)const; + void getOcNegativeFoodDrugPunishmentAsync(const Model::GetOcNegativeFoodDrugPunishmentRequest& request, const GetOcNegativeFoodDrugPunishmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcNegativeFoodDrugPunishmentOutcomeCallable getOcNegativeFoodDrugPunishmentCallable(const Model::GetOcNegativeFoodDrugPunishmentRequest& request) const; + GetOcNegativeQualityPunishmentOutcome getOcNegativeQualityPunishment(const Model::GetOcNegativeQualityPunishmentRequest &request)const; + void getOcNegativeQualityPunishmentAsync(const Model::GetOcNegativeQualityPunishmentRequest& request, const GetOcNegativeQualityPunishmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcNegativeQualityPunishmentOutcomeCallable getOcNegativeQualityPunishmentCallable(const Model::GetOcNegativeQualityPunishmentRequest& request) const; + GetOcOperationBiddingOutcome getOcOperationBidding(const Model::GetOcOperationBiddingRequest &request)const; + void getOcOperationBiddingAsync(const Model::GetOcOperationBiddingRequest& request, const GetOcOperationBiddingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcOperationBiddingOutcomeCallable getOcOperationBiddingCallable(const Model::GetOcOperationBiddingRequest& request) const; + GetOcOperationCustomsOutcome getOcOperationCustoms(const Model::GetOcOperationCustomsRequest &request)const; + void getOcOperationCustomsAsync(const Model::GetOcOperationCustomsRequest& request, const GetOcOperationCustomsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcOperationCustomsOutcomeCallable getOcOperationCustomsCallable(const Model::GetOcOperationCustomsRequest& request) const; + GetOcOperationPurchaseLandOutcome getOcOperationPurchaseLand(const Model::GetOcOperationPurchaseLandRequest &request)const; + void getOcOperationPurchaseLandAsync(const Model::GetOcOperationPurchaseLandRequest& request, const GetOcOperationPurchaseLandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcOperationPurchaseLandOutcomeCallable getOcOperationPurchaseLandCallable(const Model::GetOcOperationPurchaseLandRequest& request) const; + GetOcOperationRecruitmentOutcome getOcOperationRecruitment(const Model::GetOcOperationRecruitmentRequest &request)const; + void getOcOperationRecruitmentAsync(const Model::GetOcOperationRecruitmentRequest& request, const GetOcOperationRecruitmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcOperationRecruitmentOutcomeCallable getOcOperationRecruitmentCallable(const Model::GetOcOperationRecruitmentRequest& request) const; + GetOcProductBandOutcome getOcProductBand(const Model::GetOcProductBandRequest &request)const; + void getOcProductBandAsync(const Model::GetOcProductBandRequest& request, const GetOcProductBandAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcProductBandOutcomeCallable getOcProductBandCallable(const Model::GetOcProductBandRequest& request) const; + GetOcTaxAbnormalOutcome getOcTaxAbnormal(const Model::GetOcTaxAbnormalRequest &request)const; + void getOcTaxAbnormalAsync(const Model::GetOcTaxAbnormalRequest& request, const GetOcTaxAbnormalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcTaxAbnormalOutcomeCallable getOcTaxAbnormalCallable(const Model::GetOcTaxAbnormalRequest& request) const; + GetOcTaxClassAOutcome getOcTaxClassA(const Model::GetOcTaxClassARequest &request)const; + void getOcTaxClassAAsync(const Model::GetOcTaxClassARequest& request, const GetOcTaxClassAAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcTaxClassAOutcomeCallable getOcTaxClassACallable(const Model::GetOcTaxClassARequest& request) const; + GetOcTaxGeneralTaxpayerOutcome getOcTaxGeneralTaxpayer(const Model::GetOcTaxGeneralTaxpayerRequest &request)const; + void getOcTaxGeneralTaxpayerAsync(const Model::GetOcTaxGeneralTaxpayerRequest& request, const GetOcTaxGeneralTaxpayerAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcTaxGeneralTaxpayerOutcomeCallable getOcTaxGeneralTaxpayerCallable(const Model::GetOcTaxGeneralTaxpayerRequest& request) const; + GetOcTaxIllegalOutcome getOcTaxIllegal(const Model::GetOcTaxIllegalRequest &request)const; + void getOcTaxIllegalAsync(const Model::GetOcTaxIllegalRequest& request, const GetOcTaxIllegalAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcTaxIllegalOutcomeCallable getOcTaxIllegalCallable(const Model::GetOcTaxIllegalRequest& request) const; + GetOcTaxOverdueOutcome getOcTaxOverdue(const Model::GetOcTaxOverdueRequest &request)const; + void getOcTaxOverdueAsync(const Model::GetOcTaxOverdueRequest& request, const GetOcTaxOverdueAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcTaxOverdueOutcomeCallable getOcTaxOverdueCallable(const Model::GetOcTaxOverdueRequest& request) const; + GetOcTaxPunishmentOutcome getOcTaxPunishment(const Model::GetOcTaxPunishmentRequest &request)const; + void getOcTaxPunishmentAsync(const Model::GetOcTaxPunishmentRequest& request, const GetOcTaxPunishmentAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetOcTaxPunishmentOutcomeCallable getOcTaxPunishmentCallable(const Model::GetOcTaxPunishmentRequest& request) const; + GetQccCertificationDetailByIdOutcome getQccCertificationDetailById(const Model::GetQccCertificationDetailByIdRequest &request)const; + void getQccCertificationDetailByIdAsync(const Model::GetQccCertificationDetailByIdRequest& request, const GetQccCertificationDetailByIdAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetQccCertificationDetailByIdOutcomeCallable getQccCertificationDetailByIdCallable(const Model::GetQccCertificationDetailByIdRequest& request) const; + GetQccSearchCertificationOutcome getQccSearchCertification(const Model::GetQccSearchCertificationRequest &request)const; + void getQccSearchCertificationAsync(const Model::GetQccSearchCertificationRequest& request, const GetQccSearchCertificationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetQccSearchCertificationOutcomeCallable getQccSearchCertificationCallable(const Model::GetQccSearchCertificationRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_DT_OC_INFO_DT_OC_INFOCLIENT_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/Dt_oc_infoExport.h b/dt-oc-info/include/alibabacloud/dt-oc-info/Dt_oc_infoExport.h new file mode 100644 index 000000000..e9f2364a6 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/Dt_oc_infoExport.h @@ -0,0 +1,32 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_DT_OC_INFOEXPORT_H_ +#define ALIBABACLOUD_DT_OC_INFO_DT_OC_INFOEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_DT_OC_INFO_LIBRARY) +# define ALIBABACLOUD_DT_OC_INFO_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_DT_OC_INFO_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_DT_OC_INFO_EXPORT +#endif + +#endif // !ALIBABACLOUD_DT_OC_INFO_DT_OC_INFOEXPORT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCompetitorsRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCompetitorsRequest.h new file mode 100644 index 000000000..336a14b43 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCompetitorsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCOMPETITORSREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCOMPETITORSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcCompetitorsRequest : public RpcServiceRequest { +public: + GetOcCompetitorsRequest(); + ~GetOcCompetitorsRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCOMPETITORSREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCompetitorsResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCompetitorsResult.h new file mode 100644 index 000000000..f73748b0c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCompetitorsResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCOMPETITORSRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCOMPETITORSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcCompetitorsResult : public ServiceResult + { + public: + struct DataItem + { + std::string competitionBrandIntroduction; + std::string competitionEntName; + std::string competitionEntFinTurn; + std::string competitionWebsite; + std::string competitionTag; + std::string competitionLogoUrl; + std::string competitionEntAddress; + std::string competitionIntroduction; + std::string entName; + std::string competitionProductName; + std::string competitionEntEsDate; + }; + + + GetOcCompetitorsResult(); + explicit GetOcCompetitorsResult(const std::string &payload); + ~GetOcCompetitorsResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCOMPETITORSRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsRequest.h new file mode 100644 index 000000000..0e486d196 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCORETEAMSREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCORETEAMSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcCoreTeamsRequest : public RpcServiceRequest { +public: + GetOcCoreTeamsRequest(); + ~GetOcCoreTeamsRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCORETEAMSREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsResult.h new file mode 100644 index 000000000..765ac686c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcCoreTeamsResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCORETEAMSRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCORETEAMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcCoreTeamsResult : public ServiceResult + { + public: + struct DataItem + { + std::string memberPosition; + std::string memberName; + std::string entName; + std::string memberIntroduction; + }; + + + GetOcCoreTeamsResult(); + explicit GetOcCoreTeamsResult(const std::string &payload); + ~GetOcCoreTeamsResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCCORETEAMSRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFinancingRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFinancingRequest.h new file mode 100644 index 000000000..f73bfa6d4 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFinancingRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFINANCINGREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFINANCINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcFinancingRequest : public RpcServiceRequest { +public: + GetOcFinancingRequest(); + ~GetOcFinancingRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFINANCINGREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFinancingResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFinancingResult.h new file mode 100644 index 000000000..1823e375b --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFinancingResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFINANCINGRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFINANCINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcFinancingResult : public ServiceResult + { + public: + struct DataItem + { + std::string investors; + std::string finDate; + std::string entName; + std::string finAmount; + std::string finTurn; + }; + + + GetOcFinancingResult(); + explicit GetOcFinancingResult(const std::string &payload); + ~GetOcFinancingResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFINANCINGRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchRequest.h new file mode 100644 index 000000000..08a7fc76f --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFUZZSEARCHREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFUZZSEARCHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcFuzzSearchRequest : public RpcServiceRequest { +public: + GetOcFuzzSearchRequest(); + ~GetOcFuzzSearchRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFUZZSEARCHREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchResult.h new file mode 100644 index 000000000..18b9c666c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcFuzzSearchResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFUZZSEARCHRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFUZZSEARCHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcFuzzSearchResult : public ServiceResult + { + public: + struct DataItem + { + std::string entName; + }; + + + GetOcFuzzSearchResult(); + explicit GetOcFuzzSearchResult(const std::string &payload); + ~GetOcFuzzSearchResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCFUZZSEARCHRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationRequest.h new file mode 100644 index 000000000..e7f6274fa --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICABNORMALOPERATIONREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICABNORMALOPERATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcAbnormalOperationRequest : public RpcServiceRequest { +public: + GetOcIcAbnormalOperationRequest(); + ~GetOcIcAbnormalOperationRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICABNORMALOPERATIONREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationResult.h new file mode 100644 index 000000000..2f554105b --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAbnormalOperationResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICABNORMALOPERATIONRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICABNORMALOPERATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcAbnormalOperationResult : public ServiceResult + { + public: + struct DataItem + { + std::string outDepartment; + std::string inDate; + std::string inReason; + std::string outReason; + std::string inDepartment; + std::string outDate; + }; + + + GetOcIcAbnormalOperationResult(); + explicit GetOcIcAbnormalOperationResult(const std::string &payload); + ~GetOcIcAbnormalOperationResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICABNORMALOPERATIONRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseRequest.h new file mode 100644 index 000000000..9b9e2432d --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICADMINLICENSEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICADMINLICENSEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcAdminLicenseRequest : public RpcServiceRequest { +public: + GetOcIcAdminLicenseRequest(); + ~GetOcIcAdminLicenseRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICADMINLICENSEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseResult.h new file mode 100644 index 000000000..706561575 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcAdminLicenseResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICADMINLICENSERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICADMINLICENSERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcAdminLicenseResult : public ServiceResult + { + public: + struct DataItem + { + std::string licenseNo; + std::string startDate; + std::string department; + std::string content; + std::string licenseName; + std::string endDate; + }; + + + GetOcIcAdminLicenseResult(); + explicit GetOcIcAdminLicenseResult(const std::string &payload); + ~GetOcIcAdminLicenseResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICADMINLICENSERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBasicRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBasicRequest.h new file mode 100644 index 000000000..4f6a9da9b --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBasicRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBASICREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBASICREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcBasicRequest : public RpcServiceRequest { +public: + GetOcIcBasicRequest(); + ~GetOcIcBasicRequest(); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBASICREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBasicResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBasicResult.h new file mode 100644 index 000000000..75bfb0eed --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBasicResult.h @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBASICRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBASICRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcBasicResult : public ServiceResult + { + public: + struct Data + { + std::string staffNum; + std::string licenseNumber; + std::string entBrief; + std::string socialCreditCode; + std::string opFrom; + std::string regCap; + std::string checkDate; + std::string taxNum; + std::string entNameEng; + std::string legalName; + std::string entAddress; + std::string insuredNum; + std::string regOrgProvince; + std::string regOrgCity; + std::string entStatus; + std::string formerNames; + std::string regOrgDistrict; + std::string recCap; + std::string entType; + std::string orgNo; + std::string esDate; + std::string opScope; + std::string opTo; + std::string entName; + std::string industryNameLv2; + std::string regOrg; + std::string industryNameLv1; + }; + + + GetOcIcBasicResult(); + explicit GetOcIcBasicResult(const std::string &payload); + ~GetOcIcBasicResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + Data getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + Data data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBASICRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBranchRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBranchRequest.h new file mode 100644 index 000000000..6489ccac6 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBranchRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBRANCHREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBRANCHREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcBranchRequest : public RpcServiceRequest { +public: + GetOcIcBranchRequest(); + ~GetOcIcBranchRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBRANCHREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBranchResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBranchResult.h new file mode 100644 index 000000000..fbf41df8b --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcBranchResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBRANCHRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBRANCHRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcBranchResult : public ServiceResult + { + public: + struct DataItem + { + std::string operName; + std::string entStatus; + std::string entName; + std::string esDate; + }; + + + GetOcIcBranchResult(); + explicit GetOcIcBranchResult(const std::string &payload); + ~GetOcIcBranchResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICBRANCHRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordRequest.h new file mode 100644 index 000000000..6c463b415 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHANGERECORDREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHANGERECORDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcChangeRecordRequest : public RpcServiceRequest { +public: + GetOcIcChangeRecordRequest(); + ~GetOcIcChangeRecordRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHANGERECORDREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordResult.h new file mode 100644 index 000000000..d3f94070d --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcChangeRecordResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHANGERECORDRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHANGERECORDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcChangeRecordResult : public ServiceResult + { + public: + struct DataItem + { + std::string type; + std::string changeDate; + std::string afterContent; + std::string beforeContent; + }; + + + GetOcIcChangeRecordResult(); + explicit GetOcIcChangeRecordResult(const std::string &payload); + ~GetOcIcChangeRecordResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHANGERECORDRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcCheckupRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcCheckupRequest.h new file mode 100644 index 000000000..5c4e06fd6 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcCheckupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHECKUPREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHECKUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcCheckupRequest : public RpcServiceRequest { +public: + GetOcIcCheckupRequest(); + ~GetOcIcCheckupRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHECKUPREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcCheckupResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcCheckupResult.h new file mode 100644 index 000000000..6f29d556e --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcCheckupResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHECKUPRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHECKUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcCheckupResult : public ServiceResult + { + public: + struct DataItem + { + std::string department; + std::string type; + std::string date; + std::string result; + }; + + + GetOcIcCheckupResult(); + explicit GetOcIcCheckupResult(const std::string &payload); + ~GetOcIcCheckupResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCHECKUPRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountRequest.h new file mode 100644 index 000000000..d15a9b1c4 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCLEARACCOUNTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCLEARACCOUNTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcClearAccountRequest : public RpcServiceRequest { +public: + GetOcIcClearAccountRequest(); + ~GetOcIcClearAccountRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCLEARACCOUNTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountResult.h new file mode 100644 index 000000000..49879048e --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcClearAccountResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCLEARACCOUNTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCLEARACCOUNTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcClearAccountResult : public ServiceResult + { + public: + struct DataItem + { + std::string leader; + std::string member; + }; + + + GetOcIcClearAccountResult(); + explicit GetOcIcClearAccountResult(const std::string &payload); + ~GetOcIcClearAccountResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICCLEARACCOUNTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupRequest.h new file mode 100644 index 000000000..1fa09ccb9 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICDOUBLECHECKUPREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICDOUBLECHECKUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcDoubleCheckupRequest : public RpcServiceRequest { +public: + GetOcIcDoubleCheckupRequest(); + ~GetOcIcDoubleCheckupRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICDOUBLECHECKUPREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupResult.h new file mode 100644 index 000000000..8fc456c82 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcDoubleCheckupResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICDOUBLECHECKUPRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICDOUBLECHECKUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcDoubleCheckupResult : public ServiceResult + { + public: + struct DataItem + { + std::string inspectPlanId; + std::string inspectTypeName; + std::string inspectPlanName; + std::string inspectItem; + std::string inspectResult; + std::string inspectDepartment; + std::string inspectDate; + std::string inspectTaskId; + std::string inspectTaskName; + }; + + + GetOcIcDoubleCheckupResult(); + explicit GetOcIcDoubleCheckupResult(const std::string &payload); + ~GetOcIcDoubleCheckupResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICDOUBLECHECKUPRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeRequest.h new file mode 100644 index 000000000..bf272cdb1 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEMPLOYEEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEMPLOYEEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcEmployeeRequest : public RpcServiceRequest { +public: + GetOcIcEmployeeRequest(); + ~GetOcIcEmployeeRequest(); + std::string getRequestId() const; + void setRequestId(const std::string &requestId); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + std::string requestId_; + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEMPLOYEEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeResult.h new file mode 100644 index 000000000..8e1b8eedb --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEmployeeResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEMPLOYEERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEMPLOYEERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcEmployeeResult : public ServiceResult + { + public: + struct DataItem + { + std::string jobTitle; + std::string name; + }; + + + GetOcIcEmployeeResult(); + explicit GetOcIcEmployeeResult(const std::string &payload); + ~GetOcIcEmployeeResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEMPLOYEERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenRequest.h new file mode 100644 index 000000000..98f7968d9 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYFROZENREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYFROZENREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcEquityFrozenRequest : public RpcServiceRequest { +public: + GetOcIcEquityFrozenRequest(); + ~GetOcIcEquityFrozenRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYFROZENREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenResult.h new file mode 100644 index 000000000..c7b8968eb --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityFrozenResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYFROZENRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYFROZENRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcEquityFrozenResult : public ServiceResult + { + public: + struct DataItem + { + std::string status; + std::string freezeExecItem; + std::string freezeAmount; + std::string freezeExecPerson; + std::string freezeNoticeNum; + std::string freezeEndDate; + std::string freezeCardType; + std::string freezeCardNum; + std::string unfreezeReason; + std::string unfreezeCourt; + std::string unfreezeDate; + std::string freezeStartDate; + std::string freezePublishDate; + std::string unfreezeAdjustNum; + std::string freezeCourt; + }; + + + GetOcIcEquityFrozenResult(); + explicit GetOcIcEquityFrozenResult(const std::string &payload); + ~GetOcIcEquityFrozenResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYFROZENRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeRequest.h new file mode 100644 index 000000000..23a4f4691 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYPLEDGEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYPLEDGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcEquityPledgeRequest : public RpcServiceRequest { +public: + GetOcIcEquityPledgeRequest(); + ~GetOcIcEquityPledgeRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYPLEDGEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeResult.h new file mode 100644 index 000000000..3a1a68070 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcEquityPledgeResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYPLEDGERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYPLEDGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcEquityPledgeResult : public ServiceResult + { + public: + struct DataItem + { + std::string status; + std::string pledgor; + std::string relatedComp; + std::string number; + std::string regDate; + std::string pledgorAmount; + std::string publicDate; + std::string pawnee; + std::string pawneeIdentifyNo; + std::string pledgorIdentifyNo; + }; + + + GetOcIcEquityPledgeResult(); + explicit GetOcIcEquityPledgeResult(const std::string &payload); + ~GetOcIcEquityPledgeResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICEQUITYPLEDGERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentRequest.h new file mode 100644 index 000000000..5c0974e7c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICINVESTMENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICINVESTMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcInvestmentRequest : public RpcServiceRequest { +public: + GetOcIcInvestmentRequest(); + ~GetOcIcInvestmentRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICINVESTMENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentResult.h new file mode 100644 index 000000000..b9f13373b --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcInvestmentResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICINVESTMENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICINVESTMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcInvestmentResult : public ServiceResult + { + public: + struct DataItem + { + std::string investLicenseNo; + std::string investStatus; + std::string investEsDate; + std::string investCreditCode; + std::string shouldCap; + std::string entName; + std::string investLegalName; + std::string stockPercentage; + std::string investName; + std::string investRegCap; + }; + + + GetOcIcInvestmentResult(); + explicit GetOcIcInvestmentResult(const std::string &payload); + ~GetOcIcInvestmentResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICINVESTMENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeRequest.h new file mode 100644 index 000000000..7b10e1a35 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICKNOWLEDGEPROPERTYPLEDGEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICKNOWLEDGEPROPERTYPLEDGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcKnowledgePropertyPledgeRequest : public RpcServiceRequest { +public: + GetOcIcKnowledgePropertyPledgeRequest(); + ~GetOcIcKnowledgePropertyPledgeRequest(); + std::string getRequestId() const; + void setRequestId(const std::string &requestId); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + std::string requestId_; + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICKNOWLEDGEPROPERTYPLEDGEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeResult.h new file mode 100644 index 000000000..5c08f44f9 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcKnowledgePropertyPledgeResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICKNOWLEDGEPROPERTYPLEDGERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICKNOWLEDGEPROPERTYPLEDGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcKnowledgePropertyPledgeResult : public ServiceResult + { + public: + struct DataItem + { + std::string status; + std::string type; + std::string pledgor; + std::string number; + std::string period; + std::string publicDate; + std::string pawnee; + std::string name; + }; + + + GetOcIcKnowledgePropertyPledgeResult(); + explicit GetOcIcKnowledgePropertyPledgeResult(const std::string &payload); + ~GetOcIcKnowledgePropertyPledgeResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICKNOWLEDGEPROPERTYPLEDGERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcMortgageRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcMortgageRequest.h new file mode 100644 index 000000000..22804e05c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcMortgageRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICMORTGAGEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICMORTGAGEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcMortgageRequest : public RpcServiceRequest { +public: + GetOcIcMortgageRequest(); + ~GetOcIcMortgageRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICMORTGAGEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcMortgageResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcMortgageResult.h new file mode 100644 index 000000000..b20707f69 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcMortgageResult.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICMORTGAGERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICMORTGAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcMortgageResult : public ServiceResult + { + public: + struct DataItem + { + std::string status; + std::string onecompId; + std::string regDate; + std::string mortgageesName; + std::string guarantees; + std::string debitPeriod; + std::string department; + std::string identifyType; + std::string number; + std::string identifyNo; + std::string debitType; + std::string publicDate; + std::string debitAmount; + std::string debitScope; + }; + + + GetOcIcMortgageResult(); + explicit GetOcIcMortgageResult(const std::string &payload); + ~GetOcIcMortgageResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICMORTGAGERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseRequest.h new file mode 100644 index 000000000..e7d5db93d --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSERIOUSOFFENSEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSERIOUSOFFENSEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcSeriousOffenseRequest : public RpcServiceRequest { +public: + GetOcIcSeriousOffenseRequest(); + ~GetOcIcSeriousOffenseRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSERIOUSOFFENSEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseResult.h new file mode 100644 index 000000000..cc37340ea --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSeriousOffenseResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSERIOUSOFFENSERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSERIOUSOFFENSERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcSeriousOffenseResult : public ServiceResult + { + public: + struct DataItem + { + std::string outDepartment; + std::string inDate; + std::string inReason; + std::string outReason; + std::string outDate; + std::string inDepartment; + std::string entName; + }; + + + GetOcIcSeriousOffenseResult(); + explicit GetOcIcSeriousOffenseResult(const std::string &payload); + ~GetOcIcSeriousOffenseResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSERIOUSOFFENSERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcShareholderRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcShareholderRequest.h new file mode 100644 index 000000000..d11812b47 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcShareholderRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSHAREHOLDERREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSHAREHOLDERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcShareholderRequest : public RpcServiceRequest { +public: + GetOcIcShareholderRequest(); + ~GetOcIcShareholderRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSHAREHOLDERREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcShareholderResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcShareholderResult.h new file mode 100644 index 000000000..26e1fa897 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcShareholderResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSHAREHOLDERRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSHAREHOLDERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcShareholderResult : public ServiceResult + { + public: + struct DataItem + { + std::string shouldCapTime; + std::string stockName; + std::string stockType; + std::string stockPercent; + std::string shouldCap; + }; + + + GetOcIcShareholderResult(); + explicit GetOcIcShareholderResult(const std::string &payload); + ~GetOcIcShareholderResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSHAREHOLDERRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelRequest.h new file mode 100644 index 000000000..b943b3492 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSIMPLECANCELREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSIMPLECANCELREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcSimpleCancelRequest : public RpcServiceRequest { +public: + GetOcIcSimpleCancelRequest(); + ~GetOcIcSimpleCancelRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSIMPLECANCELREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelResult.h new file mode 100644 index 000000000..398f489a6 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIcSimpleCancelResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSIMPLECANCELRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSIMPLECANCELRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIcSimpleCancelResult : public ServiceResult + { + public: + struct DataItem + { + std::string socialCreditCode; + std::string scaContent; + std::string department; + std::string scaProposer; + std::string scaDate; + std::string scaResultDate; + std::string entName; + std::string noticePeriod; + std::string scaResult; + }; + + + GetOcIcSimpleCancelResult(); + explicit GetOcIcSimpleCancelResult(const std::string &payload); + ~GetOcIcSimpleCancelResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCICSIMPLECANCELRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpCertificateRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpCertificateRequest.h new file mode 100644 index 000000000..1deabc5e1 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpCertificateRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpCertificateRequest : public RpcServiceRequest { +public: + GetOcIpCertificateRequest(); + ~GetOcIpCertificateRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPCERTIFICATEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpCertificateResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpCertificateResult.h new file mode 100644 index 000000000..771ae321d --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpCertificateResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPCERTIFICATERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpCertificateResult : public ServiceResult + { + public: + struct DataItem + { + std::string validEndDate; + std::string validStartDate; + std::string certNum; + std::string pubDate; + std::string certScope; + std::string certType; + std::string authorizeDepartment; + std::string entName; + std::string authorizeDate; + std::string province; + }; + + + GetOcIpCertificateResult(); + explicit GetOcIpCertificateResult(const std::string &payload); + ~GetOcIpCertificateResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpDomainRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpDomainRequest.h new file mode 100644 index 000000000..085c12c86 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpDomainRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPDOMAINREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPDOMAINREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpDomainRequest : public RpcServiceRequest { +public: + GetOcIpDomainRequest(); + ~GetOcIpDomainRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPDOMAINREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpDomainResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpDomainResult.h new file mode 100644 index 000000000..f6e4cbf7b --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpDomainResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPDOMAINRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPDOMAINRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpDomainResult : public ServiceResult + { + public: + struct DataItem + { + std::string number; + std::string siteName; + std::string homeUrl; + std::string checkDate; + std::string entName; + std::string domain; + }; + + + GetOcIpDomainResult(); + explicit GetOcIpDomainResult(const std::string &payload); + ~GetOcIpDomainResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPDOMAINRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpPatentRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpPatentRequest.h new file mode 100644 index 000000000..79729ba87 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpPatentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPPATENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPPATENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpPatentRequest : public RpcServiceRequest { +public: + GetOcIpPatentRequest(); + ~GetOcIpPatentRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPPATENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpPatentResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpPatentResult.h new file mode 100644 index 000000000..32d4be400 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpPatentResult.h @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPPATENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPPATENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpPatentResult : public ServiceResult + { + public: + struct DataItem + { + std::string agent; + std::string patentStatus; + std::string agency; + std::string patentName; + std::string prioNum; + std::string publicNum; + std::string brief; + std::string cateNum; + std::string mainClaim; + std::string requestNum; + std::string requestDate; + std::string inventorList; + std::string patenteeList; + std::string publicDate; + std::string prioDate; + std::string entName; + std::string patentType; + }; + + + GetOcIpPatentResult(); + explicit GetOcIpPatentResult(const std::string &payload); + ~GetOcIpPatentResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPPATENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightRequest.h new file mode 100644 index 000000000..e335c9cbd --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPSOFTWARECOPYRIGHTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPSOFTWARECOPYRIGHTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpSoftwareCopyrightRequest : public RpcServiceRequest { +public: + GetOcIpSoftwareCopyrightRequest(); + ~GetOcIpSoftwareCopyrightRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPSOFTWARECOPYRIGHTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightResult.h new file mode 100644 index 000000000..6838477ac --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpSoftwareCopyrightResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPSOFTWARECOPYRIGHTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPSOFTWARECOPYRIGHTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpSoftwareCopyrightResult : public ServiceResult + { + public: + struct DataItem + { + std::string typeNum; + std::string version; + std::string firstDate; + std::string successDate; + std::string shortName; + std::string entName; + std::string copyNum; + std::string copyName; + std::string approvalDate; + }; + + + GetOcIpSoftwareCopyrightResult(); + explicit GetOcIpSoftwareCopyrightResult(const std::string &payload); + ~GetOcIpSoftwareCopyrightResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPSOFTWARECOPYRIGHTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkRequest.h new file mode 100644 index 000000000..f52ebf83c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPTRADEMARKREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPTRADEMARKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpTrademarkRequest : public RpcServiceRequest { +public: + GetOcIpTrademarkRequest(); + ~GetOcIpTrademarkRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPTRADEMARKREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkResult.h new file mode 100644 index 000000000..37b792aaa --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpTrademarkResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPTRADEMARKRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPTRADEMARKRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpTrademarkResult : public ServiceResult + { + public: + struct DataItem + { + std::string agent; + std::string firstPubDate; + std::string typeName; + std::string trademarkName; + std::string firstPubNo; + std::string trademarkType; + std::string imageUrl; + std::string period; + std::string regPubDate; + std::string trademarkForm; + std::string trademarkStatus; + std::string applyDate; + std::string entName; + std::string regPubNo; + std::string regNum; + }; + + + GetOcIpTrademarkResult(); + explicit GetOcIpTrademarkResult(const std::string &payload); + ~GetOcIpTrademarkResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPTRADEMARKRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightRequest.h new file mode 100644 index 000000000..d73b5eedd --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPWORKSCOPYRIGHTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPWORKSCOPYRIGHTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpWorksCopyrightRequest : public RpcServiceRequest { +public: + GetOcIpWorksCopyrightRequest(); + ~GetOcIpWorksCopyrightRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPWORKSCOPYRIGHTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightResult.h new file mode 100644 index 000000000..32482d164 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcIpWorksCopyrightResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPWORKSCOPYRIGHTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPWORKSCOPYRIGHTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcIpWorksCopyrightResult : public ServiceResult + { + public: + struct DataItem + { + std::string typeName; + std::string firstDate; + std::string successDate; + std::string entName; + std::string copyNum; + std::string copyName; + std::string approvalDate; + }; + + + GetOcIpWorksCopyrightResult(); + explicit GetOcIpWorksCopyrightResult(const std::string &payload); + ~GetOcIpWorksCopyrightResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCIPWORKSCOPYRIGHTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionRequest.h new file mode 100644 index 000000000..7f8e67778 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEAUCTIONREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEAUCTIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeAuctionRequest : public RpcServiceRequest { +public: + GetOcJusticeAuctionRequest(); + ~GetOcJusticeAuctionRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEAUCTIONREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionResult.h new file mode 100644 index 000000000..42ac44a97 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeAuctionResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEAUCTIONRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEAUCTIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeAuctionResult : public ServiceResult + { + public: + struct DataItem + { + std::string basis; + std::string auctionName; + std::string owner; + std::string description; + std::string restrict; + std::string auctionDate; + std::string entName; + std::string document; + std::string startPrice; + std::string court; + std::string estPrice; + std::string certificate; + }; + + + GetOcJusticeAuctionResult(); + explicit GetOcJusticeAuctionResult(const std::string &payload); + ~GetOcJusticeAuctionResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEAUCTIONRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingRequest.h new file mode 100644 index 000000000..68f1668a0 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECASEFILINGREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECASEFILINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeCaseFilingRequest : public RpcServiceRequest { +public: + GetOcJusticeCaseFilingRequest(); + ~GetOcJusticeCaseFilingRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECASEFILINGREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingResult.h new file mode 100644 index 000000000..4bc1a9170 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCaseFilingResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECASEFILINGRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECASEFILINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeCaseFilingResult : public ServiceResult + { + public: + struct DataItem + { + std::string role; + std::string filingDate; + std::string party; + std::string assistant; + std::string caseStatus; + std::string causeAction; + std::string caseNum; + std::string hearingDate; + std::string endDate; + std::string judge; + }; + + + GetOcJusticeCaseFilingResult(); + explicit GetOcJusticeCaseFilingResult(const std::string &payload); + ~GetOcJusticeCaseFilingResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECASEFILINGRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementRequest.h new file mode 100644 index 000000000..7e3d4c42c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTANNOUNCEMENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTANNOUNCEMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeCourtAnnouncementRequest : public RpcServiceRequest { +public: + GetOcJusticeCourtAnnouncementRequest(); + ~GetOcJusticeCourtAnnouncementRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTANNOUNCEMENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementResult.h new file mode 100644 index 000000000..8d7a4fd69 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtAnnouncementResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTANNOUNCEMENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTANNOUNCEMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeCourtAnnouncementResult : public ServiceResult + { + public: + struct DataItem + { + std::string department; + std::string party; + std::string causeAction; + std::string title; + std::string tribunal; + std::string caseNum; + std::string hearingDate; + std::string judge; + std::string court; + }; + + + GetOcJusticeCourtAnnouncementResult(); + explicit GetOcJusticeCourtAnnouncementResult(const std::string &payload); + ~GetOcJusticeCourtAnnouncementResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTANNOUNCEMENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeRequest.h new file mode 100644 index 000000000..d08ae6c93 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTNOTICEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTNOTICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeCourtNoticeRequest : public RpcServiceRequest { +public: + GetOcJusticeCourtNoticeRequest(); + ~GetOcJusticeCourtNoticeRequest(); + std::string getRequestId() const; + void setRequestId(const std::string &requestId); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + std::string requestId_; + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTNOTICEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeResult.h new file mode 100644 index 000000000..a22ce6da7 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeCourtNoticeResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTNOTICERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTNOTICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeCourtNoticeResult : public ServiceResult + { + public: + struct DataItem + { + std::string type; + std::string party; + std::string content; + std::string publicDate; + std::string court; + }; + + + GetOcJusticeCourtNoticeResult(); + explicit GetOcJusticeCourtNoticeResult(const std::string &payload); + ~GetOcJusticeCourtNoticeResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICECOURTNOTICERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyRequest.h new file mode 100644 index 000000000..52527c6ff --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEDISHONESTYREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEDISHONESTYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeDishonestyRequest : public RpcServiceRequest { +public: + GetOcJusticeDishonestyRequest(); + ~GetOcJusticeDishonestyRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEDISHONESTYREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyResult.h new file mode 100644 index 000000000..05f9e0cf2 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeDishonestyResult.h @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEDISHONESTYRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEDISHONESTYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeDishonestyResult : public ServiceResult + { + public: + struct DataItem + { + std::string legalName; + std::string publishDate; + std::string executionDesc; + std::string amount; + std::string province; + std::string court; + std::string socialCreditCode; + std::string filingDate; + std::string executionStatus; + std::string fromCaseNum; + std::string finalDuty; + std::string entName; + std::string caseNum; + std::string executeDepartment; + }; + + + GetOcJusticeDishonestyResult(); + explicit GetOcJusticeDishonestyResult(const std::string &payload); + ~GetOcJusticeDishonestyResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEDISHONESTYRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedRequest.h new file mode 100644 index 000000000..b83e90728 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEEXECUTEDREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEEXECUTEDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeExecutedRequest : public RpcServiceRequest { +public: + GetOcJusticeExecutedRequest(); + ~GetOcJusticeExecutedRequest(); + std::string getRequestId() const; + void setRequestId(const std::string &requestId); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + std::string requestId_; + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEEXECUTEDREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedResult.h new file mode 100644 index 000000000..da95948dd --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeExecutedResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEEXECUTEDRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEEXECUTEDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeExecutedResult : public ServiceResult + { + public: + struct DataItem + { + std::string filingDate; + std::string amount; + std::string caseNum; + std::string court; + }; + + + GetOcJusticeExecutedResult(); + explicit GetOcJusticeExecutedResult(const std::string &payload); + ~GetOcJusticeExecutedResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEEXECUTEDRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocRequest.h new file mode 100644 index 000000000..4d3dabb3a --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEJUDGEMENTDOCREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEJUDGEMENTDOCREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeJudgementDocRequest : public RpcServiceRequest { +public: + GetOcJusticeJudgementDocRequest(); + ~GetOcJusticeJudgementDocRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEJUDGEMENTDOCREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocResult.h new file mode 100644 index 000000000..39a0f0a61 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeJudgementDocResult.h @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEJUDGEMENTDOCRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEJUDGEMENTDOCRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeJudgementDocResult : public ServiceResult + { + public: + struct DataItem + { + std::string subAmount; + std::string caseFlow; + std::string defendant; + std::string title; + std::string judgeType; + std::string court; + std::string role; + std::string plaintiff; + std::string party; + std::string caseType; + std::string judgeDate; + std::string publicDate; + std::string causeAction; + std::string judgeResult; + std::string caseNum; + }; + + + GetOcJusticeJudgementDocResult(); + explicit GetOcJusticeJudgementDocResult(const std::string &payload); + ~GetOcJusticeJudgementDocResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICEJUDGEMENTDOCRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeRequest.h new file mode 100644 index 000000000..90b5f9f9d --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICELIMITHIGHCONSUMEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICELIMITHIGHCONSUMEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeLimitHighConsumeRequest : public RpcServiceRequest { +public: + GetOcJusticeLimitHighConsumeRequest(); + ~GetOcJusticeLimitHighConsumeRequest(); + std::string getRequestId() const; + void setRequestId(const std::string &requestId); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + std::string requestId_; + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICELIMITHIGHCONSUMEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeResult.h new file mode 100644 index 000000000..05e879046 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeLimitHighConsumeResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICELIMITHIGHCONSUMERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICELIMITHIGHCONSUMERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeLimitHighConsumeResult : public ServiceResult + { + public: + struct DataItem + { + std::string companyName; + std::string executionApplicant; + std::string publishDate; + std::string filingDate; + std::string causeAction; + std::string caseNum; + std::string name; + std::string court; + }; + + + GetOcJusticeLimitHighConsumeResult(); + explicit GetOcJusticeLimitHighConsumeResult(const std::string &payload); + ~GetOcJusticeLimitHighConsumeResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICELIMITHIGHCONSUMERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseRequest.h new file mode 100644 index 000000000..d0de8b434 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICETERMINALCASEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICETERMINALCASEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeTerminalCaseRequest : public RpcServiceRequest { +public: + GetOcJusticeTerminalCaseRequest(); + ~GetOcJusticeTerminalCaseRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICETERMINALCASEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseResult.h new file mode 100644 index 000000000..1a21f1611 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcJusticeTerminalCaseResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICETERMINALCASERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICETERMINALCASERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcJusticeTerminalCaseResult : public ServiceResult + { + public: + struct DataItem + { + std::string terminalNum; + std::string filingDate; + std::string execAmount; + std::string failPerformAmount; + std::string entName; + std::string caseNum; + std::string terminateDate; + std::string name; + std::string court; + }; + + + GetOcJusticeTerminalCaseResult(); + explicit GetOcJusticeTerminalCaseResult(const std::string &payload); + ~GetOcJusticeTerminalCaseResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCJUSTICETERMINALCASERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcListedCompanyRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcListedCompanyRequest.h new file mode 100644 index 000000000..4b7945802 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcListedCompanyRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCLISTEDCOMPANYREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCLISTEDCOMPANYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcListedCompanyRequest : public RpcServiceRequest { +public: + GetOcListedCompanyRequest(); + ~GetOcListedCompanyRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCLISTEDCOMPANYREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcListedCompanyResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcListedCompanyResult.h new file mode 100644 index 000000000..9cb0d1862 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcListedCompanyResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCLISTEDCOMPANYRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCLISTEDCOMPANYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcListedCompanyResult : public ServiceResult + { + public: + struct DataItem + { + std::string securitiesMarket; + std::string circulationMarketValue; + std::string securitiesCode; + std::string totalShares; + std::string securitiesName; + std::string listDate; + std::string entName; + std::string entNameEng; + std::string totalFlowShares; + }; + + + GetOcListedCompanyResult(); + explicit GetOcListedCompanyResult(const std::string &payload); + ~GetOcListedCompanyResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCLISTEDCOMPANYRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentRequest.h new file mode 100644 index 000000000..528c60f89 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEADMINPUNISHMENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEADMINPUNISHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeAdminPunishmentRequest : public RpcServiceRequest { +public: + GetOcNegativeAdminPunishmentRequest(); + ~GetOcNegativeAdminPunishmentRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEADMINPUNISHMENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentResult.h new file mode 100644 index 000000000..9a02e92e9 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeAdminPunishmentResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEADMINPUNISHMENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEADMINPUNISHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeAdminPunishmentResult : public ServiceResult + { + public: + struct DataItem + { + std::string department; + std::string punishDate; + std::string punishResult; + std::string publicDate; + std::string punishNum; + std::string illegalType; + std::string lawBasis; + std::string entName; + }; + + + GetOcNegativeAdminPunishmentResult(); + explicit GetOcNegativeAdminPunishmentResult(const std::string &payload); + ~GetOcNegativeAdminPunishmentResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEADMINPUNISHMENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentRequest.h new file mode 100644 index 000000000..7c7b85c7e --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVECUSTOMSPUNISHMENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVECUSTOMSPUNISHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeCustomsPunishmentRequest : public RpcServiceRequest { +public: + GetOcNegativeCustomsPunishmentRequest(); + ~GetOcNegativeCustomsPunishmentRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVECUSTOMSPUNISHMENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentResult.h new file mode 100644 index 000000000..de3c2db16 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeCustomsPunishmentResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVECUSTOMSPUNISHMENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVECUSTOMSPUNISHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeCustomsPunishmentResult : public ServiceResult + { + public: + struct DataItem + { + std::string caseNo; + std::string basis; + std::string customs; + std::string legalName; + std::string punishDate; + std::string customsNo; + std::string punishType; + std::string title; + }; + + + GetOcNegativeCustomsPunishmentResult(); + explicit GetOcNegativeCustomsPunishmentResult(const std::string &payload); + ~GetOcNegativeCustomsPunishmentResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVECUSTOMSPUNISHMENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentRequest.h new file mode 100644 index 000000000..e52e102c7 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEENVIRONMENTPUNISHMENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEENVIRONMENTPUNISHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeEnvironmentPunishmentRequest : public RpcServiceRequest { +public: + GetOcNegativeEnvironmentPunishmentRequest(); + ~GetOcNegativeEnvironmentPunishmentRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEENVIRONMENTPUNISHMENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentResult.h new file mode 100644 index 000000000..4bb2cc528 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeEnvironmentPunishmentResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEENVIRONMENTPUNISHMENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEENVIRONMENTPUNISHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeEnvironmentPunishmentResult : public ServiceResult + { + public: + struct DataItem + { + std::string punishRes; + std::string department; + std::string execStatus; + std::string punishDate; + std::string punishLaw; + std::string punishBasis; + std::string punishNum; + std::string punishContent; + std::string entName; + }; + + + GetOcNegativeEnvironmentPunishmentResult(); + explicit GetOcNegativeEnvironmentPunishmentResult(const std::string &payload); + ~GetOcNegativeEnvironmentPunishmentResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEENVIRONMENTPUNISHMENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentRequest.h new file mode 100644 index 000000000..26fc91c19 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEFOODDRUGPUNISHMENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEFOODDRUGPUNISHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeFoodDrugPunishmentRequest : public RpcServiceRequest { +public: + GetOcNegativeFoodDrugPunishmentRequest(); + ~GetOcNegativeFoodDrugPunishmentRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEFOODDRUGPUNISHMENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentResult.h new file mode 100644 index 000000000..b2b3f2e40 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeFoodDrugPunishmentResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEFOODDRUGPUNISHMENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEFOODDRUGPUNISHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeFoodDrugPunishmentResult : public ServiceResult + { + public: + struct DataItem + { + std::string department; + std::string punishDate; + std::string punishResult; + std::string publicDate; + std::string punishNum; + std::string illegalType; + std::string lawBasis; + std::string entName; + }; + + + GetOcNegativeFoodDrugPunishmentResult(); + explicit GetOcNegativeFoodDrugPunishmentResult(const std::string &payload); + ~GetOcNegativeFoodDrugPunishmentResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEFOODDRUGPUNISHMENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentRequest.h new file mode 100644 index 000000000..7a191274e --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEQUALITYPUNISHMENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEQUALITYPUNISHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeQualityPunishmentRequest : public RpcServiceRequest { +public: + GetOcNegativeQualityPunishmentRequest(); + ~GetOcNegativeQualityPunishmentRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEQUALITYPUNISHMENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentResult.h new file mode 100644 index 000000000..c77228523 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcNegativeQualityPunishmentResult.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEQUALITYPUNISHMENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEQUALITYPUNISHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcNegativeQualityPunishmentResult : public ServiceResult + { + public: + struct DataItem + { + std::string eventDate; + std::string department; + std::string eventResult; + std::string pubDate; + std::string title; + std::string entName; + }; + + + GetOcNegativeQualityPunishmentResult(); + explicit GetOcNegativeQualityPunishmentResult(const std::string &payload); + ~GetOcNegativeQualityPunishmentResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCNEGATIVEQUALITYPUNISHMENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingRequest.h new file mode 100644 index 000000000..19fd659d4 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONBIDDINGREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONBIDDINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcOperationBiddingRequest : public RpcServiceRequest { +public: + GetOcOperationBiddingRequest(); + ~GetOcOperationBiddingRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONBIDDINGREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingResult.h new file mode 100644 index 000000000..39b3cdc94 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationBiddingResult.h @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONBIDDINGRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONBIDDINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcOperationBiddingResult : public ServiceResult + { + public: + struct DataItem + { + std::string agentEntName; + std::string subType; + std::string bidIndustry; + std::string projectName; + std::string bidType; + std::string openingTime; + std::string bidTitle; + std::string projectNum; + std::string winnerEntName; + std::string regionName; + std::string content; + std::string projectAmount; + std::string publicDate; + std::string tenderEntName; + std::string entName; + std::string infoType; + }; + + + GetOcOperationBiddingResult(); + explicit GetOcOperationBiddingResult(const std::string &payload); + ~GetOcOperationBiddingResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONBIDDINGRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsRequest.h new file mode 100644 index 000000000..5b03a6f70 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONCUSTOMSREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONCUSTOMSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcOperationCustomsRequest : public RpcServiceRequest { +public: + GetOcOperationCustomsRequest(); + ~GetOcOperationCustomsRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONCUSTOMSREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsResult.h new file mode 100644 index 000000000..ae14b628c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationCustomsResult.h @@ -0,0 +1,82 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONCUSTOMSRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONCUSTOMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcOperationCustomsResult : public ServiceResult + { + public: + struct DataItem + { + std::string adminRegionName; + std::string businessCate; + std::string regDate; + std::string ecoRegionName; + std::string specialArea; + std::string electType; + std::string customsReg; + std::string annualReport; + std::string industryType; + std::string validDate; + std::string identDate; + std::string cancelFlag; + std::string creditLevelsNew; + std::string identCode; + std::string entName; + std::string customsNum; + }; + + + GetOcOperationCustomsResult(); + explicit GetOcOperationCustomsResult(const std::string &payload); + ~GetOcOperationCustomsResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONCUSTOMSRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandRequest.h new file mode 100644 index 000000000..b5e904752 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONPURCHASELANDREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONPURCHASELANDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcOperationPurchaseLandRequest : public RpcServiceRequest { +public: + GetOcOperationPurchaseLandRequest(); + ~GetOcOperationPurchaseLandRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONPURCHASELANDREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandResult.h new file mode 100644 index 000000000..3067cfa2e --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationPurchaseLandResult.h @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONPURCHASELANDRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONPURCHASELANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcOperationPurchaseLandResult : public ServiceResult + { + public: + struct DataItem + { + std::string landUse; + std::string promiseStartDate; + std::string projectName; + std::string landSource; + std::string promiseEndDate; + std::string landLevel; + std::string signingMode; + std::string releaseDate; + std::string useYear; + std::string promiseDeliveryDate; + std::string volumeFractionUpperBound; + std::string industry; + std::string area; + std::string department; + std::string regionName; + std::string price; + std::string electronicNo; + std::string entName; + std::string volumeFractionLowerBound; + std::string location; + }; + + + GetOcOperationPurchaseLandResult(); + explicit GetOcOperationPurchaseLandResult(const std::string &payload); + ~GetOcOperationPurchaseLandResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONPURCHASELANDRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentRequest.h new file mode 100644 index 000000000..cf605b5d2 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONRECRUITMENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONRECRUITMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcOperationRecruitmentRequest : public RpcServiceRequest { +public: + GetOcOperationRecruitmentRequest(); + ~GetOcOperationRecruitmentRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONRECRUITMENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentResult.h new file mode 100644 index 000000000..08affc4c8 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcOperationRecruitmentResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONRECRUITMENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONRECRUITMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcOperationRecruitmentResult : public ServiceResult + { + public: + struct DataItem + { + std::string startDate; + std::string salary; + std::string experience; + std::string publishDate; + std::string description; + std::string recruitingAddress; + std::string pageUrl; + std::string education; + std::string benefitList; + std::string recruitingName; + std::string entName; + std::string endDate; + }; + + + GetOcOperationRecruitmentResult(); + explicit GetOcOperationRecruitmentResult(const std::string &payload); + ~GetOcOperationRecruitmentResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCOPERATIONRECRUITMENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcProductBandRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcProductBandRequest.h new file mode 100644 index 000000000..2481bb4f9 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcProductBandRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCPRODUCTBANDREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCPRODUCTBANDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcProductBandRequest : public RpcServiceRequest { +public: + GetOcProductBandRequest(); + ~GetOcProductBandRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCPRODUCTBANDREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcProductBandResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcProductBandResult.h new file mode 100644 index 000000000..1d2762937 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcProductBandResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCPRODUCTBANDRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCPRODUCTBANDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcProductBandResult : public ServiceResult + { + public: + struct DataItem + { + std::string productName; + std::string productTag; + std::string device; + std::string productLogo; + std::string productWebsite; + std::string productIntroduction; + std::string entName; + std::string brandIntroduction; + }; + + + GetOcProductBandResult(); + explicit GetOcProductBandResult(const std::string &payload); + ~GetOcProductBandResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCPRODUCTBANDRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalRequest.h new file mode 100644 index 000000000..5e670f75d --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXABNORMALREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXABNORMALREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxAbnormalRequest : public RpcServiceRequest { +public: + GetOcTaxAbnormalRequest(); + ~GetOcTaxAbnormalRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXABNORMALREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalResult.h new file mode 100644 index 000000000..f6184f29d --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxAbnormalResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXABNORMALRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXABNORMALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxAbnormalResult : public ServiceResult + { + public: + struct DataItem + { + std::string status; + std::string overdueAmount; + std::string legalName; + std::string judgeDepartment; + std::string cardType; + std::string judgeDate; + std::string cardNum; + std::string overdueType; + std::string judgeReason; + std::string entName; + std::string taxpayerNum; + }; + + + GetOcTaxAbnormalResult(); + explicit GetOcTaxAbnormalResult(const std::string &payload); + ~GetOcTaxAbnormalResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXABNORMALRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxClassARequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxClassARequest.h new file mode 100644 index 000000000..cf9e87f09 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxClassARequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXCLASSAREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXCLASSAREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxClassARequest : public RpcServiceRequest { +public: + GetOcTaxClassARequest(); + ~GetOcTaxClassARequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXCLASSAREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxClassAResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxClassAResult.h new file mode 100644 index 000000000..1ec87aed0 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxClassAResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXCLASSARESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXCLASSARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxClassAResult : public ServiceResult + { + public: + struct DataItem + { + std::string year; + std::string taxLevel; + std::string entName; + std::string taxpayerNum; + }; + + + GetOcTaxClassAResult(); + explicit GetOcTaxClassAResult(const std::string &payload); + ~GetOcTaxClassAResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXCLASSARESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerRequest.h new file mode 100644 index 000000000..365f6a97c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXGENERALTAXPAYERREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXGENERALTAXPAYERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxGeneralTaxpayerRequest : public RpcServiceRequest { +public: + GetOcTaxGeneralTaxpayerRequest(); + ~GetOcTaxGeneralTaxpayerRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXGENERALTAXPAYERREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerResult.h new file mode 100644 index 000000000..266e38449 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxGeneralTaxpayerResult.h @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXGENERALTAXPAYERRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXGENERALTAXPAYERRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxGeneralTaxpayerResult : public ServiceResult + { + public: + struct DataItem + { + std::string startDate; + std::string qualification; + std::string department; + std::string judgeDate; + std::string entName; + std::string taxpayerNum; + std::string endDate; + }; + + + GetOcTaxGeneralTaxpayerResult(); + explicit GetOcTaxGeneralTaxpayerResult(const std::string &payload); + ~GetOcTaxGeneralTaxpayerResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXGENERALTAXPAYERRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalRequest.h new file mode 100644 index 000000000..228eb5ce8 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXILLEGALREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXILLEGALREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxIllegalRequest : public RpcServiceRequest { +public: + GetOcTaxIllegalRequest(); + ~GetOcTaxIllegalRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXILLEGALREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalResult.h new file mode 100644 index 000000000..2f8f874ee --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxIllegalResult.h @@ -0,0 +1,88 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXILLEGALRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXILLEGALRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxIllegalResult : public ServiceResult + { + public: + struct DataItem + { + std::string illegalTruth; + std::string financialSex; + std::string agencyName; + std::string entAddress; + std::string publishDate; + std::string legalName; + std::string financialName; + std::string financialCardType; + std::string agencyEnt; + std::string lawBasis; + std::string legalCardType; + std::string taxpayerNum; + std::string agencySex; + std::string financialCardNum; + std::string legalCardNum; + std::string orgCode; + std::string agencyCardType; + std::string department; + std::string caseType; + std::string legalSex; + std::string agencyCardNum; + std::string entName; + }; + + + GetOcTaxIllegalResult(); + explicit GetOcTaxIllegalResult(const std::string &payload); + ~GetOcTaxIllegalResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXILLEGALRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueRequest.h new file mode 100644 index 000000000..97b536b38 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXOVERDUEREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXOVERDUEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxOverdueRequest : public RpcServiceRequest { +public: + GetOcTaxOverdueRequest(); + ~GetOcTaxOverdueRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXOVERDUEREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueResult.h new file mode 100644 index 000000000..da9df8494 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxOverdueResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXOVERDUERESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXOVERDUERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxOverdueResult : public ServiceResult + { + public: + struct DataItem + { + std::string overdueAmount; + std::string entAddress; + std::string legalName; + std::string department; + std::string publishDate; + std::string currOverdueAmount; + std::string overdueType; + std::string entName; + std::string taxpayerNum; + std::string taxpayerType; + }; + + + GetOcTaxOverdueResult(); + explicit GetOcTaxOverdueResult(const std::string &payload); + ~GetOcTaxOverdueResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXOVERDUERESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentRequest.h new file mode 100644 index 000000000..db60c9976 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXPUNISHMENTREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXPUNISHMENTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxPunishmentRequest : public RpcServiceRequest { +public: + GetOcTaxPunishmentRequest(); + ~GetOcTaxPunishmentRequest(); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSearchKey() const; + void setSearchKey(const std::string &searchKey); + +private: + int pageNo_; + int pageSize_; + std::string searchKey_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXPUNISHMENTREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentResult.h new file mode 100644 index 000000000..0601e96f3 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetOcTaxPunishmentResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXPUNISHMENTRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXPUNISHMENTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetOcTaxPunishmentResult : public ServiceResult + { + public: + struct DataItem + { + std::string legalName; + std::string department; + std::string punishDate; + std::string eventType; + std::string title; + std::string eventName; + std::string entName; + std::string taxpayerNum; + }; + + + GetOcTaxPunishmentResult(); + explicit GetOcTaxPunishmentResult(const std::string &payload); + ~GetOcTaxPunishmentResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETOCTAXPUNISHMENTRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdRequest.h new file mode 100644 index 000000000..df5f661e5 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCCERTIFICATIONDETAILBYIDREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCCERTIFICATIONDETAILBYIDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetQccCertificationDetailByIdRequest : public RpcServiceRequest { +public: + GetQccCertificationDetailByIdRequest(); + ~GetQccCertificationDetailByIdRequest(); + std::string getCertId() const; + void setCertId(const std::string &certId); + +private: + std::string certId_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCCERTIFICATIONDETAILBYIDREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdResult.h new file mode 100644 index 000000000..3650ff3f2 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccCertificationDetailByIdResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCCERTIFICATIONDETAILBYIDRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCCERTIFICATIONDETAILBYIDRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetQccCertificationDetailByIdResult : public ServiceResult + { + public: + + + GetQccCertificationDetailByIdResult(); + explicit GetQccCertificationDetailByIdResult(const std::string &payload); + ~GetQccCertificationDetailByIdResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCCERTIFICATIONDETAILBYIDRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationRequest.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationRequest.h new file mode 100644 index 000000000..c8438424c --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCSEARCHCERTIFICATIONREQUEST_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCSEARCHCERTIFICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Dt_oc_info { +namespace Model { +class ALIBABACLOUD_DT_OC_INFO_EXPORT GetQccSearchCertificationRequest : public RpcServiceRequest { +public: + GetQccSearchCertificationRequest(); + ~GetQccSearchCertificationRequest(); + std::string getCertCategory() const; + void setCertCategory(const std::string &certCategory); + std::string getEntName() const; + void setEntName(const std::string &entName); + int getPageNo() const; + void setPageNo(int pageNo); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string certCategory_; + std::string entName_; + int pageNo_; + int pageSize_; +}; +} // namespace Model +} // namespace Dt_oc_info +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCSEARCHCERTIFICATIONREQUEST_H_ diff --git a/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationResult.h b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationResult.h new file mode 100644 index 000000000..94786f010 --- /dev/null +++ b/dt-oc-info/include/alibabacloud/dt-oc-info/model/GetQccSearchCertificationResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCSEARCHCERTIFICATIONRESULT_H_ +#define ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCSEARCHCERTIFICATIONRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Dt_oc_info + { + namespace Model + { + class ALIBABACLOUD_DT_OC_INFO_EXPORT GetQccSearchCertificationResult : public ServiceResult + { + public: + + + GetQccSearchCertificationResult(); + explicit GetQccSearchCertificationResult(const std::string &payload); + ~GetQccSearchCertificationResult(); + int getTotalNum()const; + std::string getMessage()const; + int getPageNum()const; + std::vector getData()const; + int getPageIndex()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + std::string message_; + int pageNum_; + std::vector data_; + int pageIndex_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_DT_OC_INFO_MODEL_GETQCCSEARCHCERTIFICATIONRESULT_H_ \ No newline at end of file diff --git a/dt-oc-info/src/Dt-oc-infoClient.cc b/dt-oc-info/src/Dt-oc-infoClient.cc new file mode 100644 index 000000000..30e5a8179 --- /dev/null +++ b/dt-oc-info/src/Dt-oc-infoClient.cc @@ -0,0 +1,2033 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +namespace +{ + const std::string SERVICE_NAME = "dt-oc-info"; +} + +Dt_oc_infoClient::Dt_oc_infoClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); +} + +Dt_oc_infoClient::Dt_oc_infoClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); +} + +Dt_oc_infoClient::Dt_oc_infoClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, ""); +} + +Dt_oc_infoClient::~Dt_oc_infoClient() +{} + +Dt_oc_infoClient::GetOcCompetitorsOutcome Dt_oc_infoClient::getOcCompetitors(const GetOcCompetitorsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcCompetitorsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcCompetitorsOutcome(GetOcCompetitorsResult(outcome.result())); + else + return GetOcCompetitorsOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcCompetitorsAsync(const GetOcCompetitorsRequest& request, const GetOcCompetitorsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcCompetitors(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcCompetitorsOutcomeCallable Dt_oc_infoClient::getOcCompetitorsCallable(const GetOcCompetitorsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcCompetitors(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcCoreTeamsOutcome Dt_oc_infoClient::getOcCoreTeams(const GetOcCoreTeamsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcCoreTeamsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcCoreTeamsOutcome(GetOcCoreTeamsResult(outcome.result())); + else + return GetOcCoreTeamsOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcCoreTeamsAsync(const GetOcCoreTeamsRequest& request, const GetOcCoreTeamsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcCoreTeams(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcCoreTeamsOutcomeCallable Dt_oc_infoClient::getOcCoreTeamsCallable(const GetOcCoreTeamsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcCoreTeams(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcFinancingOutcome Dt_oc_infoClient::getOcFinancing(const GetOcFinancingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcFinancingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcFinancingOutcome(GetOcFinancingResult(outcome.result())); + else + return GetOcFinancingOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcFinancingAsync(const GetOcFinancingRequest& request, const GetOcFinancingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcFinancing(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcFinancingOutcomeCallable Dt_oc_infoClient::getOcFinancingCallable(const GetOcFinancingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcFinancing(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcFuzzSearchOutcome Dt_oc_infoClient::getOcFuzzSearch(const GetOcFuzzSearchRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcFuzzSearchOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcFuzzSearchOutcome(GetOcFuzzSearchResult(outcome.result())); + else + return GetOcFuzzSearchOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcFuzzSearchAsync(const GetOcFuzzSearchRequest& request, const GetOcFuzzSearchAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcFuzzSearch(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcFuzzSearchOutcomeCallable Dt_oc_infoClient::getOcFuzzSearchCallable(const GetOcFuzzSearchRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcFuzzSearch(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcAbnormalOperationOutcome Dt_oc_infoClient::getOcIcAbnormalOperation(const GetOcIcAbnormalOperationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcAbnormalOperationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcAbnormalOperationOutcome(GetOcIcAbnormalOperationResult(outcome.result())); + else + return GetOcIcAbnormalOperationOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcAbnormalOperationAsync(const GetOcIcAbnormalOperationRequest& request, const GetOcIcAbnormalOperationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcAbnormalOperation(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcAbnormalOperationOutcomeCallable Dt_oc_infoClient::getOcIcAbnormalOperationCallable(const GetOcIcAbnormalOperationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcAbnormalOperation(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcAdminLicenseOutcome Dt_oc_infoClient::getOcIcAdminLicense(const GetOcIcAdminLicenseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcAdminLicenseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcAdminLicenseOutcome(GetOcIcAdminLicenseResult(outcome.result())); + else + return GetOcIcAdminLicenseOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcAdminLicenseAsync(const GetOcIcAdminLicenseRequest& request, const GetOcIcAdminLicenseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcAdminLicense(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcAdminLicenseOutcomeCallable Dt_oc_infoClient::getOcIcAdminLicenseCallable(const GetOcIcAdminLicenseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcAdminLicense(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcBasicOutcome Dt_oc_infoClient::getOcIcBasic(const GetOcIcBasicRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcBasicOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcBasicOutcome(GetOcIcBasicResult(outcome.result())); + else + return GetOcIcBasicOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcBasicAsync(const GetOcIcBasicRequest& request, const GetOcIcBasicAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcBasic(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcBasicOutcomeCallable Dt_oc_infoClient::getOcIcBasicCallable(const GetOcIcBasicRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcBasic(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcBranchOutcome Dt_oc_infoClient::getOcIcBranch(const GetOcIcBranchRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcBranchOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcBranchOutcome(GetOcIcBranchResult(outcome.result())); + else + return GetOcIcBranchOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcBranchAsync(const GetOcIcBranchRequest& request, const GetOcIcBranchAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcBranch(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcBranchOutcomeCallable Dt_oc_infoClient::getOcIcBranchCallable(const GetOcIcBranchRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcBranch(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcChangeRecordOutcome Dt_oc_infoClient::getOcIcChangeRecord(const GetOcIcChangeRecordRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcChangeRecordOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcChangeRecordOutcome(GetOcIcChangeRecordResult(outcome.result())); + else + return GetOcIcChangeRecordOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcChangeRecordAsync(const GetOcIcChangeRecordRequest& request, const GetOcIcChangeRecordAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcChangeRecord(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcChangeRecordOutcomeCallable Dt_oc_infoClient::getOcIcChangeRecordCallable(const GetOcIcChangeRecordRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcChangeRecord(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcCheckupOutcome Dt_oc_infoClient::getOcIcCheckup(const GetOcIcCheckupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcCheckupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcCheckupOutcome(GetOcIcCheckupResult(outcome.result())); + else + return GetOcIcCheckupOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcCheckupAsync(const GetOcIcCheckupRequest& request, const GetOcIcCheckupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcCheckup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcCheckupOutcomeCallable Dt_oc_infoClient::getOcIcCheckupCallable(const GetOcIcCheckupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcCheckup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcClearAccountOutcome Dt_oc_infoClient::getOcIcClearAccount(const GetOcIcClearAccountRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcClearAccountOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcClearAccountOutcome(GetOcIcClearAccountResult(outcome.result())); + else + return GetOcIcClearAccountOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcClearAccountAsync(const GetOcIcClearAccountRequest& request, const GetOcIcClearAccountAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcClearAccount(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcClearAccountOutcomeCallable Dt_oc_infoClient::getOcIcClearAccountCallable(const GetOcIcClearAccountRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcClearAccount(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcDoubleCheckupOutcome Dt_oc_infoClient::getOcIcDoubleCheckup(const GetOcIcDoubleCheckupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcDoubleCheckupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcDoubleCheckupOutcome(GetOcIcDoubleCheckupResult(outcome.result())); + else + return GetOcIcDoubleCheckupOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcDoubleCheckupAsync(const GetOcIcDoubleCheckupRequest& request, const GetOcIcDoubleCheckupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcDoubleCheckup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcDoubleCheckupOutcomeCallable Dt_oc_infoClient::getOcIcDoubleCheckupCallable(const GetOcIcDoubleCheckupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcDoubleCheckup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcEmployeeOutcome Dt_oc_infoClient::getOcIcEmployee(const GetOcIcEmployeeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcEmployeeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcEmployeeOutcome(GetOcIcEmployeeResult(outcome.result())); + else + return GetOcIcEmployeeOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcEmployeeAsync(const GetOcIcEmployeeRequest& request, const GetOcIcEmployeeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcEmployee(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcEmployeeOutcomeCallable Dt_oc_infoClient::getOcIcEmployeeCallable(const GetOcIcEmployeeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcEmployee(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcEquityFrozenOutcome Dt_oc_infoClient::getOcIcEquityFrozen(const GetOcIcEquityFrozenRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcEquityFrozenOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcEquityFrozenOutcome(GetOcIcEquityFrozenResult(outcome.result())); + else + return GetOcIcEquityFrozenOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcEquityFrozenAsync(const GetOcIcEquityFrozenRequest& request, const GetOcIcEquityFrozenAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcEquityFrozen(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcEquityFrozenOutcomeCallable Dt_oc_infoClient::getOcIcEquityFrozenCallable(const GetOcIcEquityFrozenRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcEquityFrozen(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcEquityPledgeOutcome Dt_oc_infoClient::getOcIcEquityPledge(const GetOcIcEquityPledgeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcEquityPledgeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcEquityPledgeOutcome(GetOcIcEquityPledgeResult(outcome.result())); + else + return GetOcIcEquityPledgeOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcEquityPledgeAsync(const GetOcIcEquityPledgeRequest& request, const GetOcIcEquityPledgeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcEquityPledge(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcEquityPledgeOutcomeCallable Dt_oc_infoClient::getOcIcEquityPledgeCallable(const GetOcIcEquityPledgeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcEquityPledge(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcInvestmentOutcome Dt_oc_infoClient::getOcIcInvestment(const GetOcIcInvestmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcInvestmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcInvestmentOutcome(GetOcIcInvestmentResult(outcome.result())); + else + return GetOcIcInvestmentOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcInvestmentAsync(const GetOcIcInvestmentRequest& request, const GetOcIcInvestmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcInvestment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcInvestmentOutcomeCallable Dt_oc_infoClient::getOcIcInvestmentCallable(const GetOcIcInvestmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcInvestment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcKnowledgePropertyPledgeOutcome Dt_oc_infoClient::getOcIcKnowledgePropertyPledge(const GetOcIcKnowledgePropertyPledgeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcKnowledgePropertyPledgeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcKnowledgePropertyPledgeOutcome(GetOcIcKnowledgePropertyPledgeResult(outcome.result())); + else + return GetOcIcKnowledgePropertyPledgeOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcKnowledgePropertyPledgeAsync(const GetOcIcKnowledgePropertyPledgeRequest& request, const GetOcIcKnowledgePropertyPledgeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcKnowledgePropertyPledge(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcKnowledgePropertyPledgeOutcomeCallable Dt_oc_infoClient::getOcIcKnowledgePropertyPledgeCallable(const GetOcIcKnowledgePropertyPledgeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcKnowledgePropertyPledge(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcMortgageOutcome Dt_oc_infoClient::getOcIcMortgage(const GetOcIcMortgageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcMortgageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcMortgageOutcome(GetOcIcMortgageResult(outcome.result())); + else + return GetOcIcMortgageOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcMortgageAsync(const GetOcIcMortgageRequest& request, const GetOcIcMortgageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcMortgage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcMortgageOutcomeCallable Dt_oc_infoClient::getOcIcMortgageCallable(const GetOcIcMortgageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcMortgage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcSeriousOffenseOutcome Dt_oc_infoClient::getOcIcSeriousOffense(const GetOcIcSeriousOffenseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcSeriousOffenseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcSeriousOffenseOutcome(GetOcIcSeriousOffenseResult(outcome.result())); + else + return GetOcIcSeriousOffenseOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcSeriousOffenseAsync(const GetOcIcSeriousOffenseRequest& request, const GetOcIcSeriousOffenseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcSeriousOffense(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcSeriousOffenseOutcomeCallable Dt_oc_infoClient::getOcIcSeriousOffenseCallable(const GetOcIcSeriousOffenseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcSeriousOffense(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcShareholderOutcome Dt_oc_infoClient::getOcIcShareholder(const GetOcIcShareholderRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcShareholderOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcShareholderOutcome(GetOcIcShareholderResult(outcome.result())); + else + return GetOcIcShareholderOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcShareholderAsync(const GetOcIcShareholderRequest& request, const GetOcIcShareholderAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcShareholder(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcShareholderOutcomeCallable Dt_oc_infoClient::getOcIcShareholderCallable(const GetOcIcShareholderRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcShareholder(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIcSimpleCancelOutcome Dt_oc_infoClient::getOcIcSimpleCancel(const GetOcIcSimpleCancelRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIcSimpleCancelOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIcSimpleCancelOutcome(GetOcIcSimpleCancelResult(outcome.result())); + else + return GetOcIcSimpleCancelOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIcSimpleCancelAsync(const GetOcIcSimpleCancelRequest& request, const GetOcIcSimpleCancelAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIcSimpleCancel(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIcSimpleCancelOutcomeCallable Dt_oc_infoClient::getOcIcSimpleCancelCallable(const GetOcIcSimpleCancelRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIcSimpleCancel(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIpCertificateOutcome Dt_oc_infoClient::getOcIpCertificate(const GetOcIpCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIpCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIpCertificateOutcome(GetOcIpCertificateResult(outcome.result())); + else + return GetOcIpCertificateOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIpCertificateAsync(const GetOcIpCertificateRequest& request, const GetOcIpCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIpCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIpCertificateOutcomeCallable Dt_oc_infoClient::getOcIpCertificateCallable(const GetOcIpCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIpCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIpDomainOutcome Dt_oc_infoClient::getOcIpDomain(const GetOcIpDomainRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIpDomainOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIpDomainOutcome(GetOcIpDomainResult(outcome.result())); + else + return GetOcIpDomainOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIpDomainAsync(const GetOcIpDomainRequest& request, const GetOcIpDomainAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIpDomain(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIpDomainOutcomeCallable Dt_oc_infoClient::getOcIpDomainCallable(const GetOcIpDomainRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIpDomain(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIpPatentOutcome Dt_oc_infoClient::getOcIpPatent(const GetOcIpPatentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIpPatentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIpPatentOutcome(GetOcIpPatentResult(outcome.result())); + else + return GetOcIpPatentOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIpPatentAsync(const GetOcIpPatentRequest& request, const GetOcIpPatentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIpPatent(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIpPatentOutcomeCallable Dt_oc_infoClient::getOcIpPatentCallable(const GetOcIpPatentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIpPatent(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIpSoftwareCopyrightOutcome Dt_oc_infoClient::getOcIpSoftwareCopyright(const GetOcIpSoftwareCopyrightRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIpSoftwareCopyrightOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIpSoftwareCopyrightOutcome(GetOcIpSoftwareCopyrightResult(outcome.result())); + else + return GetOcIpSoftwareCopyrightOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIpSoftwareCopyrightAsync(const GetOcIpSoftwareCopyrightRequest& request, const GetOcIpSoftwareCopyrightAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIpSoftwareCopyright(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIpSoftwareCopyrightOutcomeCallable Dt_oc_infoClient::getOcIpSoftwareCopyrightCallable(const GetOcIpSoftwareCopyrightRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIpSoftwareCopyright(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIpTrademarkOutcome Dt_oc_infoClient::getOcIpTrademark(const GetOcIpTrademarkRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIpTrademarkOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIpTrademarkOutcome(GetOcIpTrademarkResult(outcome.result())); + else + return GetOcIpTrademarkOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIpTrademarkAsync(const GetOcIpTrademarkRequest& request, const GetOcIpTrademarkAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIpTrademark(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIpTrademarkOutcomeCallable Dt_oc_infoClient::getOcIpTrademarkCallable(const GetOcIpTrademarkRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIpTrademark(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcIpWorksCopyrightOutcome Dt_oc_infoClient::getOcIpWorksCopyright(const GetOcIpWorksCopyrightRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcIpWorksCopyrightOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcIpWorksCopyrightOutcome(GetOcIpWorksCopyrightResult(outcome.result())); + else + return GetOcIpWorksCopyrightOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcIpWorksCopyrightAsync(const GetOcIpWorksCopyrightRequest& request, const GetOcIpWorksCopyrightAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcIpWorksCopyright(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcIpWorksCopyrightOutcomeCallable Dt_oc_infoClient::getOcIpWorksCopyrightCallable(const GetOcIpWorksCopyrightRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcIpWorksCopyright(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcJusticeAuctionOutcome Dt_oc_infoClient::getOcJusticeAuction(const GetOcJusticeAuctionRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcJusticeAuctionOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcJusticeAuctionOutcome(GetOcJusticeAuctionResult(outcome.result())); + else + return GetOcJusticeAuctionOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcJusticeAuctionAsync(const GetOcJusticeAuctionRequest& request, const GetOcJusticeAuctionAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcJusticeAuction(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcJusticeAuctionOutcomeCallable Dt_oc_infoClient::getOcJusticeAuctionCallable(const GetOcJusticeAuctionRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcJusticeAuction(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcJusticeCaseFilingOutcome Dt_oc_infoClient::getOcJusticeCaseFiling(const GetOcJusticeCaseFilingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcJusticeCaseFilingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcJusticeCaseFilingOutcome(GetOcJusticeCaseFilingResult(outcome.result())); + else + return GetOcJusticeCaseFilingOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcJusticeCaseFilingAsync(const GetOcJusticeCaseFilingRequest& request, const GetOcJusticeCaseFilingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcJusticeCaseFiling(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcJusticeCaseFilingOutcomeCallable Dt_oc_infoClient::getOcJusticeCaseFilingCallable(const GetOcJusticeCaseFilingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcJusticeCaseFiling(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcJusticeCourtAnnouncementOutcome Dt_oc_infoClient::getOcJusticeCourtAnnouncement(const GetOcJusticeCourtAnnouncementRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcJusticeCourtAnnouncementOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcJusticeCourtAnnouncementOutcome(GetOcJusticeCourtAnnouncementResult(outcome.result())); + else + return GetOcJusticeCourtAnnouncementOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcJusticeCourtAnnouncementAsync(const GetOcJusticeCourtAnnouncementRequest& request, const GetOcJusticeCourtAnnouncementAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcJusticeCourtAnnouncement(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcJusticeCourtAnnouncementOutcomeCallable Dt_oc_infoClient::getOcJusticeCourtAnnouncementCallable(const GetOcJusticeCourtAnnouncementRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcJusticeCourtAnnouncement(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcJusticeCourtNoticeOutcome Dt_oc_infoClient::getOcJusticeCourtNotice(const GetOcJusticeCourtNoticeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcJusticeCourtNoticeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcJusticeCourtNoticeOutcome(GetOcJusticeCourtNoticeResult(outcome.result())); + else + return GetOcJusticeCourtNoticeOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcJusticeCourtNoticeAsync(const GetOcJusticeCourtNoticeRequest& request, const GetOcJusticeCourtNoticeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcJusticeCourtNotice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcJusticeCourtNoticeOutcomeCallable Dt_oc_infoClient::getOcJusticeCourtNoticeCallable(const GetOcJusticeCourtNoticeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcJusticeCourtNotice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcJusticeDishonestyOutcome Dt_oc_infoClient::getOcJusticeDishonesty(const GetOcJusticeDishonestyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcJusticeDishonestyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcJusticeDishonestyOutcome(GetOcJusticeDishonestyResult(outcome.result())); + else + return GetOcJusticeDishonestyOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcJusticeDishonestyAsync(const GetOcJusticeDishonestyRequest& request, const GetOcJusticeDishonestyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcJusticeDishonesty(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcJusticeDishonestyOutcomeCallable Dt_oc_infoClient::getOcJusticeDishonestyCallable(const GetOcJusticeDishonestyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcJusticeDishonesty(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcJusticeExecutedOutcome Dt_oc_infoClient::getOcJusticeExecuted(const GetOcJusticeExecutedRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcJusticeExecutedOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcJusticeExecutedOutcome(GetOcJusticeExecutedResult(outcome.result())); + else + return GetOcJusticeExecutedOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcJusticeExecutedAsync(const GetOcJusticeExecutedRequest& request, const GetOcJusticeExecutedAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcJusticeExecuted(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcJusticeExecutedOutcomeCallable Dt_oc_infoClient::getOcJusticeExecutedCallable(const GetOcJusticeExecutedRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcJusticeExecuted(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcJusticeJudgementDocOutcome Dt_oc_infoClient::getOcJusticeJudgementDoc(const GetOcJusticeJudgementDocRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcJusticeJudgementDocOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcJusticeJudgementDocOutcome(GetOcJusticeJudgementDocResult(outcome.result())); + else + return GetOcJusticeJudgementDocOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcJusticeJudgementDocAsync(const GetOcJusticeJudgementDocRequest& request, const GetOcJusticeJudgementDocAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcJusticeJudgementDoc(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcJusticeJudgementDocOutcomeCallable Dt_oc_infoClient::getOcJusticeJudgementDocCallable(const GetOcJusticeJudgementDocRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcJusticeJudgementDoc(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcJusticeLimitHighConsumeOutcome Dt_oc_infoClient::getOcJusticeLimitHighConsume(const GetOcJusticeLimitHighConsumeRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcJusticeLimitHighConsumeOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcJusticeLimitHighConsumeOutcome(GetOcJusticeLimitHighConsumeResult(outcome.result())); + else + return GetOcJusticeLimitHighConsumeOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcJusticeLimitHighConsumeAsync(const GetOcJusticeLimitHighConsumeRequest& request, const GetOcJusticeLimitHighConsumeAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcJusticeLimitHighConsume(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcJusticeLimitHighConsumeOutcomeCallable Dt_oc_infoClient::getOcJusticeLimitHighConsumeCallable(const GetOcJusticeLimitHighConsumeRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcJusticeLimitHighConsume(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcJusticeTerminalCaseOutcome Dt_oc_infoClient::getOcJusticeTerminalCase(const GetOcJusticeTerminalCaseRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcJusticeTerminalCaseOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcJusticeTerminalCaseOutcome(GetOcJusticeTerminalCaseResult(outcome.result())); + else + return GetOcJusticeTerminalCaseOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcJusticeTerminalCaseAsync(const GetOcJusticeTerminalCaseRequest& request, const GetOcJusticeTerminalCaseAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcJusticeTerminalCase(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcJusticeTerminalCaseOutcomeCallable Dt_oc_infoClient::getOcJusticeTerminalCaseCallable(const GetOcJusticeTerminalCaseRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcJusticeTerminalCase(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcListedCompanyOutcome Dt_oc_infoClient::getOcListedCompany(const GetOcListedCompanyRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcListedCompanyOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcListedCompanyOutcome(GetOcListedCompanyResult(outcome.result())); + else + return GetOcListedCompanyOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcListedCompanyAsync(const GetOcListedCompanyRequest& request, const GetOcListedCompanyAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcListedCompany(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcListedCompanyOutcomeCallable Dt_oc_infoClient::getOcListedCompanyCallable(const GetOcListedCompanyRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcListedCompany(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcNegativeAdminPunishmentOutcome Dt_oc_infoClient::getOcNegativeAdminPunishment(const GetOcNegativeAdminPunishmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcNegativeAdminPunishmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcNegativeAdminPunishmentOutcome(GetOcNegativeAdminPunishmentResult(outcome.result())); + else + return GetOcNegativeAdminPunishmentOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcNegativeAdminPunishmentAsync(const GetOcNegativeAdminPunishmentRequest& request, const GetOcNegativeAdminPunishmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcNegativeAdminPunishment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcNegativeAdminPunishmentOutcomeCallable Dt_oc_infoClient::getOcNegativeAdminPunishmentCallable(const GetOcNegativeAdminPunishmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcNegativeAdminPunishment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcNegativeCustomsPunishmentOutcome Dt_oc_infoClient::getOcNegativeCustomsPunishment(const GetOcNegativeCustomsPunishmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcNegativeCustomsPunishmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcNegativeCustomsPunishmentOutcome(GetOcNegativeCustomsPunishmentResult(outcome.result())); + else + return GetOcNegativeCustomsPunishmentOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcNegativeCustomsPunishmentAsync(const GetOcNegativeCustomsPunishmentRequest& request, const GetOcNegativeCustomsPunishmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcNegativeCustomsPunishment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcNegativeCustomsPunishmentOutcomeCallable Dt_oc_infoClient::getOcNegativeCustomsPunishmentCallable(const GetOcNegativeCustomsPunishmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcNegativeCustomsPunishment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcNegativeEnvironmentPunishmentOutcome Dt_oc_infoClient::getOcNegativeEnvironmentPunishment(const GetOcNegativeEnvironmentPunishmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcNegativeEnvironmentPunishmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcNegativeEnvironmentPunishmentOutcome(GetOcNegativeEnvironmentPunishmentResult(outcome.result())); + else + return GetOcNegativeEnvironmentPunishmentOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcNegativeEnvironmentPunishmentAsync(const GetOcNegativeEnvironmentPunishmentRequest& request, const GetOcNegativeEnvironmentPunishmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcNegativeEnvironmentPunishment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcNegativeEnvironmentPunishmentOutcomeCallable Dt_oc_infoClient::getOcNegativeEnvironmentPunishmentCallable(const GetOcNegativeEnvironmentPunishmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcNegativeEnvironmentPunishment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcNegativeFoodDrugPunishmentOutcome Dt_oc_infoClient::getOcNegativeFoodDrugPunishment(const GetOcNegativeFoodDrugPunishmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcNegativeFoodDrugPunishmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcNegativeFoodDrugPunishmentOutcome(GetOcNegativeFoodDrugPunishmentResult(outcome.result())); + else + return GetOcNegativeFoodDrugPunishmentOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcNegativeFoodDrugPunishmentAsync(const GetOcNegativeFoodDrugPunishmentRequest& request, const GetOcNegativeFoodDrugPunishmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcNegativeFoodDrugPunishment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcNegativeFoodDrugPunishmentOutcomeCallable Dt_oc_infoClient::getOcNegativeFoodDrugPunishmentCallable(const GetOcNegativeFoodDrugPunishmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcNegativeFoodDrugPunishment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcNegativeQualityPunishmentOutcome Dt_oc_infoClient::getOcNegativeQualityPunishment(const GetOcNegativeQualityPunishmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcNegativeQualityPunishmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcNegativeQualityPunishmentOutcome(GetOcNegativeQualityPunishmentResult(outcome.result())); + else + return GetOcNegativeQualityPunishmentOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcNegativeQualityPunishmentAsync(const GetOcNegativeQualityPunishmentRequest& request, const GetOcNegativeQualityPunishmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcNegativeQualityPunishment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcNegativeQualityPunishmentOutcomeCallable Dt_oc_infoClient::getOcNegativeQualityPunishmentCallable(const GetOcNegativeQualityPunishmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcNegativeQualityPunishment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcOperationBiddingOutcome Dt_oc_infoClient::getOcOperationBidding(const GetOcOperationBiddingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcOperationBiddingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcOperationBiddingOutcome(GetOcOperationBiddingResult(outcome.result())); + else + return GetOcOperationBiddingOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcOperationBiddingAsync(const GetOcOperationBiddingRequest& request, const GetOcOperationBiddingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcOperationBidding(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcOperationBiddingOutcomeCallable Dt_oc_infoClient::getOcOperationBiddingCallable(const GetOcOperationBiddingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcOperationBidding(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcOperationCustomsOutcome Dt_oc_infoClient::getOcOperationCustoms(const GetOcOperationCustomsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcOperationCustomsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcOperationCustomsOutcome(GetOcOperationCustomsResult(outcome.result())); + else + return GetOcOperationCustomsOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcOperationCustomsAsync(const GetOcOperationCustomsRequest& request, const GetOcOperationCustomsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcOperationCustoms(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcOperationCustomsOutcomeCallable Dt_oc_infoClient::getOcOperationCustomsCallable(const GetOcOperationCustomsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcOperationCustoms(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcOperationPurchaseLandOutcome Dt_oc_infoClient::getOcOperationPurchaseLand(const GetOcOperationPurchaseLandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcOperationPurchaseLandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcOperationPurchaseLandOutcome(GetOcOperationPurchaseLandResult(outcome.result())); + else + return GetOcOperationPurchaseLandOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcOperationPurchaseLandAsync(const GetOcOperationPurchaseLandRequest& request, const GetOcOperationPurchaseLandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcOperationPurchaseLand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcOperationPurchaseLandOutcomeCallable Dt_oc_infoClient::getOcOperationPurchaseLandCallable(const GetOcOperationPurchaseLandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcOperationPurchaseLand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcOperationRecruitmentOutcome Dt_oc_infoClient::getOcOperationRecruitment(const GetOcOperationRecruitmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcOperationRecruitmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcOperationRecruitmentOutcome(GetOcOperationRecruitmentResult(outcome.result())); + else + return GetOcOperationRecruitmentOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcOperationRecruitmentAsync(const GetOcOperationRecruitmentRequest& request, const GetOcOperationRecruitmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcOperationRecruitment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcOperationRecruitmentOutcomeCallable Dt_oc_infoClient::getOcOperationRecruitmentCallable(const GetOcOperationRecruitmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcOperationRecruitment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcProductBandOutcome Dt_oc_infoClient::getOcProductBand(const GetOcProductBandRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcProductBandOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcProductBandOutcome(GetOcProductBandResult(outcome.result())); + else + return GetOcProductBandOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcProductBandAsync(const GetOcProductBandRequest& request, const GetOcProductBandAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcProductBand(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcProductBandOutcomeCallable Dt_oc_infoClient::getOcProductBandCallable(const GetOcProductBandRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcProductBand(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcTaxAbnormalOutcome Dt_oc_infoClient::getOcTaxAbnormal(const GetOcTaxAbnormalRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcTaxAbnormalOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcTaxAbnormalOutcome(GetOcTaxAbnormalResult(outcome.result())); + else + return GetOcTaxAbnormalOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcTaxAbnormalAsync(const GetOcTaxAbnormalRequest& request, const GetOcTaxAbnormalAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcTaxAbnormal(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcTaxAbnormalOutcomeCallable Dt_oc_infoClient::getOcTaxAbnormalCallable(const GetOcTaxAbnormalRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcTaxAbnormal(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcTaxClassAOutcome Dt_oc_infoClient::getOcTaxClassA(const GetOcTaxClassARequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcTaxClassAOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcTaxClassAOutcome(GetOcTaxClassAResult(outcome.result())); + else + return GetOcTaxClassAOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcTaxClassAAsync(const GetOcTaxClassARequest& request, const GetOcTaxClassAAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcTaxClassA(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcTaxClassAOutcomeCallable Dt_oc_infoClient::getOcTaxClassACallable(const GetOcTaxClassARequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcTaxClassA(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcTaxGeneralTaxpayerOutcome Dt_oc_infoClient::getOcTaxGeneralTaxpayer(const GetOcTaxGeneralTaxpayerRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcTaxGeneralTaxpayerOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcTaxGeneralTaxpayerOutcome(GetOcTaxGeneralTaxpayerResult(outcome.result())); + else + return GetOcTaxGeneralTaxpayerOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcTaxGeneralTaxpayerAsync(const GetOcTaxGeneralTaxpayerRequest& request, const GetOcTaxGeneralTaxpayerAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcTaxGeneralTaxpayer(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcTaxGeneralTaxpayerOutcomeCallable Dt_oc_infoClient::getOcTaxGeneralTaxpayerCallable(const GetOcTaxGeneralTaxpayerRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcTaxGeneralTaxpayer(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcTaxIllegalOutcome Dt_oc_infoClient::getOcTaxIllegal(const GetOcTaxIllegalRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcTaxIllegalOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcTaxIllegalOutcome(GetOcTaxIllegalResult(outcome.result())); + else + return GetOcTaxIllegalOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcTaxIllegalAsync(const GetOcTaxIllegalRequest& request, const GetOcTaxIllegalAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcTaxIllegal(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcTaxIllegalOutcomeCallable Dt_oc_infoClient::getOcTaxIllegalCallable(const GetOcTaxIllegalRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcTaxIllegal(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcTaxOverdueOutcome Dt_oc_infoClient::getOcTaxOverdue(const GetOcTaxOverdueRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcTaxOverdueOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcTaxOverdueOutcome(GetOcTaxOverdueResult(outcome.result())); + else + return GetOcTaxOverdueOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcTaxOverdueAsync(const GetOcTaxOverdueRequest& request, const GetOcTaxOverdueAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcTaxOverdue(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcTaxOverdueOutcomeCallable Dt_oc_infoClient::getOcTaxOverdueCallable(const GetOcTaxOverdueRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcTaxOverdue(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetOcTaxPunishmentOutcome Dt_oc_infoClient::getOcTaxPunishment(const GetOcTaxPunishmentRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetOcTaxPunishmentOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetOcTaxPunishmentOutcome(GetOcTaxPunishmentResult(outcome.result())); + else + return GetOcTaxPunishmentOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getOcTaxPunishmentAsync(const GetOcTaxPunishmentRequest& request, const GetOcTaxPunishmentAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getOcTaxPunishment(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetOcTaxPunishmentOutcomeCallable Dt_oc_infoClient::getOcTaxPunishmentCallable(const GetOcTaxPunishmentRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getOcTaxPunishment(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetQccCertificationDetailByIdOutcome Dt_oc_infoClient::getQccCertificationDetailById(const GetQccCertificationDetailByIdRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetQccCertificationDetailByIdOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetQccCertificationDetailByIdOutcome(GetQccCertificationDetailByIdResult(outcome.result())); + else + return GetQccCertificationDetailByIdOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getQccCertificationDetailByIdAsync(const GetQccCertificationDetailByIdRequest& request, const GetQccCertificationDetailByIdAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getQccCertificationDetailById(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetQccCertificationDetailByIdOutcomeCallable Dt_oc_infoClient::getQccCertificationDetailByIdCallable(const GetQccCertificationDetailByIdRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getQccCertificationDetailById(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +Dt_oc_infoClient::GetQccSearchCertificationOutcome Dt_oc_infoClient::getQccSearchCertification(const GetQccSearchCertificationRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetQccSearchCertificationOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetQccSearchCertificationOutcome(GetQccSearchCertificationResult(outcome.result())); + else + return GetQccSearchCertificationOutcome(outcome.error()); +} + +void Dt_oc_infoClient::getQccSearchCertificationAsync(const GetQccSearchCertificationRequest& request, const GetQccSearchCertificationAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getQccSearchCertification(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +Dt_oc_infoClient::GetQccSearchCertificationOutcomeCallable Dt_oc_infoClient::getQccSearchCertificationCallable(const GetQccSearchCertificationRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getQccSearchCertification(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/dt-oc-info/src/model/GetOcCompetitorsRequest.cc b/dt-oc-info/src/model/GetOcCompetitorsRequest.cc new file mode 100644 index 000000000..cdf5180c6 --- /dev/null +++ b/dt-oc-info/src/model/GetOcCompetitorsRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcCompetitorsRequest; + +GetOcCompetitorsRequest::GetOcCompetitorsRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcCompetitors") { + setMethod(HttpRequest::Method::Post); +} + +GetOcCompetitorsRequest::~GetOcCompetitorsRequest() {} + +int GetOcCompetitorsRequest::getPageNo() const { + return pageNo_; +} + +void GetOcCompetitorsRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcCompetitorsRequest::getPageSize() const { + return pageSize_; +} + +void GetOcCompetitorsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcCompetitorsRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcCompetitorsRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcCompetitorsResult.cc b/dt-oc-info/src/model/GetOcCompetitorsResult.cc new file mode 100644 index 000000000..c0ba4417b --- /dev/null +++ b/dt-oc-info/src/model/GetOcCompetitorsResult.cc @@ -0,0 +1,119 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcCompetitorsResult::GetOcCompetitorsResult() : + ServiceResult() +{} + +GetOcCompetitorsResult::GetOcCompetitorsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcCompetitorsResult::~GetOcCompetitorsResult() +{} + +void GetOcCompetitorsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["CompetitionProductName"].isNull()) + dataObject.competitionProductName = valueDataDataItem["CompetitionProductName"].asString(); + if(!valueDataDataItem["CompetitionEntName"].isNull()) + dataObject.competitionEntName = valueDataDataItem["CompetitionEntName"].asString(); + if(!valueDataDataItem["CompetitionWebsite"].isNull()) + dataObject.competitionWebsite = valueDataDataItem["CompetitionWebsite"].asString(); + if(!valueDataDataItem["CompetitionTag"].isNull()) + dataObject.competitionTag = valueDataDataItem["CompetitionTag"].asString(); + if(!valueDataDataItem["CompetitionLogoUrl"].isNull()) + dataObject.competitionLogoUrl = valueDataDataItem["CompetitionLogoUrl"].asString(); + if(!valueDataDataItem["CompetitionIntroduction"].isNull()) + dataObject.competitionIntroduction = valueDataDataItem["CompetitionIntroduction"].asString(); + if(!valueDataDataItem["CompetitionBrandIntroduction"].isNull()) + dataObject.competitionBrandIntroduction = valueDataDataItem["CompetitionBrandIntroduction"].asString(); + if(!valueDataDataItem["CompetitionEntFinTurn"].isNull()) + dataObject.competitionEntFinTurn = valueDataDataItem["CompetitionEntFinTurn"].asString(); + if(!valueDataDataItem["CompetitionEntAddress"].isNull()) + dataObject.competitionEntAddress = valueDataDataItem["CompetitionEntAddress"].asString(); + if(!valueDataDataItem["CompetitionEntEsDate"].isNull()) + dataObject.competitionEntEsDate = valueDataDataItem["CompetitionEntEsDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcCompetitorsResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcCompetitorsResult::getMessage()const +{ + return message_; +} + +int GetOcCompetitorsResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcCompetitorsResult::getData()const +{ + return data_; +} + +int GetOcCompetitorsResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcCompetitorsResult::getCode()const +{ + return code_; +} + +bool GetOcCompetitorsResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcCoreTeamsRequest.cc b/dt-oc-info/src/model/GetOcCoreTeamsRequest.cc new file mode 100644 index 000000000..348d972bb --- /dev/null +++ b/dt-oc-info/src/model/GetOcCoreTeamsRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcCoreTeamsRequest; + +GetOcCoreTeamsRequest::GetOcCoreTeamsRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcCoreTeams") { + setMethod(HttpRequest::Method::Post); +} + +GetOcCoreTeamsRequest::~GetOcCoreTeamsRequest() {} + +int GetOcCoreTeamsRequest::getPageNo() const { + return pageNo_; +} + +void GetOcCoreTeamsRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcCoreTeamsRequest::getPageSize() const { + return pageSize_; +} + +void GetOcCoreTeamsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcCoreTeamsRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcCoreTeamsRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcCoreTeamsResult.cc b/dt-oc-info/src/model/GetOcCoreTeamsResult.cc new file mode 100644 index 000000000..59f92a33c --- /dev/null +++ b/dt-oc-info/src/model/GetOcCoreTeamsResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcCoreTeamsResult::GetOcCoreTeamsResult() : + ServiceResult() +{} + +GetOcCoreTeamsResult::GetOcCoreTeamsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcCoreTeamsResult::~GetOcCoreTeamsResult() +{} + +void GetOcCoreTeamsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["MemberName"].isNull()) + dataObject.memberName = valueDataDataItem["MemberName"].asString(); + if(!valueDataDataItem["MemberPosition"].isNull()) + dataObject.memberPosition = valueDataDataItem["MemberPosition"].asString(); + if(!valueDataDataItem["MemberIntroduction"].isNull()) + dataObject.memberIntroduction = valueDataDataItem["MemberIntroduction"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcCoreTeamsResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcCoreTeamsResult::getMessage()const +{ + return message_; +} + +int GetOcCoreTeamsResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcCoreTeamsResult::getData()const +{ + return data_; +} + +int GetOcCoreTeamsResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcCoreTeamsResult::getCode()const +{ + return code_; +} + +bool GetOcCoreTeamsResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcFinancingRequest.cc b/dt-oc-info/src/model/GetOcFinancingRequest.cc new file mode 100644 index 000000000..70f94d9a5 --- /dev/null +++ b/dt-oc-info/src/model/GetOcFinancingRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcFinancingRequest; + +GetOcFinancingRequest::GetOcFinancingRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcFinancing") { + setMethod(HttpRequest::Method::Post); +} + +GetOcFinancingRequest::~GetOcFinancingRequest() {} + +int GetOcFinancingRequest::getPageNo() const { + return pageNo_; +} + +void GetOcFinancingRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcFinancingRequest::getPageSize() const { + return pageSize_; +} + +void GetOcFinancingRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcFinancingRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcFinancingRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcFinancingResult.cc b/dt-oc-info/src/model/GetOcFinancingResult.cc new file mode 100644 index 000000000..32baa7787 --- /dev/null +++ b/dt-oc-info/src/model/GetOcFinancingResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcFinancingResult::GetOcFinancingResult() : + ServiceResult() +{} + +GetOcFinancingResult::GetOcFinancingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcFinancingResult::~GetOcFinancingResult() +{} + +void GetOcFinancingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["FinDate"].isNull()) + dataObject.finDate = valueDataDataItem["FinDate"].asString(); + if(!valueDataDataItem["FinTurn"].isNull()) + dataObject.finTurn = valueDataDataItem["FinTurn"].asString(); + if(!valueDataDataItem["FinAmount"].isNull()) + dataObject.finAmount = valueDataDataItem["FinAmount"].asString(); + if(!valueDataDataItem["Investors"].isNull()) + dataObject.investors = valueDataDataItem["Investors"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcFinancingResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcFinancingResult::getMessage()const +{ + return message_; +} + +int GetOcFinancingResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcFinancingResult::getData()const +{ + return data_; +} + +int GetOcFinancingResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcFinancingResult::getCode()const +{ + return code_; +} + +bool GetOcFinancingResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcFuzzSearchRequest.cc b/dt-oc-info/src/model/GetOcFuzzSearchRequest.cc new file mode 100644 index 000000000..000fcdc3a --- /dev/null +++ b/dt-oc-info/src/model/GetOcFuzzSearchRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcFuzzSearchRequest; + +GetOcFuzzSearchRequest::GetOcFuzzSearchRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcFuzzSearch") { + setMethod(HttpRequest::Method::Post); +} + +GetOcFuzzSearchRequest::~GetOcFuzzSearchRequest() {} + +int GetOcFuzzSearchRequest::getPageNo() const { + return pageNo_; +} + +void GetOcFuzzSearchRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcFuzzSearchRequest::getPageSize() const { + return pageSize_; +} + +void GetOcFuzzSearchRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcFuzzSearchRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcFuzzSearchRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcFuzzSearchResult.cc b/dt-oc-info/src/model/GetOcFuzzSearchResult.cc new file mode 100644 index 000000000..b888efe89 --- /dev/null +++ b/dt-oc-info/src/model/GetOcFuzzSearchResult.cc @@ -0,0 +1,99 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcFuzzSearchResult::GetOcFuzzSearchResult() : + ServiceResult() +{} + +GetOcFuzzSearchResult::GetOcFuzzSearchResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcFuzzSearchResult::~GetOcFuzzSearchResult() +{} + +void GetOcFuzzSearchResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcFuzzSearchResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcFuzzSearchResult::getMessage()const +{ + return message_; +} + +int GetOcFuzzSearchResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcFuzzSearchResult::getData()const +{ + return data_; +} + +int GetOcFuzzSearchResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcFuzzSearchResult::getCode()const +{ + return code_; +} + +bool GetOcFuzzSearchResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcAbnormalOperationRequest.cc b/dt-oc-info/src/model/GetOcIcAbnormalOperationRequest.cc new file mode 100644 index 000000000..d706791f2 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcAbnormalOperationRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcAbnormalOperationRequest; + +GetOcIcAbnormalOperationRequest::GetOcIcAbnormalOperationRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcAbnormalOperation") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcAbnormalOperationRequest::~GetOcIcAbnormalOperationRequest() {} + +int GetOcIcAbnormalOperationRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcAbnormalOperationRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcAbnormalOperationRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcAbnormalOperationRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcAbnormalOperationRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcAbnormalOperationRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcAbnormalOperationResult.cc b/dt-oc-info/src/model/GetOcIcAbnormalOperationResult.cc new file mode 100644 index 000000000..3e94857cf --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcAbnormalOperationResult.cc @@ -0,0 +1,109 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcAbnormalOperationResult::GetOcIcAbnormalOperationResult() : + ServiceResult() +{} + +GetOcIcAbnormalOperationResult::GetOcIcAbnormalOperationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcAbnormalOperationResult::~GetOcIcAbnormalOperationResult() +{} + +void GetOcIcAbnormalOperationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["InDate"].isNull()) + dataObject.inDate = valueDataDataItem["InDate"].asString(); + if(!valueDataDataItem["InReason"].isNull()) + dataObject.inReason = valueDataDataItem["InReason"].asString(); + if(!valueDataDataItem["InDepartment"].isNull()) + dataObject.inDepartment = valueDataDataItem["InDepartment"].asString(); + if(!valueDataDataItem["OutDate"].isNull()) + dataObject.outDate = valueDataDataItem["OutDate"].asString(); + if(!valueDataDataItem["OutReason"].isNull()) + dataObject.outReason = valueDataDataItem["OutReason"].asString(); + if(!valueDataDataItem["OutDepartment"].isNull()) + dataObject.outDepartment = valueDataDataItem["OutDepartment"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcAbnormalOperationResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcAbnormalOperationResult::getMessage()const +{ + return message_; +} + +int GetOcIcAbnormalOperationResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcAbnormalOperationResult::getData()const +{ + return data_; +} + +int GetOcIcAbnormalOperationResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcAbnormalOperationResult::getCode()const +{ + return code_; +} + +bool GetOcIcAbnormalOperationResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcAdminLicenseRequest.cc b/dt-oc-info/src/model/GetOcIcAdminLicenseRequest.cc new file mode 100644 index 000000000..2f3819b0c --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcAdminLicenseRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcAdminLicenseRequest; + +GetOcIcAdminLicenseRequest::GetOcIcAdminLicenseRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcAdminLicense") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcAdminLicenseRequest::~GetOcIcAdminLicenseRequest() {} + +int GetOcIcAdminLicenseRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcAdminLicenseRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcAdminLicenseRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcAdminLicenseRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcAdminLicenseRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcAdminLicenseRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcAdminLicenseResult.cc b/dt-oc-info/src/model/GetOcIcAdminLicenseResult.cc new file mode 100644 index 000000000..fc6f68135 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcAdminLicenseResult.cc @@ -0,0 +1,109 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcAdminLicenseResult::GetOcIcAdminLicenseResult() : + ServiceResult() +{} + +GetOcIcAdminLicenseResult::GetOcIcAdminLicenseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcAdminLicenseResult::~GetOcIcAdminLicenseResult() +{} + +void GetOcIcAdminLicenseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["LicenseNo"].isNull()) + dataObject.licenseNo = valueDataDataItem["LicenseNo"].asString(); + if(!valueDataDataItem["LicenseName"].isNull()) + dataObject.licenseName = valueDataDataItem["LicenseName"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["StartDate"].isNull()) + dataObject.startDate = valueDataDataItem["StartDate"].asString(); + if(!valueDataDataItem["EndDate"].isNull()) + dataObject.endDate = valueDataDataItem["EndDate"].asString(); + if(!valueDataDataItem["Content"].isNull()) + dataObject.content = valueDataDataItem["Content"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcAdminLicenseResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcAdminLicenseResult::getMessage()const +{ + return message_; +} + +int GetOcIcAdminLicenseResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcAdminLicenseResult::getData()const +{ + return data_; +} + +int GetOcIcAdminLicenseResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcAdminLicenseResult::getCode()const +{ + return code_; +} + +bool GetOcIcAdminLicenseResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcBasicRequest.cc b/dt-oc-info/src/model/GetOcIcBasicRequest.cc new file mode 100644 index 000000000..993d2783e --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcBasicRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcBasicRequest; + +GetOcIcBasicRequest::GetOcIcBasicRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcBasic") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcBasicRequest::~GetOcIcBasicRequest() {} + +std::string GetOcIcBasicRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcBasicRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcBasicResult.cc b/dt-oc-info/src/model/GetOcIcBasicResult.cc new file mode 100644 index 000000000..8d402883e --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcBasicResult.cc @@ -0,0 +1,146 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcBasicResult::GetOcIcBasicResult() : + ServiceResult() +{} + +GetOcIcBasicResult::GetOcIcBasicResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcBasicResult::~GetOcIcBasicResult() +{} + +void GetOcIcBasicResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["EntName"].isNull()) + data_.entName = dataNode["EntName"].asString(); + if(!dataNode["LegalName"].isNull()) + data_.legalName = dataNode["LegalName"].asString(); + if(!dataNode["EsDate"].isNull()) + data_.esDate = dataNode["EsDate"].asString(); + if(!dataNode["EntStatus"].isNull()) + data_.entStatus = dataNode["EntStatus"].asString(); + if(!dataNode["RegCap"].isNull()) + data_.regCap = dataNode["RegCap"].asString(); + if(!dataNode["RecCap"].isNull()) + data_.recCap = dataNode["RecCap"].asString(); + if(!dataNode["SocialCreditCode"].isNull()) + data_.socialCreditCode = dataNode["SocialCreditCode"].asString(); + if(!dataNode["LicenseNumber"].isNull()) + data_.licenseNumber = dataNode["LicenseNumber"].asString(); + if(!dataNode["OrgNo"].isNull()) + data_.orgNo = dataNode["OrgNo"].asString(); + if(!dataNode["TaxNum"].isNull()) + data_.taxNum = dataNode["TaxNum"].asString(); + if(!dataNode["EntType"].isNull()) + data_.entType = dataNode["EntType"].asString(); + if(!dataNode["IndustryNameLv1"].isNull()) + data_.industryNameLv1 = dataNode["IndustryNameLv1"].asString(); + if(!dataNode["IndustryNameLv2"].isNull()) + data_.industryNameLv2 = dataNode["IndustryNameLv2"].asString(); + if(!dataNode["OpFrom"].isNull()) + data_.opFrom = dataNode["OpFrom"].asString(); + if(!dataNode["OpTo"].isNull()) + data_.opTo = dataNode["OpTo"].asString(); + if(!dataNode["StaffNum"].isNull()) + data_.staffNum = dataNode["StaffNum"].asString(); + if(!dataNode["InsuredNum"].isNull()) + data_.insuredNum = dataNode["InsuredNum"].asString(); + if(!dataNode["EntNameEng"].isNull()) + data_.entNameEng = dataNode["EntNameEng"].asString(); + if(!dataNode["FormerNames"].isNull()) + data_.formerNames = dataNode["FormerNames"].asString(); + if(!dataNode["RegOrg"].isNull()) + data_.regOrg = dataNode["RegOrg"].asString(); + if(!dataNode["CheckDate"].isNull()) + data_.checkDate = dataNode["CheckDate"].asString(); + if(!dataNode["OpScope"].isNull()) + data_.opScope = dataNode["OpScope"].asString(); + if(!dataNode["EntAddress"].isNull()) + data_.entAddress = dataNode["EntAddress"].asString(); + if(!dataNode["EntBrief"].isNull()) + data_.entBrief = dataNode["EntBrief"].asString(); + if(!dataNode["RegOrgProvince"].isNull()) + data_.regOrgProvince = dataNode["RegOrgProvince"].asString(); + if(!dataNode["RegOrgCity"].isNull()) + data_.regOrgCity = dataNode["RegOrgCity"].asString(); + if(!dataNode["RegOrgDistrict"].isNull()) + data_.regOrgDistrict = dataNode["RegOrgDistrict"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcBasicResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcBasicResult::getMessage()const +{ + return message_; +} + +int GetOcIcBasicResult::getPageNum()const +{ + return pageNum_; +} + +GetOcIcBasicResult::Data GetOcIcBasicResult::getData()const +{ + return data_; +} + +int GetOcIcBasicResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcBasicResult::getCode()const +{ + return code_; +} + +bool GetOcIcBasicResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcBranchRequest.cc b/dt-oc-info/src/model/GetOcIcBranchRequest.cc new file mode 100644 index 000000000..a25bd9a60 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcBranchRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcBranchRequest; + +GetOcIcBranchRequest::GetOcIcBranchRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcBranch") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcBranchRequest::~GetOcIcBranchRequest() {} + +int GetOcIcBranchRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcBranchRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcBranchRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcBranchRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcBranchRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcBranchRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcBranchResult.cc b/dt-oc-info/src/model/GetOcIcBranchResult.cc new file mode 100644 index 000000000..69ab451f3 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcBranchResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcBranchResult::GetOcIcBranchResult() : + ServiceResult() +{} + +GetOcIcBranchResult::GetOcIcBranchResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcBranchResult::~GetOcIcBranchResult() +{} + +void GetOcIcBranchResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["EntStatus"].isNull()) + dataObject.entStatus = valueDataDataItem["EntStatus"].asString(); + if(!valueDataDataItem["OperName"].isNull()) + dataObject.operName = valueDataDataItem["OperName"].asString(); + if(!valueDataDataItem["EsDate"].isNull()) + dataObject.esDate = valueDataDataItem["EsDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcBranchResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcBranchResult::getMessage()const +{ + return message_; +} + +int GetOcIcBranchResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcBranchResult::getData()const +{ + return data_; +} + +int GetOcIcBranchResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcBranchResult::getCode()const +{ + return code_; +} + +bool GetOcIcBranchResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcChangeRecordRequest.cc b/dt-oc-info/src/model/GetOcIcChangeRecordRequest.cc new file mode 100644 index 000000000..e9db94f88 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcChangeRecordRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcChangeRecordRequest; + +GetOcIcChangeRecordRequest::GetOcIcChangeRecordRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcChangeRecord") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcChangeRecordRequest::~GetOcIcChangeRecordRequest() {} + +int GetOcIcChangeRecordRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcChangeRecordRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcChangeRecordRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcChangeRecordRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcChangeRecordRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcChangeRecordRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcChangeRecordResult.cc b/dt-oc-info/src/model/GetOcIcChangeRecordResult.cc new file mode 100644 index 000000000..1670d7aa2 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcChangeRecordResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcChangeRecordResult::GetOcIcChangeRecordResult() : + ServiceResult() +{} + +GetOcIcChangeRecordResult::GetOcIcChangeRecordResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcChangeRecordResult::~GetOcIcChangeRecordResult() +{} + +void GetOcIcChangeRecordResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Type"].isNull()) + dataObject.type = valueDataDataItem["Type"].asString(); + if(!valueDataDataItem["ChangeDate"].isNull()) + dataObject.changeDate = valueDataDataItem["ChangeDate"].asString(); + if(!valueDataDataItem["BeforeContent"].isNull()) + dataObject.beforeContent = valueDataDataItem["BeforeContent"].asString(); + if(!valueDataDataItem["AfterContent"].isNull()) + dataObject.afterContent = valueDataDataItem["AfterContent"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcChangeRecordResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcChangeRecordResult::getMessage()const +{ + return message_; +} + +int GetOcIcChangeRecordResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcChangeRecordResult::getData()const +{ + return data_; +} + +int GetOcIcChangeRecordResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcChangeRecordResult::getCode()const +{ + return code_; +} + +bool GetOcIcChangeRecordResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcCheckupRequest.cc b/dt-oc-info/src/model/GetOcIcCheckupRequest.cc new file mode 100644 index 000000000..7fb0ff09f --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcCheckupRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcCheckupRequest; + +GetOcIcCheckupRequest::GetOcIcCheckupRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcCheckup") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcCheckupRequest::~GetOcIcCheckupRequest() {} + +int GetOcIcCheckupRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcCheckupRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcCheckupRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcCheckupRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcCheckupRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcCheckupRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcCheckupResult.cc b/dt-oc-info/src/model/GetOcIcCheckupResult.cc new file mode 100644 index 000000000..16d7c659c --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcCheckupResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcCheckupResult::GetOcIcCheckupResult() : + ServiceResult() +{} + +GetOcIcCheckupResult::GetOcIcCheckupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcCheckupResult::~GetOcIcCheckupResult() +{} + +void GetOcIcCheckupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["Date"].isNull()) + dataObject.date = valueDataDataItem["Date"].asString(); + if(!valueDataDataItem["Type"].isNull()) + dataObject.type = valueDataDataItem["Type"].asString(); + if(!valueDataDataItem["Result"].isNull()) + dataObject.result = valueDataDataItem["Result"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcCheckupResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcCheckupResult::getMessage()const +{ + return message_; +} + +int GetOcIcCheckupResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcCheckupResult::getData()const +{ + return data_; +} + +int GetOcIcCheckupResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcCheckupResult::getCode()const +{ + return code_; +} + +bool GetOcIcCheckupResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcClearAccountRequest.cc b/dt-oc-info/src/model/GetOcIcClearAccountRequest.cc new file mode 100644 index 000000000..6e10eedd1 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcClearAccountRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcClearAccountRequest; + +GetOcIcClearAccountRequest::GetOcIcClearAccountRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcClearAccount") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcClearAccountRequest::~GetOcIcClearAccountRequest() {} + +int GetOcIcClearAccountRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcClearAccountRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcClearAccountRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcClearAccountRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcClearAccountRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcClearAccountRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcClearAccountResult.cc b/dt-oc-info/src/model/GetOcIcClearAccountResult.cc new file mode 100644 index 000000000..6d783e579 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcClearAccountResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcClearAccountResult::GetOcIcClearAccountResult() : + ServiceResult() +{} + +GetOcIcClearAccountResult::GetOcIcClearAccountResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcClearAccountResult::~GetOcIcClearAccountResult() +{} + +void GetOcIcClearAccountResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Leader"].isNull()) + dataObject.leader = valueDataDataItem["Leader"].asString(); + if(!valueDataDataItem["Member"].isNull()) + dataObject.member = valueDataDataItem["Member"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcClearAccountResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcClearAccountResult::getMessage()const +{ + return message_; +} + +int GetOcIcClearAccountResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcClearAccountResult::getData()const +{ + return data_; +} + +int GetOcIcClearAccountResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcClearAccountResult::getCode()const +{ + return code_; +} + +bool GetOcIcClearAccountResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcDoubleCheckupRequest.cc b/dt-oc-info/src/model/GetOcIcDoubleCheckupRequest.cc new file mode 100644 index 000000000..b1b46dc31 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcDoubleCheckupRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcDoubleCheckupRequest; + +GetOcIcDoubleCheckupRequest::GetOcIcDoubleCheckupRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcDoubleCheckup") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcDoubleCheckupRequest::~GetOcIcDoubleCheckupRequest() {} + +int GetOcIcDoubleCheckupRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcDoubleCheckupRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcDoubleCheckupRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcDoubleCheckupRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcDoubleCheckupRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcDoubleCheckupRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcDoubleCheckupResult.cc b/dt-oc-info/src/model/GetOcIcDoubleCheckupResult.cc new file mode 100644 index 000000000..e0593011c --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcDoubleCheckupResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcDoubleCheckupResult::GetOcIcDoubleCheckupResult() : + ServiceResult() +{} + +GetOcIcDoubleCheckupResult::GetOcIcDoubleCheckupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcDoubleCheckupResult::~GetOcIcDoubleCheckupResult() +{} + +void GetOcIcDoubleCheckupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["InspectPlanId"].isNull()) + dataObject.inspectPlanId = valueDataDataItem["InspectPlanId"].asString(); + if(!valueDataDataItem["InspectPlanName"].isNull()) + dataObject.inspectPlanName = valueDataDataItem["InspectPlanName"].asString(); + if(!valueDataDataItem["InspectTaskId"].isNull()) + dataObject.inspectTaskId = valueDataDataItem["InspectTaskId"].asString(); + if(!valueDataDataItem["InspectTaskName"].isNull()) + dataObject.inspectTaskName = valueDataDataItem["InspectTaskName"].asString(); + if(!valueDataDataItem["InspectTypeName"].isNull()) + dataObject.inspectTypeName = valueDataDataItem["InspectTypeName"].asString(); + if(!valueDataDataItem["InspectDepartment"].isNull()) + dataObject.inspectDepartment = valueDataDataItem["InspectDepartment"].asString(); + if(!valueDataDataItem["InspectDate"].isNull()) + dataObject.inspectDate = valueDataDataItem["InspectDate"].asString(); + if(!valueDataDataItem["InspectItem"].isNull()) + dataObject.inspectItem = valueDataDataItem["InspectItem"].asString(); + if(!valueDataDataItem["InspectResult"].isNull()) + dataObject.inspectResult = valueDataDataItem["InspectResult"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcDoubleCheckupResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcDoubleCheckupResult::getMessage()const +{ + return message_; +} + +int GetOcIcDoubleCheckupResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcDoubleCheckupResult::getData()const +{ + return data_; +} + +int GetOcIcDoubleCheckupResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcDoubleCheckupResult::getCode()const +{ + return code_; +} + +bool GetOcIcDoubleCheckupResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcEmployeeRequest.cc b/dt-oc-info/src/model/GetOcIcEmployeeRequest.cc new file mode 100644 index 000000000..c3c4ffc1d --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcEmployeeRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcEmployeeRequest; + +GetOcIcEmployeeRequest::GetOcIcEmployeeRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcEmployee") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcEmployeeRequest::~GetOcIcEmployeeRequest() {} + +std::string GetOcIcEmployeeRequest::getRequestId() const { + return requestId_; +} + +void GetOcIcEmployeeRequest::setRequestId(const std::string &requestId) { + requestId_ = requestId; + setBodyParameter(std::string("RequestId"), requestId); +} + +int GetOcIcEmployeeRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcEmployeeRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcEmployeeRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcEmployeeRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcEmployeeRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcEmployeeRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcEmployeeResult.cc b/dt-oc-info/src/model/GetOcIcEmployeeResult.cc new file mode 100644 index 000000000..91e3cd8cd --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcEmployeeResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcEmployeeResult::GetOcIcEmployeeResult() : + ServiceResult() +{} + +GetOcIcEmployeeResult::GetOcIcEmployeeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcEmployeeResult::~GetOcIcEmployeeResult() +{} + +void GetOcIcEmployeeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Name"].isNull()) + dataObject.name = valueDataDataItem["Name"].asString(); + if(!valueDataDataItem["JobTitle"].isNull()) + dataObject.jobTitle = valueDataDataItem["JobTitle"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcEmployeeResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcEmployeeResult::getMessage()const +{ + return message_; +} + +int GetOcIcEmployeeResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcEmployeeResult::getData()const +{ + return data_; +} + +int GetOcIcEmployeeResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcEmployeeResult::getCode()const +{ + return code_; +} + +bool GetOcIcEmployeeResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcEquityFrozenRequest.cc b/dt-oc-info/src/model/GetOcIcEquityFrozenRequest.cc new file mode 100644 index 000000000..5c4ac0a8f --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcEquityFrozenRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcEquityFrozenRequest; + +GetOcIcEquityFrozenRequest::GetOcIcEquityFrozenRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcEquityFrozen") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcEquityFrozenRequest::~GetOcIcEquityFrozenRequest() {} + +int GetOcIcEquityFrozenRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcEquityFrozenRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcEquityFrozenRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcEquityFrozenRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcEquityFrozenRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcEquityFrozenRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcEquityFrozenResult.cc b/dt-oc-info/src/model/GetOcIcEquityFrozenResult.cc new file mode 100644 index 000000000..9b407e5d1 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcEquityFrozenResult.cc @@ -0,0 +1,127 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcEquityFrozenResult::GetOcIcEquityFrozenResult() : + ServiceResult() +{} + +GetOcIcEquityFrozenResult::GetOcIcEquityFrozenResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcEquityFrozenResult::~GetOcIcEquityFrozenResult() +{} + +void GetOcIcEquityFrozenResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["FreezeExecPerson"].isNull()) + dataObject.freezeExecPerson = valueDataDataItem["FreezeExecPerson"].asString(); + if(!valueDataDataItem["FreezeAmount"].isNull()) + dataObject.freezeAmount = valueDataDataItem["FreezeAmount"].asString(); + if(!valueDataDataItem["FreezeCourt"].isNull()) + dataObject.freezeCourt = valueDataDataItem["FreezeCourt"].asString(); + if(!valueDataDataItem["FreezeNoticeNum"].isNull()) + dataObject.freezeNoticeNum = valueDataDataItem["FreezeNoticeNum"].asString(); + if(!valueDataDataItem["FreezePublishDate"].isNull()) + dataObject.freezePublishDate = valueDataDataItem["FreezePublishDate"].asString(); + if(!valueDataDataItem["FreezeCardType"].isNull()) + dataObject.freezeCardType = valueDataDataItem["FreezeCardType"].asString(); + if(!valueDataDataItem["FreezeCardNum"].isNull()) + dataObject.freezeCardNum = valueDataDataItem["FreezeCardNum"].asString(); + if(!valueDataDataItem["FreezeExecItem"].isNull()) + dataObject.freezeExecItem = valueDataDataItem["FreezeExecItem"].asString(); + if(!valueDataDataItem["FreezeStartDate"].isNull()) + dataObject.freezeStartDate = valueDataDataItem["FreezeStartDate"].asString(); + if(!valueDataDataItem["FreezeEndDate"].isNull()) + dataObject.freezeEndDate = valueDataDataItem["FreezeEndDate"].asString(); + if(!valueDataDataItem["UnfreezeCourt"].isNull()) + dataObject.unfreezeCourt = valueDataDataItem["UnfreezeCourt"].asString(); + if(!valueDataDataItem["UnfreezeAdjustNum"].isNull()) + dataObject.unfreezeAdjustNum = valueDataDataItem["UnfreezeAdjustNum"].asString(); + if(!valueDataDataItem["UnfreezeReason"].isNull()) + dataObject.unfreezeReason = valueDataDataItem["UnfreezeReason"].asString(); + if(!valueDataDataItem["UnfreezeDate"].isNull()) + dataObject.unfreezeDate = valueDataDataItem["UnfreezeDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcEquityFrozenResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcEquityFrozenResult::getMessage()const +{ + return message_; +} + +int GetOcIcEquityFrozenResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcEquityFrozenResult::getData()const +{ + return data_; +} + +int GetOcIcEquityFrozenResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcEquityFrozenResult::getCode()const +{ + return code_; +} + +bool GetOcIcEquityFrozenResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcEquityPledgeRequest.cc b/dt-oc-info/src/model/GetOcIcEquityPledgeRequest.cc new file mode 100644 index 000000000..51aacf75e --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcEquityPledgeRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcEquityPledgeRequest; + +GetOcIcEquityPledgeRequest::GetOcIcEquityPledgeRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcEquityPledge") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcEquityPledgeRequest::~GetOcIcEquityPledgeRequest() {} + +int GetOcIcEquityPledgeRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcEquityPledgeRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcEquityPledgeRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcEquityPledgeRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcEquityPledgeRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcEquityPledgeRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcEquityPledgeResult.cc b/dt-oc-info/src/model/GetOcIcEquityPledgeResult.cc new file mode 100644 index 000000000..7f96ebc50 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcEquityPledgeResult.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcEquityPledgeResult::GetOcIcEquityPledgeResult() : + ServiceResult() +{} + +GetOcIcEquityPledgeResult::GetOcIcEquityPledgeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcEquityPledgeResult::~GetOcIcEquityPledgeResult() +{} + +void GetOcIcEquityPledgeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Number"].isNull()) + dataObject.number = valueDataDataItem["Number"].asString(); + if(!valueDataDataItem["Pledgor"].isNull()) + dataObject.pledgor = valueDataDataItem["Pledgor"].asString(); + if(!valueDataDataItem["RelatedComp"].isNull()) + dataObject.relatedComp = valueDataDataItem["RelatedComp"].asString(); + if(!valueDataDataItem["Pawnee"].isNull()) + dataObject.pawnee = valueDataDataItem["Pawnee"].asString(); + if(!valueDataDataItem["RegDate"].isNull()) + dataObject.regDate = valueDataDataItem["RegDate"].asString(); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["PledgorAmount"].isNull()) + dataObject.pledgorAmount = valueDataDataItem["PledgorAmount"].asString(); + if(!valueDataDataItem["PawneeIdentifyNo"].isNull()) + dataObject.pawneeIdentifyNo = valueDataDataItem["PawneeIdentifyNo"].asString(); + if(!valueDataDataItem["PledgorIdentifyNo"].isNull()) + dataObject.pledgorIdentifyNo = valueDataDataItem["PledgorIdentifyNo"].asString(); + if(!valueDataDataItem["PublicDate"].isNull()) + dataObject.publicDate = valueDataDataItem["PublicDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcEquityPledgeResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcEquityPledgeResult::getMessage()const +{ + return message_; +} + +int GetOcIcEquityPledgeResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcEquityPledgeResult::getData()const +{ + return data_; +} + +int GetOcIcEquityPledgeResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcEquityPledgeResult::getCode()const +{ + return code_; +} + +bool GetOcIcEquityPledgeResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcInvestmentRequest.cc b/dt-oc-info/src/model/GetOcIcInvestmentRequest.cc new file mode 100644 index 000000000..f8e69d613 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcInvestmentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcInvestmentRequest; + +GetOcIcInvestmentRequest::GetOcIcInvestmentRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcInvestment") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcInvestmentRequest::~GetOcIcInvestmentRequest() {} + +int GetOcIcInvestmentRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcInvestmentRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcInvestmentRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcInvestmentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcInvestmentRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcInvestmentRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcInvestmentResult.cc b/dt-oc-info/src/model/GetOcIcInvestmentResult.cc new file mode 100644 index 000000000..ab0ee6b04 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcInvestmentResult.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcInvestmentResult::GetOcIcInvestmentResult() : + ServiceResult() +{} + +GetOcIcInvestmentResult::GetOcIcInvestmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcInvestmentResult::~GetOcIcInvestmentResult() +{} + +void GetOcIcInvestmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["InvestName"].isNull()) + dataObject.investName = valueDataDataItem["InvestName"].asString(); + if(!valueDataDataItem["InvestCreditCode"].isNull()) + dataObject.investCreditCode = valueDataDataItem["InvestCreditCode"].asString(); + if(!valueDataDataItem["InvestLicenseNo"].isNull()) + dataObject.investLicenseNo = valueDataDataItem["InvestLicenseNo"].asString(); + if(!valueDataDataItem["InvestEsDate"].isNull()) + dataObject.investEsDate = valueDataDataItem["InvestEsDate"].asString(); + if(!valueDataDataItem["InvestLegalName"].isNull()) + dataObject.investLegalName = valueDataDataItem["InvestLegalName"].asString(); + if(!valueDataDataItem["InvestRegCap"].isNull()) + dataObject.investRegCap = valueDataDataItem["InvestRegCap"].asString(); + if(!valueDataDataItem["InvestStatus"].isNull()) + dataObject.investStatus = valueDataDataItem["InvestStatus"].asString(); + if(!valueDataDataItem["ShouldCap"].isNull()) + dataObject.shouldCap = valueDataDataItem["ShouldCap"].asString(); + if(!valueDataDataItem["StockPercentage"].isNull()) + dataObject.stockPercentage = valueDataDataItem["StockPercentage"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcInvestmentResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcInvestmentResult::getMessage()const +{ + return message_; +} + +int GetOcIcInvestmentResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcInvestmentResult::getData()const +{ + return data_; +} + +int GetOcIcInvestmentResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcInvestmentResult::getCode()const +{ + return code_; +} + +bool GetOcIcInvestmentResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcKnowledgePropertyPledgeRequest.cc b/dt-oc-info/src/model/GetOcIcKnowledgePropertyPledgeRequest.cc new file mode 100644 index 000000000..ac76a8eca --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcKnowledgePropertyPledgeRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcKnowledgePropertyPledgeRequest; + +GetOcIcKnowledgePropertyPledgeRequest::GetOcIcKnowledgePropertyPledgeRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcKnowledgePropertyPledge") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcKnowledgePropertyPledgeRequest::~GetOcIcKnowledgePropertyPledgeRequest() {} + +std::string GetOcIcKnowledgePropertyPledgeRequest::getRequestId() const { + return requestId_; +} + +void GetOcIcKnowledgePropertyPledgeRequest::setRequestId(const std::string &requestId) { + requestId_ = requestId; + setBodyParameter(std::string("RequestId"), requestId); +} + +int GetOcIcKnowledgePropertyPledgeRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcKnowledgePropertyPledgeRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcKnowledgePropertyPledgeRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcKnowledgePropertyPledgeRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcKnowledgePropertyPledgeRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcKnowledgePropertyPledgeRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcKnowledgePropertyPledgeResult.cc b/dt-oc-info/src/model/GetOcIcKnowledgePropertyPledgeResult.cc new file mode 100644 index 000000000..6fb3fef4a --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcKnowledgePropertyPledgeResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcKnowledgePropertyPledgeResult::GetOcIcKnowledgePropertyPledgeResult() : + ServiceResult() +{} + +GetOcIcKnowledgePropertyPledgeResult::GetOcIcKnowledgePropertyPledgeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcKnowledgePropertyPledgeResult::~GetOcIcKnowledgePropertyPledgeResult() +{} + +void GetOcIcKnowledgePropertyPledgeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Name"].isNull()) + dataObject.name = valueDataDataItem["Name"].asString(); + if(!valueDataDataItem["Number"].isNull()) + dataObject.number = valueDataDataItem["Number"].asString(); + if(!valueDataDataItem["Type"].isNull()) + dataObject.type = valueDataDataItem["Type"].asString(); + if(!valueDataDataItem["Pledgor"].isNull()) + dataObject.pledgor = valueDataDataItem["Pledgor"].asString(); + if(!valueDataDataItem["Pawnee"].isNull()) + dataObject.pawnee = valueDataDataItem["Pawnee"].asString(); + if(!valueDataDataItem["Period"].isNull()) + dataObject.period = valueDataDataItem["Period"].asString(); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["PublicDate"].isNull()) + dataObject.publicDate = valueDataDataItem["PublicDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcKnowledgePropertyPledgeResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcKnowledgePropertyPledgeResult::getMessage()const +{ + return message_; +} + +int GetOcIcKnowledgePropertyPledgeResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcKnowledgePropertyPledgeResult::getData()const +{ + return data_; +} + +int GetOcIcKnowledgePropertyPledgeResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcKnowledgePropertyPledgeResult::getCode()const +{ + return code_; +} + +bool GetOcIcKnowledgePropertyPledgeResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcMortgageRequest.cc b/dt-oc-info/src/model/GetOcIcMortgageRequest.cc new file mode 100644 index 000000000..96328779e --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcMortgageRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcMortgageRequest; + +GetOcIcMortgageRequest::GetOcIcMortgageRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcMortgage") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcMortgageRequest::~GetOcIcMortgageRequest() {} + +int GetOcIcMortgageRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcMortgageRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcMortgageRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcMortgageRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcMortgageRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcMortgageRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcMortgageResult.cc b/dt-oc-info/src/model/GetOcIcMortgageResult.cc new file mode 100644 index 000000000..78c247252 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcMortgageResult.cc @@ -0,0 +1,125 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcMortgageResult::GetOcIcMortgageResult() : + ServiceResult() +{} + +GetOcIcMortgageResult::GetOcIcMortgageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcMortgageResult::~GetOcIcMortgageResult() +{} + +void GetOcIcMortgageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["OnecompId"].isNull()) + dataObject.onecompId = valueDataDataItem["OnecompId"].asString(); + if(!valueDataDataItem["Number"].isNull()) + dataObject.number = valueDataDataItem["Number"].asString(); + if(!valueDataDataItem["RegDate"].isNull()) + dataObject.regDate = valueDataDataItem["RegDate"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["MortgageesName"].isNull()) + dataObject.mortgageesName = valueDataDataItem["MortgageesName"].asString(); + if(!valueDataDataItem["IdentifyType"].isNull()) + dataObject.identifyType = valueDataDataItem["IdentifyType"].asString(); + if(!valueDataDataItem["IdentifyNo"].isNull()) + dataObject.identifyNo = valueDataDataItem["IdentifyNo"].asString(); + if(!valueDataDataItem["DebitType"].isNull()) + dataObject.debitType = valueDataDataItem["DebitType"].asString(); + if(!valueDataDataItem["DebitAmount"].isNull()) + dataObject.debitAmount = valueDataDataItem["DebitAmount"].asString(); + if(!valueDataDataItem["DebitPeriod"].isNull()) + dataObject.debitPeriod = valueDataDataItem["DebitPeriod"].asString(); + if(!valueDataDataItem["DebitScope"].isNull()) + dataObject.debitScope = valueDataDataItem["DebitScope"].asString(); + if(!valueDataDataItem["Guarantees"].isNull()) + dataObject.guarantees = valueDataDataItem["Guarantees"].asString(); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["PublicDate"].isNull()) + dataObject.publicDate = valueDataDataItem["PublicDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcMortgageResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcMortgageResult::getMessage()const +{ + return message_; +} + +int GetOcIcMortgageResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcMortgageResult::getData()const +{ + return data_; +} + +int GetOcIcMortgageResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcMortgageResult::getCode()const +{ + return code_; +} + +bool GetOcIcMortgageResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcSeriousOffenseRequest.cc b/dt-oc-info/src/model/GetOcIcSeriousOffenseRequest.cc new file mode 100644 index 000000000..11bfc7890 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcSeriousOffenseRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcSeriousOffenseRequest; + +GetOcIcSeriousOffenseRequest::GetOcIcSeriousOffenseRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcSeriousOffense") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcSeriousOffenseRequest::~GetOcIcSeriousOffenseRequest() {} + +int GetOcIcSeriousOffenseRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcSeriousOffenseRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcSeriousOffenseRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcSeriousOffenseRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcSeriousOffenseRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcSeriousOffenseRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcSeriousOffenseResult.cc b/dt-oc-info/src/model/GetOcIcSeriousOffenseResult.cc new file mode 100644 index 000000000..b69b5a9fc --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcSeriousOffenseResult.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcSeriousOffenseResult::GetOcIcSeriousOffenseResult() : + ServiceResult() +{} + +GetOcIcSeriousOffenseResult::GetOcIcSeriousOffenseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcSeriousOffenseResult::~GetOcIcSeriousOffenseResult() +{} + +void GetOcIcSeriousOffenseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["InReason"].isNull()) + dataObject.inReason = valueDataDataItem["InReason"].asString(); + if(!valueDataDataItem["InDate"].isNull()) + dataObject.inDate = valueDataDataItem["InDate"].asString(); + if(!valueDataDataItem["OutReason"].isNull()) + dataObject.outReason = valueDataDataItem["OutReason"].asString(); + if(!valueDataDataItem["OutDate"].isNull()) + dataObject.outDate = valueDataDataItem["OutDate"].asString(); + if(!valueDataDataItem["InDepartment"].isNull()) + dataObject.inDepartment = valueDataDataItem["InDepartment"].asString(); + if(!valueDataDataItem["OutDepartment"].isNull()) + dataObject.outDepartment = valueDataDataItem["OutDepartment"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcSeriousOffenseResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcSeriousOffenseResult::getMessage()const +{ + return message_; +} + +int GetOcIcSeriousOffenseResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcSeriousOffenseResult::getData()const +{ + return data_; +} + +int GetOcIcSeriousOffenseResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcSeriousOffenseResult::getCode()const +{ + return code_; +} + +bool GetOcIcSeriousOffenseResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcShareholderRequest.cc b/dt-oc-info/src/model/GetOcIcShareholderRequest.cc new file mode 100644 index 000000000..3d6815691 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcShareholderRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcShareholderRequest; + +GetOcIcShareholderRequest::GetOcIcShareholderRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcShareholder") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcShareholderRequest::~GetOcIcShareholderRequest() {} + +int GetOcIcShareholderRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcShareholderRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcShareholderRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcShareholderRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcShareholderRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcShareholderRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcShareholderResult.cc b/dt-oc-info/src/model/GetOcIcShareholderResult.cc new file mode 100644 index 000000000..e87c59f95 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcShareholderResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcShareholderResult::GetOcIcShareholderResult() : + ServiceResult() +{} + +GetOcIcShareholderResult::GetOcIcShareholderResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcShareholderResult::~GetOcIcShareholderResult() +{} + +void GetOcIcShareholderResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["StockName"].isNull()) + dataObject.stockName = valueDataDataItem["StockName"].asString(); + if(!valueDataDataItem["StockType"].isNull()) + dataObject.stockType = valueDataDataItem["StockType"].asString(); + if(!valueDataDataItem["StockPercent"].isNull()) + dataObject.stockPercent = valueDataDataItem["StockPercent"].asString(); + if(!valueDataDataItem["ShouldCap"].isNull()) + dataObject.shouldCap = valueDataDataItem["ShouldCap"].asString(); + if(!valueDataDataItem["ShouldCapTime"].isNull()) + dataObject.shouldCapTime = valueDataDataItem["ShouldCapTime"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcShareholderResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcShareholderResult::getMessage()const +{ + return message_; +} + +int GetOcIcShareholderResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcShareholderResult::getData()const +{ + return data_; +} + +int GetOcIcShareholderResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcShareholderResult::getCode()const +{ + return code_; +} + +bool GetOcIcShareholderResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIcSimpleCancelRequest.cc b/dt-oc-info/src/model/GetOcIcSimpleCancelRequest.cc new file mode 100644 index 000000000..3644b2706 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcSimpleCancelRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIcSimpleCancelRequest; + +GetOcIcSimpleCancelRequest::GetOcIcSimpleCancelRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIcSimpleCancel") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIcSimpleCancelRequest::~GetOcIcSimpleCancelRequest() {} + +int GetOcIcSimpleCancelRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIcSimpleCancelRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIcSimpleCancelRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIcSimpleCancelRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIcSimpleCancelRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIcSimpleCancelRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIcSimpleCancelResult.cc b/dt-oc-info/src/model/GetOcIcSimpleCancelResult.cc new file mode 100644 index 000000000..1d6ee9c47 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIcSimpleCancelResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIcSimpleCancelResult::GetOcIcSimpleCancelResult() : + ServiceResult() +{} + +GetOcIcSimpleCancelResult::GetOcIcSimpleCancelResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIcSimpleCancelResult::~GetOcIcSimpleCancelResult() +{} + +void GetOcIcSimpleCancelResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["SocialCreditCode"].isNull()) + dataObject.socialCreditCode = valueDataDataItem["SocialCreditCode"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["NoticePeriod"].isNull()) + dataObject.noticePeriod = valueDataDataItem["NoticePeriod"].asString(); + if(!valueDataDataItem["ScaProposer"].isNull()) + dataObject.scaProposer = valueDataDataItem["ScaProposer"].asString(); + if(!valueDataDataItem["ScaDate"].isNull()) + dataObject.scaDate = valueDataDataItem["ScaDate"].asString(); + if(!valueDataDataItem["ScaContent"].isNull()) + dataObject.scaContent = valueDataDataItem["ScaContent"].asString(); + if(!valueDataDataItem["ScaResult"].isNull()) + dataObject.scaResult = valueDataDataItem["ScaResult"].asString(); + if(!valueDataDataItem["ScaResultDate"].isNull()) + dataObject.scaResultDate = valueDataDataItem["ScaResultDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIcSimpleCancelResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIcSimpleCancelResult::getMessage()const +{ + return message_; +} + +int GetOcIcSimpleCancelResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIcSimpleCancelResult::getData()const +{ + return data_; +} + +int GetOcIcSimpleCancelResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIcSimpleCancelResult::getCode()const +{ + return code_; +} + +bool GetOcIcSimpleCancelResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIpCertificateRequest.cc b/dt-oc-info/src/model/GetOcIpCertificateRequest.cc new file mode 100644 index 000000000..d4f897aec --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpCertificateRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIpCertificateRequest; + +GetOcIpCertificateRequest::GetOcIpCertificateRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIpCertificate") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIpCertificateRequest::~GetOcIpCertificateRequest() {} + +int GetOcIpCertificateRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIpCertificateRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIpCertificateRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIpCertificateRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIpCertificateRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIpCertificateRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIpCertificateResult.cc b/dt-oc-info/src/model/GetOcIpCertificateResult.cc new file mode 100644 index 000000000..3820baf7b --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpCertificateResult.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIpCertificateResult::GetOcIpCertificateResult() : + ServiceResult() +{} + +GetOcIpCertificateResult::GetOcIpCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIpCertificateResult::~GetOcIpCertificateResult() +{} + +void GetOcIpCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["CertType"].isNull()) + dataObject.certType = valueDataDataItem["CertType"].asString(); + if(!valueDataDataItem["CertNum"].isNull()) + dataObject.certNum = valueDataDataItem["CertNum"].asString(); + if(!valueDataDataItem["ValidStartDate"].isNull()) + dataObject.validStartDate = valueDataDataItem["ValidStartDate"].asString(); + if(!valueDataDataItem["ValidEndDate"].isNull()) + dataObject.validEndDate = valueDataDataItem["ValidEndDate"].asString(); + if(!valueDataDataItem["AuthorizeDate"].isNull()) + dataObject.authorizeDate = valueDataDataItem["AuthorizeDate"].asString(); + if(!valueDataDataItem["AuthorizeDepartment"].isNull()) + dataObject.authorizeDepartment = valueDataDataItem["AuthorizeDepartment"].asString(); + if(!valueDataDataItem["PubDate"].isNull()) + dataObject.pubDate = valueDataDataItem["PubDate"].asString(); + if(!valueDataDataItem["Province"].isNull()) + dataObject.province = valueDataDataItem["Province"].asString(); + if(!valueDataDataItem["CertScope"].isNull()) + dataObject.certScope = valueDataDataItem["CertScope"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIpCertificateResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIpCertificateResult::getMessage()const +{ + return message_; +} + +int GetOcIpCertificateResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIpCertificateResult::getData()const +{ + return data_; +} + +int GetOcIpCertificateResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIpCertificateResult::getCode()const +{ + return code_; +} + +bool GetOcIpCertificateResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIpDomainRequest.cc b/dt-oc-info/src/model/GetOcIpDomainRequest.cc new file mode 100644 index 000000000..c153d2957 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpDomainRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIpDomainRequest; + +GetOcIpDomainRequest::GetOcIpDomainRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIpDomain") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIpDomainRequest::~GetOcIpDomainRequest() {} + +int GetOcIpDomainRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIpDomainRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIpDomainRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIpDomainRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIpDomainRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIpDomainRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIpDomainResult.cc b/dt-oc-info/src/model/GetOcIpDomainResult.cc new file mode 100644 index 000000000..d7dc4ee0f --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpDomainResult.cc @@ -0,0 +1,109 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIpDomainResult::GetOcIpDomainResult() : + ServiceResult() +{} + +GetOcIpDomainResult::GetOcIpDomainResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIpDomainResult::~GetOcIpDomainResult() +{} + +void GetOcIpDomainResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["Number"].isNull()) + dataObject.number = valueDataDataItem["Number"].asString(); + if(!valueDataDataItem["Domain"].isNull()) + dataObject.domain = valueDataDataItem["Domain"].asString(); + if(!valueDataDataItem["SiteName"].isNull()) + dataObject.siteName = valueDataDataItem["SiteName"].asString(); + if(!valueDataDataItem["HomeUrl"].isNull()) + dataObject.homeUrl = valueDataDataItem["HomeUrl"].asString(); + if(!valueDataDataItem["CheckDate"].isNull()) + dataObject.checkDate = valueDataDataItem["CheckDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIpDomainResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIpDomainResult::getMessage()const +{ + return message_; +} + +int GetOcIpDomainResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIpDomainResult::getData()const +{ + return data_; +} + +int GetOcIpDomainResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIpDomainResult::getCode()const +{ + return code_; +} + +bool GetOcIpDomainResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIpPatentRequest.cc b/dt-oc-info/src/model/GetOcIpPatentRequest.cc new file mode 100644 index 000000000..456524504 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpPatentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIpPatentRequest; + +GetOcIpPatentRequest::GetOcIpPatentRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIpPatent") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIpPatentRequest::~GetOcIpPatentRequest() {} + +int GetOcIpPatentRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIpPatentRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIpPatentRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIpPatentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIpPatentRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIpPatentRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIpPatentResult.cc b/dt-oc-info/src/model/GetOcIpPatentResult.cc new file mode 100644 index 000000000..8b434533c --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpPatentResult.cc @@ -0,0 +1,131 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIpPatentResult::GetOcIpPatentResult() : + ServiceResult() +{} + +GetOcIpPatentResult::GetOcIpPatentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIpPatentResult::~GetOcIpPatentResult() +{} + +void GetOcIpPatentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["PatentType"].isNull()) + dataObject.patentType = valueDataDataItem["PatentType"].asString(); + if(!valueDataDataItem["PatentName"].isNull()) + dataObject.patentName = valueDataDataItem["PatentName"].asString(); + if(!valueDataDataItem["PatentStatus"].isNull()) + dataObject.patentStatus = valueDataDataItem["PatentStatus"].asString(); + if(!valueDataDataItem["RequestNum"].isNull()) + dataObject.requestNum = valueDataDataItem["RequestNum"].asString(); + if(!valueDataDataItem["RequestDate"].isNull()) + dataObject.requestDate = valueDataDataItem["RequestDate"].asString(); + if(!valueDataDataItem["PublicNum"].isNull()) + dataObject.publicNum = valueDataDataItem["PublicNum"].asString(); + if(!valueDataDataItem["PublicDate"].isNull()) + dataObject.publicDate = valueDataDataItem["PublicDate"].asString(); + if(!valueDataDataItem["InventorList"].isNull()) + dataObject.inventorList = valueDataDataItem["InventorList"].asString(); + if(!valueDataDataItem["PatenteeList"].isNull()) + dataObject.patenteeList = valueDataDataItem["PatenteeList"].asString(); + if(!valueDataDataItem["CateNum"].isNull()) + dataObject.cateNum = valueDataDataItem["CateNum"].asString(); + if(!valueDataDataItem["PrioNum"].isNull()) + dataObject.prioNum = valueDataDataItem["PrioNum"].asString(); + if(!valueDataDataItem["PrioDate"].isNull()) + dataObject.prioDate = valueDataDataItem["PrioDate"].asString(); + if(!valueDataDataItem["Agency"].isNull()) + dataObject.agency = valueDataDataItem["Agency"].asString(); + if(!valueDataDataItem["Agent"].isNull()) + dataObject.agent = valueDataDataItem["Agent"].asString(); + if(!valueDataDataItem["Brief"].isNull()) + dataObject.brief = valueDataDataItem["Brief"].asString(); + if(!valueDataDataItem["MainClaim"].isNull()) + dataObject.mainClaim = valueDataDataItem["MainClaim"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIpPatentResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIpPatentResult::getMessage()const +{ + return message_; +} + +int GetOcIpPatentResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIpPatentResult::getData()const +{ + return data_; +} + +int GetOcIpPatentResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIpPatentResult::getCode()const +{ + return code_; +} + +bool GetOcIpPatentResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIpSoftwareCopyrightRequest.cc b/dt-oc-info/src/model/GetOcIpSoftwareCopyrightRequest.cc new file mode 100644 index 000000000..01a7da4f3 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpSoftwareCopyrightRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIpSoftwareCopyrightRequest; + +GetOcIpSoftwareCopyrightRequest::GetOcIpSoftwareCopyrightRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIpSoftwareCopyright") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIpSoftwareCopyrightRequest::~GetOcIpSoftwareCopyrightRequest() {} + +int GetOcIpSoftwareCopyrightRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIpSoftwareCopyrightRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIpSoftwareCopyrightRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIpSoftwareCopyrightRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIpSoftwareCopyrightRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIpSoftwareCopyrightRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIpSoftwareCopyrightResult.cc b/dt-oc-info/src/model/GetOcIpSoftwareCopyrightResult.cc new file mode 100644 index 000000000..f10b754ed --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpSoftwareCopyrightResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIpSoftwareCopyrightResult::GetOcIpSoftwareCopyrightResult() : + ServiceResult() +{} + +GetOcIpSoftwareCopyrightResult::GetOcIpSoftwareCopyrightResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIpSoftwareCopyrightResult::~GetOcIpSoftwareCopyrightResult() +{} + +void GetOcIpSoftwareCopyrightResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["CopyNum"].isNull()) + dataObject.copyNum = valueDataDataItem["CopyNum"].asString(); + if(!valueDataDataItem["TypeNum"].isNull()) + dataObject.typeNum = valueDataDataItem["TypeNum"].asString(); + if(!valueDataDataItem["ShortName"].isNull()) + dataObject.shortName = valueDataDataItem["ShortName"].asString(); + if(!valueDataDataItem["CopyName"].isNull()) + dataObject.copyName = valueDataDataItem["CopyName"].asString(); + if(!valueDataDataItem["Version"].isNull()) + dataObject.version = valueDataDataItem["Version"].asString(); + if(!valueDataDataItem["SuccessDate"].isNull()) + dataObject.successDate = valueDataDataItem["SuccessDate"].asString(); + if(!valueDataDataItem["FirstDate"].isNull()) + dataObject.firstDate = valueDataDataItem["FirstDate"].asString(); + if(!valueDataDataItem["ApprovalDate"].isNull()) + dataObject.approvalDate = valueDataDataItem["ApprovalDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIpSoftwareCopyrightResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIpSoftwareCopyrightResult::getMessage()const +{ + return message_; +} + +int GetOcIpSoftwareCopyrightResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIpSoftwareCopyrightResult::getData()const +{ + return data_; +} + +int GetOcIpSoftwareCopyrightResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIpSoftwareCopyrightResult::getCode()const +{ + return code_; +} + +bool GetOcIpSoftwareCopyrightResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIpTrademarkRequest.cc b/dt-oc-info/src/model/GetOcIpTrademarkRequest.cc new file mode 100644 index 000000000..3809e38ff --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpTrademarkRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIpTrademarkRequest; + +GetOcIpTrademarkRequest::GetOcIpTrademarkRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIpTrademark") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIpTrademarkRequest::~GetOcIpTrademarkRequest() {} + +int GetOcIpTrademarkRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIpTrademarkRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIpTrademarkRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIpTrademarkRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIpTrademarkRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIpTrademarkRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIpTrademarkResult.cc b/dt-oc-info/src/model/GetOcIpTrademarkResult.cc new file mode 100644 index 000000000..e6ac04d0c --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpTrademarkResult.cc @@ -0,0 +1,127 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIpTrademarkResult::GetOcIpTrademarkResult() : + ServiceResult() +{} + +GetOcIpTrademarkResult::GetOcIpTrademarkResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIpTrademarkResult::~GetOcIpTrademarkResult() +{} + +void GetOcIpTrademarkResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["TrademarkName"].isNull()) + dataObject.trademarkName = valueDataDataItem["TrademarkName"].asString(); + if(!valueDataDataItem["RegNum"].isNull()) + dataObject.regNum = valueDataDataItem["RegNum"].asString(); + if(!valueDataDataItem["TrademarkType"].isNull()) + dataObject.trademarkType = valueDataDataItem["TrademarkType"].asString(); + if(!valueDataDataItem["TrademarkForm"].isNull()) + dataObject.trademarkForm = valueDataDataItem["TrademarkForm"].asString(); + if(!valueDataDataItem["TrademarkStatus"].isNull()) + dataObject.trademarkStatus = valueDataDataItem["TrademarkStatus"].asString(); + if(!valueDataDataItem["ApplyDate"].isNull()) + dataObject.applyDate = valueDataDataItem["ApplyDate"].asString(); + if(!valueDataDataItem["ImageUrl"].isNull()) + dataObject.imageUrl = valueDataDataItem["ImageUrl"].asString(); + if(!valueDataDataItem["TypeName"].isNull()) + dataObject.typeName = valueDataDataItem["TypeName"].asString(); + if(!valueDataDataItem["Period"].isNull()) + dataObject.period = valueDataDataItem["Period"].asString(); + if(!valueDataDataItem["Agent"].isNull()) + dataObject.agent = valueDataDataItem["Agent"].asString(); + if(!valueDataDataItem["RegPubNo"].isNull()) + dataObject.regPubNo = valueDataDataItem["RegPubNo"].asString(); + if(!valueDataDataItem["RegPubDate"].isNull()) + dataObject.regPubDate = valueDataDataItem["RegPubDate"].asString(); + if(!valueDataDataItem["FirstPubNo"].isNull()) + dataObject.firstPubNo = valueDataDataItem["FirstPubNo"].asString(); + if(!valueDataDataItem["FirstPubDate"].isNull()) + dataObject.firstPubDate = valueDataDataItem["FirstPubDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIpTrademarkResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIpTrademarkResult::getMessage()const +{ + return message_; +} + +int GetOcIpTrademarkResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIpTrademarkResult::getData()const +{ + return data_; +} + +int GetOcIpTrademarkResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIpTrademarkResult::getCode()const +{ + return code_; +} + +bool GetOcIpTrademarkResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcIpWorksCopyrightRequest.cc b/dt-oc-info/src/model/GetOcIpWorksCopyrightRequest.cc new file mode 100644 index 000000000..fa7b269df --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpWorksCopyrightRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcIpWorksCopyrightRequest; + +GetOcIpWorksCopyrightRequest::GetOcIpWorksCopyrightRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcIpWorksCopyright") { + setMethod(HttpRequest::Method::Post); +} + +GetOcIpWorksCopyrightRequest::~GetOcIpWorksCopyrightRequest() {} + +int GetOcIpWorksCopyrightRequest::getPageNo() const { + return pageNo_; +} + +void GetOcIpWorksCopyrightRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcIpWorksCopyrightRequest::getPageSize() const { + return pageSize_; +} + +void GetOcIpWorksCopyrightRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcIpWorksCopyrightRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcIpWorksCopyrightRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcIpWorksCopyrightResult.cc b/dt-oc-info/src/model/GetOcIpWorksCopyrightResult.cc new file mode 100644 index 000000000..5bdefd258 --- /dev/null +++ b/dt-oc-info/src/model/GetOcIpWorksCopyrightResult.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcIpWorksCopyrightResult::GetOcIpWorksCopyrightResult() : + ServiceResult() +{} + +GetOcIpWorksCopyrightResult::GetOcIpWorksCopyrightResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcIpWorksCopyrightResult::~GetOcIpWorksCopyrightResult() +{} + +void GetOcIpWorksCopyrightResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["CopyName"].isNull()) + dataObject.copyName = valueDataDataItem["CopyName"].asString(); + if(!valueDataDataItem["TypeName"].isNull()) + dataObject.typeName = valueDataDataItem["TypeName"].asString(); + if(!valueDataDataItem["CopyNum"].isNull()) + dataObject.copyNum = valueDataDataItem["CopyNum"].asString(); + if(!valueDataDataItem["SuccessDate"].isNull()) + dataObject.successDate = valueDataDataItem["SuccessDate"].asString(); + if(!valueDataDataItem["FirstDate"].isNull()) + dataObject.firstDate = valueDataDataItem["FirstDate"].asString(); + if(!valueDataDataItem["ApprovalDate"].isNull()) + dataObject.approvalDate = valueDataDataItem["ApprovalDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcIpWorksCopyrightResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcIpWorksCopyrightResult::getMessage()const +{ + return message_; +} + +int GetOcIpWorksCopyrightResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcIpWorksCopyrightResult::getData()const +{ + return data_; +} + +int GetOcIpWorksCopyrightResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcIpWorksCopyrightResult::getCode()const +{ + return code_; +} + +bool GetOcIpWorksCopyrightResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcJusticeAuctionRequest.cc b/dt-oc-info/src/model/GetOcJusticeAuctionRequest.cc new file mode 100644 index 000000000..c6c4b4d58 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeAuctionRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcJusticeAuctionRequest; + +GetOcJusticeAuctionRequest::GetOcJusticeAuctionRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcJusticeAuction") { + setMethod(HttpRequest::Method::Post); +} + +GetOcJusticeAuctionRequest::~GetOcJusticeAuctionRequest() {} + +int GetOcJusticeAuctionRequest::getPageNo() const { + return pageNo_; +} + +void GetOcJusticeAuctionRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcJusticeAuctionRequest::getPageSize() const { + return pageSize_; +} + +void GetOcJusticeAuctionRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcJusticeAuctionRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcJusticeAuctionRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcJusticeAuctionResult.cc b/dt-oc-info/src/model/GetOcJusticeAuctionResult.cc new file mode 100644 index 000000000..76ca54434 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeAuctionResult.cc @@ -0,0 +1,121 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcJusticeAuctionResult::GetOcJusticeAuctionResult() : + ServiceResult() +{} + +GetOcJusticeAuctionResult::GetOcJusticeAuctionResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcJusticeAuctionResult::~GetOcJusticeAuctionResult() +{} + +void GetOcJusticeAuctionResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["AuctionName"].isNull()) + dataObject.auctionName = valueDataDataItem["AuctionName"].asString(); + if(!valueDataDataItem["Court"].isNull()) + dataObject.court = valueDataDataItem["Court"].asString(); + if(!valueDataDataItem["AuctionDate"].isNull()) + dataObject.auctionDate = valueDataDataItem["AuctionDate"].asString(); + if(!valueDataDataItem["StartPrice"].isNull()) + dataObject.startPrice = valueDataDataItem["StartPrice"].asString(); + if(!valueDataDataItem["EstPrice"].isNull()) + dataObject.estPrice = valueDataDataItem["EstPrice"].asString(); + if(!valueDataDataItem["Owner"].isNull()) + dataObject.owner = valueDataDataItem["Owner"].asString(); + if(!valueDataDataItem["Restrict"].isNull()) + dataObject.restrict = valueDataDataItem["Restrict"].asString(); + if(!valueDataDataItem["Certificate"].isNull()) + dataObject.certificate = valueDataDataItem["Certificate"].asString(); + if(!valueDataDataItem["Document"].isNull()) + dataObject.document = valueDataDataItem["Document"].asString(); + if(!valueDataDataItem["Basis"].isNull()) + dataObject.basis = valueDataDataItem["Basis"].asString(); + if(!valueDataDataItem["Description"].isNull()) + dataObject.description = valueDataDataItem["Description"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcJusticeAuctionResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcJusticeAuctionResult::getMessage()const +{ + return message_; +} + +int GetOcJusticeAuctionResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcJusticeAuctionResult::getData()const +{ + return data_; +} + +int GetOcJusticeAuctionResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcJusticeAuctionResult::getCode()const +{ + return code_; +} + +bool GetOcJusticeAuctionResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcJusticeCaseFilingRequest.cc b/dt-oc-info/src/model/GetOcJusticeCaseFilingRequest.cc new file mode 100644 index 000000000..b26d8edce --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeCaseFilingRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcJusticeCaseFilingRequest; + +GetOcJusticeCaseFilingRequest::GetOcJusticeCaseFilingRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcJusticeCaseFiling") { + setMethod(HttpRequest::Method::Post); +} + +GetOcJusticeCaseFilingRequest::~GetOcJusticeCaseFilingRequest() {} + +int GetOcJusticeCaseFilingRequest::getPageNo() const { + return pageNo_; +} + +void GetOcJusticeCaseFilingRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcJusticeCaseFilingRequest::getPageSize() const { + return pageSize_; +} + +void GetOcJusticeCaseFilingRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcJusticeCaseFilingRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcJusticeCaseFilingRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcJusticeCaseFilingResult.cc b/dt-oc-info/src/model/GetOcJusticeCaseFilingResult.cc new file mode 100644 index 000000000..a8f45b74b --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeCaseFilingResult.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcJusticeCaseFilingResult::GetOcJusticeCaseFilingResult() : + ServiceResult() +{} + +GetOcJusticeCaseFilingResult::GetOcJusticeCaseFilingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcJusticeCaseFilingResult::~GetOcJusticeCaseFilingResult() +{} + +void GetOcJusticeCaseFilingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["CaseNum"].isNull()) + dataObject.caseNum = valueDataDataItem["CaseNum"].asString(); + if(!valueDataDataItem["Judge"].isNull()) + dataObject.judge = valueDataDataItem["Judge"].asString(); + if(!valueDataDataItem["Assistant"].isNull()) + dataObject.assistant = valueDataDataItem["Assistant"].asString(); + if(!valueDataDataItem["FilingDate"].isNull()) + dataObject.filingDate = valueDataDataItem["FilingDate"].asString(); + if(!valueDataDataItem["HearingDate"].isNull()) + dataObject.hearingDate = valueDataDataItem["HearingDate"].asString(); + if(!valueDataDataItem["EndDate"].isNull()) + dataObject.endDate = valueDataDataItem["EndDate"].asString(); + if(!valueDataDataItem["CaseStatus"].isNull()) + dataObject.caseStatus = valueDataDataItem["CaseStatus"].asString(); + if(!valueDataDataItem["Role"].isNull()) + dataObject.role = valueDataDataItem["Role"].asString(); + if(!valueDataDataItem["Party"].isNull()) + dataObject.party = valueDataDataItem["Party"].asString(); + if(!valueDataDataItem["CauseAction"].isNull()) + dataObject.causeAction = valueDataDataItem["CauseAction"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcJusticeCaseFilingResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcJusticeCaseFilingResult::getMessage()const +{ + return message_; +} + +int GetOcJusticeCaseFilingResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcJusticeCaseFilingResult::getData()const +{ + return data_; +} + +int GetOcJusticeCaseFilingResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcJusticeCaseFilingResult::getCode()const +{ + return code_; +} + +bool GetOcJusticeCaseFilingResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcJusticeCourtAnnouncementRequest.cc b/dt-oc-info/src/model/GetOcJusticeCourtAnnouncementRequest.cc new file mode 100644 index 000000000..97812ee69 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeCourtAnnouncementRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcJusticeCourtAnnouncementRequest; + +GetOcJusticeCourtAnnouncementRequest::GetOcJusticeCourtAnnouncementRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcJusticeCourtAnnouncement") { + setMethod(HttpRequest::Method::Post); +} + +GetOcJusticeCourtAnnouncementRequest::~GetOcJusticeCourtAnnouncementRequest() {} + +int GetOcJusticeCourtAnnouncementRequest::getPageNo() const { + return pageNo_; +} + +void GetOcJusticeCourtAnnouncementRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcJusticeCourtAnnouncementRequest::getPageSize() const { + return pageSize_; +} + +void GetOcJusticeCourtAnnouncementRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcJusticeCourtAnnouncementRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcJusticeCourtAnnouncementRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcJusticeCourtAnnouncementResult.cc b/dt-oc-info/src/model/GetOcJusticeCourtAnnouncementResult.cc new file mode 100644 index 000000000..cd9a2dc27 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeCourtAnnouncementResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcJusticeCourtAnnouncementResult::GetOcJusticeCourtAnnouncementResult() : + ServiceResult() +{} + +GetOcJusticeCourtAnnouncementResult::GetOcJusticeCourtAnnouncementResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcJusticeCourtAnnouncementResult::~GetOcJusticeCourtAnnouncementResult() +{} + +void GetOcJusticeCourtAnnouncementResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["CauseAction"].isNull()) + dataObject.causeAction = valueDataDataItem["CauseAction"].asString(); + if(!valueDataDataItem["CaseNum"].isNull()) + dataObject.caseNum = valueDataDataItem["CaseNum"].asString(); + if(!valueDataDataItem["HearingDate"].isNull()) + dataObject.hearingDate = valueDataDataItem["HearingDate"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["Court"].isNull()) + dataObject.court = valueDataDataItem["Court"].asString(); + if(!valueDataDataItem["Tribunal"].isNull()) + dataObject.tribunal = valueDataDataItem["Tribunal"].asString(); + if(!valueDataDataItem["Judge"].isNull()) + dataObject.judge = valueDataDataItem["Judge"].asString(); + if(!valueDataDataItem["Title"].isNull()) + dataObject.title = valueDataDataItem["Title"].asString(); + if(!valueDataDataItem["Party"].isNull()) + dataObject.party = valueDataDataItem["Party"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcJusticeCourtAnnouncementResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcJusticeCourtAnnouncementResult::getMessage()const +{ + return message_; +} + +int GetOcJusticeCourtAnnouncementResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcJusticeCourtAnnouncementResult::getData()const +{ + return data_; +} + +int GetOcJusticeCourtAnnouncementResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcJusticeCourtAnnouncementResult::getCode()const +{ + return code_; +} + +bool GetOcJusticeCourtAnnouncementResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcJusticeCourtNoticeRequest.cc b/dt-oc-info/src/model/GetOcJusticeCourtNoticeRequest.cc new file mode 100644 index 000000000..2315b26ab --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeCourtNoticeRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcJusticeCourtNoticeRequest; + +GetOcJusticeCourtNoticeRequest::GetOcJusticeCourtNoticeRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcJusticeCourtNotice") { + setMethod(HttpRequest::Method::Post); +} + +GetOcJusticeCourtNoticeRequest::~GetOcJusticeCourtNoticeRequest() {} + +std::string GetOcJusticeCourtNoticeRequest::getRequestId() const { + return requestId_; +} + +void GetOcJusticeCourtNoticeRequest::setRequestId(const std::string &requestId) { + requestId_ = requestId; + setBodyParameter(std::string("RequestId"), requestId); +} + +int GetOcJusticeCourtNoticeRequest::getPageNo() const { + return pageNo_; +} + +void GetOcJusticeCourtNoticeRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcJusticeCourtNoticeRequest::getPageSize() const { + return pageSize_; +} + +void GetOcJusticeCourtNoticeRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcJusticeCourtNoticeRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcJusticeCourtNoticeRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcJusticeCourtNoticeResult.cc b/dt-oc-info/src/model/GetOcJusticeCourtNoticeResult.cc new file mode 100644 index 000000000..b26e983aa --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeCourtNoticeResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcJusticeCourtNoticeResult::GetOcJusticeCourtNoticeResult() : + ServiceResult() +{} + +GetOcJusticeCourtNoticeResult::GetOcJusticeCourtNoticeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcJusticeCourtNoticeResult::~GetOcJusticeCourtNoticeResult() +{} + +void GetOcJusticeCourtNoticeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Party"].isNull()) + dataObject.party = valueDataDataItem["Party"].asString(); + if(!valueDataDataItem["Type"].isNull()) + dataObject.type = valueDataDataItem["Type"].asString(); + if(!valueDataDataItem["Court"].isNull()) + dataObject.court = valueDataDataItem["Court"].asString(); + if(!valueDataDataItem["PublicDate"].isNull()) + dataObject.publicDate = valueDataDataItem["PublicDate"].asString(); + if(!valueDataDataItem["Content"].isNull()) + dataObject.content = valueDataDataItem["Content"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcJusticeCourtNoticeResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcJusticeCourtNoticeResult::getMessage()const +{ + return message_; +} + +int GetOcJusticeCourtNoticeResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcJusticeCourtNoticeResult::getData()const +{ + return data_; +} + +int GetOcJusticeCourtNoticeResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcJusticeCourtNoticeResult::getCode()const +{ + return code_; +} + +bool GetOcJusticeCourtNoticeResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcJusticeDishonestyRequest.cc b/dt-oc-info/src/model/GetOcJusticeDishonestyRequest.cc new file mode 100644 index 000000000..4d31e30ed --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeDishonestyRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcJusticeDishonestyRequest; + +GetOcJusticeDishonestyRequest::GetOcJusticeDishonestyRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcJusticeDishonesty") { + setMethod(HttpRequest::Method::Post); +} + +GetOcJusticeDishonestyRequest::~GetOcJusticeDishonestyRequest() {} + +int GetOcJusticeDishonestyRequest::getPageNo() const { + return pageNo_; +} + +void GetOcJusticeDishonestyRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcJusticeDishonestyRequest::getPageSize() const { + return pageSize_; +} + +void GetOcJusticeDishonestyRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcJusticeDishonestyRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcJusticeDishonestyRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcJusticeDishonestyResult.cc b/dt-oc-info/src/model/GetOcJusticeDishonestyResult.cc new file mode 100644 index 000000000..05451377d --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeDishonestyResult.cc @@ -0,0 +1,125 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcJusticeDishonestyResult::GetOcJusticeDishonestyResult() : + ServiceResult() +{} + +GetOcJusticeDishonestyResult::GetOcJusticeDishonestyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcJusticeDishonestyResult::~GetOcJusticeDishonestyResult() +{} + +void GetOcJusticeDishonestyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["SocialCreditCode"].isNull()) + dataObject.socialCreditCode = valueDataDataItem["SocialCreditCode"].asString(); + if(!valueDataDataItem["LegalName"].isNull()) + dataObject.legalName = valueDataDataItem["LegalName"].asString(); + if(!valueDataDataItem["Court"].isNull()) + dataObject.court = valueDataDataItem["Court"].asString(); + if(!valueDataDataItem["Province"].isNull()) + dataObject.province = valueDataDataItem["Province"].asString(); + if(!valueDataDataItem["FromCaseNum"].isNull()) + dataObject.fromCaseNum = valueDataDataItem["FromCaseNum"].asString(); + if(!valueDataDataItem["FilingDate"].isNull()) + dataObject.filingDate = valueDataDataItem["FilingDate"].asString(); + if(!valueDataDataItem["CaseNum"].isNull()) + dataObject.caseNum = valueDataDataItem["CaseNum"].asString(); + if(!valueDataDataItem["ExecuteDepartment"].isNull()) + dataObject.executeDepartment = valueDataDataItem["ExecuteDepartment"].asString(); + if(!valueDataDataItem["FinalDuty"].isNull()) + dataObject.finalDuty = valueDataDataItem["FinalDuty"].asString(); + if(!valueDataDataItem["ExecutionStatus"].isNull()) + dataObject.executionStatus = valueDataDataItem["ExecutionStatus"].asString(); + if(!valueDataDataItem["ExecutionDesc"].isNull()) + dataObject.executionDesc = valueDataDataItem["ExecutionDesc"].asString(); + if(!valueDataDataItem["PublishDate"].isNull()) + dataObject.publishDate = valueDataDataItem["PublishDate"].asString(); + if(!valueDataDataItem["Amount"].isNull()) + dataObject.amount = valueDataDataItem["Amount"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcJusticeDishonestyResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcJusticeDishonestyResult::getMessage()const +{ + return message_; +} + +int GetOcJusticeDishonestyResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcJusticeDishonestyResult::getData()const +{ + return data_; +} + +int GetOcJusticeDishonestyResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcJusticeDishonestyResult::getCode()const +{ + return code_; +} + +bool GetOcJusticeDishonestyResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcJusticeExecutedRequest.cc b/dt-oc-info/src/model/GetOcJusticeExecutedRequest.cc new file mode 100644 index 000000000..095e9aad3 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeExecutedRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcJusticeExecutedRequest; + +GetOcJusticeExecutedRequest::GetOcJusticeExecutedRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcJusticeExecuted") { + setMethod(HttpRequest::Method::Post); +} + +GetOcJusticeExecutedRequest::~GetOcJusticeExecutedRequest() {} + +std::string GetOcJusticeExecutedRequest::getRequestId() const { + return requestId_; +} + +void GetOcJusticeExecutedRequest::setRequestId(const std::string &requestId) { + requestId_ = requestId; + setBodyParameter(std::string("RequestId"), requestId); +} + +int GetOcJusticeExecutedRequest::getPageNo() const { + return pageNo_; +} + +void GetOcJusticeExecutedRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcJusticeExecutedRequest::getPageSize() const { + return pageSize_; +} + +void GetOcJusticeExecutedRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcJusticeExecutedRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcJusticeExecutedRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcJusticeExecutedResult.cc b/dt-oc-info/src/model/GetOcJusticeExecutedResult.cc new file mode 100644 index 000000000..4157f4924 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeExecutedResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcJusticeExecutedResult::GetOcJusticeExecutedResult() : + ServiceResult() +{} + +GetOcJusticeExecutedResult::GetOcJusticeExecutedResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcJusticeExecutedResult::~GetOcJusticeExecutedResult() +{} + +void GetOcJusticeExecutedResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["CaseNum"].isNull()) + dataObject.caseNum = valueDataDataItem["CaseNum"].asString(); + if(!valueDataDataItem["FilingDate"].isNull()) + dataObject.filingDate = valueDataDataItem["FilingDate"].asString(); + if(!valueDataDataItem["Court"].isNull()) + dataObject.court = valueDataDataItem["Court"].asString(); + if(!valueDataDataItem["Amount"].isNull()) + dataObject.amount = valueDataDataItem["Amount"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcJusticeExecutedResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcJusticeExecutedResult::getMessage()const +{ + return message_; +} + +int GetOcJusticeExecutedResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcJusticeExecutedResult::getData()const +{ + return data_; +} + +int GetOcJusticeExecutedResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcJusticeExecutedResult::getCode()const +{ + return code_; +} + +bool GetOcJusticeExecutedResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcJusticeJudgementDocRequest.cc b/dt-oc-info/src/model/GetOcJusticeJudgementDocRequest.cc new file mode 100644 index 000000000..8f5160347 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeJudgementDocRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcJusticeJudgementDocRequest; + +GetOcJusticeJudgementDocRequest::GetOcJusticeJudgementDocRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcJusticeJudgementDoc") { + setMethod(HttpRequest::Method::Post); +} + +GetOcJusticeJudgementDocRequest::~GetOcJusticeJudgementDocRequest() {} + +int GetOcJusticeJudgementDocRequest::getPageNo() const { + return pageNo_; +} + +void GetOcJusticeJudgementDocRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcJusticeJudgementDocRequest::getPageSize() const { + return pageSize_; +} + +void GetOcJusticeJudgementDocRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcJusticeJudgementDocRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcJusticeJudgementDocRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcJusticeJudgementDocResult.cc b/dt-oc-info/src/model/GetOcJusticeJudgementDocResult.cc new file mode 100644 index 000000000..b57ee3bf1 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeJudgementDocResult.cc @@ -0,0 +1,127 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcJusticeJudgementDocResult::GetOcJusticeJudgementDocResult() : + ServiceResult() +{} + +GetOcJusticeJudgementDocResult::GetOcJusticeJudgementDocResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcJusticeJudgementDocResult::~GetOcJusticeJudgementDocResult() +{} + +void GetOcJusticeJudgementDocResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Title"].isNull()) + dataObject.title = valueDataDataItem["Title"].asString(); + if(!valueDataDataItem["CaseNum"].isNull()) + dataObject.caseNum = valueDataDataItem["CaseNum"].asString(); + if(!valueDataDataItem["Role"].isNull()) + dataObject.role = valueDataDataItem["Role"].asString(); + if(!valueDataDataItem["JudgeResult"].isNull()) + dataObject.judgeResult = valueDataDataItem["JudgeResult"].asString(); + if(!valueDataDataItem["JudgeDate"].isNull()) + dataObject.judgeDate = valueDataDataItem["JudgeDate"].asString(); + if(!valueDataDataItem["PublicDate"].isNull()) + dataObject.publicDate = valueDataDataItem["PublicDate"].asString(); + if(!valueDataDataItem["CauseAction"].isNull()) + dataObject.causeAction = valueDataDataItem["CauseAction"].asString(); + if(!valueDataDataItem["CaseType"].isNull()) + dataObject.caseType = valueDataDataItem["CaseType"].asString(); + if(!valueDataDataItem["Court"].isNull()) + dataObject.court = valueDataDataItem["Court"].asString(); + if(!valueDataDataItem["SubAmount"].isNull()) + dataObject.subAmount = valueDataDataItem["SubAmount"].asString(); + if(!valueDataDataItem["CaseFlow"].isNull()) + dataObject.caseFlow = valueDataDataItem["CaseFlow"].asString(); + if(!valueDataDataItem["Party"].isNull()) + dataObject.party = valueDataDataItem["Party"].asString(); + if(!valueDataDataItem["Plaintiff"].isNull()) + dataObject.plaintiff = valueDataDataItem["Plaintiff"].asString(); + if(!valueDataDataItem["Defendant"].isNull()) + dataObject.defendant = valueDataDataItem["Defendant"].asString(); + if(!valueDataDataItem["JudgeType"].isNull()) + dataObject.judgeType = valueDataDataItem["JudgeType"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcJusticeJudgementDocResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcJusticeJudgementDocResult::getMessage()const +{ + return message_; +} + +int GetOcJusticeJudgementDocResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcJusticeJudgementDocResult::getData()const +{ + return data_; +} + +int GetOcJusticeJudgementDocResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcJusticeJudgementDocResult::getCode()const +{ + return code_; +} + +bool GetOcJusticeJudgementDocResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcJusticeLimitHighConsumeRequest.cc b/dt-oc-info/src/model/GetOcJusticeLimitHighConsumeRequest.cc new file mode 100644 index 000000000..bee72dda6 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeLimitHighConsumeRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcJusticeLimitHighConsumeRequest; + +GetOcJusticeLimitHighConsumeRequest::GetOcJusticeLimitHighConsumeRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcJusticeLimitHighConsume") { + setMethod(HttpRequest::Method::Post); +} + +GetOcJusticeLimitHighConsumeRequest::~GetOcJusticeLimitHighConsumeRequest() {} + +std::string GetOcJusticeLimitHighConsumeRequest::getRequestId() const { + return requestId_; +} + +void GetOcJusticeLimitHighConsumeRequest::setRequestId(const std::string &requestId) { + requestId_ = requestId; + setBodyParameter(std::string("RequestId"), requestId); +} + +int GetOcJusticeLimitHighConsumeRequest::getPageNo() const { + return pageNo_; +} + +void GetOcJusticeLimitHighConsumeRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcJusticeLimitHighConsumeRequest::getPageSize() const { + return pageSize_; +} + +void GetOcJusticeLimitHighConsumeRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcJusticeLimitHighConsumeRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcJusticeLimitHighConsumeRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcJusticeLimitHighConsumeResult.cc b/dt-oc-info/src/model/GetOcJusticeLimitHighConsumeResult.cc new file mode 100644 index 000000000..96f3e6d1b --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeLimitHighConsumeResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcJusticeLimitHighConsumeResult::GetOcJusticeLimitHighConsumeResult() : + ServiceResult() +{} + +GetOcJusticeLimitHighConsumeResult::GetOcJusticeLimitHighConsumeResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcJusticeLimitHighConsumeResult::~GetOcJusticeLimitHighConsumeResult() +{} + +void GetOcJusticeLimitHighConsumeResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Name"].isNull()) + dataObject.name = valueDataDataItem["Name"].asString(); + if(!valueDataDataItem["CompanyName"].isNull()) + dataObject.companyName = valueDataDataItem["CompanyName"].asString(); + if(!valueDataDataItem["FilingDate"].isNull()) + dataObject.filingDate = valueDataDataItem["FilingDate"].asString(); + if(!valueDataDataItem["CaseNum"].isNull()) + dataObject.caseNum = valueDataDataItem["CaseNum"].asString(); + if(!valueDataDataItem["Court"].isNull()) + dataObject.court = valueDataDataItem["Court"].asString(); + if(!valueDataDataItem["ExecutionApplicant"].isNull()) + dataObject.executionApplicant = valueDataDataItem["ExecutionApplicant"].asString(); + if(!valueDataDataItem["CauseAction"].isNull()) + dataObject.causeAction = valueDataDataItem["CauseAction"].asString(); + if(!valueDataDataItem["PublishDate"].isNull()) + dataObject.publishDate = valueDataDataItem["PublishDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcJusticeLimitHighConsumeResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcJusticeLimitHighConsumeResult::getMessage()const +{ + return message_; +} + +int GetOcJusticeLimitHighConsumeResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcJusticeLimitHighConsumeResult::getData()const +{ + return data_; +} + +int GetOcJusticeLimitHighConsumeResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcJusticeLimitHighConsumeResult::getCode()const +{ + return code_; +} + +bool GetOcJusticeLimitHighConsumeResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcJusticeTerminalCaseRequest.cc b/dt-oc-info/src/model/GetOcJusticeTerminalCaseRequest.cc new file mode 100644 index 000000000..f96399669 --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeTerminalCaseRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcJusticeTerminalCaseRequest; + +GetOcJusticeTerminalCaseRequest::GetOcJusticeTerminalCaseRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcJusticeTerminalCase") { + setMethod(HttpRequest::Method::Post); +} + +GetOcJusticeTerminalCaseRequest::~GetOcJusticeTerminalCaseRequest() {} + +int GetOcJusticeTerminalCaseRequest::getPageNo() const { + return pageNo_; +} + +void GetOcJusticeTerminalCaseRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcJusticeTerminalCaseRequest::getPageSize() const { + return pageSize_; +} + +void GetOcJusticeTerminalCaseRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcJusticeTerminalCaseRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcJusticeTerminalCaseRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcJusticeTerminalCaseResult.cc b/dt-oc-info/src/model/GetOcJusticeTerminalCaseResult.cc new file mode 100644 index 000000000..25499c4df --- /dev/null +++ b/dt-oc-info/src/model/GetOcJusticeTerminalCaseResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcJusticeTerminalCaseResult::GetOcJusticeTerminalCaseResult() : + ServiceResult() +{} + +GetOcJusticeTerminalCaseResult::GetOcJusticeTerminalCaseResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcJusticeTerminalCaseResult::~GetOcJusticeTerminalCaseResult() +{} + +void GetOcJusticeTerminalCaseResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Name"].isNull()) + dataObject.name = valueDataDataItem["Name"].asString(); + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["FilingDate"].isNull()) + dataObject.filingDate = valueDataDataItem["FilingDate"].asString(); + if(!valueDataDataItem["TerminalNum"].isNull()) + dataObject.terminalNum = valueDataDataItem["TerminalNum"].asString(); + if(!valueDataDataItem["CaseNum"].isNull()) + dataObject.caseNum = valueDataDataItem["CaseNum"].asString(); + if(!valueDataDataItem["Court"].isNull()) + dataObject.court = valueDataDataItem["Court"].asString(); + if(!valueDataDataItem["TerminateDate"].isNull()) + dataObject.terminateDate = valueDataDataItem["TerminateDate"].asString(); + if(!valueDataDataItem["ExecAmount"].isNull()) + dataObject.execAmount = valueDataDataItem["ExecAmount"].asString(); + if(!valueDataDataItem["FailPerformAmount"].isNull()) + dataObject.failPerformAmount = valueDataDataItem["FailPerformAmount"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcJusticeTerminalCaseResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcJusticeTerminalCaseResult::getMessage()const +{ + return message_; +} + +int GetOcJusticeTerminalCaseResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcJusticeTerminalCaseResult::getData()const +{ + return data_; +} + +int GetOcJusticeTerminalCaseResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcJusticeTerminalCaseResult::getCode()const +{ + return code_; +} + +bool GetOcJusticeTerminalCaseResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcListedCompanyRequest.cc b/dt-oc-info/src/model/GetOcListedCompanyRequest.cc new file mode 100644 index 000000000..6cdf355d8 --- /dev/null +++ b/dt-oc-info/src/model/GetOcListedCompanyRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcListedCompanyRequest; + +GetOcListedCompanyRequest::GetOcListedCompanyRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcListedCompany") { + setMethod(HttpRequest::Method::Post); +} + +GetOcListedCompanyRequest::~GetOcListedCompanyRequest() {} + +int GetOcListedCompanyRequest::getPageNo() const { + return pageNo_; +} + +void GetOcListedCompanyRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcListedCompanyRequest::getPageSize() const { + return pageSize_; +} + +void GetOcListedCompanyRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcListedCompanyRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcListedCompanyRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcListedCompanyResult.cc b/dt-oc-info/src/model/GetOcListedCompanyResult.cc new file mode 100644 index 000000000..0312a3853 --- /dev/null +++ b/dt-oc-info/src/model/GetOcListedCompanyResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcListedCompanyResult::GetOcListedCompanyResult() : + ServiceResult() +{} + +GetOcListedCompanyResult::GetOcListedCompanyResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcListedCompanyResult::~GetOcListedCompanyResult() +{} + +void GetOcListedCompanyResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["EntNameEng"].isNull()) + dataObject.entNameEng = valueDataDataItem["EntNameEng"].asString(); + if(!valueDataDataItem["SecuritiesCode"].isNull()) + dataObject.securitiesCode = valueDataDataItem["SecuritiesCode"].asString(); + if(!valueDataDataItem["SecuritiesName"].isNull()) + dataObject.securitiesName = valueDataDataItem["SecuritiesName"].asString(); + if(!valueDataDataItem["SecuritiesMarket"].isNull()) + dataObject.securitiesMarket = valueDataDataItem["SecuritiesMarket"].asString(); + if(!valueDataDataItem["ListDate"].isNull()) + dataObject.listDate = valueDataDataItem["ListDate"].asString(); + if(!valueDataDataItem["TotalShares"].isNull()) + dataObject.totalShares = valueDataDataItem["TotalShares"].asString(); + if(!valueDataDataItem["TotalFlowShares"].isNull()) + dataObject.totalFlowShares = valueDataDataItem["TotalFlowShares"].asString(); + if(!valueDataDataItem["CirculationMarketValue"].isNull()) + dataObject.circulationMarketValue = valueDataDataItem["CirculationMarketValue"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcListedCompanyResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcListedCompanyResult::getMessage()const +{ + return message_; +} + +int GetOcListedCompanyResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcListedCompanyResult::getData()const +{ + return data_; +} + +int GetOcListedCompanyResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcListedCompanyResult::getCode()const +{ + return code_; +} + +bool GetOcListedCompanyResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcNegativeAdminPunishmentRequest.cc b/dt-oc-info/src/model/GetOcNegativeAdminPunishmentRequest.cc new file mode 100644 index 000000000..d83a7382f --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeAdminPunishmentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcNegativeAdminPunishmentRequest; + +GetOcNegativeAdminPunishmentRequest::GetOcNegativeAdminPunishmentRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcNegativeAdminPunishment") { + setMethod(HttpRequest::Method::Post); +} + +GetOcNegativeAdminPunishmentRequest::~GetOcNegativeAdminPunishmentRequest() {} + +int GetOcNegativeAdminPunishmentRequest::getPageNo() const { + return pageNo_; +} + +void GetOcNegativeAdminPunishmentRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcNegativeAdminPunishmentRequest::getPageSize() const { + return pageSize_; +} + +void GetOcNegativeAdminPunishmentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcNegativeAdminPunishmentRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcNegativeAdminPunishmentRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcNegativeAdminPunishmentResult.cc b/dt-oc-info/src/model/GetOcNegativeAdminPunishmentResult.cc new file mode 100644 index 000000000..b956acd25 --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeAdminPunishmentResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcNegativeAdminPunishmentResult::GetOcNegativeAdminPunishmentResult() : + ServiceResult() +{} + +GetOcNegativeAdminPunishmentResult::GetOcNegativeAdminPunishmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcNegativeAdminPunishmentResult::~GetOcNegativeAdminPunishmentResult() +{} + +void GetOcNegativeAdminPunishmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["PunishNum"].isNull()) + dataObject.punishNum = valueDataDataItem["PunishNum"].asString(); + if(!valueDataDataItem["IllegalType"].isNull()) + dataObject.illegalType = valueDataDataItem["IllegalType"].asString(); + if(!valueDataDataItem["PunishResult"].isNull()) + dataObject.punishResult = valueDataDataItem["PunishResult"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["PunishDate"].isNull()) + dataObject.punishDate = valueDataDataItem["PunishDate"].asString(); + if(!valueDataDataItem["LawBasis"].isNull()) + dataObject.lawBasis = valueDataDataItem["LawBasis"].asString(); + if(!valueDataDataItem["PublicDate"].isNull()) + dataObject.publicDate = valueDataDataItem["PublicDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcNegativeAdminPunishmentResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcNegativeAdminPunishmentResult::getMessage()const +{ + return message_; +} + +int GetOcNegativeAdminPunishmentResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcNegativeAdminPunishmentResult::getData()const +{ + return data_; +} + +int GetOcNegativeAdminPunishmentResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcNegativeAdminPunishmentResult::getCode()const +{ + return code_; +} + +bool GetOcNegativeAdminPunishmentResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcNegativeCustomsPunishmentRequest.cc b/dt-oc-info/src/model/GetOcNegativeCustomsPunishmentRequest.cc new file mode 100644 index 000000000..1173f40dd --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeCustomsPunishmentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcNegativeCustomsPunishmentRequest; + +GetOcNegativeCustomsPunishmentRequest::GetOcNegativeCustomsPunishmentRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcNegativeCustomsPunishment") { + setMethod(HttpRequest::Method::Post); +} + +GetOcNegativeCustomsPunishmentRequest::~GetOcNegativeCustomsPunishmentRequest() {} + +int GetOcNegativeCustomsPunishmentRequest::getPageNo() const { + return pageNo_; +} + +void GetOcNegativeCustomsPunishmentRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcNegativeCustomsPunishmentRequest::getPageSize() const { + return pageSize_; +} + +void GetOcNegativeCustomsPunishmentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcNegativeCustomsPunishmentRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcNegativeCustomsPunishmentRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcNegativeCustomsPunishmentResult.cc b/dt-oc-info/src/model/GetOcNegativeCustomsPunishmentResult.cc new file mode 100644 index 000000000..a4ab2e966 --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeCustomsPunishmentResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcNegativeCustomsPunishmentResult::GetOcNegativeCustomsPunishmentResult() : + ServiceResult() +{} + +GetOcNegativeCustomsPunishmentResult::GetOcNegativeCustomsPunishmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcNegativeCustomsPunishmentResult::~GetOcNegativeCustomsPunishmentResult() +{} + +void GetOcNegativeCustomsPunishmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["Basis"].isNull()) + dataObject.basis = valueDataDataItem["Basis"].asString(); + if(!valueDataDataItem["Title"].isNull()) + dataObject.title = valueDataDataItem["Title"].asString(); + if(!valueDataDataItem["PunishType"].isNull()) + dataObject.punishType = valueDataDataItem["PunishType"].asString(); + if(!valueDataDataItem["LegalName"].isNull()) + dataObject.legalName = valueDataDataItem["LegalName"].asString(); + if(!valueDataDataItem["Customs"].isNull()) + dataObject.customs = valueDataDataItem["Customs"].asString(); + if(!valueDataDataItem["PunishDate"].isNull()) + dataObject.punishDate = valueDataDataItem["PunishDate"].asString(); + if(!valueDataDataItem["CustomsNo"].isNull()) + dataObject.customsNo = valueDataDataItem["CustomsNo"].asString(); + if(!valueDataDataItem["CaseNo"].isNull()) + dataObject.caseNo = valueDataDataItem["CaseNo"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcNegativeCustomsPunishmentResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcNegativeCustomsPunishmentResult::getMessage()const +{ + return message_; +} + +int GetOcNegativeCustomsPunishmentResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcNegativeCustomsPunishmentResult::getData()const +{ + return data_; +} + +int GetOcNegativeCustomsPunishmentResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcNegativeCustomsPunishmentResult::getCode()const +{ + return code_; +} + +bool GetOcNegativeCustomsPunishmentResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcNegativeEnvironmentPunishmentRequest.cc b/dt-oc-info/src/model/GetOcNegativeEnvironmentPunishmentRequest.cc new file mode 100644 index 000000000..7a4ef23a4 --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeEnvironmentPunishmentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcNegativeEnvironmentPunishmentRequest; + +GetOcNegativeEnvironmentPunishmentRequest::GetOcNegativeEnvironmentPunishmentRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcNegativeEnvironmentPunishment") { + setMethod(HttpRequest::Method::Post); +} + +GetOcNegativeEnvironmentPunishmentRequest::~GetOcNegativeEnvironmentPunishmentRequest() {} + +int GetOcNegativeEnvironmentPunishmentRequest::getPageNo() const { + return pageNo_; +} + +void GetOcNegativeEnvironmentPunishmentRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcNegativeEnvironmentPunishmentRequest::getPageSize() const { + return pageSize_; +} + +void GetOcNegativeEnvironmentPunishmentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcNegativeEnvironmentPunishmentRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcNegativeEnvironmentPunishmentRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcNegativeEnvironmentPunishmentResult.cc b/dt-oc-info/src/model/GetOcNegativeEnvironmentPunishmentResult.cc new file mode 100644 index 000000000..822b45c13 --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeEnvironmentPunishmentResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcNegativeEnvironmentPunishmentResult::GetOcNegativeEnvironmentPunishmentResult() : + ServiceResult() +{} + +GetOcNegativeEnvironmentPunishmentResult::GetOcNegativeEnvironmentPunishmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcNegativeEnvironmentPunishmentResult::~GetOcNegativeEnvironmentPunishmentResult() +{} + +void GetOcNegativeEnvironmentPunishmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["PunishNum"].isNull()) + dataObject.punishNum = valueDataDataItem["PunishNum"].asString(); + if(!valueDataDataItem["PunishLaw"].isNull()) + dataObject.punishLaw = valueDataDataItem["PunishLaw"].asString(); + if(!valueDataDataItem["PunishBasis"].isNull()) + dataObject.punishBasis = valueDataDataItem["PunishBasis"].asString(); + if(!valueDataDataItem["PunishRes"].isNull()) + dataObject.punishRes = valueDataDataItem["PunishRes"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["PunishDate"].isNull()) + dataObject.punishDate = valueDataDataItem["PunishDate"].asString(); + if(!valueDataDataItem["ExecStatus"].isNull()) + dataObject.execStatus = valueDataDataItem["ExecStatus"].asString(); + if(!valueDataDataItem["PunishContent"].isNull()) + dataObject.punishContent = valueDataDataItem["PunishContent"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcNegativeEnvironmentPunishmentResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcNegativeEnvironmentPunishmentResult::getMessage()const +{ + return message_; +} + +int GetOcNegativeEnvironmentPunishmentResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcNegativeEnvironmentPunishmentResult::getData()const +{ + return data_; +} + +int GetOcNegativeEnvironmentPunishmentResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcNegativeEnvironmentPunishmentResult::getCode()const +{ + return code_; +} + +bool GetOcNegativeEnvironmentPunishmentResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcNegativeFoodDrugPunishmentRequest.cc b/dt-oc-info/src/model/GetOcNegativeFoodDrugPunishmentRequest.cc new file mode 100644 index 000000000..269f59df7 --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeFoodDrugPunishmentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcNegativeFoodDrugPunishmentRequest; + +GetOcNegativeFoodDrugPunishmentRequest::GetOcNegativeFoodDrugPunishmentRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcNegativeFoodDrugPunishment") { + setMethod(HttpRequest::Method::Post); +} + +GetOcNegativeFoodDrugPunishmentRequest::~GetOcNegativeFoodDrugPunishmentRequest() {} + +int GetOcNegativeFoodDrugPunishmentRequest::getPageNo() const { + return pageNo_; +} + +void GetOcNegativeFoodDrugPunishmentRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcNegativeFoodDrugPunishmentRequest::getPageSize() const { + return pageSize_; +} + +void GetOcNegativeFoodDrugPunishmentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcNegativeFoodDrugPunishmentRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcNegativeFoodDrugPunishmentRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcNegativeFoodDrugPunishmentResult.cc b/dt-oc-info/src/model/GetOcNegativeFoodDrugPunishmentResult.cc new file mode 100644 index 000000000..1b2972b4b --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeFoodDrugPunishmentResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcNegativeFoodDrugPunishmentResult::GetOcNegativeFoodDrugPunishmentResult() : + ServiceResult() +{} + +GetOcNegativeFoodDrugPunishmentResult::GetOcNegativeFoodDrugPunishmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcNegativeFoodDrugPunishmentResult::~GetOcNegativeFoodDrugPunishmentResult() +{} + +void GetOcNegativeFoodDrugPunishmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["PunishNum"].isNull()) + dataObject.punishNum = valueDataDataItem["PunishNum"].asString(); + if(!valueDataDataItem["IllegalType"].isNull()) + dataObject.illegalType = valueDataDataItem["IllegalType"].asString(); + if(!valueDataDataItem["PunishResult"].isNull()) + dataObject.punishResult = valueDataDataItem["PunishResult"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["PunishDate"].isNull()) + dataObject.punishDate = valueDataDataItem["PunishDate"].asString(); + if(!valueDataDataItem["LawBasis"].isNull()) + dataObject.lawBasis = valueDataDataItem["LawBasis"].asString(); + if(!valueDataDataItem["PublicDate"].isNull()) + dataObject.publicDate = valueDataDataItem["PublicDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcNegativeFoodDrugPunishmentResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcNegativeFoodDrugPunishmentResult::getMessage()const +{ + return message_; +} + +int GetOcNegativeFoodDrugPunishmentResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcNegativeFoodDrugPunishmentResult::getData()const +{ + return data_; +} + +int GetOcNegativeFoodDrugPunishmentResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcNegativeFoodDrugPunishmentResult::getCode()const +{ + return code_; +} + +bool GetOcNegativeFoodDrugPunishmentResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcNegativeQualityPunishmentRequest.cc b/dt-oc-info/src/model/GetOcNegativeQualityPunishmentRequest.cc new file mode 100644 index 000000000..7256fc50c --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeQualityPunishmentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcNegativeQualityPunishmentRequest; + +GetOcNegativeQualityPunishmentRequest::GetOcNegativeQualityPunishmentRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcNegativeQualityPunishment") { + setMethod(HttpRequest::Method::Post); +} + +GetOcNegativeQualityPunishmentRequest::~GetOcNegativeQualityPunishmentRequest() {} + +int GetOcNegativeQualityPunishmentRequest::getPageNo() const { + return pageNo_; +} + +void GetOcNegativeQualityPunishmentRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcNegativeQualityPunishmentRequest::getPageSize() const { + return pageSize_; +} + +void GetOcNegativeQualityPunishmentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcNegativeQualityPunishmentRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcNegativeQualityPunishmentRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcNegativeQualityPunishmentResult.cc b/dt-oc-info/src/model/GetOcNegativeQualityPunishmentResult.cc new file mode 100644 index 000000000..115abf12d --- /dev/null +++ b/dt-oc-info/src/model/GetOcNegativeQualityPunishmentResult.cc @@ -0,0 +1,109 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcNegativeQualityPunishmentResult::GetOcNegativeQualityPunishmentResult() : + ServiceResult() +{} + +GetOcNegativeQualityPunishmentResult::GetOcNegativeQualityPunishmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcNegativeQualityPunishmentResult::~GetOcNegativeQualityPunishmentResult() +{} + +void GetOcNegativeQualityPunishmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["Title"].isNull()) + dataObject.title = valueDataDataItem["Title"].asString(); + if(!valueDataDataItem["EventDate"].isNull()) + dataObject.eventDate = valueDataDataItem["EventDate"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["PubDate"].isNull()) + dataObject.pubDate = valueDataDataItem["PubDate"].asString(); + if(!valueDataDataItem["EventResult"].isNull()) + dataObject.eventResult = valueDataDataItem["EventResult"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcNegativeQualityPunishmentResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcNegativeQualityPunishmentResult::getMessage()const +{ + return message_; +} + +int GetOcNegativeQualityPunishmentResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcNegativeQualityPunishmentResult::getData()const +{ + return data_; +} + +int GetOcNegativeQualityPunishmentResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcNegativeQualityPunishmentResult::getCode()const +{ + return code_; +} + +bool GetOcNegativeQualityPunishmentResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcOperationBiddingRequest.cc b/dt-oc-info/src/model/GetOcOperationBiddingRequest.cc new file mode 100644 index 000000000..d7d04e397 --- /dev/null +++ b/dt-oc-info/src/model/GetOcOperationBiddingRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcOperationBiddingRequest; + +GetOcOperationBiddingRequest::GetOcOperationBiddingRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcOperationBidding") { + setMethod(HttpRequest::Method::Post); +} + +GetOcOperationBiddingRequest::~GetOcOperationBiddingRequest() {} + +int GetOcOperationBiddingRequest::getPageNo() const { + return pageNo_; +} + +void GetOcOperationBiddingRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcOperationBiddingRequest::getPageSize() const { + return pageSize_; +} + +void GetOcOperationBiddingRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcOperationBiddingRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcOperationBiddingRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcOperationBiddingResult.cc b/dt-oc-info/src/model/GetOcOperationBiddingResult.cc new file mode 100644 index 000000000..172bbd086 --- /dev/null +++ b/dt-oc-info/src/model/GetOcOperationBiddingResult.cc @@ -0,0 +1,129 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcOperationBiddingResult::GetOcOperationBiddingResult() : + ServiceResult() +{} + +GetOcOperationBiddingResult::GetOcOperationBiddingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcOperationBiddingResult::~GetOcOperationBiddingResult() +{} + +void GetOcOperationBiddingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["BidTitle"].isNull()) + dataObject.bidTitle = valueDataDataItem["BidTitle"].asString(); + if(!valueDataDataItem["BidType"].isNull()) + dataObject.bidType = valueDataDataItem["BidType"].asString(); + if(!valueDataDataItem["RegionName"].isNull()) + dataObject.regionName = valueDataDataItem["RegionName"].asString(); + if(!valueDataDataItem["BidIndustry"].isNull()) + dataObject.bidIndustry = valueDataDataItem["BidIndustry"].asString(); + if(!valueDataDataItem["PublicDate"].isNull()) + dataObject.publicDate = valueDataDataItem["PublicDate"].asString(); + if(!valueDataDataItem["ProjectNum"].isNull()) + dataObject.projectNum = valueDataDataItem["ProjectNum"].asString(); + if(!valueDataDataItem["ProjectName"].isNull()) + dataObject.projectName = valueDataDataItem["ProjectName"].asString(); + if(!valueDataDataItem["ProjectAmount"].isNull()) + dataObject.projectAmount = valueDataDataItem["ProjectAmount"].asString(); + if(!valueDataDataItem["TenderEntName"].isNull()) + dataObject.tenderEntName = valueDataDataItem["TenderEntName"].asString(); + if(!valueDataDataItem["AgentEntName"].isNull()) + dataObject.agentEntName = valueDataDataItem["AgentEntName"].asString(); + if(!valueDataDataItem["WinnerEntName"].isNull()) + dataObject.winnerEntName = valueDataDataItem["WinnerEntName"].asString(); + if(!valueDataDataItem["Content"].isNull()) + dataObject.content = valueDataDataItem["Content"].asString(); + if(!valueDataDataItem["InfoType"].isNull()) + dataObject.infoType = valueDataDataItem["InfoType"].asString(); + if(!valueDataDataItem["SubType"].isNull()) + dataObject.subType = valueDataDataItem["SubType"].asString(); + if(!valueDataDataItem["OpeningTime"].isNull()) + dataObject.openingTime = valueDataDataItem["OpeningTime"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcOperationBiddingResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcOperationBiddingResult::getMessage()const +{ + return message_; +} + +int GetOcOperationBiddingResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcOperationBiddingResult::getData()const +{ + return data_; +} + +int GetOcOperationBiddingResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcOperationBiddingResult::getCode()const +{ + return code_; +} + +bool GetOcOperationBiddingResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcOperationCustomsRequest.cc b/dt-oc-info/src/model/GetOcOperationCustomsRequest.cc new file mode 100644 index 000000000..0cbf4f11e --- /dev/null +++ b/dt-oc-info/src/model/GetOcOperationCustomsRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcOperationCustomsRequest; + +GetOcOperationCustomsRequest::GetOcOperationCustomsRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcOperationCustoms") { + setMethod(HttpRequest::Method::Post); +} + +GetOcOperationCustomsRequest::~GetOcOperationCustomsRequest() {} + +int GetOcOperationCustomsRequest::getPageNo() const { + return pageNo_; +} + +void GetOcOperationCustomsRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcOperationCustomsRequest::getPageSize() const { + return pageSize_; +} + +void GetOcOperationCustomsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcOperationCustomsRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcOperationCustomsRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcOperationCustomsResult.cc b/dt-oc-info/src/model/GetOcOperationCustomsResult.cc new file mode 100644 index 000000000..0cf260334 --- /dev/null +++ b/dt-oc-info/src/model/GetOcOperationCustomsResult.cc @@ -0,0 +1,129 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcOperationCustomsResult::GetOcOperationCustomsResult() : + ServiceResult() +{} + +GetOcOperationCustomsResult::GetOcOperationCustomsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcOperationCustomsResult::~GetOcOperationCustomsResult() +{} + +void GetOcOperationCustomsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["RegDate"].isNull()) + dataObject.regDate = valueDataDataItem["RegDate"].asString(); + if(!valueDataDataItem["CustomsNum"].isNull()) + dataObject.customsNum = valueDataDataItem["CustomsNum"].asString(); + if(!valueDataDataItem["CustomsReg"].isNull()) + dataObject.customsReg = valueDataDataItem["CustomsReg"].asString(); + if(!valueDataDataItem["BusinessCate"].isNull()) + dataObject.businessCate = valueDataDataItem["BusinessCate"].asString(); + if(!valueDataDataItem["AdminRegionName"].isNull()) + dataObject.adminRegionName = valueDataDataItem["AdminRegionName"].asString(); + if(!valueDataDataItem["EcoRegionName"].isNull()) + dataObject.ecoRegionName = valueDataDataItem["EcoRegionName"].asString(); + if(!valueDataDataItem["SpecialArea"].isNull()) + dataObject.specialArea = valueDataDataItem["SpecialArea"].asString(); + if(!valueDataDataItem["IndustryType"].isNull()) + dataObject.industryType = valueDataDataItem["IndustryType"].asString(); + if(!valueDataDataItem["ValidDate"].isNull()) + dataObject.validDate = valueDataDataItem["ValidDate"].asString(); + if(!valueDataDataItem["ElectType"].isNull()) + dataObject.electType = valueDataDataItem["ElectType"].asString(); + if(!valueDataDataItem["CancelFlag"].isNull()) + dataObject.cancelFlag = valueDataDataItem["CancelFlag"].asString(); + if(!valueDataDataItem["AnnualReport"].isNull()) + dataObject.annualReport = valueDataDataItem["AnnualReport"].asString(); + if(!valueDataDataItem["CreditLevelsNew"].isNull()) + dataObject.creditLevelsNew = valueDataDataItem["CreditLevelsNew"].asString(); + if(!valueDataDataItem["IdentCode"].isNull()) + dataObject.identCode = valueDataDataItem["IdentCode"].asString(); + if(!valueDataDataItem["IdentDate"].isNull()) + dataObject.identDate = valueDataDataItem["IdentDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcOperationCustomsResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcOperationCustomsResult::getMessage()const +{ + return message_; +} + +int GetOcOperationCustomsResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcOperationCustomsResult::getData()const +{ + return data_; +} + +int GetOcOperationCustomsResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcOperationCustomsResult::getCode()const +{ + return code_; +} + +bool GetOcOperationCustomsResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcOperationPurchaseLandRequest.cc b/dt-oc-info/src/model/GetOcOperationPurchaseLandRequest.cc new file mode 100644 index 000000000..df4a3bb69 --- /dev/null +++ b/dt-oc-info/src/model/GetOcOperationPurchaseLandRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcOperationPurchaseLandRequest; + +GetOcOperationPurchaseLandRequest::GetOcOperationPurchaseLandRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcOperationPurchaseLand") { + setMethod(HttpRequest::Method::Post); +} + +GetOcOperationPurchaseLandRequest::~GetOcOperationPurchaseLandRequest() {} + +int GetOcOperationPurchaseLandRequest::getPageNo() const { + return pageNo_; +} + +void GetOcOperationPurchaseLandRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcOperationPurchaseLandRequest::getPageSize() const { + return pageSize_; +} + +void GetOcOperationPurchaseLandRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcOperationPurchaseLandRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcOperationPurchaseLandRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcOperationPurchaseLandResult.cc b/dt-oc-info/src/model/GetOcOperationPurchaseLandResult.cc new file mode 100644 index 000000000..f20107791 --- /dev/null +++ b/dt-oc-info/src/model/GetOcOperationPurchaseLandResult.cc @@ -0,0 +1,137 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcOperationPurchaseLandResult::GetOcOperationPurchaseLandResult() : + ServiceResult() +{} + +GetOcOperationPurchaseLandResult::GetOcOperationPurchaseLandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcOperationPurchaseLandResult::~GetOcOperationPurchaseLandResult() +{} + +void GetOcOperationPurchaseLandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["RegionName"].isNull()) + dataObject.regionName = valueDataDataItem["RegionName"].asString(); + if(!valueDataDataItem["ElectronicNo"].isNull()) + dataObject.electronicNo = valueDataDataItem["ElectronicNo"].asString(); + if(!valueDataDataItem["ProjectName"].isNull()) + dataObject.projectName = valueDataDataItem["ProjectName"].asString(); + if(!valueDataDataItem["Location"].isNull()) + dataObject.location = valueDataDataItem["Location"].asString(); + if(!valueDataDataItem["Area"].isNull()) + dataObject.area = valueDataDataItem["Area"].asString(); + if(!valueDataDataItem["ReleaseDate"].isNull()) + dataObject.releaseDate = valueDataDataItem["ReleaseDate"].asString(); + if(!valueDataDataItem["LandSource"].isNull()) + dataObject.landSource = valueDataDataItem["LandSource"].asString(); + if(!valueDataDataItem["LandUse"].isNull()) + dataObject.landUse = valueDataDataItem["LandUse"].asString(); + if(!valueDataDataItem["LandLevel"].isNull()) + dataObject.landLevel = valueDataDataItem["LandLevel"].asString(); + if(!valueDataDataItem["SigningMode"].isNull()) + dataObject.signingMode = valueDataDataItem["SigningMode"].asString(); + if(!valueDataDataItem["UseYear"].isNull()) + dataObject.useYear = valueDataDataItem["UseYear"].asString(); + if(!valueDataDataItem["Industry"].isNull()) + dataObject.industry = valueDataDataItem["Industry"].asString(); + if(!valueDataDataItem["PromiseDeliveryDate"].isNull()) + dataObject.promiseDeliveryDate = valueDataDataItem["PromiseDeliveryDate"].asString(); + if(!valueDataDataItem["PromiseStartDate"].isNull()) + dataObject.promiseStartDate = valueDataDataItem["PromiseStartDate"].asString(); + if(!valueDataDataItem["PromiseEndDate"].isNull()) + dataObject.promiseEndDate = valueDataDataItem["PromiseEndDate"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["Price"].isNull()) + dataObject.price = valueDataDataItem["Price"].asString(); + if(!valueDataDataItem["VolumeFractionUpperBound"].isNull()) + dataObject.volumeFractionUpperBound = valueDataDataItem["VolumeFractionUpperBound"].asString(); + if(!valueDataDataItem["VolumeFractionLowerBound"].isNull()) + dataObject.volumeFractionLowerBound = valueDataDataItem["VolumeFractionLowerBound"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcOperationPurchaseLandResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcOperationPurchaseLandResult::getMessage()const +{ + return message_; +} + +int GetOcOperationPurchaseLandResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcOperationPurchaseLandResult::getData()const +{ + return data_; +} + +int GetOcOperationPurchaseLandResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcOperationPurchaseLandResult::getCode()const +{ + return code_; +} + +bool GetOcOperationPurchaseLandResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcOperationRecruitmentRequest.cc b/dt-oc-info/src/model/GetOcOperationRecruitmentRequest.cc new file mode 100644 index 000000000..b451b1eed --- /dev/null +++ b/dt-oc-info/src/model/GetOcOperationRecruitmentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcOperationRecruitmentRequest; + +GetOcOperationRecruitmentRequest::GetOcOperationRecruitmentRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcOperationRecruitment") { + setMethod(HttpRequest::Method::Post); +} + +GetOcOperationRecruitmentRequest::~GetOcOperationRecruitmentRequest() {} + +int GetOcOperationRecruitmentRequest::getPageNo() const { + return pageNo_; +} + +void GetOcOperationRecruitmentRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcOperationRecruitmentRequest::getPageSize() const { + return pageSize_; +} + +void GetOcOperationRecruitmentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcOperationRecruitmentRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcOperationRecruitmentRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcOperationRecruitmentResult.cc b/dt-oc-info/src/model/GetOcOperationRecruitmentResult.cc new file mode 100644 index 000000000..516f3d5eb --- /dev/null +++ b/dt-oc-info/src/model/GetOcOperationRecruitmentResult.cc @@ -0,0 +1,121 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcOperationRecruitmentResult::GetOcOperationRecruitmentResult() : + ServiceResult() +{} + +GetOcOperationRecruitmentResult::GetOcOperationRecruitmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcOperationRecruitmentResult::~GetOcOperationRecruitmentResult() +{} + +void GetOcOperationRecruitmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["RecruitingName"].isNull()) + dataObject.recruitingName = valueDataDataItem["RecruitingName"].asString(); + if(!valueDataDataItem["Description"].isNull()) + dataObject.description = valueDataDataItem["Description"].asString(); + if(!valueDataDataItem["Salary"].isNull()) + dataObject.salary = valueDataDataItem["Salary"].asString(); + if(!valueDataDataItem["RecruitingAddress"].isNull()) + dataObject.recruitingAddress = valueDataDataItem["RecruitingAddress"].asString(); + if(!valueDataDataItem["Education"].isNull()) + dataObject.education = valueDataDataItem["Education"].asString(); + if(!valueDataDataItem["Experience"].isNull()) + dataObject.experience = valueDataDataItem["Experience"].asString(); + if(!valueDataDataItem["BenefitList"].isNull()) + dataObject.benefitList = valueDataDataItem["BenefitList"].asString(); + if(!valueDataDataItem["PublishDate"].isNull()) + dataObject.publishDate = valueDataDataItem["PublishDate"].asString(); + if(!valueDataDataItem["StartDate"].isNull()) + dataObject.startDate = valueDataDataItem["StartDate"].asString(); + if(!valueDataDataItem["EndDate"].isNull()) + dataObject.endDate = valueDataDataItem["EndDate"].asString(); + if(!valueDataDataItem["PageUrl"].isNull()) + dataObject.pageUrl = valueDataDataItem["PageUrl"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcOperationRecruitmentResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcOperationRecruitmentResult::getMessage()const +{ + return message_; +} + +int GetOcOperationRecruitmentResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcOperationRecruitmentResult::getData()const +{ + return data_; +} + +int GetOcOperationRecruitmentResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcOperationRecruitmentResult::getCode()const +{ + return code_; +} + +bool GetOcOperationRecruitmentResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcProductBandRequest.cc b/dt-oc-info/src/model/GetOcProductBandRequest.cc new file mode 100644 index 000000000..1d1bd80b6 --- /dev/null +++ b/dt-oc-info/src/model/GetOcProductBandRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcProductBandRequest; + +GetOcProductBandRequest::GetOcProductBandRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcProductBand") { + setMethod(HttpRequest::Method::Post); +} + +GetOcProductBandRequest::~GetOcProductBandRequest() {} + +int GetOcProductBandRequest::getPageNo() const { + return pageNo_; +} + +void GetOcProductBandRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcProductBandRequest::getPageSize() const { + return pageSize_; +} + +void GetOcProductBandRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcProductBandRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcProductBandRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcProductBandResult.cc b/dt-oc-info/src/model/GetOcProductBandResult.cc new file mode 100644 index 000000000..e4ed20dda --- /dev/null +++ b/dt-oc-info/src/model/GetOcProductBandResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcProductBandResult::GetOcProductBandResult() : + ServiceResult() +{} + +GetOcProductBandResult::GetOcProductBandResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcProductBandResult::~GetOcProductBandResult() +{} + +void GetOcProductBandResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["ProductName"].isNull()) + dataObject.productName = valueDataDataItem["ProductName"].asString(); + if(!valueDataDataItem["ProductLogo"].isNull()) + dataObject.productLogo = valueDataDataItem["ProductLogo"].asString(); + if(!valueDataDataItem["ProductIntroduction"].isNull()) + dataObject.productIntroduction = valueDataDataItem["ProductIntroduction"].asString(); + if(!valueDataDataItem["BrandIntroduction"].isNull()) + dataObject.brandIntroduction = valueDataDataItem["BrandIntroduction"].asString(); + if(!valueDataDataItem["ProductWebsite"].isNull()) + dataObject.productWebsite = valueDataDataItem["ProductWebsite"].asString(); + if(!valueDataDataItem["ProductTag"].isNull()) + dataObject.productTag = valueDataDataItem["ProductTag"].asString(); + if(!valueDataDataItem["Device"].isNull()) + dataObject.device = valueDataDataItem["Device"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcProductBandResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcProductBandResult::getMessage()const +{ + return message_; +} + +int GetOcProductBandResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcProductBandResult::getData()const +{ + return data_; +} + +int GetOcProductBandResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcProductBandResult::getCode()const +{ + return code_; +} + +bool GetOcProductBandResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcTaxAbnormalRequest.cc b/dt-oc-info/src/model/GetOcTaxAbnormalRequest.cc new file mode 100644 index 000000000..14e74aeb9 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxAbnormalRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcTaxAbnormalRequest; + +GetOcTaxAbnormalRequest::GetOcTaxAbnormalRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcTaxAbnormal") { + setMethod(HttpRequest::Method::Post); +} + +GetOcTaxAbnormalRequest::~GetOcTaxAbnormalRequest() {} + +int GetOcTaxAbnormalRequest::getPageNo() const { + return pageNo_; +} + +void GetOcTaxAbnormalRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcTaxAbnormalRequest::getPageSize() const { + return pageSize_; +} + +void GetOcTaxAbnormalRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcTaxAbnormalRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcTaxAbnormalRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcTaxAbnormalResult.cc b/dt-oc-info/src/model/GetOcTaxAbnormalResult.cc new file mode 100644 index 000000000..e68643093 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxAbnormalResult.cc @@ -0,0 +1,119 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcTaxAbnormalResult::GetOcTaxAbnormalResult() : + ServiceResult() +{} + +GetOcTaxAbnormalResult::GetOcTaxAbnormalResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcTaxAbnormalResult::~GetOcTaxAbnormalResult() +{} + +void GetOcTaxAbnormalResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["LegalName"].isNull()) + dataObject.legalName = valueDataDataItem["LegalName"].asString(); + if(!valueDataDataItem["CardNum"].isNull()) + dataObject.cardNum = valueDataDataItem["CardNum"].asString(); + if(!valueDataDataItem["CardType"].isNull()) + dataObject.cardType = valueDataDataItem["CardType"].asString(); + if(!valueDataDataItem["JudgeDate"].isNull()) + dataObject.judgeDate = valueDataDataItem["JudgeDate"].asString(); + if(!valueDataDataItem["JudgeDepartment"].isNull()) + dataObject.judgeDepartment = valueDataDataItem["JudgeDepartment"].asString(); + if(!valueDataDataItem["JudgeReason"].isNull()) + dataObject.judgeReason = valueDataDataItem["JudgeReason"].asString(); + if(!valueDataDataItem["OverdueType"].isNull()) + dataObject.overdueType = valueDataDataItem["OverdueType"].asString(); + if(!valueDataDataItem["OverdueAmount"].isNull()) + dataObject.overdueAmount = valueDataDataItem["OverdueAmount"].asString(); + if(!valueDataDataItem["Status"].isNull()) + dataObject.status = valueDataDataItem["Status"].asString(); + if(!valueDataDataItem["TaxpayerNum"].isNull()) + dataObject.taxpayerNum = valueDataDataItem["TaxpayerNum"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcTaxAbnormalResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcTaxAbnormalResult::getMessage()const +{ + return message_; +} + +int GetOcTaxAbnormalResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcTaxAbnormalResult::getData()const +{ + return data_; +} + +int GetOcTaxAbnormalResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcTaxAbnormalResult::getCode()const +{ + return code_; +} + +bool GetOcTaxAbnormalResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcTaxClassARequest.cc b/dt-oc-info/src/model/GetOcTaxClassARequest.cc new file mode 100644 index 000000000..70420b2d7 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxClassARequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcTaxClassARequest; + +GetOcTaxClassARequest::GetOcTaxClassARequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcTaxClassA") { + setMethod(HttpRequest::Method::Post); +} + +GetOcTaxClassARequest::~GetOcTaxClassARequest() {} + +int GetOcTaxClassARequest::getPageNo() const { + return pageNo_; +} + +void GetOcTaxClassARequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcTaxClassARequest::getPageSize() const { + return pageSize_; +} + +void GetOcTaxClassARequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcTaxClassARequest::getSearchKey() const { + return searchKey_; +} + +void GetOcTaxClassARequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcTaxClassAResult.cc b/dt-oc-info/src/model/GetOcTaxClassAResult.cc new file mode 100644 index 000000000..a7717e241 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxClassAResult.cc @@ -0,0 +1,105 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcTaxClassAResult::GetOcTaxClassAResult() : + ServiceResult() +{} + +GetOcTaxClassAResult::GetOcTaxClassAResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcTaxClassAResult::~GetOcTaxClassAResult() +{} + +void GetOcTaxClassAResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["TaxpayerNum"].isNull()) + dataObject.taxpayerNum = valueDataDataItem["TaxpayerNum"].asString(); + if(!valueDataDataItem["Year"].isNull()) + dataObject.year = valueDataDataItem["Year"].asString(); + if(!valueDataDataItem["TaxLevel"].isNull()) + dataObject.taxLevel = valueDataDataItem["TaxLevel"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcTaxClassAResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcTaxClassAResult::getMessage()const +{ + return message_; +} + +int GetOcTaxClassAResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcTaxClassAResult::getData()const +{ + return data_; +} + +int GetOcTaxClassAResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcTaxClassAResult::getCode()const +{ + return code_; +} + +bool GetOcTaxClassAResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcTaxGeneralTaxpayerRequest.cc b/dt-oc-info/src/model/GetOcTaxGeneralTaxpayerRequest.cc new file mode 100644 index 000000000..73fae8281 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxGeneralTaxpayerRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcTaxGeneralTaxpayerRequest; + +GetOcTaxGeneralTaxpayerRequest::GetOcTaxGeneralTaxpayerRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcTaxGeneralTaxpayer") { + setMethod(HttpRequest::Method::Post); +} + +GetOcTaxGeneralTaxpayerRequest::~GetOcTaxGeneralTaxpayerRequest() {} + +int GetOcTaxGeneralTaxpayerRequest::getPageNo() const { + return pageNo_; +} + +void GetOcTaxGeneralTaxpayerRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcTaxGeneralTaxpayerRequest::getPageSize() const { + return pageSize_; +} + +void GetOcTaxGeneralTaxpayerRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcTaxGeneralTaxpayerRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcTaxGeneralTaxpayerRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcTaxGeneralTaxpayerResult.cc b/dt-oc-info/src/model/GetOcTaxGeneralTaxpayerResult.cc new file mode 100644 index 000000000..1a412dd5f --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxGeneralTaxpayerResult.cc @@ -0,0 +1,111 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcTaxGeneralTaxpayerResult::GetOcTaxGeneralTaxpayerResult() : + ServiceResult() +{} + +GetOcTaxGeneralTaxpayerResult::GetOcTaxGeneralTaxpayerResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcTaxGeneralTaxpayerResult::~GetOcTaxGeneralTaxpayerResult() +{} + +void GetOcTaxGeneralTaxpayerResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["TaxpayerNum"].isNull()) + dataObject.taxpayerNum = valueDataDataItem["TaxpayerNum"].asString(); + if(!valueDataDataItem["Qualification"].isNull()) + dataObject.qualification = valueDataDataItem["Qualification"].asString(); + if(!valueDataDataItem["JudgeDate"].isNull()) + dataObject.judgeDate = valueDataDataItem["JudgeDate"].asString(); + if(!valueDataDataItem["StartDate"].isNull()) + dataObject.startDate = valueDataDataItem["StartDate"].asString(); + if(!valueDataDataItem["EndDate"].isNull()) + dataObject.endDate = valueDataDataItem["EndDate"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcTaxGeneralTaxpayerResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcTaxGeneralTaxpayerResult::getMessage()const +{ + return message_; +} + +int GetOcTaxGeneralTaxpayerResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcTaxGeneralTaxpayerResult::getData()const +{ + return data_; +} + +int GetOcTaxGeneralTaxpayerResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcTaxGeneralTaxpayerResult::getCode()const +{ + return code_; +} + +bool GetOcTaxGeneralTaxpayerResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcTaxIllegalRequest.cc b/dt-oc-info/src/model/GetOcTaxIllegalRequest.cc new file mode 100644 index 000000000..a5b415ba5 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxIllegalRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcTaxIllegalRequest; + +GetOcTaxIllegalRequest::GetOcTaxIllegalRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcTaxIllegal") { + setMethod(HttpRequest::Method::Post); +} + +GetOcTaxIllegalRequest::~GetOcTaxIllegalRequest() {} + +int GetOcTaxIllegalRequest::getPageNo() const { + return pageNo_; +} + +void GetOcTaxIllegalRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcTaxIllegalRequest::getPageSize() const { + return pageSize_; +} + +void GetOcTaxIllegalRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcTaxIllegalRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcTaxIllegalRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcTaxIllegalResult.cc b/dt-oc-info/src/model/GetOcTaxIllegalResult.cc new file mode 100644 index 000000000..3e56a24e0 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxIllegalResult.cc @@ -0,0 +1,141 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcTaxIllegalResult::GetOcTaxIllegalResult() : + ServiceResult() +{} + +GetOcTaxIllegalResult::GetOcTaxIllegalResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcTaxIllegalResult::~GetOcTaxIllegalResult() +{} + +void GetOcTaxIllegalResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["TaxpayerNum"].isNull()) + dataObject.taxpayerNum = valueDataDataItem["TaxpayerNum"].asString(); + if(!valueDataDataItem["OrgCode"].isNull()) + dataObject.orgCode = valueDataDataItem["OrgCode"].asString(); + if(!valueDataDataItem["EntAddress"].isNull()) + dataObject.entAddress = valueDataDataItem["EntAddress"].asString(); + if(!valueDataDataItem["CaseType"].isNull()) + dataObject.caseType = valueDataDataItem["CaseType"].asString(); + if(!valueDataDataItem["IllegalTruth"].isNull()) + dataObject.illegalTruth = valueDataDataItem["IllegalTruth"].asString(); + if(!valueDataDataItem["PublishDate"].isNull()) + dataObject.publishDate = valueDataDataItem["PublishDate"].asString(); + if(!valueDataDataItem["LawBasis"].isNull()) + dataObject.lawBasis = valueDataDataItem["LawBasis"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["LegalName"].isNull()) + dataObject.legalName = valueDataDataItem["LegalName"].asString(); + if(!valueDataDataItem["LegalSex"].isNull()) + dataObject.legalSex = valueDataDataItem["LegalSex"].asString(); + if(!valueDataDataItem["LegalCardType"].isNull()) + dataObject.legalCardType = valueDataDataItem["LegalCardType"].asString(); + if(!valueDataDataItem["LegalCardNum"].isNull()) + dataObject.legalCardNum = valueDataDataItem["LegalCardNum"].asString(); + if(!valueDataDataItem["FinancialName"].isNull()) + dataObject.financialName = valueDataDataItem["FinancialName"].asString(); + if(!valueDataDataItem["FinancialSex"].isNull()) + dataObject.financialSex = valueDataDataItem["FinancialSex"].asString(); + if(!valueDataDataItem["FinancialCardType"].isNull()) + dataObject.financialCardType = valueDataDataItem["FinancialCardType"].asString(); + if(!valueDataDataItem["FinancialCardNum"].isNull()) + dataObject.financialCardNum = valueDataDataItem["FinancialCardNum"].asString(); + if(!valueDataDataItem["AgencyEnt"].isNull()) + dataObject.agencyEnt = valueDataDataItem["AgencyEnt"].asString(); + if(!valueDataDataItem["AgencyName"].isNull()) + dataObject.agencyName = valueDataDataItem["AgencyName"].asString(); + if(!valueDataDataItem["AgencySex"].isNull()) + dataObject.agencySex = valueDataDataItem["AgencySex"].asString(); + if(!valueDataDataItem["AgencyCardType"].isNull()) + dataObject.agencyCardType = valueDataDataItem["AgencyCardType"].asString(); + if(!valueDataDataItem["AgencyCardNum"].isNull()) + dataObject.agencyCardNum = valueDataDataItem["AgencyCardNum"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcTaxIllegalResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcTaxIllegalResult::getMessage()const +{ + return message_; +} + +int GetOcTaxIllegalResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcTaxIllegalResult::getData()const +{ + return data_; +} + +int GetOcTaxIllegalResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcTaxIllegalResult::getCode()const +{ + return code_; +} + +bool GetOcTaxIllegalResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcTaxOverdueRequest.cc b/dt-oc-info/src/model/GetOcTaxOverdueRequest.cc new file mode 100644 index 000000000..8fcdadb79 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxOverdueRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcTaxOverdueRequest; + +GetOcTaxOverdueRequest::GetOcTaxOverdueRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcTaxOverdue") { + setMethod(HttpRequest::Method::Post); +} + +GetOcTaxOverdueRequest::~GetOcTaxOverdueRequest() {} + +int GetOcTaxOverdueRequest::getPageNo() const { + return pageNo_; +} + +void GetOcTaxOverdueRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcTaxOverdueRequest::getPageSize() const { + return pageSize_; +} + +void GetOcTaxOverdueRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcTaxOverdueRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcTaxOverdueRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcTaxOverdueResult.cc b/dt-oc-info/src/model/GetOcTaxOverdueResult.cc new file mode 100644 index 000000000..8c6781f83 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxOverdueResult.cc @@ -0,0 +1,117 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcTaxOverdueResult::GetOcTaxOverdueResult() : + ServiceResult() +{} + +GetOcTaxOverdueResult::GetOcTaxOverdueResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcTaxOverdueResult::~GetOcTaxOverdueResult() +{} + +void GetOcTaxOverdueResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + if(!valueDataDataItem["OverdueType"].isNull()) + dataObject.overdueType = valueDataDataItem["OverdueType"].asString(); + if(!valueDataDataItem["EntAddress"].isNull()) + dataObject.entAddress = valueDataDataItem["EntAddress"].asString(); + if(!valueDataDataItem["OverdueAmount"].isNull()) + dataObject.overdueAmount = valueDataDataItem["OverdueAmount"].asString(); + if(!valueDataDataItem["LegalName"].isNull()) + dataObject.legalName = valueDataDataItem["LegalName"].asString(); + if(!valueDataDataItem["TaxpayerType"].isNull()) + dataObject.taxpayerType = valueDataDataItem["TaxpayerType"].asString(); + if(!valueDataDataItem["TaxpayerNum"].isNull()) + dataObject.taxpayerNum = valueDataDataItem["TaxpayerNum"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["CurrOverdueAmount"].isNull()) + dataObject.currOverdueAmount = valueDataDataItem["CurrOverdueAmount"].asString(); + if(!valueDataDataItem["PublishDate"].isNull()) + dataObject.publishDate = valueDataDataItem["PublishDate"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcTaxOverdueResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcTaxOverdueResult::getMessage()const +{ + return message_; +} + +int GetOcTaxOverdueResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcTaxOverdueResult::getData()const +{ + return data_; +} + +int GetOcTaxOverdueResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcTaxOverdueResult::getCode()const +{ + return code_; +} + +bool GetOcTaxOverdueResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetOcTaxPunishmentRequest.cc b/dt-oc-info/src/model/GetOcTaxPunishmentRequest.cc new file mode 100644 index 000000000..ad13ae365 --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxPunishmentRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetOcTaxPunishmentRequest; + +GetOcTaxPunishmentRequest::GetOcTaxPunishmentRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetOcTaxPunishment") { + setMethod(HttpRequest::Method::Post); +} + +GetOcTaxPunishmentRequest::~GetOcTaxPunishmentRequest() {} + +int GetOcTaxPunishmentRequest::getPageNo() const { + return pageNo_; +} + +void GetOcTaxPunishmentRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetOcTaxPunishmentRequest::getPageSize() const { + return pageSize_; +} + +void GetOcTaxPunishmentRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string GetOcTaxPunishmentRequest::getSearchKey() const { + return searchKey_; +} + +void GetOcTaxPunishmentRequest::setSearchKey(const std::string &searchKey) { + searchKey_ = searchKey; + setBodyParameter(std::string("SearchKey"), searchKey); +} + diff --git a/dt-oc-info/src/model/GetOcTaxPunishmentResult.cc b/dt-oc-info/src/model/GetOcTaxPunishmentResult.cc new file mode 100644 index 000000000..0d388517e --- /dev/null +++ b/dt-oc-info/src/model/GetOcTaxPunishmentResult.cc @@ -0,0 +1,113 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetOcTaxPunishmentResult::GetOcTaxPunishmentResult() : + ServiceResult() +{} + +GetOcTaxPunishmentResult::GetOcTaxPunishmentResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetOcTaxPunishmentResult::~GetOcTaxPunishmentResult() +{} + +void GetOcTaxPunishmentResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["DataItem"]; + for (auto valueDataDataItem : allDataNode) + { + DataItem dataObject; + if(!valueDataDataItem["EventType"].isNull()) + dataObject.eventType = valueDataDataItem["EventType"].asString(); + if(!valueDataDataItem["LegalName"].isNull()) + dataObject.legalName = valueDataDataItem["LegalName"].asString(); + if(!valueDataDataItem["PunishDate"].isNull()) + dataObject.punishDate = valueDataDataItem["PunishDate"].asString(); + if(!valueDataDataItem["TaxpayerNum"].isNull()) + dataObject.taxpayerNum = valueDataDataItem["TaxpayerNum"].asString(); + if(!valueDataDataItem["Department"].isNull()) + dataObject.department = valueDataDataItem["Department"].asString(); + if(!valueDataDataItem["Title"].isNull()) + dataObject.title = valueDataDataItem["Title"].asString(); + if(!valueDataDataItem["EventName"].isNull()) + dataObject.eventName = valueDataDataItem["EventName"].asString(); + if(!valueDataDataItem["EntName"].isNull()) + dataObject.entName = valueDataDataItem["EntName"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetOcTaxPunishmentResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetOcTaxPunishmentResult::getMessage()const +{ + return message_; +} + +int GetOcTaxPunishmentResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetOcTaxPunishmentResult::getData()const +{ + return data_; +} + +int GetOcTaxPunishmentResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetOcTaxPunishmentResult::getCode()const +{ + return code_; +} + +bool GetOcTaxPunishmentResult::getSuccess()const +{ + return success_; +} + diff --git a/dt-oc-info/src/model/GetQccCertificationDetailByIdRequest.cc b/dt-oc-info/src/model/GetQccCertificationDetailByIdRequest.cc new file mode 100644 index 000000000..ef184ef67 --- /dev/null +++ b/dt-oc-info/src/model/GetQccCertificationDetailByIdRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetQccCertificationDetailByIdRequest; + +GetQccCertificationDetailByIdRequest::GetQccCertificationDetailByIdRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetQccCertificationDetailById") { + setMethod(HttpRequest::Method::Post); +} + +GetQccCertificationDetailByIdRequest::~GetQccCertificationDetailByIdRequest() {} + +std::string GetQccCertificationDetailByIdRequest::getCertId() const { + return certId_; +} + +void GetQccCertificationDetailByIdRequest::setCertId(const std::string &certId) { + certId_ = certId; + setBodyParameter(std::string("CertId"), certId); +} + diff --git a/dt-oc-info/src/model/GetQccCertificationDetailByIdResult.cc b/dt-oc-info/src/model/GetQccCertificationDetailByIdResult.cc new file mode 100644 index 000000000..c9c1449fc --- /dev/null +++ b/dt-oc-info/src/model/GetQccCertificationDetailByIdResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetQccCertificationDetailByIdResult::GetQccCertificationDetailByIdResult() : + ServiceResult() +{} + +GetQccCertificationDetailByIdResult::GetQccCertificationDetailByIdResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetQccCertificationDetailByIdResult::~GetQccCertificationDetailByIdResult() +{} + +void GetQccCertificationDetailByIdResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/dt-oc-info/src/model/GetQccSearchCertificationRequest.cc b/dt-oc-info/src/model/GetQccSearchCertificationRequest.cc new file mode 100644 index 000000000..7f03d0d3d --- /dev/null +++ b/dt-oc-info/src/model/GetQccSearchCertificationRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Dt_oc_info::Model::GetQccSearchCertificationRequest; + +GetQccSearchCertificationRequest::GetQccSearchCertificationRequest() + : RpcServiceRequest("dt-oc-info", "2022-08-29", "GetQccSearchCertification") { + setMethod(HttpRequest::Method::Post); +} + +GetQccSearchCertificationRequest::~GetQccSearchCertificationRequest() {} + +std::string GetQccSearchCertificationRequest::getCertCategory() const { + return certCategory_; +} + +void GetQccSearchCertificationRequest::setCertCategory(const std::string &certCategory) { + certCategory_ = certCategory; + setBodyParameter(std::string("CertCategory"), certCategory); +} + +std::string GetQccSearchCertificationRequest::getEntName() const { + return entName_; +} + +void GetQccSearchCertificationRequest::setEntName(const std::string &entName) { + entName_ = entName; + setBodyParameter(std::string("EntName"), entName); +} + +int GetQccSearchCertificationRequest::getPageNo() const { + return pageNo_; +} + +void GetQccSearchCertificationRequest::setPageNo(int pageNo) { + pageNo_ = pageNo; + setBodyParameter(std::string("PageNo"), std::to_string(pageNo)); +} + +int GetQccSearchCertificationRequest::getPageSize() const { + return pageSize_; +} + +void GetQccSearchCertificationRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setBodyParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/dt-oc-info/src/model/GetQccSearchCertificationResult.cc b/dt-oc-info/src/model/GetQccSearchCertificationResult.cc new file mode 100644 index 000000000..b8056e8b6 --- /dev/null +++ b/dt-oc-info/src/model/GetQccSearchCertificationResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Dt_oc_info; +using namespace AlibabaCloud::Dt_oc_info::Model; + +GetQccSearchCertificationResult::GetQccSearchCertificationResult() : + ServiceResult() +{} + +GetQccSearchCertificationResult::GetQccSearchCertificationResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetQccSearchCertificationResult::~GetQccSearchCertificationResult() +{} + +void GetQccSearchCertificationResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allData = value["Data"]["Data"]; + for (const auto &item : allData) + data_.push_back(item.asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["PageIndex"].isNull()) + pageIndex_ = std::stoi(value["PageIndex"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + +} + +int GetQccSearchCertificationResult::getTotalNum()const +{ + return totalNum_; +} + +std::string GetQccSearchCertificationResult::getMessage()const +{ + return message_; +} + +int GetQccSearchCertificationResult::getPageNum()const +{ + return pageNum_; +} + +std::vector GetQccSearchCertificationResult::getData()const +{ + return data_; +} + +int GetQccSearchCertificationResult::getPageIndex()const +{ + return pageIndex_; +} + +std::string GetQccSearchCertificationResult::getCode()const +{ + return code_; +} + +bool GetQccSearchCertificationResult::getSuccess()const +{ + return success_; +} +