diff --git a/ChangeLog.txt b/ChangeLog.txt index ddef66b4ba..64c620060a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2023-03-28 Version: v1.62.259 +- Generated 2020-06-29 for `alinlp`. +- Supported getUserUploadSign for user. + 2023-03-28 Version: v1.62.258 - Generated 2016-04-28 for `Vpc`. - Support create pconn with tag. diff --git a/services/alinlp/ad_clock.go b/services/alinlp/ad_clock.go index 16ab14c12c..9abe0b0065 100644 --- a/services/alinlp/ad_clock.go +++ b/services/alinlp/ad_clock.go @@ -87,7 +87,7 @@ func CreateADClockRequest() (request *ADClockRequest) { request = &ADClockRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "ADClock", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "ADClock", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/ad_mini_cog.go b/services/alinlp/ad_mini_cog.go index 4633f8cf76..ec678f2999 100644 --- a/services/alinlp/ad_mini_cog.go +++ b/services/alinlp/ad_mini_cog.go @@ -87,7 +87,7 @@ func CreateADMiniCogRequest() (request *ADMiniCogRequest) { request = &ADMiniCogRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "ADMiniCog", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "ADMiniCog", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/ad_mini_cog_result.go b/services/alinlp/ad_mini_cog_result.go index 89287cc6ff..32bff83f86 100644 --- a/services/alinlp/ad_mini_cog_result.go +++ b/services/alinlp/ad_mini_cog_result.go @@ -87,7 +87,7 @@ func CreateADMiniCogResultRequest() (request *ADMiniCogResultRequest) { request = &ADMiniCogResultRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "ADMiniCogResult", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "ADMiniCogResult", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/admmu.go b/services/alinlp/admmu.go index e868e39712..1189e14263 100644 --- a/services/alinlp/admmu.go +++ b/services/alinlp/admmu.go @@ -87,7 +87,7 @@ func CreateADMMURequest() (request *ADMMURequest) { request = &ADMMURequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "ADMMU", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "ADMMU", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_brand_ch_ecom.go b/services/alinlp/get_brand_ch_ecom.go index eb7a97221e..5acd38b74f 100644 --- a/services/alinlp/get_brand_ch_ecom.go +++ b/services/alinlp/get_brand_ch_ecom.go @@ -88,7 +88,7 @@ func CreateGetBrandChEcomRequest() (request *GetBrandChEcomRequest) { request = &GetBrandChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetBrandChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetBrandChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_cate_ch_ecom.go b/services/alinlp/get_cate_ch_ecom.go index b16896a89c..90868958ab 100644 --- a/services/alinlp/get_cate_ch_ecom.go +++ b/services/alinlp/get_cate_ch_ecom.go @@ -89,7 +89,7 @@ func CreateGetCateChEcomRequest() (request *GetCateChEcomRequest) { request = &GetCateChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetCateChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetCateChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_check_duplication_ch_medical.go b/services/alinlp/get_check_duplication_ch_medical.go index ec1db30864..6dbe0f2448 100644 --- a/services/alinlp/get_check_duplication_ch_medical.go +++ b/services/alinlp/get_check_duplication_ch_medical.go @@ -88,7 +88,7 @@ func CreateGetCheckDuplicationChMedicalRequest() (request *GetCheckDuplicationCh request = &GetCheckDuplicationChMedicalRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetCheckDuplicationChMedical", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetCheckDuplicationChMedical", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_diagnosis_ch_medical.go b/services/alinlp/get_diagnosis_ch_medical.go index be8e21a412..abd23667fa 100644 --- a/services/alinlp/get_diagnosis_ch_medical.go +++ b/services/alinlp/get_diagnosis_ch_medical.go @@ -87,7 +87,7 @@ func CreateGetDiagnosisChMedicalRequest() (request *GetDiagnosisChMedicalRequest request = &GetDiagnosisChMedicalRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetDiagnosisChMedical", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetDiagnosisChMedical", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_dp_ch_ecom.go b/services/alinlp/get_dp_ch_ecom.go index d2e796dbff..77753cd504 100644 --- a/services/alinlp/get_dp_ch_ecom.go +++ b/services/alinlp/get_dp_ch_ecom.go @@ -87,7 +87,7 @@ func CreateGetDpChEcomRequest() (request *GetDpChEcomRequest) { request = &GetDpChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetDpChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetDpChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_dp_ch_general_ctb.go b/services/alinlp/get_dp_ch_general_ctb.go index 1a18e4fc8e..be52044960 100644 --- a/services/alinlp/get_dp_ch_general_ctb.go +++ b/services/alinlp/get_dp_ch_general_ctb.go @@ -87,7 +87,7 @@ func CreateGetDpChGeneralCTBRequest() (request *GetDpChGeneralCTBRequest) { request = &GetDpChGeneralCTBRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetDpChGeneralCTB", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetDpChGeneralCTB", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_dp_ch_general_stanford.go b/services/alinlp/get_dp_ch_general_stanford.go index b876450d0b..cab0769ad1 100644 --- a/services/alinlp/get_dp_ch_general_stanford.go +++ b/services/alinlp/get_dp_ch_general_stanford.go @@ -87,7 +87,7 @@ func CreateGetDpChGeneralStanfordRequest() (request *GetDpChGeneralStanfordReque request = &GetDpChGeneralStanfordRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetDpChGeneralStanford", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetDpChGeneralStanford", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ec_ch_general.go b/services/alinlp/get_ec_ch_general.go index 3692e9a260..e8e9a76c55 100644 --- a/services/alinlp/get_ec_ch_general.go +++ b/services/alinlp/get_ec_ch_general.go @@ -87,7 +87,7 @@ func CreateGetEcChGeneralRequest() (request *GetEcChGeneralRequest) { request = &GetEcChGeneralRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetEcChGeneral", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetEcChGeneral", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ec_en_general.go b/services/alinlp/get_ec_en_general.go index d933ca8b7e..175a41be25 100644 --- a/services/alinlp/get_ec_en_general.go +++ b/services/alinlp/get_ec_en_general.go @@ -87,7 +87,7 @@ func CreateGetEcEnGeneralRequest() (request *GetEcEnGeneralRequest) { request = &GetEcEnGeneralRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetEcEnGeneral", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetEcEnGeneral", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_item_pub_ch_ecom.go b/services/alinlp/get_item_pub_ch_ecom.go index 995a17133c..ee4203f7a0 100644 --- a/services/alinlp/get_item_pub_ch_ecom.go +++ b/services/alinlp/get_item_pub_ch_ecom.go @@ -88,7 +88,7 @@ func CreateGetItemPubChEcomRequest() (request *GetItemPubChEcomRequest) { request = &GetItemPubChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetItemPubChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetItemPubChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_keyword_ch_ecom.go b/services/alinlp/get_keyword_ch_ecom.go index 87aadecd27..c88475e82f 100644 --- a/services/alinlp/get_keyword_ch_ecom.go +++ b/services/alinlp/get_keyword_ch_ecom.go @@ -88,7 +88,7 @@ func CreateGetKeywordChEcomRequest() (request *GetKeywordChEcomRequest) { request = &GetKeywordChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetKeywordChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetKeywordChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_keyword_en_ecom.go b/services/alinlp/get_keyword_en_ecom.go index cc9dc0d1d5..ef29323e21 100644 --- a/services/alinlp/get_keyword_en_ecom.go +++ b/services/alinlp/get_keyword_en_ecom.go @@ -87,7 +87,7 @@ func CreateGetKeywordEnEcomRequest() (request *GetKeywordEnEcomRequest) { request = &GetKeywordEnEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetKeywordEnEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetKeywordEnEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_medicine_ch_medical.go b/services/alinlp/get_medicine_ch_medical.go index 1ea6200ae9..8c0e2e0c49 100644 --- a/services/alinlp/get_medicine_ch_medical.go +++ b/services/alinlp/get_medicine_ch_medical.go @@ -90,7 +90,7 @@ func CreateGetMedicineChMedicalRequest() (request *GetMedicineChMedicalRequest) request = &GetMedicineChMedicalRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetMedicineChMedical", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetMedicineChMedical", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ner_ch_ecom.go b/services/alinlp/get_ner_ch_ecom.go index 6a71b0a5ea..825684b21a 100644 --- a/services/alinlp/get_ner_ch_ecom.go +++ b/services/alinlp/get_ner_ch_ecom.go @@ -88,7 +88,7 @@ func CreateGetNerChEcomRequest() (request *GetNerChEcomRequest) { request = &GetNerChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetNerChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetNerChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ner_ch_medical.go b/services/alinlp/get_ner_ch_medical.go index 928a665834..f4775d82dc 100644 --- a/services/alinlp/get_ner_ch_medical.go +++ b/services/alinlp/get_ner_ch_medical.go @@ -87,7 +87,7 @@ func CreateGetNerChMedicalRequest() (request *GetNerChMedicalRequest) { request = &GetNerChMedicalRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetNerChMedical", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetNerChMedical", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ner_customized_ch_ecom.go b/services/alinlp/get_ner_customized_ch_ecom.go index d5ca9bdb11..3b92f06d09 100644 --- a/services/alinlp/get_ner_customized_ch_ecom.go +++ b/services/alinlp/get_ner_customized_ch_ecom.go @@ -88,7 +88,7 @@ func CreateGetNerCustomizedChEcomRequest() (request *GetNerCustomizedChEcomReque request = &GetNerCustomizedChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetNerCustomizedChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetNerCustomizedChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ner_customized_sea_ecom.go b/services/alinlp/get_ner_customized_sea_ecom.go index 6e9f56adc2..10ef031907 100644 --- a/services/alinlp/get_ner_customized_sea_ecom.go +++ b/services/alinlp/get_ner_customized_sea_ecom.go @@ -88,7 +88,7 @@ func CreateGetNerCustomizedSeaEcomRequest() (request *GetNerCustomizedSeaEcomReq request = &GetNerCustomizedSeaEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetNerCustomizedSeaEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetNerCustomizedSeaEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_operation_ch_medical.go b/services/alinlp/get_operation_ch_medical.go index 1e21ab8ae9..c1580738b5 100644 --- a/services/alinlp/get_operation_ch_medical.go +++ b/services/alinlp/get_operation_ch_medical.go @@ -87,7 +87,7 @@ func CreateGetOperationChMedicalRequest() (request *GetOperationChMedicalRequest request = &GetOperationChMedicalRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetOperationChMedical", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetOperationChMedical", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_pos_ch_ecom.go b/services/alinlp/get_pos_ch_ecom.go index 23379b1532..74c1edda85 100644 --- a/services/alinlp/get_pos_ch_ecom.go +++ b/services/alinlp/get_pos_ch_ecom.go @@ -89,7 +89,7 @@ func CreateGetPosChEcomRequest() (request *GetPosChEcomRequest) { request = &GetPosChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetPosChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetPosChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_pos_ch_general.go b/services/alinlp/get_pos_ch_general.go index 6d24f13cb3..e56a2cb2c6 100644 --- a/services/alinlp/get_pos_ch_general.go +++ b/services/alinlp/get_pos_ch_general.go @@ -89,7 +89,7 @@ func CreateGetPosChGeneralRequest() (request *GetPosChGeneralRequest) { request = &GetPosChGeneralRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetPosChGeneral", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetPosChGeneral", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_price_ch_ecom.go b/services/alinlp/get_price_ch_ecom.go index a7ed5973ae..a3457e8636 100644 --- a/services/alinlp/get_price_ch_ecom.go +++ b/services/alinlp/get_price_ch_ecom.go @@ -87,7 +87,7 @@ func CreateGetPriceChEcomRequest() (request *GetPriceChEcomRequest) { request = &GetPriceChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetPriceChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetPriceChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_sa_ch_general.go b/services/alinlp/get_sa_ch_general.go index 5b84bebdba..8c93171943 100644 --- a/services/alinlp/get_sa_ch_general.go +++ b/services/alinlp/get_sa_ch_general.go @@ -87,7 +87,7 @@ func CreateGetSaChGeneralRequest() (request *GetSaChGeneralRequest) { request = &GetSaChGeneralRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetSaChGeneral", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetSaChGeneral", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_sa_sea_ecom.go b/services/alinlp/get_sa_sea_ecom.go index f80564dab1..9137af1147 100644 --- a/services/alinlp/get_sa_sea_ecom.go +++ b/services/alinlp/get_sa_sea_ecom.go @@ -88,7 +88,7 @@ func CreateGetSaSeaEcomRequest() (request *GetSaSeaEcomRequest) { request = &GetSaSeaEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetSaSeaEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetSaSeaEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_similarity_ch_medical.go b/services/alinlp/get_similarity_ch_medical.go index 2fd1d84431..04b7379991 100644 --- a/services/alinlp/get_similarity_ch_medical.go +++ b/services/alinlp/get_similarity_ch_medical.go @@ -88,7 +88,7 @@ func CreateGetSimilarityChMedicalRequest() (request *GetSimilarityChMedicalReque request = &GetSimilarityChMedicalRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetSimilarityChMedical", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetSimilarityChMedical", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_summary_ch_ecom.go b/services/alinlp/get_summary_ch_ecom.go index 8562d8426b..5591260e00 100644 --- a/services/alinlp/get_summary_ch_ecom.go +++ b/services/alinlp/get_summary_ch_ecom.go @@ -87,7 +87,7 @@ func CreateGetSummaryChEcomRequest() (request *GetSummaryChEcomRequest) { request = &GetSummaryChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetSummaryChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetSummaryChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_table_qa_service_info_by_id.go b/services/alinlp/get_table_qa_service_info_by_id.go index 751f4a29c3..ad15030e7b 100644 --- a/services/alinlp/get_table_qa_service_info_by_id.go +++ b/services/alinlp/get_table_qa_service_info_by_id.go @@ -87,7 +87,7 @@ func CreateGetTableQAServiceInfoByIdRequest() (request *GetTableQAServiceInfoByI request = &GetTableQAServiceInfoByIdRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetTableQAServiceInfoById", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetTableQAServiceInfoById", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_tc_ch_ecom.go b/services/alinlp/get_tc_ch_ecom.go index 0a487b3a09..c23e9c93f4 100644 --- a/services/alinlp/get_tc_ch_ecom.go +++ b/services/alinlp/get_tc_ch_ecom.go @@ -87,7 +87,7 @@ func CreateGetTcChEcomRequest() (request *GetTcChEcomRequest) { request = &GetTcChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetTcChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetTcChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_tc_ch_general.go b/services/alinlp/get_tc_ch_general.go index 815b91090d..b688949f51 100644 --- a/services/alinlp/get_tc_ch_general.go +++ b/services/alinlp/get_tc_ch_general.go @@ -87,7 +87,7 @@ func CreateGetTcChGeneralRequest() (request *GetTcChGeneralRequest) { request = &GetTcChGeneralRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetTcChGeneral", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetTcChGeneral", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ts_ch_ecom.go b/services/alinlp/get_ts_ch_ecom.go index d52959b094..fc1173ba03 100644 --- a/services/alinlp/get_ts_ch_ecom.go +++ b/services/alinlp/get_ts_ch_ecom.go @@ -89,7 +89,7 @@ func CreateGetTsChEcomRequest() (request *GetTsChEcomRequest) { request = &GetTsChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetTsChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetTsChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_user_upload_sign.go b/services/alinlp/get_user_upload_sign.go new file mode 100644 index 0000000000..ded0ee760a --- /dev/null +++ b/services/alinlp/get_user_upload_sign.go @@ -0,0 +1,100 @@ +package alinlp + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses" +) + +// GetUserUploadSign invokes the alinlp.GetUserUploadSign API synchronously +func (client *Client) GetUserUploadSign(request *GetUserUploadSignRequest) (response *GetUserUploadSignResponse, err error) { + response = CreateGetUserUploadSignResponse() + err = client.DoAction(request, response) + return +} + +// GetUserUploadSignWithChan invokes the alinlp.GetUserUploadSign API asynchronously +func (client *Client) GetUserUploadSignWithChan(request *GetUserUploadSignRequest) (<-chan *GetUserUploadSignResponse, <-chan error) { + responseChan := make(chan *GetUserUploadSignResponse, 1) + errChan := make(chan error, 1) + err := client.AddAsyncTask(func() { + defer close(responseChan) + defer close(errChan) + response, err := client.GetUserUploadSign(request) + if err != nil { + errChan <- err + } else { + responseChan <- response + } + }) + if err != nil { + errChan <- err + close(responseChan) + close(errChan) + } + return responseChan, errChan +} + +// GetUserUploadSignWithCallback invokes the alinlp.GetUserUploadSign API asynchronously +func (client *Client) GetUserUploadSignWithCallback(request *GetUserUploadSignRequest, callback func(response *GetUserUploadSignResponse, err error)) <-chan int { + result := make(chan int, 1) + err := client.AddAsyncTask(func() { + var response *GetUserUploadSignResponse + var err error + defer close(result) + response, err = client.GetUserUploadSign(request) + callback(response, err) + result <- 1 + }) + if err != nil { + defer close(result) + callback(nil, err) + result <- 0 + } + return result +} + +// GetUserUploadSignRequest is the request struct for api GetUserUploadSign +type GetUserUploadSignRequest struct { + *requests.RpcRequest + ServiceCode string `position:"Body" name:"ServiceCode"` +} + +// GetUserUploadSignResponse is the response struct for api GetUserUploadSign +type GetUserUploadSignResponse struct { + *responses.BaseResponse + RequestId string `json:"RequestId" xml:"RequestId"` + Data string `json:"Data" xml:"Data"` +} + +// CreateGetUserUploadSignRequest creates a request to invoke GetUserUploadSign API +func CreateGetUserUploadSignRequest() (request *GetUserUploadSignRequest) { + request = &GetUserUploadSignRequest{ + RpcRequest: &requests.RpcRequest{}, + } + request.InitWithApiInfo("alinlp", "2020-06-29", "GetUserUploadSign", "alinlp", "openAPI") + request.Method = requests.POST + return +} + +// CreateGetUserUploadSignResponse creates a response to parse from GetUserUploadSign response +func CreateGetUserUploadSignResponse() (response *GetUserUploadSignResponse) { + response = &GetUserUploadSignResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} diff --git a/services/alinlp/get_we_ch_comment.go b/services/alinlp/get_we_ch_comment.go index 44c18e6204..93b5c73b15 100644 --- a/services/alinlp/get_we_ch_comment.go +++ b/services/alinlp/get_we_ch_comment.go @@ -91,7 +91,7 @@ func CreateGetWeChCommentRequest() (request *GetWeChCommentRequest) { request = &GetWeChCommentRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChComment", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChComment", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_we_ch_ecom.go b/services/alinlp/get_we_ch_ecom.go index 84fb8d38ed..6fe2c27c8f 100644 --- a/services/alinlp/get_we_ch_ecom.go +++ b/services/alinlp/get_we_ch_ecom.go @@ -91,7 +91,7 @@ func CreateGetWeChEcomRequest() (request *GetWeChEcomRequest) { request = &GetWeChEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_we_ch_entertainment.go b/services/alinlp/get_we_ch_entertainment.go index dc5f7d3465..50afa1da4c 100644 --- a/services/alinlp/get_we_ch_entertainment.go +++ b/services/alinlp/get_we_ch_entertainment.go @@ -91,7 +91,7 @@ func CreateGetWeChEntertainmentRequest() (request *GetWeChEntertainmentRequest) request = &GetWeChEntertainmentRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChEntertainment", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChEntertainment", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_we_ch_general.go b/services/alinlp/get_we_ch_general.go index 82373e71d1..0b6748fcf4 100644 --- a/services/alinlp/get_we_ch_general.go +++ b/services/alinlp/get_we_ch_general.go @@ -90,7 +90,7 @@ func CreateGetWeChGeneralRequest() (request *GetWeChGeneralRequest) { request = &GetWeChGeneralRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChGeneral", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChGeneral", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_we_ch_search.go b/services/alinlp/get_we_ch_search.go index 99418a14de..bf8696a951 100644 --- a/services/alinlp/get_we_ch_search.go +++ b/services/alinlp/get_we_ch_search.go @@ -91,7 +91,7 @@ func CreateGetWeChSearchRequest() (request *GetWeChSearchRequest) { request = &GetWeChSearchRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChSearch", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWeChSearch", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ws_ch_general.go b/services/alinlp/get_ws_ch_general.go index 68dee2b82d..7b983a5e22 100644 --- a/services/alinlp/get_ws_ch_general.go +++ b/services/alinlp/get_ws_ch_general.go @@ -89,7 +89,7 @@ func CreateGetWsChGeneralRequest() (request *GetWsChGeneralRequest) { request = &GetWsChGeneralRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsChGeneral", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsChGeneral", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ws_customized_ch_ecom_comment.go b/services/alinlp/get_ws_customized_ch_ecom_comment.go index 6342dbb4af..23fbcf5297 100644 --- a/services/alinlp/get_ws_customized_ch_ecom_comment.go +++ b/services/alinlp/get_ws_customized_ch_ecom_comment.go @@ -89,7 +89,7 @@ func CreateGetWsCustomizedChEcomCommentRequest() (request *GetWsCustomizedChEcom request = &GetWsCustomizedChEcomCommentRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChEcomComment", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChEcomComment", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ws_customized_ch_ecom_content.go b/services/alinlp/get_ws_customized_ch_ecom_content.go index 01c4a6eee3..bee4980e06 100644 --- a/services/alinlp/get_ws_customized_ch_ecom_content.go +++ b/services/alinlp/get_ws_customized_ch_ecom_content.go @@ -89,7 +89,7 @@ func CreateGetWsCustomizedChEcomContentRequest() (request *GetWsCustomizedChEcom request = &GetWsCustomizedChEcomContentRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChEcomContent", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChEcomContent", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ws_customized_ch_ecom_title.go b/services/alinlp/get_ws_customized_ch_ecom_title.go index 446f9117f2..b783836f59 100644 --- a/services/alinlp/get_ws_customized_ch_ecom_title.go +++ b/services/alinlp/get_ws_customized_ch_ecom_title.go @@ -89,7 +89,7 @@ func CreateGetWsCustomizedChEcomTitleRequest() (request *GetWsCustomizedChEcomTi request = &GetWsCustomizedChEcomTitleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChEcomTitle", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChEcomTitle", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ws_customized_ch_entertainment.go b/services/alinlp/get_ws_customized_ch_entertainment.go index 28c41c273d..3c035eb97c 100644 --- a/services/alinlp/get_ws_customized_ch_entertainment.go +++ b/services/alinlp/get_ws_customized_ch_entertainment.go @@ -89,7 +89,7 @@ func CreateGetWsCustomizedChEntertainmentRequest() (request *GetWsCustomizedChEn request = &GetWsCustomizedChEntertainmentRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChEntertainment", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChEntertainment", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ws_customized_ch_general.go b/services/alinlp/get_ws_customized_ch_general.go index ea13e47c02..16c68b9b2f 100644 --- a/services/alinlp/get_ws_customized_ch_general.go +++ b/services/alinlp/get_ws_customized_ch_general.go @@ -89,7 +89,7 @@ func CreateGetWsCustomizedChGeneralRequest() (request *GetWsCustomizedChGeneralR request = &GetWsCustomizedChGeneralRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChGeneral", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChGeneral", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ws_customized_ch_o2_o.go b/services/alinlp/get_ws_customized_ch_o2_o.go index a8fb6545b8..f2746102f6 100644 --- a/services/alinlp/get_ws_customized_ch_o2_o.go +++ b/services/alinlp/get_ws_customized_ch_o2_o.go @@ -89,7 +89,7 @@ func CreateGetWsCustomizedChO2ORequest() (request *GetWsCustomizedChO2ORequest) request = &GetWsCustomizedChO2ORequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChO2O", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedChO2O", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ws_customized_sea_ecom.go b/services/alinlp/get_ws_customized_sea_ecom.go index 001792290f..fc667dfa75 100644 --- a/services/alinlp/get_ws_customized_sea_ecom.go +++ b/services/alinlp/get_ws_customized_sea_ecom.go @@ -88,7 +88,7 @@ func CreateGetWsCustomizedSeaEcomRequest() (request *GetWsCustomizedSeaEcomReque request = &GetWsCustomizedSeaEcomRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedSeaEcom", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedSeaEcom", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/get_ws_customized_sea_general.go b/services/alinlp/get_ws_customized_sea_general.go index bcc8537591..cdd77a3bf3 100644 --- a/services/alinlp/get_ws_customized_sea_general.go +++ b/services/alinlp/get_ws_customized_sea_general.go @@ -88,7 +88,7 @@ func CreateGetWsCustomizedSeaGeneralRequest() (request *GetWsCustomizedSeaGenera request = &GetWsCustomizedSeaGeneralRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedSeaGeneral", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "GetWsCustomizedSeaGeneral", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/insert_custom.go b/services/alinlp/insert_custom.go new file mode 100644 index 0000000000..6d4c1bdc38 --- /dev/null +++ b/services/alinlp/insert_custom.go @@ -0,0 +1,105 @@ +package alinlp + +//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. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +import ( + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses" +) + +// InsertCustom invokes the alinlp.InsertCustom API synchronously +func (client *Client) InsertCustom(request *InsertCustomRequest) (response *InsertCustomResponse, err error) { + response = CreateInsertCustomResponse() + err = client.DoAction(request, response) + return +} + +// InsertCustomWithChan invokes the alinlp.InsertCustom API asynchronously +func (client *Client) InsertCustomWithChan(request *InsertCustomRequest) (<-chan *InsertCustomResponse, <-chan error) { + responseChan := make(chan *InsertCustomResponse, 1) + errChan := make(chan error, 1) + err := client.AddAsyncTask(func() { + defer close(responseChan) + defer close(errChan) + response, err := client.InsertCustom(request) + if err != nil { + errChan <- err + } else { + responseChan <- response + } + }) + if err != nil { + errChan <- err + close(responseChan) + close(errChan) + } + return responseChan, errChan +} + +// InsertCustomWithCallback invokes the alinlp.InsertCustom API asynchronously +func (client *Client) InsertCustomWithCallback(request *InsertCustomRequest, callback func(response *InsertCustomResponse, err error)) <-chan int { + result := make(chan int, 1) + err := client.AddAsyncTask(func() { + var response *InsertCustomResponse + var err error + defer close(result) + response, err = client.InsertCustom(request) + callback(response, err) + result <- 1 + }) + if err != nil { + defer close(result) + callback(nil, err) + result <- 0 + } + return result +} + +// InsertCustomRequest is the request struct for api InsertCustom +type InsertCustomRequest struct { + *requests.RpcRequest + CustomUrl string `position:"Body" name:"CustomUrl"` + RegUrl string `position:"Body" name:"RegUrl"` + ServiceCode string `position:"Body" name:"ServiceCode"` + RegFileName string `position:"Body" name:"RegFileName"` + CustomFileName string `position:"Body" name:"CustomFileName"` + ApiId requests.Integer `position:"Body" name:"ApiId"` +} + +// InsertCustomResponse is the response struct for api InsertCustom +type InsertCustomResponse struct { + *responses.BaseResponse + RequestId string `json:"RequestId" xml:"RequestId"` + Data string `json:"Data" xml:"Data"` +} + +// CreateInsertCustomRequest creates a request to invoke InsertCustom API +func CreateInsertCustomRequest() (request *InsertCustomRequest) { + request = &InsertCustomRequest{ + RpcRequest: &requests.RpcRequest{}, + } + request.InitWithApiInfo("alinlp", "2020-06-29", "InsertCustom", "alinlp", "openAPI") + request.Method = requests.POST + return +} + +// CreateInsertCustomResponse creates a response to parse from InsertCustom response +func CreateInsertCustomResponse() (response *InsertCustomResponse) { + response = &InsertCustomResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} diff --git a/services/alinlp/open_alinlp_service.go b/services/alinlp/open_alinlp_service.go index 8915b9ba91..21eb289db3 100644 --- a/services/alinlp/open_alinlp_service.go +++ b/services/alinlp/open_alinlp_service.go @@ -85,7 +85,7 @@ func CreateOpenAlinlpServiceRequest() (request *OpenAlinlpServiceRequest) { request = &OpenAlinlpServiceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "OpenAlinlpService", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "OpenAlinlpService", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/request_table_qa.go b/services/alinlp/request_table_qa.go index 5b384861a7..22c836cddf 100644 --- a/services/alinlp/request_table_qa.go +++ b/services/alinlp/request_table_qa.go @@ -87,7 +87,7 @@ func CreateRequestTableQARequest() (request *RequestTableQARequest) { request = &RequestTableQARequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "RequestTableQA", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "RequestTableQA", "alinlp", "openAPI") request.Method = requests.POST return } diff --git a/services/alinlp/request_table_qa_online.go b/services/alinlp/request_table_qa_online.go index 6711e9a87b..e0370a9c59 100644 --- a/services/alinlp/request_table_qa_online.go +++ b/services/alinlp/request_table_qa_online.go @@ -89,7 +89,7 @@ func CreateRequestTableQAOnlineRequest() (request *RequestTableQAOnlineRequest) request = &RequestTableQAOnlineRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("alinlp", "2020-06-29", "RequestTableQAOnline", "", "") + request.InitWithApiInfo("alinlp", "2020-06-29", "RequestTableQAOnline", "alinlp", "openAPI") request.Method = requests.POST return }