diff --git a/ChangeLog.txt b/ChangeLog.txt index d2d34028a0..0c08ff875d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2022-02-11 Version: v1.61.1483 +- Generated 2018-01-20 for `Iot`. +- Add OTA API, including ReupgradeOTATask. + 2022-02-11 Version: v1.61.1482 - Generated 2020-01-01 for `Dts`. - DTS SDK. diff --git a/services/iot/add_data_for_api_source.go b/services/iot/add_data_for_api_source.go index c9999eaae2..90ac0a2919 100644 --- a/services/iot/add_data_for_api_source.go +++ b/services/iot/add_data_for_api_source.go @@ -93,7 +93,7 @@ func CreateAddDataForApiSourceRequest() (request *AddDataForApiSourceRequest) { request = &AddDataForApiSourceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "AddDataForApiSource", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "AddDataForApiSource", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_add_data_for_api_source.go b/services/iot/batch_add_data_for_api_source.go index 62cd351a13..1ce2709c10 100644 --- a/services/iot/batch_add_data_for_api_source.go +++ b/services/iot/batch_add_data_for_api_source.go @@ -93,7 +93,7 @@ func CreateBatchAddDataForApiSourceRequest() (request *BatchAddDataForApiSourceR request = &BatchAddDataForApiSourceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchAddDataForApiSource", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchAddDataForApiSource", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_add_device_group_relations.go b/services/iot/batch_add_device_group_relations.go index 56be54ff3c..600482c1de 100644 --- a/services/iot/batch_add_device_group_relations.go +++ b/services/iot/batch_add_device_group_relations.go @@ -104,7 +104,7 @@ func CreateBatchAddDeviceGroupRelationsRequest() (request *BatchAddDeviceGroupRe request = &BatchAddDeviceGroupRelationsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchAddDeviceGroupRelations", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchAddDeviceGroupRelations", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_add_thing_topo.go b/services/iot/batch_add_thing_topo.go index 29b70823d3..474f6c4a88 100644 --- a/services/iot/batch_add_thing_topo.go +++ b/services/iot/batch_add_thing_topo.go @@ -104,7 +104,7 @@ func CreateBatchAddThingTopoRequest() (request *BatchAddThingTopoRequest) { request = &BatchAddThingTopoRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchAddThingTopo", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchAddThingTopo", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_bind_device_to_edge_instance_with_driver.go b/services/iot/batch_bind_device_to_edge_instance_with_driver.go index b46d2225ba..83cb514e35 100644 --- a/services/iot/batch_bind_device_to_edge_instance_with_driver.go +++ b/services/iot/batch_bind_device_to_edge_instance_with_driver.go @@ -93,7 +93,7 @@ func CreateBatchBindDeviceToEdgeInstanceWithDriverRequest() (request *BatchBindD request = &BatchBindDeviceToEdgeInstanceWithDriverRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchBindDeviceToEdgeInstanceWithDriver", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchBindDeviceToEdgeInstanceWithDriver", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_bind_devices_into_project.go b/services/iot/batch_bind_devices_into_project.go index 9057614ab5..f8c962f4d0 100644 --- a/services/iot/batch_bind_devices_into_project.go +++ b/services/iot/batch_bind_devices_into_project.go @@ -99,7 +99,7 @@ func CreateBatchBindDevicesIntoProjectRequest() (request *BatchBindDevicesIntoPr request = &BatchBindDevicesIntoProjectRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchBindDevicesIntoProject", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchBindDevicesIntoProject", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_bind_products_into_project.go b/services/iot/batch_bind_products_into_project.go index dd73a19c49..3530554308 100644 --- a/services/iot/batch_bind_products_into_project.go +++ b/services/iot/batch_bind_products_into_project.go @@ -93,7 +93,7 @@ func CreateBatchBindProductsIntoProjectRequest() (request *BatchBindProductsInto request = &BatchBindProductsIntoProjectRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchBindProductsIntoProject", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchBindProductsIntoProject", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_check_device_names.go b/services/iot/batch_check_device_names.go index 2208ebcc3f..16db9db811 100644 --- a/services/iot/batch_check_device_names.go +++ b/services/iot/batch_check_device_names.go @@ -102,7 +102,7 @@ func CreateBatchCheckDeviceNamesRequest() (request *BatchCheckDeviceNamesRequest request = &BatchCheckDeviceNamesRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchCheckDeviceNames", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchCheckDeviceNames", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_clear_edge_instance_device_config.go b/services/iot/batch_clear_edge_instance_device_config.go index cdb38ecac9..dad4ceb7c0 100644 --- a/services/iot/batch_clear_edge_instance_device_config.go +++ b/services/iot/batch_clear_edge_instance_device_config.go @@ -92,7 +92,7 @@ func CreateBatchClearEdgeInstanceDeviceConfigRequest() (request *BatchClearEdgeI request = &BatchClearEdgeInstanceDeviceConfigRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchClearEdgeInstanceDeviceConfig", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchClearEdgeInstanceDeviceConfig", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_delete_device_group_relations.go b/services/iot/batch_delete_device_group_relations.go index 09d668dc42..98babc514e 100644 --- a/services/iot/batch_delete_device_group_relations.go +++ b/services/iot/batch_delete_device_group_relations.go @@ -103,7 +103,7 @@ func CreateBatchDeleteDeviceGroupRelationsRequest() (request *BatchDeleteDeviceG request = &BatchDeleteDeviceGroupRelationsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchDeleteDeviceGroupRelations", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchDeleteDeviceGroupRelations", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_delete_edge_instance_channel.go b/services/iot/batch_delete_edge_instance_channel.go index baddf1533b..bcd090f5f5 100644 --- a/services/iot/batch_delete_edge_instance_channel.go +++ b/services/iot/batch_delete_edge_instance_channel.go @@ -93,7 +93,7 @@ func CreateBatchDeleteEdgeInstanceChannelRequest() (request *BatchDeleteEdgeInst request = &BatchDeleteEdgeInstanceChannelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchDeleteEdgeInstanceChannel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchDeleteEdgeInstanceChannel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_get_device_bind_status.go b/services/iot/batch_get_device_bind_status.go index 82f07b81c7..2f43f6461a 100644 --- a/services/iot/batch_get_device_bind_status.go +++ b/services/iot/batch_get_device_bind_status.go @@ -92,7 +92,7 @@ func CreateBatchGetDeviceBindStatusRequest() (request *BatchGetDeviceBindStatusR request = &BatchGetDeviceBindStatusRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetDeviceBindStatus", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetDeviceBindStatus", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_get_device_state.go b/services/iot/batch_get_device_state.go index 6e7b0239fe..9d210d1c91 100644 --- a/services/iot/batch_get_device_state.go +++ b/services/iot/batch_get_device_state.go @@ -96,7 +96,7 @@ func CreateBatchGetDeviceStateRequest() (request *BatchGetDeviceStateRequest) { request = &BatchGetDeviceStateRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetDeviceState", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetDeviceState", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_get_edge_driver.go b/services/iot/batch_get_edge_driver.go index 637a10a1b0..4fb5db5c3f 100644 --- a/services/iot/batch_get_edge_driver.go +++ b/services/iot/batch_get_edge_driver.go @@ -92,7 +92,7 @@ func CreateBatchGetEdgeDriverRequest() (request *BatchGetEdgeDriverRequest) { request = &BatchGetEdgeDriverRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeDriver", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeDriver", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_get_edge_instance_channel.go b/services/iot/batch_get_edge_instance_channel.go index 84092405fb..461645a0d4 100644 --- a/services/iot/batch_get_edge_instance_channel.go +++ b/services/iot/batch_get_edge_instance_channel.go @@ -94,7 +94,7 @@ func CreateBatchGetEdgeInstanceChannelRequest() (request *BatchGetEdgeInstanceCh request = &BatchGetEdgeInstanceChannelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceChannel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceChannel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_get_edge_instance_device_channel.go b/services/iot/batch_get_edge_instance_device_channel.go index be49916042..2cdbc30d97 100644 --- a/services/iot/batch_get_edge_instance_device_channel.go +++ b/services/iot/batch_get_edge_instance_device_channel.go @@ -94,7 +94,7 @@ func CreateBatchGetEdgeInstanceDeviceChannelRequest() (request *BatchGetEdgeInst request = &BatchGetEdgeInstanceDeviceChannelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceDeviceChannel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceDeviceChannel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_get_edge_instance_device_config.go b/services/iot/batch_get_edge_instance_device_config.go index 1e2a7bb0dd..f300edb144 100644 --- a/services/iot/batch_get_edge_instance_device_config.go +++ b/services/iot/batch_get_edge_instance_device_config.go @@ -93,7 +93,7 @@ func CreateBatchGetEdgeInstanceDeviceConfigRequest() (request *BatchGetEdgeInsta request = &BatchGetEdgeInstanceDeviceConfigRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceDeviceConfig", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceDeviceConfig", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_get_edge_instance_device_driver.go b/services/iot/batch_get_edge_instance_device_driver.go index 97decc1d96..aa872d1a5e 100644 --- a/services/iot/batch_get_edge_instance_device_driver.go +++ b/services/iot/batch_get_edge_instance_device_driver.go @@ -93,7 +93,7 @@ func CreateBatchGetEdgeInstanceDeviceDriverRequest() (request *BatchGetEdgeInsta request = &BatchGetEdgeInstanceDeviceDriverRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceDeviceDriver", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceDeviceDriver", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_get_edge_instance_driver_configs.go b/services/iot/batch_get_edge_instance_driver_configs.go index 16400b20a5..90b9e04dd2 100644 --- a/services/iot/batch_get_edge_instance_driver_configs.go +++ b/services/iot/batch_get_edge_instance_driver_configs.go @@ -93,7 +93,7 @@ func CreateBatchGetEdgeInstanceDriverConfigsRequest() (request *BatchGetEdgeInst request = &BatchGetEdgeInstanceDriverConfigsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceDriverConfigs", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchGetEdgeInstanceDriverConfigs", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_pub.go b/services/iot/batch_pub.go index 8a4b26ab56..4002d3e9da 100644 --- a/services/iot/batch_pub.go +++ b/services/iot/batch_pub.go @@ -95,7 +95,7 @@ func CreateBatchPubRequest() (request *BatchPubRequest) { request = &BatchPubRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchPub", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchPub", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_query_device_detail.go b/services/iot/batch_query_device_detail.go index 0c8befb03b..5469607d9b 100644 --- a/services/iot/batch_query_device_detail.go +++ b/services/iot/batch_query_device_detail.go @@ -95,7 +95,7 @@ func CreateBatchQueryDeviceDetailRequest() (request *BatchQueryDeviceDetailReque request = &BatchQueryDeviceDetailRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchQueryDeviceDetail", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchQueryDeviceDetail", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_register_device.go b/services/iot/batch_register_device.go index f267ed0558..aa7ecbc64d 100644 --- a/services/iot/batch_register_device.go +++ b/services/iot/batch_register_device.go @@ -95,7 +95,7 @@ func CreateBatchRegisterDeviceRequest() (request *BatchRegisterDeviceRequest) { request = &BatchRegisterDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchRegisterDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchRegisterDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_register_device_with_apply_id.go b/services/iot/batch_register_device_with_apply_id.go index a5801d1d59..cf65302cf7 100644 --- a/services/iot/batch_register_device_with_apply_id.go +++ b/services/iot/batch_register_device_with_apply_id.go @@ -95,7 +95,7 @@ func CreateBatchRegisterDeviceWithApplyIdRequest() (request *BatchRegisterDevice request = &BatchRegisterDeviceWithApplyIdRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchRegisterDeviceWithApplyId", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchRegisterDeviceWithApplyId", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_set_edge_instance_device_channel.go b/services/iot/batch_set_edge_instance_device_channel.go index 17ab42259e..e5ca591773 100644 --- a/services/iot/batch_set_edge_instance_device_channel.go +++ b/services/iot/batch_set_edge_instance_device_channel.go @@ -94,7 +94,7 @@ func CreateBatchSetEdgeInstanceDeviceChannelRequest() (request *BatchSetEdgeInst request = &BatchSetEdgeInstanceDeviceChannelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchSetEdgeInstanceDeviceChannel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchSetEdgeInstanceDeviceChannel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_set_edge_instance_device_config.go b/services/iot/batch_set_edge_instance_device_config.go index da31d08bee..36962ab495 100644 --- a/services/iot/batch_set_edge_instance_device_config.go +++ b/services/iot/batch_set_edge_instance_device_config.go @@ -98,7 +98,7 @@ func CreateBatchSetEdgeInstanceDeviceConfigRequest() (request *BatchSetEdgeInsta request = &BatchSetEdgeInstanceDeviceConfigRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchSetEdgeInstanceDeviceConfig", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchSetEdgeInstanceDeviceConfig", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_unbind_device_from_edge_instance.go b/services/iot/batch_unbind_device_from_edge_instance.go index eb3d8e7efd..81091a2204 100644 --- a/services/iot/batch_unbind_device_from_edge_instance.go +++ b/services/iot/batch_unbind_device_from_edge_instance.go @@ -92,7 +92,7 @@ func CreateBatchUnbindDeviceFromEdgeInstanceRequest() (request *BatchUnbindDevic request = &BatchUnbindDeviceFromEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchUnbindDeviceFromEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchUnbindDeviceFromEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_unbind_project_devices.go b/services/iot/batch_unbind_project_devices.go index 983e20dbe1..b9534f9b63 100644 --- a/services/iot/batch_unbind_project_devices.go +++ b/services/iot/batch_unbind_project_devices.go @@ -99,7 +99,7 @@ func CreateBatchUnbindProjectDevicesRequest() (request *BatchUnbindProjectDevice request = &BatchUnbindProjectDevicesRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchUnbindProjectDevices", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchUnbindProjectDevices", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_unbind_project_products.go b/services/iot/batch_unbind_project_products.go index 936e5cdfbe..467c449146 100644 --- a/services/iot/batch_unbind_project_products.go +++ b/services/iot/batch_unbind_project_products.go @@ -93,7 +93,7 @@ func CreateBatchUnbindProjectProductsRequest() (request *BatchUnbindProjectProdu request = &BatchUnbindProjectProductsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchUnbindProjectProducts", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchUnbindProjectProducts", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/batch_update_device_nickname.go b/services/iot/batch_update_device_nickname.go index acb0d887ce..91593000c6 100644 --- a/services/iot/batch_update_device_nickname.go +++ b/services/iot/batch_update_device_nickname.go @@ -101,7 +101,7 @@ func CreateBatchUpdateDeviceNicknameRequest() (request *BatchUpdateDeviceNicknam request = &BatchUpdateDeviceNicknameRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BatchUpdateDeviceNickname", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BatchUpdateDeviceNickname", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/bind_application_to_edge_instance.go b/services/iot/bind_application_to_edge_instance.go index 82cf92e5e3..b9621a53d6 100644 --- a/services/iot/bind_application_to_edge_instance.go +++ b/services/iot/bind_application_to_edge_instance.go @@ -93,7 +93,7 @@ func CreateBindApplicationToEdgeInstanceRequest() (request *BindApplicationToEdg request = &BindApplicationToEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BindApplicationToEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BindApplicationToEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/bind_driver_to_edge_instance.go b/services/iot/bind_driver_to_edge_instance.go index c92be6840b..07d9e43ebc 100644 --- a/services/iot/bind_driver_to_edge_instance.go +++ b/services/iot/bind_driver_to_edge_instance.go @@ -94,7 +94,7 @@ func CreateBindDriverToEdgeInstanceRequest() (request *BindDriverToEdgeInstanceR request = &BindDriverToEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BindDriverToEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BindDriverToEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/bind_gateway_to_edge_instance.go b/services/iot/bind_gateway_to_edge_instance.go index 9d3bbe265f..3a86493dab 100644 --- a/services/iot/bind_gateway_to_edge_instance.go +++ b/services/iot/bind_gateway_to_edge_instance.go @@ -94,7 +94,7 @@ func CreateBindGatewayToEdgeInstanceRequest() (request *BindGatewayToEdgeInstanc request = &BindGatewayToEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BindGatewayToEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BindGatewayToEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/bind_role_to_edge_instance.go b/services/iot/bind_role_to_edge_instance.go index e1edd54106..b773280df7 100644 --- a/services/iot/bind_role_to_edge_instance.go +++ b/services/iot/bind_role_to_edge_instance.go @@ -93,7 +93,7 @@ func CreateBindRoleToEdgeInstanceRequest() (request *BindRoleToEdgeInstanceReque request = &BindRoleToEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BindRoleToEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BindRoleToEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/bind_scene_rule_to_edge_instance.go b/services/iot/bind_scene_rule_to_edge_instance.go index 9440bbeafe..afec956c54 100644 --- a/services/iot/bind_scene_rule_to_edge_instance.go +++ b/services/iot/bind_scene_rule_to_edge_instance.go @@ -92,7 +92,7 @@ func CreateBindSceneRuleToEdgeInstanceRequest() (request *BindSceneRuleToEdgeIns request = &BindSceneRuleToEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "BindSceneRuleToEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "BindSceneRuleToEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/cancel_job.go b/services/iot/cancel_job.go index 17787cf51f..ff29574409 100644 --- a/services/iot/cancel_job.go +++ b/services/iot/cancel_job.go @@ -91,7 +91,7 @@ func CreateCancelJobRequest() (request *CancelJobRequest) { request = &CancelJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CancelJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CancelJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/cancel_ota_strategy_by_job.go b/services/iot/cancel_ota_strategy_by_job.go index e8683f5e46..331ebb2e14 100644 --- a/services/iot/cancel_ota_strategy_by_job.go +++ b/services/iot/cancel_ota_strategy_by_job.go @@ -91,7 +91,7 @@ func CreateCancelOTAStrategyByJobRequest() (request *CancelOTAStrategyByJobReque request = &CancelOTAStrategyByJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CancelOTAStrategyByJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CancelOTAStrategyByJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/cancel_ota_task_by_device.go b/services/iot/cancel_ota_task_by_device.go index 70033c81bb..8d8fef339a 100644 --- a/services/iot/cancel_ota_task_by_device.go +++ b/services/iot/cancel_ota_task_by_device.go @@ -94,7 +94,7 @@ func CreateCancelOTATaskByDeviceRequest() (request *CancelOTATaskByDeviceRequest request = &CancelOTATaskByDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CancelOTATaskByDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CancelOTATaskByDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/cancel_ota_task_by_job.go b/services/iot/cancel_ota_task_by_job.go index dfeba12001..fce53e45c5 100644 --- a/services/iot/cancel_ota_task_by_job.go +++ b/services/iot/cancel_ota_task_by_job.go @@ -96,7 +96,7 @@ func CreateCancelOTATaskByJobRequest() (request *CancelOTATaskByJobRequest) { request = &CancelOTATaskByJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CancelOTATaskByJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CancelOTATaskByJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/cancel_release_product.go b/services/iot/cancel_release_product.go index 76a608ab2a..f8233e1071 100644 --- a/services/iot/cancel_release_product.go +++ b/services/iot/cancel_release_product.go @@ -94,7 +94,7 @@ func CreateCancelReleaseProductRequest() (request *CancelReleaseProductRequest) request = &CancelReleaseProductRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CancelReleaseProduct", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CancelReleaseProduct", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/clear_edge_instance_driver_configs.go b/services/iot/clear_edge_instance_driver_configs.go index fe44a4caa8..fd4afbcc53 100644 --- a/services/iot/clear_edge_instance_driver_configs.go +++ b/services/iot/clear_edge_instance_driver_configs.go @@ -92,7 +92,7 @@ func CreateClearEdgeInstanceDriverConfigsRequest() (request *ClearEdgeInstanceDr request = &ClearEdgeInstanceDriverConfigsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ClearEdgeInstanceDriverConfigs", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ClearEdgeInstanceDriverConfigs", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/close_device_tunnel.go b/services/iot/close_device_tunnel.go index 64b1264d6f..23f6a60fd2 100644 --- a/services/iot/close_device_tunnel.go +++ b/services/iot/close_device_tunnel.go @@ -91,7 +91,7 @@ func CreateCloseDeviceTunnelRequest() (request *CloseDeviceTunnelRequest) { request = &CloseDeviceTunnelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CloseDeviceTunnel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CloseDeviceTunnel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/close_edge_instance_deployment.go b/services/iot/close_edge_instance_deployment.go index 3d3244fed7..abddde7c72 100644 --- a/services/iot/close_edge_instance_deployment.go +++ b/services/iot/close_edge_instance_deployment.go @@ -91,7 +91,7 @@ func CreateCloseEdgeInstanceDeploymentRequest() (request *CloseEdgeInstanceDeplo request = &CloseEdgeInstanceDeploymentRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CloseEdgeInstanceDeployment", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CloseEdgeInstanceDeployment", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/confirm_ota_task.go b/services/iot/confirm_ota_task.go index 11c51ac162..703273dc33 100644 --- a/services/iot/confirm_ota_task.go +++ b/services/iot/confirm_ota_task.go @@ -91,7 +91,7 @@ func CreateConfirmOTATaskRequest() (request *ConfirmOTATaskRequest) { request = &ConfirmOTATaskRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ConfirmOTATask", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ConfirmOTATask", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/copy_thing_model.go b/services/iot/copy_thing_model.go index 91e5b003ea..1e69f2ba15 100644 --- a/services/iot/copy_thing_model.go +++ b/services/iot/copy_thing_model.go @@ -96,7 +96,7 @@ func CreateCopyThingModelRequest() (request *CopyThingModelRequest) { request = &CopyThingModelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CopyThingModel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CopyThingModel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_consumer_group.go b/services/iot/create_consumer_group.go index 6d6d03e517..1147ef5e66 100644 --- a/services/iot/create_consumer_group.go +++ b/services/iot/create_consumer_group.go @@ -94,7 +94,7 @@ func CreateCreateConsumerGroupRequest() (request *CreateConsumerGroupRequest) { request = &CreateConsumerGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateConsumerGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateConsumerGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_consumer_group_subscribe_relation.go b/services/iot/create_consumer_group_subscribe_relation.go index f05f27900e..0eec9d5348 100644 --- a/services/iot/create_consumer_group_subscribe_relation.go +++ b/services/iot/create_consumer_group_subscribe_relation.go @@ -92,7 +92,7 @@ func CreateCreateConsumerGroupSubscribeRelationRequest() (request *CreateConsume request = &CreateConsumerGroupSubscribeRelationRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateConsumerGroupSubscribeRelation", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateConsumerGroupSubscribeRelation", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_data_api_service.go b/services/iot/create_data_api_service.go index d00b9f2f73..6e2ffc52d5 100644 --- a/services/iot/create_data_api_service.go +++ b/services/iot/create_data_api_service.go @@ -116,7 +116,7 @@ func CreateCreateDataAPIServiceRequest() (request *CreateDataAPIServiceRequest) request = &CreateDataAPIServiceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateDataAPIService", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateDataAPIService", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_device_distribute_job.go b/services/iot/create_device_distribute_job.go index 4b0fe62fcb..5c07ba8a25 100644 --- a/services/iot/create_device_distribute_job.go +++ b/services/iot/create_device_distribute_job.go @@ -103,7 +103,7 @@ func CreateCreateDeviceDistributeJobRequest() (request *CreateDeviceDistributeJo request = &CreateDeviceDistributeJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateDeviceDistributeJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateDeviceDistributeJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_device_dynamic_group.go b/services/iot/create_device_dynamic_group.go index 0a7e43795a..bf0ce8a536 100644 --- a/services/iot/create_device_dynamic_group.go +++ b/services/iot/create_device_dynamic_group.go @@ -94,7 +94,7 @@ func CreateCreateDeviceDynamicGroupRequest() (request *CreateDeviceDynamicGroupR request = &CreateDeviceDynamicGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateDeviceDynamicGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateDeviceDynamicGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_device_group.go b/services/iot/create_device_group.go index 1c7f9b7cde..0cba05d1a6 100644 --- a/services/iot/create_device_group.go +++ b/services/iot/create_device_group.go @@ -96,7 +96,7 @@ func CreateCreateDeviceGroupRequest() (request *CreateDeviceGroupRequest) { request = &CreateDeviceGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateDeviceGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateDeviceGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_device_tunnel.go b/services/iot/create_device_tunnel.go index 35f576a835..2922b27642 100644 --- a/services/iot/create_device_tunnel.go +++ b/services/iot/create_device_tunnel.go @@ -96,7 +96,7 @@ func CreateCreateDeviceTunnelRequest() (request *CreateDeviceTunnelRequest) { request = &CreateDeviceTunnelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateDeviceTunnel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateDeviceTunnel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_edge_driver.go b/services/iot/create_edge_driver.go index fe54fb2571..26faa2cbee 100644 --- a/services/iot/create_edge_driver.go +++ b/services/iot/create_edge_driver.go @@ -97,7 +97,7 @@ func CreateCreateEdgeDriverRequest() (request *CreateEdgeDriverRequest) { request = &CreateEdgeDriverRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeDriver", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeDriver", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_edge_driver_version.go b/services/iot/create_edge_driver_version.go index c878735ab2..6142c2ad32 100644 --- a/services/iot/create_edge_driver_version.go +++ b/services/iot/create_edge_driver_version.go @@ -99,7 +99,7 @@ func CreateCreateEdgeDriverVersionRequest() (request *CreateEdgeDriverVersionReq request = &CreateEdgeDriverVersionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeDriverVersion", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeDriverVersion", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_edge_instance.go b/services/iot/create_edge_instance.go index 21e20e5bfc..149d53d4be 100644 --- a/services/iot/create_edge_instance.go +++ b/services/iot/create_edge_instance.go @@ -94,7 +94,7 @@ func CreateCreateEdgeInstanceRequest() (request *CreateEdgeInstanceRequest) { request = &CreateEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_edge_instance_channel.go b/services/iot/create_edge_instance_channel.go index 2348dcd65f..c63598ec9f 100644 --- a/services/iot/create_edge_instance_channel.go +++ b/services/iot/create_edge_instance_channel.go @@ -102,7 +102,7 @@ func CreateCreateEdgeInstanceChannelRequest() (request *CreateEdgeInstanceChanne request = &CreateEdgeInstanceChannelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeInstanceChannel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeInstanceChannel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_edge_instance_deployment.go b/services/iot/create_edge_instance_deployment.go index a394de7bfa..76c16a6159 100644 --- a/services/iot/create_edge_instance_deployment.go +++ b/services/iot/create_edge_instance_deployment.go @@ -93,7 +93,7 @@ func CreateCreateEdgeInstanceDeploymentRequest() (request *CreateEdgeInstanceDep request = &CreateEdgeInstanceDeploymentRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeInstanceDeployment", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeInstanceDeployment", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_edge_instance_message_routing.go b/services/iot/create_edge_instance_message_routing.go index 19aa3691fd..e585598226 100644 --- a/services/iot/create_edge_instance_message_routing.go +++ b/services/iot/create_edge_instance_message_routing.go @@ -99,7 +99,7 @@ func CreateCreateEdgeInstanceMessageRoutingRequest() (request *CreateEdgeInstanc request = &CreateEdgeInstanceMessageRoutingRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeInstanceMessageRouting", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeInstanceMessageRouting", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_edge_oss_pre_signed_address.go b/services/iot/create_edge_oss_pre_signed_address.go index 8c3f38a8fe..5f59b9717c 100644 --- a/services/iot/create_edge_oss_pre_signed_address.go +++ b/services/iot/create_edge_oss_pre_signed_address.go @@ -96,7 +96,7 @@ func CreateCreateEdgeOssPreSignedAddressRequest() (request *CreateEdgeOssPreSign request = &CreateEdgeOssPreSignedAddressRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeOssPreSignedAddress", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateEdgeOssPreSignedAddress", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_job.go b/services/iot/create_job.go index 24ee73ecd2..8d239887d5 100644 --- a/services/iot/create_job.go +++ b/services/iot/create_job.go @@ -100,7 +100,7 @@ func CreateCreateJobRequest() (request *CreateJobRequest) { request = &CreateJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_lo_ra_nodes_task.go b/services/iot/create_lo_ra_nodes_task.go index f856463c79..001b410839 100644 --- a/services/iot/create_lo_ra_nodes_task.go +++ b/services/iot/create_lo_ra_nodes_task.go @@ -99,7 +99,7 @@ func CreateCreateLoRaNodesTaskRequest() (request *CreateLoRaNodesTaskRequest) { request = &CreateLoRaNodesTaskRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateLoRaNodesTask", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateLoRaNodesTask", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_ota_dynamic_upgrade_job.go b/services/iot/create_ota_dynamic_upgrade_job.go index 965070b161..3dfc2b32bd 100644 --- a/services/iot/create_ota_dynamic_upgrade_job.go +++ b/services/iot/create_ota_dynamic_upgrade_job.go @@ -113,7 +113,7 @@ func CreateCreateOTADynamicUpgradeJobRequest() (request *CreateOTADynamicUpgrade request = &CreateOTADynamicUpgradeJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTADynamicUpgradeJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTADynamicUpgradeJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_ota_firmware.go b/services/iot/create_ota_firmware.go index 53651bb4df..5e6605cdd4 100644 --- a/services/iot/create_ota_firmware.go +++ b/services/iot/create_ota_firmware.go @@ -114,7 +114,7 @@ func CreateCreateOTAFirmwareRequest() (request *CreateOTAFirmwareRequest) { request = &CreateOTAFirmwareRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTAFirmware", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTAFirmware", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_ota_module.go b/services/iot/create_ota_module.go index a36d498a80..83bfc5e4cd 100644 --- a/services/iot/create_ota_module.go +++ b/services/iot/create_ota_module.go @@ -94,7 +94,7 @@ func CreateCreateOTAModuleRequest() (request *CreateOTAModuleRequest) { request = &CreateOTAModuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTAModule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTAModule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_ota_static_upgrade_job.go b/services/iot/create_ota_static_upgrade_job.go index 526b152d0b..615f554b46 100644 --- a/services/iot/create_ota_static_upgrade_job.go +++ b/services/iot/create_ota_static_upgrade_job.go @@ -118,7 +118,7 @@ func CreateCreateOTAStaticUpgradeJobRequest() (request *CreateOTAStaticUpgradeJo request = &CreateOTAStaticUpgradeJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTAStaticUpgradeJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTAStaticUpgradeJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_ota_verify_job.go b/services/iot/create_ota_verify_job.go index bd708a74c2..bc5706571f 100644 --- a/services/iot/create_ota_verify_job.go +++ b/services/iot/create_ota_verify_job.go @@ -105,7 +105,7 @@ func CreateCreateOTAVerifyJobRequest() (request *CreateOTAVerifyJobRequest) { request = &CreateOTAVerifyJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTAVerifyJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateOTAVerifyJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_product.go b/services/iot/create_product.go index 78dfbeeba4..f2d44cc154 100644 --- a/services/iot/create_product.go +++ b/services/iot/create_product.go @@ -109,7 +109,7 @@ func CreateCreateProductRequest() (request *CreateProductRequest) { request = &CreateProductRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateProduct", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateProduct", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_product_distribute_job.go b/services/iot/create_product_distribute_job.go index 70f4ff048d..a62226d692 100644 --- a/services/iot/create_product_distribute_job.go +++ b/services/iot/create_product_distribute_job.go @@ -96,7 +96,7 @@ func CreateCreateProductDistributeJobRequest() (request *CreateProductDistribute request = &CreateProductDistributeJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateProductDistributeJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateProductDistributeJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_product_tags.go b/services/iot/create_product_tags.go index 5b3f7ac24c..979549b5ae 100644 --- a/services/iot/create_product_tags.go +++ b/services/iot/create_product_tags.go @@ -101,7 +101,7 @@ func CreateCreateProductTagsRequest() (request *CreateProductTagsRequest) { request = &CreateProductTagsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateProductTags", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateProductTags", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_product_topic.go b/services/iot/create_product_topic.go index c196c2209a..35430d92e6 100644 --- a/services/iot/create_product_topic.go +++ b/services/iot/create_product_topic.go @@ -97,7 +97,7 @@ func CreateCreateProductTopicRequest() (request *CreateProductTopicRequest) { request = &CreateProductTopicRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateProductTopic", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateProductTopic", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_rule.go b/services/iot/create_rule.go index d7b3c91845..6074cefa81 100644 --- a/services/iot/create_rule.go +++ b/services/iot/create_rule.go @@ -101,7 +101,7 @@ func CreateCreateRuleRequest() (request *CreateRuleRequest) { request = &CreateRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_rule_action.go b/services/iot/create_rule_action.go index 68f72b4eb1..76ac352e3a 100644 --- a/services/iot/create_rule_action.go +++ b/services/iot/create_rule_action.go @@ -95,7 +95,7 @@ func CreateCreateRuleActionRequest() (request *CreateRuleActionRequest) { request = &CreateRuleActionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateRuleAction", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateRuleAction", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_ruleng_distribute_job.go b/services/iot/create_ruleng_distribute_job.go index 50f7f28650..14a1284abf 100644 --- a/services/iot/create_ruleng_distribute_job.go +++ b/services/iot/create_ruleng_distribute_job.go @@ -92,7 +92,7 @@ func CreateCreateRulengDistributeJobRequest() (request *CreateRulengDistributeJo request = &CreateRulengDistributeJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateRulengDistributeJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateRulengDistributeJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_scene_rule.go b/services/iot/create_scene_rule.go index 9a260b482a..3c482cfe87 100644 --- a/services/iot/create_scene_rule.go +++ b/services/iot/create_scene_rule.go @@ -94,7 +94,7 @@ func CreateCreateSceneRuleRequest() (request *CreateSceneRuleRequest) { request = &CreateSceneRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateSceneRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateSceneRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_sound_code.go b/services/iot/create_sound_code.go index 69448d479e..daca9ffea3 100644 --- a/services/iot/create_sound_code.go +++ b/services/iot/create_sound_code.go @@ -93,7 +93,7 @@ func CreateCreateSoundCodeRequest() (request *CreateSoundCodeRequest) { request = &CreateSoundCodeRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateSoundCode", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateSoundCode", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_speech.go b/services/iot/create_speech.go index 1d25c8f109..fdadfd0444 100644 --- a/services/iot/create_speech.go +++ b/services/iot/create_speech.go @@ -101,7 +101,7 @@ func CreateCreateSpeechRequest() (request *CreateSpeechRequest) { request = &CreateSpeechRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateSpeech", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateSpeech", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_studio_app_domain_open.go b/services/iot/create_studio_app_domain_open.go index 9283c87165..d4521227b0 100644 --- a/services/iot/create_studio_app_domain_open.go +++ b/services/iot/create_studio_app_domain_open.go @@ -95,7 +95,7 @@ func CreateCreateStudioAppDomainOpenRequest() (request *CreateStudioAppDomainOpe request = &CreateStudioAppDomainOpenRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateStudioAppDomainOpen", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateStudioAppDomainOpen", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_subscribe_relation.go b/services/iot/create_subscribe_relation.go index 8831e310c2..ba7dcbc6ec 100644 --- a/services/iot/create_subscribe_relation.go +++ b/services/iot/create_subscribe_relation.go @@ -106,7 +106,7 @@ func CreateCreateSubscribeRelationRequest() (request *CreateSubscribeRelationReq request = &CreateSubscribeRelationRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateSubscribeRelation", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateSubscribeRelation", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_thing_model.go b/services/iot/create_thing_model.go index b9e451c1fe..433a89f6f3 100644 --- a/services/iot/create_thing_model.go +++ b/services/iot/create_thing_model.go @@ -96,7 +96,7 @@ func CreateCreateThingModelRequest() (request *CreateThingModelRequest) { request = &CreateThingModelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateThingModel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateThingModel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_thing_script.go b/services/iot/create_thing_script.go index cfca464ebe..c2ee9c1f32 100644 --- a/services/iot/create_thing_script.go +++ b/services/iot/create_thing_script.go @@ -93,7 +93,7 @@ func CreateCreateThingScriptRequest() (request *CreateThingScriptRequest) { request = &CreateThingScriptRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateThingScript", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateThingScript", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/create_topic_route_table.go b/services/iot/create_topic_route_table.go index c1045e979e..4c7e2d3985 100644 --- a/services/iot/create_topic_route_table.go +++ b/services/iot/create_topic_route_table.go @@ -96,7 +96,7 @@ func CreateCreateTopicRouteTableRequest() (request *CreateTopicRouteTableRequest request = &CreateTopicRouteTableRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "CreateTopicRouteTable", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "CreateTopicRouteTable", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_client_ids.go b/services/iot/delete_client_ids.go index 567ddecc12..44efea10bd 100644 --- a/services/iot/delete_client_ids.go +++ b/services/iot/delete_client_ids.go @@ -92,7 +92,7 @@ func CreateDeleteClientIdsRequest() (request *DeleteClientIdsRequest) { request = &DeleteClientIdsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteClientIds", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteClientIds", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_consumer_group.go b/services/iot/delete_consumer_group.go index 566ab3d944..a0f610e976 100644 --- a/services/iot/delete_consumer_group.go +++ b/services/iot/delete_consumer_group.go @@ -91,7 +91,7 @@ func CreateDeleteConsumerGroupRequest() (request *DeleteConsumerGroupRequest) { request = &DeleteConsumerGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteConsumerGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteConsumerGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_consumer_group_subscribe_relation.go b/services/iot/delete_consumer_group_subscribe_relation.go index 3f6f33e341..69bf5c2058 100644 --- a/services/iot/delete_consumer_group_subscribe_relation.go +++ b/services/iot/delete_consumer_group_subscribe_relation.go @@ -92,7 +92,7 @@ func CreateDeleteConsumerGroupSubscribeRelationRequest() (request *DeleteConsume request = &DeleteConsumerGroupSubscribeRelationRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteConsumerGroupSubscribeRelation", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteConsumerGroupSubscribeRelation", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_device.go b/services/iot/delete_device.go index a8433783fc..b2730ecfd5 100644 --- a/services/iot/delete_device.go +++ b/services/iot/delete_device.go @@ -95,7 +95,7 @@ func CreateDeleteDeviceRequest() (request *DeleteDeviceRequest) { request = &DeleteDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_device_distribute_job.go b/services/iot/delete_device_distribute_job.go index 3909c664e8..784d03d8f8 100644 --- a/services/iot/delete_device_distribute_job.go +++ b/services/iot/delete_device_distribute_job.go @@ -90,7 +90,7 @@ func CreateDeleteDeviceDistributeJobRequest() (request *DeleteDeviceDistributeJo request = &DeleteDeviceDistributeJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceDistributeJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceDistributeJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_device_dynamic_group.go b/services/iot/delete_device_dynamic_group.go index bc412d3670..34005c3e96 100644 --- a/services/iot/delete_device_dynamic_group.go +++ b/services/iot/delete_device_dynamic_group.go @@ -91,7 +91,7 @@ func CreateDeleteDeviceDynamicGroupRequest() (request *DeleteDeviceDynamicGroupR request = &DeleteDeviceDynamicGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceDynamicGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceDynamicGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_device_file.go b/services/iot/delete_device_file.go index b9c1692321..35b9506253 100644 --- a/services/iot/delete_device_file.go +++ b/services/iot/delete_device_file.go @@ -94,7 +94,7 @@ func CreateDeleteDeviceFileRequest() (request *DeleteDeviceFileRequest) { request = &DeleteDeviceFileRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceFile", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceFile", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_device_group.go b/services/iot/delete_device_group.go index 5756ebdda8..74acdf7aa1 100644 --- a/services/iot/delete_device_group.go +++ b/services/iot/delete_device_group.go @@ -93,7 +93,7 @@ func CreateDeleteDeviceGroupRequest() (request *DeleteDeviceGroupRequest) { request = &DeleteDeviceGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_device_prop.go b/services/iot/delete_device_prop.go index feb0368ae9..e2d6910389 100644 --- a/services/iot/delete_device_prop.go +++ b/services/iot/delete_device_prop.go @@ -96,7 +96,7 @@ func CreateDeleteDevicePropRequest() (request *DeleteDevicePropRequest) { request = &DeleteDevicePropRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceProp", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceProp", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_device_speech.go b/services/iot/delete_device_speech.go index 7924ccd0e7..0caf9343eb 100644 --- a/services/iot/delete_device_speech.go +++ b/services/iot/delete_device_speech.go @@ -98,7 +98,7 @@ func CreateDeleteDeviceSpeechRequest() (request *DeleteDeviceSpeechRequest) { request = &DeleteDeviceSpeechRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceSpeech", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceSpeech", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_device_tunnel.go b/services/iot/delete_device_tunnel.go index 7cb1b99ea8..c716efbfd3 100644 --- a/services/iot/delete_device_tunnel.go +++ b/services/iot/delete_device_tunnel.go @@ -91,7 +91,7 @@ func CreateDeleteDeviceTunnelRequest() (request *DeleteDeviceTunnelRequest) { request = &DeleteDeviceTunnelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceTunnel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteDeviceTunnel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_edge_driver.go b/services/iot/delete_edge_driver.go index 8a549a711a..c3ff0d1a4c 100644 --- a/services/iot/delete_edge_driver.go +++ b/services/iot/delete_edge_driver.go @@ -91,7 +91,7 @@ func CreateDeleteEdgeDriverRequest() (request *DeleteEdgeDriverRequest) { request = &DeleteEdgeDriverRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteEdgeDriver", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteEdgeDriver", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_edge_driver_version.go b/services/iot/delete_edge_driver_version.go index 8142ab16a3..389dde72c9 100644 --- a/services/iot/delete_edge_driver_version.go +++ b/services/iot/delete_edge_driver_version.go @@ -92,7 +92,7 @@ func CreateDeleteEdgeDriverVersionRequest() (request *DeleteEdgeDriverVersionReq request = &DeleteEdgeDriverVersionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteEdgeDriverVersion", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteEdgeDriverVersion", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_edge_instance.go b/services/iot/delete_edge_instance.go index 4b8c378d74..f091eb3444 100644 --- a/services/iot/delete_edge_instance.go +++ b/services/iot/delete_edge_instance.go @@ -91,7 +91,7 @@ func CreateDeleteEdgeInstanceRequest() (request *DeleteEdgeInstanceRequest) { request = &DeleteEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_edge_instance_message_routing.go b/services/iot/delete_edge_instance_message_routing.go index d293914f60..1f917d2543 100644 --- a/services/iot/delete_edge_instance_message_routing.go +++ b/services/iot/delete_edge_instance_message_routing.go @@ -92,7 +92,7 @@ func CreateDeleteEdgeInstanceMessageRoutingRequest() (request *DeleteEdgeInstanc request = &DeleteEdgeInstanceMessageRoutingRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteEdgeInstanceMessageRouting", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteEdgeInstanceMessageRouting", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_job.go b/services/iot/delete_job.go index 5ab5f16006..da9ffa4fc2 100644 --- a/services/iot/delete_job.go +++ b/services/iot/delete_job.go @@ -91,7 +91,7 @@ func CreateDeleteJobRequest() (request *DeleteJobRequest) { request = &DeleteJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_ota_firmware.go b/services/iot/delete_ota_firmware.go index 50541e4035..57cdd9ecdb 100644 --- a/services/iot/delete_ota_firmware.go +++ b/services/iot/delete_ota_firmware.go @@ -91,7 +91,7 @@ func CreateDeleteOTAFirmwareRequest() (request *DeleteOTAFirmwareRequest) { request = &DeleteOTAFirmwareRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteOTAFirmware", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteOTAFirmware", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_ota_module.go b/services/iot/delete_ota_module.go index 51a806da9e..3e399dda77 100644 --- a/services/iot/delete_ota_module.go +++ b/services/iot/delete_ota_module.go @@ -93,7 +93,7 @@ func CreateDeleteOTAModuleRequest() (request *DeleteOTAModuleRequest) { request = &DeleteOTAModuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteOTAModule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteOTAModule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_product.go b/services/iot/delete_product.go index b5a8c02d40..dc6bc949f9 100644 --- a/services/iot/delete_product.go +++ b/services/iot/delete_product.go @@ -93,7 +93,7 @@ func CreateDeleteProductRequest() (request *DeleteProductRequest) { request = &DeleteProductRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteProduct", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteProduct", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_product_tags.go b/services/iot/delete_product_tags.go index c8ad635726..3dab16ebfe 100644 --- a/services/iot/delete_product_tags.go +++ b/services/iot/delete_product_tags.go @@ -94,7 +94,7 @@ func CreateDeleteProductTagsRequest() (request *DeleteProductTagsRequest) { request = &DeleteProductTagsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteProductTags", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteProductTags", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_product_topic.go b/services/iot/delete_product_topic.go index cc3f56af4f..99910b7a23 100644 --- a/services/iot/delete_product_topic.go +++ b/services/iot/delete_product_topic.go @@ -91,7 +91,7 @@ func CreateDeleteProductTopicRequest() (request *DeleteProductTopicRequest) { request = &DeleteProductTopicRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteProductTopic", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteProductTopic", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_rule.go b/services/iot/delete_rule.go index d5699b3053..58dddc7da4 100644 --- a/services/iot/delete_rule.go +++ b/services/iot/delete_rule.go @@ -91,7 +91,7 @@ func CreateDeleteRuleRequest() (request *DeleteRuleRequest) { request = &DeleteRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_rule_action.go b/services/iot/delete_rule_action.go index e9ad28efc1..380e9c60c5 100644 --- a/services/iot/delete_rule_action.go +++ b/services/iot/delete_rule_action.go @@ -91,7 +91,7 @@ func CreateDeleteRuleActionRequest() (request *DeleteRuleActionRequest) { request = &DeleteRuleActionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteRuleAction", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteRuleAction", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_scene_rule.go b/services/iot/delete_scene_rule.go index f231f12bea..26717e5195 100644 --- a/services/iot/delete_scene_rule.go +++ b/services/iot/delete_scene_rule.go @@ -91,7 +91,7 @@ func CreateDeleteSceneRuleRequest() (request *DeleteSceneRuleRequest) { request = &DeleteSceneRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteSceneRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteSceneRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_sound_code.go b/services/iot/delete_sound_code.go index 04b85f452d..d841032704 100644 --- a/services/iot/delete_sound_code.go +++ b/services/iot/delete_sound_code.go @@ -91,7 +91,7 @@ func CreateDeleteSoundCodeRequest() (request *DeleteSoundCodeRequest) { request = &DeleteSoundCodeRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteSoundCode", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteSoundCode", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_speech.go b/services/iot/delete_speech.go index 60a0f4cc82..5d150524ce 100644 --- a/services/iot/delete_speech.go +++ b/services/iot/delete_speech.go @@ -91,7 +91,7 @@ func CreateDeleteSpeechRequest() (request *DeleteSpeechRequest) { request = &DeleteSpeechRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteSpeech", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteSpeech", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_studio_app_domain_open.go b/services/iot/delete_studio_app_domain_open.go index 0c845c7a58..acf4024f14 100644 --- a/services/iot/delete_studio_app_domain_open.go +++ b/services/iot/delete_studio_app_domain_open.go @@ -94,7 +94,7 @@ func CreateDeleteStudioAppDomainOpenRequest() (request *DeleteStudioAppDomainOpe request = &DeleteStudioAppDomainOpenRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteStudioAppDomainOpen", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteStudioAppDomainOpen", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_subscribe_relation.go b/services/iot/delete_subscribe_relation.go index 25fdf74dea..16e97fba29 100644 --- a/services/iot/delete_subscribe_relation.go +++ b/services/iot/delete_subscribe_relation.go @@ -92,7 +92,7 @@ func CreateDeleteSubscribeRelationRequest() (request *DeleteSubscribeRelationReq request = &DeleteSubscribeRelationRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteSubscribeRelation", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteSubscribeRelation", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_thing_model.go b/services/iot/delete_thing_model.go index bdbeedf50c..0b39a65c9c 100644 --- a/services/iot/delete_thing_model.go +++ b/services/iot/delete_thing_model.go @@ -100,7 +100,7 @@ func CreateDeleteThingModelRequest() (request *DeleteThingModelRequest) { request = &DeleteThingModelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteThingModel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteThingModel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/delete_topic_route_table.go b/services/iot/delete_topic_route_table.go index 16163f8970..b2aa6b8361 100644 --- a/services/iot/delete_topic_route_table.go +++ b/services/iot/delete_topic_route_table.go @@ -94,7 +94,7 @@ func CreateDeleteTopicRouteTableRequest() (request *DeleteTopicRouteTableRequest request = &DeleteTopicRouteTableRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DeleteTopicRouteTable", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DeleteTopicRouteTable", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/disable_device_tunnel.go b/services/iot/disable_device_tunnel.go index bc22c2202f..869dd49ef1 100644 --- a/services/iot/disable_device_tunnel.go +++ b/services/iot/disable_device_tunnel.go @@ -92,7 +92,7 @@ func CreateDisableDeviceTunnelRequest() (request *DisableDeviceTunnelRequest) { request = &DisableDeviceTunnelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DisableDeviceTunnel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DisableDeviceTunnel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/disable_device_tunnel_share.go b/services/iot/disable_device_tunnel_share.go index 13f39e1fbc..574ff47bda 100644 --- a/services/iot/disable_device_tunnel_share.go +++ b/services/iot/disable_device_tunnel_share.go @@ -92,7 +92,7 @@ func CreateDisableDeviceTunnelShareRequest() (request *DisableDeviceTunnelShareR request = &DisableDeviceTunnelShareRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DisableDeviceTunnelShare", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DisableDeviceTunnelShare", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/disable_scene_rule.go b/services/iot/disable_scene_rule.go index 8c500c3777..59152564d2 100644 --- a/services/iot/disable_scene_rule.go +++ b/services/iot/disable_scene_rule.go @@ -91,7 +91,7 @@ func CreateDisableSceneRuleRequest() (request *DisableSceneRuleRequest) { request = &DisableSceneRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DisableSceneRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DisableSceneRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/disable_thing.go b/services/iot/disable_thing.go index 021e8e43ad..88d752e4f7 100644 --- a/services/iot/disable_thing.go +++ b/services/iot/disable_thing.go @@ -95,7 +95,7 @@ func CreateDisableThingRequest() (request *DisableThingRequest) { request = &DisableThingRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "DisableThing", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "DisableThing", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/enable_device_tunnel.go b/services/iot/enable_device_tunnel.go index 530410625e..3bcec78528 100644 --- a/services/iot/enable_device_tunnel.go +++ b/services/iot/enable_device_tunnel.go @@ -92,7 +92,7 @@ func CreateEnableDeviceTunnelRequest() (request *EnableDeviceTunnelRequest) { request = &EnableDeviceTunnelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "EnableDeviceTunnel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "EnableDeviceTunnel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/enable_device_tunnel_share.go b/services/iot/enable_device_tunnel_share.go index 37b9eb9c0d..01eea2d839 100644 --- a/services/iot/enable_device_tunnel_share.go +++ b/services/iot/enable_device_tunnel_share.go @@ -92,7 +92,7 @@ func CreateEnableDeviceTunnelShareRequest() (request *EnableDeviceTunnelShareReq request = &EnableDeviceTunnelShareRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "EnableDeviceTunnelShare", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "EnableDeviceTunnelShare", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/enable_scene_rule.go b/services/iot/enable_scene_rule.go index cfd9b7517b..e0edeee0da 100644 --- a/services/iot/enable_scene_rule.go +++ b/services/iot/enable_scene_rule.go @@ -91,7 +91,7 @@ func CreateEnableSceneRuleRequest() (request *EnableSceneRuleRequest) { request = &EnableSceneRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "EnableSceneRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "EnableSceneRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/enable_thing.go b/services/iot/enable_thing.go index 1822b3407c..eddb020668 100644 --- a/services/iot/enable_thing.go +++ b/services/iot/enable_thing.go @@ -95,7 +95,7 @@ func CreateEnableThingRequest() (request *EnableThingRequest) { request = &EnableThingRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "EnableThing", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "EnableThing", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/generate_device_name_list_url.go b/services/iot/generate_device_name_list_url.go index 3e7de3dc86..b192021baf 100644 --- a/services/iot/generate_device_name_list_url.go +++ b/services/iot/generate_device_name_list_url.go @@ -91,7 +91,7 @@ func CreateGenerateDeviceNameListURLRequest() (request *GenerateDeviceNameListUR request = &GenerateDeviceNameListURLRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GenerateDeviceNameListURL", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GenerateDeviceNameListURL", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/generate_file_upload_url.go b/services/iot/generate_file_upload_url.go index 80921a2e4e..04fa47a4e4 100644 --- a/services/iot/generate_file_upload_url.go +++ b/services/iot/generate_file_upload_url.go @@ -94,7 +94,7 @@ func CreateGenerateFileUploadURLRequest() (request *GenerateFileUploadURLRequest request = &GenerateFileUploadURLRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GenerateFileUploadURL", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GenerateFileUploadURL", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/generate_ota_upload_url.go b/services/iot/generate_ota_upload_url.go index 2d1b8cf760..d6bfe56dea 100644 --- a/services/iot/generate_ota_upload_url.go +++ b/services/iot/generate_ota_upload_url.go @@ -92,7 +92,7 @@ func CreateGenerateOTAUploadURLRequest() (request *GenerateOTAUploadURLRequest) request = &GenerateOTAUploadURLRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GenerateOTAUploadURL", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GenerateOTAUploadURL", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_data_api_service_detail.go b/services/iot/get_data_api_service_detail.go index 8fa653c17c..b1c34f0bb0 100644 --- a/services/iot/get_data_api_service_detail.go +++ b/services/iot/get_data_api_service_detail.go @@ -92,7 +92,7 @@ func CreateGetDataAPIServiceDetailRequest() (request *GetDataAPIServiceDetailReq request = &GetDataAPIServiceDetailRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetDataAPIServiceDetail", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetDataAPIServiceDetail", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_device_shadow.go b/services/iot/get_device_shadow.go index 1bb2d0439a..49881b4b81 100644 --- a/services/iot/get_device_shadow.go +++ b/services/iot/get_device_shadow.go @@ -93,7 +93,7 @@ func CreateGetDeviceShadowRequest() (request *GetDeviceShadowRequest) { request = &GetDeviceShadowRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetDeviceShadow", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetDeviceShadow", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_device_status.go b/services/iot/get_device_status.go index 79424588c8..19e21c9166 100644 --- a/services/iot/get_device_status.go +++ b/services/iot/get_device_status.go @@ -94,7 +94,7 @@ func CreateGetDeviceStatusRequest() (request *GetDeviceStatusRequest) { request = &GetDeviceStatusRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetDeviceStatus", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetDeviceStatus", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_device_tunnel_share_status.go b/services/iot/get_device_tunnel_share_status.go index 3dfe50a9bf..d0b4afd36b 100644 --- a/services/iot/get_device_tunnel_share_status.go +++ b/services/iot/get_device_tunnel_share_status.go @@ -93,7 +93,7 @@ func CreateGetDeviceTunnelShareStatusRequest() (request *GetDeviceTunnelShareSta request = &GetDeviceTunnelShareStatusRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetDeviceTunnelShareStatus", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetDeviceTunnelShareStatus", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_device_tunnel_status.go b/services/iot/get_device_tunnel_status.go index 1017d24b6f..e69342989b 100644 --- a/services/iot/get_device_tunnel_status.go +++ b/services/iot/get_device_tunnel_status.go @@ -93,7 +93,7 @@ func CreateGetDeviceTunnelStatusRequest() (request *GetDeviceTunnelStatusRequest request = &GetDeviceTunnelStatusRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetDeviceTunnelStatus", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetDeviceTunnelStatus", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_edge_driver_version.go b/services/iot/get_edge_driver_version.go index 67497c522f..196a85efd8 100644 --- a/services/iot/get_edge_driver_version.go +++ b/services/iot/get_edge_driver_version.go @@ -93,7 +93,7 @@ func CreateGetEdgeDriverVersionRequest() (request *GetEdgeDriverVersionRequest) request = &GetEdgeDriverVersionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetEdgeDriverVersion", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetEdgeDriverVersion", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_edge_instance.go b/services/iot/get_edge_instance.go index 7260da908a..d54c9741ca 100644 --- a/services/iot/get_edge_instance.go +++ b/services/iot/get_edge_instance.go @@ -92,7 +92,7 @@ func CreateGetEdgeInstanceRequest() (request *GetEdgeInstanceRequest) { request = &GetEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_edge_instance_deployment.go b/services/iot/get_edge_instance_deployment.go index aae320ab7b..239da5ecfe 100644 --- a/services/iot/get_edge_instance_deployment.go +++ b/services/iot/get_edge_instance_deployment.go @@ -93,7 +93,7 @@ func CreateGetEdgeInstanceDeploymentRequest() (request *GetEdgeInstanceDeploymen request = &GetEdgeInstanceDeploymentRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetEdgeInstanceDeployment", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetEdgeInstanceDeployment", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_edge_instance_message_routing.go b/services/iot/get_edge_instance_message_routing.go index 0bcb48bd04..469651affd 100644 --- a/services/iot/get_edge_instance_message_routing.go +++ b/services/iot/get_edge_instance_message_routing.go @@ -93,7 +93,7 @@ func CreateGetEdgeInstanceMessageRoutingRequest() (request *GetEdgeInstanceMessa request = &GetEdgeInstanceMessageRoutingRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetEdgeInstanceMessageRouting", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetEdgeInstanceMessageRouting", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_gateway_by_sub_device.go b/services/iot/get_gateway_by_sub_device.go index d5cbbfabd4..3ae1994dc3 100644 --- a/services/iot/get_gateway_by_sub_device.go +++ b/services/iot/get_gateway_by_sub_device.go @@ -96,7 +96,7 @@ func CreateGetGatewayBySubDeviceRequest() (request *GetGatewayBySubDeviceRequest request = &GetGatewayBySubDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetGatewayBySubDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetGatewayBySubDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_lora_nodes_task.go b/services/iot/get_lora_nodes_task.go index 4871b40ca9..1a80d1f64b 100644 --- a/services/iot/get_lora_nodes_task.go +++ b/services/iot/get_lora_nodes_task.go @@ -96,7 +96,7 @@ func CreateGetLoraNodesTaskRequest() (request *GetLoraNodesTaskRequest) { request = &GetLoraNodesTaskRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetLoraNodesTask", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetLoraNodesTask", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_nodes_adding_task.go b/services/iot/get_nodes_adding_task.go index 3434754602..20e7dbb868 100644 --- a/services/iot/get_nodes_adding_task.go +++ b/services/iot/get_nodes_adding_task.go @@ -96,7 +96,7 @@ func CreateGetNodesAddingTaskRequest() (request *GetNodesAddingTaskRequest) { request = &GetNodesAddingTaskRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetNodesAddingTask", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetNodesAddingTask", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_rule.go b/services/iot/get_rule.go index d5a1a161cf..7660ccda4d 100644 --- a/services/iot/get_rule.go +++ b/services/iot/get_rule.go @@ -92,7 +92,7 @@ func CreateGetRuleRequest() (request *GetRuleRequest) { request = &GetRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_rule_action.go b/services/iot/get_rule_action.go index adfd17b70b..9b2ed5c8f4 100644 --- a/services/iot/get_rule_action.go +++ b/services/iot/get_rule_action.go @@ -92,7 +92,7 @@ func CreateGetRuleActionRequest() (request *GetRuleActionRequest) { request = &GetRuleActionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetRuleAction", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetRuleAction", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_scene_rule.go b/services/iot/get_scene_rule.go index c70e5d39e9..7b07a56098 100644 --- a/services/iot/get_scene_rule.go +++ b/services/iot/get_scene_rule.go @@ -92,7 +92,7 @@ func CreateGetSceneRuleRequest() (request *GetSceneRuleRequest) { request = &GetSceneRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetSceneRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetSceneRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_sound_code_audio.go b/services/iot/get_sound_code_audio.go index 555afc61a6..c7e60e0c96 100644 --- a/services/iot/get_sound_code_audio.go +++ b/services/iot/get_sound_code_audio.go @@ -92,7 +92,7 @@ func CreateGetSoundCodeAudioRequest() (request *GetSoundCodeAudioRequest) { request = &GetSoundCodeAudioRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetSoundCodeAudio", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetSoundCodeAudio", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_speech_device_detail.go b/services/iot/get_speech_device_detail.go index 897d7b9088..cf59a3ccf9 100644 --- a/services/iot/get_speech_device_detail.go +++ b/services/iot/get_speech_device_detail.go @@ -92,7 +92,7 @@ func CreateGetSpeechDeviceDetailRequest() (request *GetSpeechDeviceDetailRequest request = &GetSpeechDeviceDetailRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetSpeechDeviceDetail", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetSpeechDeviceDetail", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_speech_voice.go b/services/iot/get_speech_voice.go index 1682ba7fd3..41d2fa9f80 100644 --- a/services/iot/get_speech_voice.go +++ b/services/iot/get_speech_voice.go @@ -90,7 +90,7 @@ func CreateGetSpeechVoiceRequest() (request *GetSpeechVoiceRequest) { request = &GetSpeechVoiceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetSpeechVoice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetSpeechVoice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_studio_app_token_open.go b/services/iot/get_studio_app_token_open.go index 4cbc556c91..1b3035a157 100644 --- a/services/iot/get_studio_app_token_open.go +++ b/services/iot/get_studio_app_token_open.go @@ -93,7 +93,7 @@ func CreateGetStudioAppTokenOpenRequest() (request *GetStudioAppTokenOpenRequest request = &GetStudioAppTokenOpenRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetStudioAppTokenOpen", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetStudioAppTokenOpen", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_thing_model_tsl.go b/services/iot/get_thing_model_tsl.go index 4d983f8690..51359e8df8 100644 --- a/services/iot/get_thing_model_tsl.go +++ b/services/iot/get_thing_model_tsl.go @@ -98,7 +98,7 @@ func CreateGetThingModelTslRequest() (request *GetThingModelTslRequest) { request = &GetThingModelTslRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetThingModelTsl", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetThingModelTsl", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_thing_model_tsl_published.go b/services/iot/get_thing_model_tsl_published.go index 42fd124a85..0f6cc3f475 100644 --- a/services/iot/get_thing_model_tsl_published.go +++ b/services/iot/get_thing_model_tsl_published.go @@ -98,7 +98,7 @@ func CreateGetThingModelTslPublishedRequest() (request *GetThingModelTslPublishe request = &GetThingModelTslPublishedRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetThingModelTslPublished", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetThingModelTslPublished", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_thing_script.go b/services/iot/get_thing_script.go index aad63045e5..ba6f01ffd4 100644 --- a/services/iot/get_thing_script.go +++ b/services/iot/get_thing_script.go @@ -92,7 +92,7 @@ func CreateGetThingScriptRequest() (request *GetThingScriptRequest) { request = &GetThingScriptRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetThingScript", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetThingScript", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_thing_template.go b/services/iot/get_thing_template.go index f554189445..2e4ca222cd 100644 --- a/services/iot/get_thing_template.go +++ b/services/iot/get_thing_template.go @@ -93,7 +93,7 @@ func CreateGetThingTemplateRequest() (request *GetThingTemplateRequest) { request = &GetThingTemplateRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetThingTemplate", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetThingTemplate", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/get_thing_topo.go b/services/iot/get_thing_topo.go index 00c09ca1f2..dbcd2da2d3 100644 --- a/services/iot/get_thing_topo.go +++ b/services/iot/get_thing_topo.go @@ -98,7 +98,7 @@ func CreateGetThingTopoRequest() (request *GetThingTopoRequest) { request = &GetThingTopoRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "GetThingTopo", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "GetThingTopo", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/import_thing_model_tsl.go b/services/iot/import_thing_model_tsl.go index d4fe1191c2..b6717952c3 100644 --- a/services/iot/import_thing_model_tsl.go +++ b/services/iot/import_thing_model_tsl.go @@ -98,7 +98,7 @@ func CreateImportThingModelTslRequest() (request *ImportThingModelTslRequest) { request = &ImportThingModelTslRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ImportThingModelTsl", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ImportThingModelTsl", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/invoke_data_api_service.go b/services/iot/invoke_data_api_service.go index 47558d2d07..bb7be37049 100644 --- a/services/iot/invoke_data_api_service.go +++ b/services/iot/invoke_data_api_service.go @@ -102,7 +102,7 @@ func CreateInvokeDataAPIServiceRequest() (request *InvokeDataAPIServiceRequest) request = &InvokeDataAPIServiceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "InvokeDataAPIService", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "InvokeDataAPIService", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/invoke_thing_service.go b/services/iot/invoke_thing_service.go index 6f9d329201..7098b7b554 100644 --- a/services/iot/invoke_thing_service.go +++ b/services/iot/invoke_thing_service.go @@ -98,7 +98,7 @@ func CreateInvokeThingServiceRequest() (request *InvokeThingServiceRequest) { request = &InvokeThingServiceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "InvokeThingService", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "InvokeThingService", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/invoke_things_service.go b/services/iot/invoke_things_service.go index 3299da5540..e0d2d012c4 100644 --- a/services/iot/invoke_things_service.go +++ b/services/iot/invoke_things_service.go @@ -94,7 +94,7 @@ func CreateInvokeThingsServiceRequest() (request *InvokeThingsServiceRequest) { request = &InvokeThingsServiceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "InvokeThingsService", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "InvokeThingsService", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_analytics_data.go b/services/iot/list_analytics_data.go index 8f5f8b2c06..47f46704c4 100644 --- a/services/iot/list_analytics_data.go +++ b/services/iot/list_analytics_data.go @@ -105,7 +105,7 @@ func CreateListAnalyticsDataRequest() (request *ListAnalyticsDataRequest) { request = &ListAnalyticsDataRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListAnalyticsData", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListAnalyticsData", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_device_distribute_job.go b/services/iot/list_device_distribute_job.go index c7a657fc88..8dbfdc8764 100644 --- a/services/iot/list_device_distribute_job.go +++ b/services/iot/list_device_distribute_job.go @@ -98,7 +98,7 @@ func CreateListDeviceDistributeJobRequest() (request *ListDeviceDistributeJobReq request = &ListDeviceDistributeJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListDeviceDistributeJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListDeviceDistributeJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_distributed_device.go b/services/iot/list_distributed_device.go index 3d3d57ad0d..da7d18a852 100644 --- a/services/iot/list_distributed_device.go +++ b/services/iot/list_distributed_device.go @@ -97,7 +97,7 @@ func CreateListDistributedDeviceRequest() (request *ListDistributedDeviceRequest request = &ListDistributedDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListDistributedDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListDistributedDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_distributed_product.go b/services/iot/list_distributed_product.go index 9b0acb9f52..c6bdae6fae 100644 --- a/services/iot/list_distributed_product.go +++ b/services/iot/list_distributed_product.go @@ -96,7 +96,7 @@ func CreateListDistributedProductRequest() (request *ListDistributedProductReque request = &ListDistributedProductRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListDistributedProduct", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListDistributedProduct", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_job.go b/services/iot/list_job.go index a7f5d4f27b..0371e9793e 100644 --- a/services/iot/list_job.go +++ b/services/iot/list_job.go @@ -97,7 +97,7 @@ func CreateListJobRequest() (request *ListJobRequest) { request = &ListJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_ota_firmware.go b/services/iot/list_ota_firmware.go index a36939b457..bbd6ab421f 100644 --- a/services/iot/list_ota_firmware.go +++ b/services/iot/list_ota_firmware.go @@ -99,7 +99,7 @@ func CreateListOTAFirmwareRequest() (request *ListOTAFirmwareRequest) { request = &ListOTAFirmwareRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAFirmware", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAFirmware", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_ota_job_by_device.go b/services/iot/list_ota_job_by_device.go index 68884bee0b..7dd182018b 100644 --- a/services/iot/list_ota_job_by_device.go +++ b/services/iot/list_ota_job_by_device.go @@ -100,7 +100,7 @@ func CreateListOTAJobByDeviceRequest() (request *ListOTAJobByDeviceRequest) { request = &ListOTAJobByDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAJobByDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAJobByDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_ota_job_by_firmware.go b/services/iot/list_ota_job_by_firmware.go index e2862cbfa9..d8c93a4186 100644 --- a/services/iot/list_ota_job_by_firmware.go +++ b/services/iot/list_ota_job_by_firmware.go @@ -98,7 +98,7 @@ func CreateListOTAJobByFirmwareRequest() (request *ListOTAJobByFirmwareRequest) request = &ListOTAJobByFirmwareRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAJobByFirmware", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAJobByFirmware", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_ota_module_by_product.go b/services/iot/list_ota_module_by_product.go index 642725bb1d..f482a39897 100644 --- a/services/iot/list_ota_module_by_product.go +++ b/services/iot/list_ota_module_by_product.go @@ -93,7 +93,7 @@ func CreateListOTAModuleByProductRequest() (request *ListOTAModuleByProductReque request = &ListOTAModuleByProductRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAModuleByProduct", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAModuleByProduct", "iot", "openAPI") request.Method = requests.GET return } diff --git a/services/iot/list_ota_module_versions_by_device.go b/services/iot/list_ota_module_versions_by_device.go index bcb15d517e..34f3987a5f 100644 --- a/services/iot/list_ota_module_versions_by_device.go +++ b/services/iot/list_ota_module_versions_by_device.go @@ -100,7 +100,7 @@ func CreateListOTAModuleVersionsByDeviceRequest() (request *ListOTAModuleVersion request = &ListOTAModuleVersionsByDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAModuleVersionsByDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAModuleVersionsByDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_ota_task_by_job.go b/services/iot/list_ota_task_by_job.go index 289d8a3490..6dfdc18f68 100644 --- a/services/iot/list_ota_task_by_job.go +++ b/services/iot/list_ota_task_by_job.go @@ -100,7 +100,7 @@ func CreateListOTATaskByJobRequest() (request *ListOTATaskByJobRequest) { request = &ListOTATaskByJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListOTATaskByJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListOTATaskByJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_ota_unfinished_task_by_device.go b/services/iot/list_ota_unfinished_task_by_device.go index 6e646268d7..5b7c8cd0dd 100644 --- a/services/iot/list_ota_unfinished_task_by_device.go +++ b/services/iot/list_ota_unfinished_task_by_device.go @@ -96,7 +96,7 @@ func CreateListOTAUnfinishedTaskByDeviceRequest() (request *ListOTAUnfinishedTas request = &ListOTAUnfinishedTaskByDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAUnfinishedTaskByDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListOTAUnfinishedTaskByDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_product_by_tags.go b/services/iot/list_product_by_tags.go index e413f90ecd..d1ef24d22c 100644 --- a/services/iot/list_product_by_tags.go +++ b/services/iot/list_product_by_tags.go @@ -100,7 +100,7 @@ func CreateListProductByTagsRequest() (request *ListProductByTagsRequest) { request = &ListProductByTagsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListProductByTags", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListProductByTags", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_product_tags.go b/services/iot/list_product_tags.go index b40d4ac5aa..343d9511b6 100644 --- a/services/iot/list_product_tags.go +++ b/services/iot/list_product_tags.go @@ -94,7 +94,7 @@ func CreateListProductTagsRequest() (request *ListProductTagsRequest) { request = &ListProductTagsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListProductTags", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListProductTags", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_rule.go b/services/iot/list_rule.go index e46d7a2fb6..7f5e71fbf0 100644 --- a/services/iot/list_rule.go +++ b/services/iot/list_rule.go @@ -98,7 +98,7 @@ func CreateListRuleRequest() (request *ListRuleRequest) { request = &ListRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_rule_actions.go b/services/iot/list_rule_actions.go index dcde78dc3e..fa7449f598 100644 --- a/services/iot/list_rule_actions.go +++ b/services/iot/list_rule_actions.go @@ -92,7 +92,7 @@ func CreateListRuleActionsRequest() (request *ListRuleActionsRequest) { request = &ListRuleActionsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListRuleActions", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListRuleActions", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_task.go b/services/iot/list_task.go index a006c950ef..8f1db52f7c 100644 --- a/services/iot/list_task.go +++ b/services/iot/list_task.go @@ -97,7 +97,7 @@ func CreateListTaskRequest() (request *ListTaskRequest) { request = &ListTaskRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListTask", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListTask", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_task_by_page.go b/services/iot/list_task_by_page.go index ea69709d88..0efbc3b312 100644 --- a/services/iot/list_task_by_page.go +++ b/services/iot/list_task_by_page.go @@ -102,7 +102,7 @@ func CreateListTaskByPageRequest() (request *ListTaskByPageRequest) { request = &ListTaskByPageRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListTaskByPage", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListTaskByPage", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_thing_model_version.go b/services/iot/list_thing_model_version.go index 52d109cca7..3f1549216d 100644 --- a/services/iot/list_thing_model_version.go +++ b/services/iot/list_thing_model_version.go @@ -94,7 +94,7 @@ func CreateListThingModelVersionRequest() (request *ListThingModelVersionRequest request = &ListThingModelVersionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListThingModelVersion", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListThingModelVersion", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/list_thing_templates.go b/services/iot/list_thing_templates.go index c06fbb37ca..2c6b8e347b 100644 --- a/services/iot/list_thing_templates.go +++ b/services/iot/list_thing_templates.go @@ -91,7 +91,7 @@ func CreateListThingTemplatesRequest() (request *ListThingTemplatesRequest) { request = &ListThingTemplatesRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ListThingTemplates", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ListThingTemplates", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/notify_add_thing_topo.go b/services/iot/notify_add_thing_topo.go index 02a71f01a2..544ad98a87 100644 --- a/services/iot/notify_add_thing_topo.go +++ b/services/iot/notify_add_thing_topo.go @@ -95,7 +95,7 @@ func CreateNotifyAddThingTopoRequest() (request *NotifyAddThingTopoRequest) { request = &NotifyAddThingTopoRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "NotifyAddThingTopo", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "NotifyAddThingTopo", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/open_iot_service.go b/services/iot/open_iot_service.go index 48ee0afc90..626563c03a 100644 --- a/services/iot/open_iot_service.go +++ b/services/iot/open_iot_service.go @@ -86,7 +86,7 @@ func CreateOpenIotServiceRequest() (request *OpenIotServiceRequest) { request = &OpenIotServiceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "OpenIotService", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "OpenIotService", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/print_by_template.go b/services/iot/print_by_template.go index 08b4a74301..3ad37cd4d2 100644 --- a/services/iot/print_by_template.go +++ b/services/iot/print_by_template.go @@ -97,7 +97,7 @@ func CreatePrintByTemplateRequest() (request *PrintByTemplateRequest) { request = &PrintByTemplateRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "PrintByTemplate", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "PrintByTemplate", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/pub.go b/services/iot/pub.go index 676879f5ac..9ad1adba88 100644 --- a/services/iot/pub.go +++ b/services/iot/pub.go @@ -104,7 +104,7 @@ func CreatePubRequest() (request *PubRequest) { request = &PubRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "Pub", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "Pub", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/pub_broadcast.go b/services/iot/pub_broadcast.go index 95c8686ea3..4630999cf2 100644 --- a/services/iot/pub_broadcast.go +++ b/services/iot/pub_broadcast.go @@ -94,7 +94,7 @@ func CreatePubBroadcastRequest() (request *PubBroadcastRequest) { request = &PubBroadcastRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "PubBroadcast", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "PubBroadcast", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/publish_studio_app.go b/services/iot/publish_studio_app.go index ce4561a070..c8510428a9 100644 --- a/services/iot/publish_studio_app.go +++ b/services/iot/publish_studio_app.go @@ -94,7 +94,7 @@ func CreatePublishStudioAppRequest() (request *PublishStudioAppRequest) { request = &PublishStudioAppRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "PublishStudioApp", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "PublishStudioApp", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/publish_thing_model.go b/services/iot/publish_thing_model.go index c4147b2acd..194e578f1f 100644 --- a/services/iot/publish_thing_model.go +++ b/services/iot/publish_thing_model.go @@ -96,7 +96,7 @@ func CreatePublishThingModelRequest() (request *PublishThingModelRequest) { request = &PublishThingModelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "PublishThingModel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "PublishThingModel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/push_speech.go b/services/iot/push_speech.go index 577417265f..88fee3fad5 100644 --- a/services/iot/push_speech.go +++ b/services/iot/push_speech.go @@ -98,7 +98,7 @@ func CreatePushSpeechRequest() (request *PushSpeechRequest) { request = &PushSpeechRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "PushSpeech", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "PushSpeech", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_batch_register_device_status.go b/services/iot/query_batch_register_device_status.go index 26988cc913..3fcaa305f0 100644 --- a/services/iot/query_batch_register_device_status.go +++ b/services/iot/query_batch_register_device_status.go @@ -95,7 +95,7 @@ func CreateQueryBatchRegisterDeviceStatusRequest() (request *QueryBatchRegisterD request = &QueryBatchRegisterDeviceStatusRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryBatchRegisterDeviceStatus", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryBatchRegisterDeviceStatus", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_cert_url_by_apply_id.go b/services/iot/query_cert_url_by_apply_id.go index 643854034f..3708919e20 100644 --- a/services/iot/query_cert_url_by_apply_id.go +++ b/services/iot/query_cert_url_by_apply_id.go @@ -92,7 +92,7 @@ func CreateQueryCertUrlByApplyIdRequest() (request *QueryCertUrlByApplyIdRequest request = &QueryCertUrlByApplyIdRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryCertUrlByApplyId", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryCertUrlByApplyId", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_client_ids.go b/services/iot/query_client_ids.go index 4453552932..2cbed28a71 100644 --- a/services/iot/query_client_ids.go +++ b/services/iot/query_client_ids.go @@ -93,7 +93,7 @@ func CreateQueryClientIdsRequest() (request *QueryClientIdsRequest) { request = &QueryClientIdsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryClientIds", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryClientIds", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_consumer_group_by_group_id.go b/services/iot/query_consumer_group_by_group_id.go index 65ba08dca0..7ba90c1529 100644 --- a/services/iot/query_consumer_group_by_group_id.go +++ b/services/iot/query_consumer_group_by_group_id.go @@ -92,7 +92,7 @@ func CreateQueryConsumerGroupByGroupIdRequest() (request *QueryConsumerGroupByGr request = &QueryConsumerGroupByGroupIdRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryConsumerGroupByGroupId", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryConsumerGroupByGroupId", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_consumer_group_list.go b/services/iot/query_consumer_group_list.go index 8a4a1526f6..3f2f24bc06 100644 --- a/services/iot/query_consumer_group_list.go +++ b/services/iot/query_consumer_group_list.go @@ -101,7 +101,7 @@ func CreateQueryConsumerGroupListRequest() (request *QueryConsumerGroupListReque request = &QueryConsumerGroupListRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryConsumerGroupList", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryConsumerGroupList", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_consumer_group_status.go b/services/iot/query_consumer_group_status.go index bb8aa10ff8..f49201efb3 100644 --- a/services/iot/query_consumer_group_status.go +++ b/services/iot/query_consumer_group_status.go @@ -99,7 +99,7 @@ func CreateQueryConsumerGroupStatusRequest() (request *QueryConsumerGroupStatusR request = &QueryConsumerGroupStatusRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryConsumerGroupStatus", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryConsumerGroupStatus", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_detail_scene_rule_log.go b/services/iot/query_detail_scene_rule_log.go index 9accbe822e..f56ee7af7d 100644 --- a/services/iot/query_detail_scene_rule_log.go +++ b/services/iot/query_detail_scene_rule_log.go @@ -97,7 +97,7 @@ func CreateQueryDetailSceneRuleLogRequest() (request *QueryDetailSceneRuleLogReq request = &QueryDetailSceneRuleLogRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDetailSceneRuleLog", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDetailSceneRuleLog", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device.go b/services/iot/query_device.go index 2b209f7056..bcfedde2d9 100644 --- a/services/iot/query_device.go +++ b/services/iot/query_device.go @@ -102,7 +102,7 @@ func CreateQueryDeviceRequest() (request *QueryDeviceRequest) { request = &QueryDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_by_sql.go b/services/iot/query_device_by_sql.go index c1d4b1f61c..0d82b7dc89 100644 --- a/services/iot/query_device_by_sql.go +++ b/services/iot/query_device_by_sql.go @@ -95,7 +95,7 @@ func CreateQueryDeviceBySQLRequest() (request *QueryDeviceBySQLRequest) { request = &QueryDeviceBySQLRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceBySQL", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceBySQL", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_by_status.go b/services/iot/query_device_by_status.go index fdb3d77868..0f454457e5 100644 --- a/services/iot/query_device_by_status.go +++ b/services/iot/query_device_by_status.go @@ -103,7 +103,7 @@ func CreateQueryDeviceByStatusRequest() (request *QueryDeviceByStatusRequest) { request = &QueryDeviceByStatusRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceByStatus", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceByStatus", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_by_tags.go b/services/iot/query_device_by_tags.go index cbad145791..7768e3e282 100644 --- a/services/iot/query_device_by_tags.go +++ b/services/iot/query_device_by_tags.go @@ -104,7 +104,7 @@ func CreateQueryDeviceByTagsRequest() (request *QueryDeviceByTagsRequest) { request = &QueryDeviceByTagsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceByTags", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceByTags", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_cert.go b/services/iot/query_device_cert.go index 2a3fabe6dc..f445c53836 100644 --- a/services/iot/query_device_cert.go +++ b/services/iot/query_device_cert.go @@ -93,7 +93,7 @@ func CreateQueryDeviceCertRequest() (request *QueryDeviceCertRequest) { request = &QueryDeviceCertRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceCert", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceCert", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_desired_property.go b/services/iot/query_device_desired_property.go index 768e0f252c..a4ccda2943 100644 --- a/services/iot/query_device_desired_property.go +++ b/services/iot/query_device_desired_property.go @@ -98,7 +98,7 @@ func CreateQueryDeviceDesiredPropertyRequest() (request *QueryDeviceDesiredPrope request = &QueryDeviceDesiredPropertyRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceDesiredProperty", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceDesiredProperty", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_detail.go b/services/iot/query_device_detail.go index 28e208fbdb..52021eaa6b 100644 --- a/services/iot/query_device_detail.go +++ b/services/iot/query_device_detail.go @@ -96,7 +96,7 @@ func CreateQueryDeviceDetailRequest() (request *QueryDeviceDetailRequest) { request = &QueryDeviceDetailRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceDetail", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceDetail", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_distribute_detail.go b/services/iot/query_device_distribute_detail.go index 2dfc5df35b..84d67c2232 100644 --- a/services/iot/query_device_distribute_detail.go +++ b/services/iot/query_device_distribute_detail.go @@ -91,7 +91,7 @@ func CreateQueryDeviceDistributeDetailRequest() (request *QueryDeviceDistributeD request = &QueryDeviceDistributeDetailRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceDistributeDetail", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceDistributeDetail", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_distribute_job.go b/services/iot/query_device_distribute_job.go index c562f18351..5a892a8a46 100644 --- a/services/iot/query_device_distribute_job.go +++ b/services/iot/query_device_distribute_job.go @@ -91,7 +91,7 @@ func CreateQueryDeviceDistributeJobRequest() (request *QueryDeviceDistributeJobR request = &QueryDeviceDistributeJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceDistributeJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceDistributeJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_event_data.go b/services/iot/query_device_event_data.go index 95733b12e9..42fe74305d 100644 --- a/services/iot/query_device_event_data.go +++ b/services/iot/query_device_event_data.go @@ -102,7 +102,7 @@ func CreateQueryDeviceEventDataRequest() (request *QueryDeviceEventDataRequest) request = &QueryDeviceEventDataRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceEventData", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceEventData", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_file.go b/services/iot/query_device_file.go index becededac3..cf2a991d8d 100644 --- a/services/iot/query_device_file.go +++ b/services/iot/query_device_file.go @@ -95,7 +95,7 @@ func CreateQueryDeviceFileRequest() (request *QueryDeviceFileRequest) { request = &QueryDeviceFileRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceFile", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceFile", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_file_list.go b/services/iot/query_device_file_list.go index 74835dcc55..6ead1d8737 100644 --- a/services/iot/query_device_file_list.go +++ b/services/iot/query_device_file_list.go @@ -100,7 +100,7 @@ func CreateQueryDeviceFileListRequest() (request *QueryDeviceFileListRequest) { request = &QueryDeviceFileListRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceFileList", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceFileList", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_group_by_device.go b/services/iot/query_device_group_by_device.go index 6657a3a6f3..29fbb320a5 100644 --- a/services/iot/query_device_group_by_device.go +++ b/services/iot/query_device_group_by_device.go @@ -95,7 +95,7 @@ func CreateQueryDeviceGroupByDeviceRequest() (request *QueryDeviceGroupByDeviceR request = &QueryDeviceGroupByDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupByDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupByDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_group_by_tags.go b/services/iot/query_device_group_by_tags.go index 18c1188771..e634da220f 100644 --- a/services/iot/query_device_group_by_tags.go +++ b/services/iot/query_device_group_by_tags.go @@ -104,7 +104,7 @@ func CreateQueryDeviceGroupByTagsRequest() (request *QueryDeviceGroupByTagsReque request = &QueryDeviceGroupByTagsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupByTags", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupByTags", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_group_info.go b/services/iot/query_device_group_info.go index f7bdfbc190..a20afd3c6c 100644 --- a/services/iot/query_device_group_info.go +++ b/services/iot/query_device_group_info.go @@ -95,7 +95,7 @@ func CreateQueryDeviceGroupInfoRequest() (request *QueryDeviceGroupInfoRequest) request = &QueryDeviceGroupInfoRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupInfo", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupInfo", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_group_list.go b/services/iot/query_device_group_list.go index 5a56a0d0ae..f82cc36d6e 100644 --- a/services/iot/query_device_group_list.go +++ b/services/iot/query_device_group_list.go @@ -100,7 +100,7 @@ func CreateQueryDeviceGroupListRequest() (request *QueryDeviceGroupListRequest) request = &QueryDeviceGroupListRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupList", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupList", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_group_tag_list.go b/services/iot/query_device_group_tag_list.go index 963e5f9842..6701d51d2b 100644 --- a/services/iot/query_device_group_tag_list.go +++ b/services/iot/query_device_group_tag_list.go @@ -93,7 +93,7 @@ func CreateQueryDeviceGroupTagListRequest() (request *QueryDeviceGroupTagListReq request = &QueryDeviceGroupTagListRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupTagList", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceGroupTagList", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_info.go b/services/iot/query_device_info.go index de9612b590..c0aecfa4e6 100644 --- a/services/iot/query_device_info.go +++ b/services/iot/query_device_info.go @@ -96,7 +96,7 @@ func CreateQueryDeviceInfoRequest() (request *QueryDeviceInfoRequest) { request = &QueryDeviceInfoRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceInfo", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceInfo", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_list_by_device_group.go b/services/iot/query_device_list_by_device_group.go index d4e9a9f6df..4f0adfe564 100644 --- a/services/iot/query_device_list_by_device_group.go +++ b/services/iot/query_device_list_by_device_group.go @@ -98,7 +98,7 @@ func CreateQueryDeviceListByDeviceGroupRequest() (request *QueryDeviceListByDevi request = &QueryDeviceListByDeviceGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceListByDeviceGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceListByDeviceGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_original_event_data.go b/services/iot/query_device_original_event_data.go index 167d89f353..3c0c36ff2b 100644 --- a/services/iot/query_device_original_event_data.go +++ b/services/iot/query_device_original_event_data.go @@ -100,7 +100,7 @@ func CreateQueryDeviceOriginalEventDataRequest() (request *QueryDeviceOriginalEv request = &QueryDeviceOriginalEventDataRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceOriginalEventData", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceOriginalEventData", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_original_property_data.go b/services/iot/query_device_original_property_data.go index b85e2c8b33..cc22ecf9eb 100644 --- a/services/iot/query_device_original_property_data.go +++ b/services/iot/query_device_original_property_data.go @@ -100,7 +100,7 @@ func CreateQueryDeviceOriginalPropertyDataRequest() (request *QueryDeviceOrigina request = &QueryDeviceOriginalPropertyDataRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceOriginalPropertyData", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceOriginalPropertyData", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_original_property_status.go b/services/iot/query_device_original_property_status.go index 6c5d07616f..79732c4950 100644 --- a/services/iot/query_device_original_property_status.go +++ b/services/iot/query_device_original_property_status.go @@ -97,7 +97,7 @@ func CreateQueryDeviceOriginalPropertyStatusRequest() (request *QueryDeviceOrigi request = &QueryDeviceOriginalPropertyStatusRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceOriginalPropertyStatus", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceOriginalPropertyStatus", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_original_service_data.go b/services/iot/query_device_original_service_data.go index 5745fcddc8..0ae1d8277d 100644 --- a/services/iot/query_device_original_service_data.go +++ b/services/iot/query_device_original_service_data.go @@ -100,7 +100,7 @@ func CreateQueryDeviceOriginalServiceDataRequest() (request *QueryDeviceOriginal request = &QueryDeviceOriginalServiceDataRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceOriginalServiceData", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceOriginalServiceData", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_prop.go b/services/iot/query_device_prop.go index 5006a75209..148f3e2ed3 100644 --- a/services/iot/query_device_prop.go +++ b/services/iot/query_device_prop.go @@ -96,7 +96,7 @@ func CreateQueryDevicePropRequest() (request *QueryDevicePropRequest) { request = &QueryDevicePropRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceProp", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceProp", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_properties_data.go b/services/iot/query_device_properties_data.go index 3f265e7f8d..2135d3a983 100644 --- a/services/iot/query_device_properties_data.go +++ b/services/iot/query_device_properties_data.go @@ -103,7 +103,7 @@ func CreateQueryDevicePropertiesDataRequest() (request *QueryDevicePropertiesDat request = &QueryDevicePropertiesDataRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDevicePropertiesData", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDevicePropertiesData", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_property_data.go b/services/iot/query_device_property_data.go index 5698892e1b..00dd3beaef 100644 --- a/services/iot/query_device_property_data.go +++ b/services/iot/query_device_property_data.go @@ -101,7 +101,7 @@ func CreateQueryDevicePropertyDataRequest() (request *QueryDevicePropertyDataReq request = &QueryDevicePropertyDataRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDevicePropertyData", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDevicePropertyData", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_property_status.go b/services/iot/query_device_property_status.go index 25845efb72..640518554e 100644 --- a/services/iot/query_device_property_status.go +++ b/services/iot/query_device_property_status.go @@ -97,7 +97,7 @@ func CreateQueryDevicePropertyStatusRequest() (request *QueryDevicePropertyStatu request = &QueryDevicePropertyStatusRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDevicePropertyStatus", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDevicePropertyStatus", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_service_data.go b/services/iot/query_device_service_data.go index 7e6c99652d..56cd9163c4 100644 --- a/services/iot/query_device_service_data.go +++ b/services/iot/query_device_service_data.go @@ -101,7 +101,7 @@ func CreateQueryDeviceServiceDataRequest() (request *QueryDeviceServiceDataReque request = &QueryDeviceServiceDataRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceServiceData", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceServiceData", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_speech.go b/services/iot/query_device_speech.go index d1431ad4a3..da28e9a67f 100644 --- a/services/iot/query_device_speech.go +++ b/services/iot/query_device_speech.go @@ -94,7 +94,7 @@ func CreateQueryDeviceSpeechRequest() (request *QueryDeviceSpeechRequest) { request = &QueryDeviceSpeechRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceSpeech", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceSpeech", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_statistics.go b/services/iot/query_device_statistics.go index 4d30a633f9..693ab31550 100644 --- a/services/iot/query_device_statistics.go +++ b/services/iot/query_device_statistics.go @@ -95,7 +95,7 @@ func CreateQueryDeviceStatisticsRequest() (request *QueryDeviceStatisticsRequest request = &QueryDeviceStatisticsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceStatistics", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceStatistics", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_device_tunnel.go b/services/iot/query_device_tunnel.go index d90c7ea878..123b71b05d 100644 --- a/services/iot/query_device_tunnel.go +++ b/services/iot/query_device_tunnel.go @@ -92,7 +92,7 @@ func CreateQueryDeviceTunnelRequest() (request *QueryDeviceTunnelRequest) { request = &QueryDeviceTunnelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceTunnel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDeviceTunnel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_dynamic_group_devices.go b/services/iot/query_dynamic_group_devices.go index b82b818eeb..c380a63b26 100644 --- a/services/iot/query_dynamic_group_devices.go +++ b/services/iot/query_dynamic_group_devices.go @@ -104,7 +104,7 @@ func CreateQueryDynamicGroupDevicesRequest() (request *QueryDynamicGroupDevicesR request = &QueryDynamicGroupDevicesRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryDynamicGroupDevices", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryDynamicGroupDevices", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_driver.go b/services/iot/query_edge_driver.go index 26a40dfcf7..d4205587f4 100644 --- a/services/iot/query_edge_driver.go +++ b/services/iot/query_edge_driver.go @@ -95,7 +95,7 @@ func CreateQueryEdgeDriverRequest() (request *QueryEdgeDriverRequest) { request = &QueryEdgeDriverRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeDriver", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeDriver", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_driver_version.go b/services/iot/query_edge_driver_version.go index 254225fc28..958a5ad8a9 100644 --- a/services/iot/query_edge_driver_version.go +++ b/services/iot/query_edge_driver_version.go @@ -96,7 +96,7 @@ func CreateQueryEdgeDriverVersionRequest() (request *QueryEdgeDriverVersionReque request = &QueryEdgeDriverVersionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeDriverVersion", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeDriverVersion", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_instance.go b/services/iot/query_edge_instance.go index 35de5ac617..eae09d67e6 100644 --- a/services/iot/query_edge_instance.go +++ b/services/iot/query_edge_instance.go @@ -94,7 +94,7 @@ func CreateQueryEdgeInstanceRequest() (request *QueryEdgeInstanceRequest) { request = &QueryEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_instance_channel.go b/services/iot/query_edge_instance_channel.go index 8e249e90d4..c32fddda8a 100644 --- a/services/iot/query_edge_instance_channel.go +++ b/services/iot/query_edge_instance_channel.go @@ -96,7 +96,7 @@ func CreateQueryEdgeInstanceChannelRequest() (request *QueryEdgeInstanceChannelR request = &QueryEdgeInstanceChannelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceChannel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceChannel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_instance_device.go b/services/iot/query_edge_instance_device.go index c356895579..5a2b9598b1 100644 --- a/services/iot/query_edge_instance_device.go +++ b/services/iot/query_edge_instance_device.go @@ -94,7 +94,7 @@ func CreateQueryEdgeInstanceDeviceRequest() (request *QueryEdgeInstanceDeviceReq request = &QueryEdgeInstanceDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_instance_device_by_driver.go b/services/iot/query_edge_instance_device_by_driver.go index c2514865e8..ad88381119 100644 --- a/services/iot/query_edge_instance_device_by_driver.go +++ b/services/iot/query_edge_instance_device_by_driver.go @@ -96,7 +96,7 @@ func CreateQueryEdgeInstanceDeviceByDriverRequest() (request *QueryEdgeInstanceD request = &QueryEdgeInstanceDeviceByDriverRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceDeviceByDriver", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceDeviceByDriver", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_instance_driver.go b/services/iot/query_edge_instance_driver.go index 80d3821bac..d1cf7d831a 100644 --- a/services/iot/query_edge_instance_driver.go +++ b/services/iot/query_edge_instance_driver.go @@ -94,7 +94,7 @@ func CreateQueryEdgeInstanceDriverRequest() (request *QueryEdgeInstanceDriverReq request = &QueryEdgeInstanceDriverRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceDriver", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceDriver", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_instance_gateway.go b/services/iot/query_edge_instance_gateway.go index ad950b48ac..c4e2f36ffb 100644 --- a/services/iot/query_edge_instance_gateway.go +++ b/services/iot/query_edge_instance_gateway.go @@ -92,7 +92,7 @@ func CreateQueryEdgeInstanceGatewayRequest() (request *QueryEdgeInstanceGatewayR request = &QueryEdgeInstanceGatewayRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceGateway", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceGateway", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_instance_historic_deployment.go b/services/iot/query_edge_instance_historic_deployment.go index 4613f512d3..08c4171d2c 100644 --- a/services/iot/query_edge_instance_historic_deployment.go +++ b/services/iot/query_edge_instance_historic_deployment.go @@ -96,7 +96,7 @@ func CreateQueryEdgeInstanceHistoricDeploymentRequest() (request *QueryEdgeInsta request = &QueryEdgeInstanceHistoricDeploymentRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceHistoricDeployment", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceHistoricDeployment", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_instance_message_routing.go b/services/iot/query_edge_instance_message_routing.go index 2b16a843c2..a560c1bcb8 100644 --- a/services/iot/query_edge_instance_message_routing.go +++ b/services/iot/query_edge_instance_message_routing.go @@ -94,7 +94,7 @@ func CreateQueryEdgeInstanceMessageRoutingRequest() (request *QueryEdgeInstanceM request = &QueryEdgeInstanceMessageRoutingRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceMessageRouting", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceMessageRouting", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_edge_instance_scene_rule.go b/services/iot/query_edge_instance_scene_rule.go index 83d25400f8..9712c38402 100644 --- a/services/iot/query_edge_instance_scene_rule.go +++ b/services/iot/query_edge_instance_scene_rule.go @@ -94,7 +94,7 @@ func CreateQueryEdgeInstanceSceneRuleRequest() (request *QueryEdgeInstanceSceneR request = &QueryEdgeInstanceSceneRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceSceneRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryEdgeInstanceSceneRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_job.go b/services/iot/query_job.go index d06cbb9950..30abf61496 100644 --- a/services/iot/query_job.go +++ b/services/iot/query_job.go @@ -92,7 +92,7 @@ func CreateQueryJobRequest() (request *QueryJobRequest) { request = &QueryJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_job_statistics.go b/services/iot/query_job_statistics.go index 9cf14d61ca..a8478cb1b9 100644 --- a/services/iot/query_job_statistics.go +++ b/services/iot/query_job_statistics.go @@ -92,7 +92,7 @@ func CreateQueryJobStatisticsRequest() (request *QueryJobStatisticsRequest) { request = &QueryJobStatisticsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryJobStatistics", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryJobStatistics", "iot", "openAPI") request.Method = requests.GET return } diff --git a/services/iot/query_lo_ra_join_permissions.go b/services/iot/query_lo_ra_join_permissions.go index ae08bba220..69c9bfb162 100644 --- a/services/iot/query_lo_ra_join_permissions.go +++ b/services/iot/query_lo_ra_join_permissions.go @@ -92,7 +92,7 @@ func CreateQueryLoRaJoinPermissionsRequest() (request *QueryLoRaJoinPermissionsR request = &QueryLoRaJoinPermissionsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryLoRaJoinPermissions", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryLoRaJoinPermissions", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_message_info.go b/services/iot/query_message_info.go index f6145d6998..205fd5ab99 100644 --- a/services/iot/query_message_info.go +++ b/services/iot/query_message_info.go @@ -92,7 +92,7 @@ func CreateQueryMessageInfoRequest() (request *QueryMessageInfoRequest) { request = &QueryMessageInfoRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryMessageInfo", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryMessageInfo", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_ota_firmware.go b/services/iot/query_ota_firmware.go index 9923c9ff4b..1838c9612c 100644 --- a/services/iot/query_ota_firmware.go +++ b/services/iot/query_ota_firmware.go @@ -92,7 +92,7 @@ func CreateQueryOTAFirmwareRequest() (request *QueryOTAFirmwareRequest) { request = &QueryOTAFirmwareRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryOTAFirmware", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryOTAFirmware", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_ota_job.go b/services/iot/query_ota_job.go index 31c9bd0b13..6165478116 100644 --- a/services/iot/query_ota_job.go +++ b/services/iot/query_ota_job.go @@ -92,7 +92,7 @@ func CreateQueryOTAJobRequest() (request *QueryOTAJobRequest) { request = &QueryOTAJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryOTAJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryOTAJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_page_by_apply_id.go b/services/iot/query_page_by_apply_id.go index b41f007aa7..ee337efc25 100644 --- a/services/iot/query_page_by_apply_id.go +++ b/services/iot/query_page_by_apply_id.go @@ -100,7 +100,7 @@ func CreateQueryPageByApplyIdRequest() (request *QueryPageByApplyIdRequest) { request = &QueryPageByApplyIdRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryPageByApplyId", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryPageByApplyId", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_product.go b/services/iot/query_product.go index 780a6efadc..5bbabb4d7f 100644 --- a/services/iot/query_product.go +++ b/services/iot/query_product.go @@ -94,7 +94,7 @@ func CreateQueryProductRequest() (request *QueryProductRequest) { request = &QueryProductRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryProduct", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryProduct", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_product_cert_info.go b/services/iot/query_product_cert_info.go index f8556a83d1..7613be9c3e 100644 --- a/services/iot/query_product_cert_info.go +++ b/services/iot/query_product_cert_info.go @@ -92,7 +92,7 @@ func CreateQueryProductCertInfoRequest() (request *QueryProductCertInfoRequest) request = &QueryProductCertInfoRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryProductCertInfo", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryProductCertInfo", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_product_list.go b/services/iot/query_product_list.go index 798ef67d98..61118e79f2 100644 --- a/services/iot/query_product_list.go +++ b/services/iot/query_product_list.go @@ -97,7 +97,7 @@ func CreateQueryProductListRequest() (request *QueryProductListRequest) { request = &QueryProductListRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryProductList", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryProductList", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_product_topic.go b/services/iot/query_product_topic.go index f8ed67f710..e7e1d85b12 100644 --- a/services/iot/query_product_topic.go +++ b/services/iot/query_product_topic.go @@ -94,7 +94,7 @@ func CreateQueryProductTopicRequest() (request *QueryProductTopicRequest) { request = &QueryProductTopicRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryProductTopic", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryProductTopic", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_scene_rule.go b/services/iot/query_scene_rule.go index 383d59744e..5d538a04d5 100644 --- a/services/iot/query_scene_rule.go +++ b/services/iot/query_scene_rule.go @@ -94,7 +94,7 @@ func CreateQuerySceneRuleRequest() (request *QuerySceneRuleRequest) { request = &QuerySceneRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySceneRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySceneRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_solution_device_group_page.go b/services/iot/query_solution_device_group_page.go index 4ce11f67af..613b62f208 100644 --- a/services/iot/query_solution_device_group_page.go +++ b/services/iot/query_solution_device_group_page.go @@ -95,7 +95,7 @@ func CreateQuerySolutionDeviceGroupPageRequest() (request *QuerySolutionDeviceGr request = &QuerySolutionDeviceGroupPageRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySolutionDeviceGroupPage", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySolutionDeviceGroupPage", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_sound_code_list.go b/services/iot/query_sound_code_list.go index 44a1557f5e..07414400ff 100644 --- a/services/iot/query_sound_code_list.go +++ b/services/iot/query_sound_code_list.go @@ -93,7 +93,7 @@ func CreateQuerySoundCodeListRequest() (request *QuerySoundCodeListRequest) { request = &QuerySoundCodeListRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySoundCodeList", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySoundCodeList", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_speech.go b/services/iot/query_speech.go index d033873a69..99106d3204 100644 --- a/services/iot/query_speech.go +++ b/services/iot/query_speech.go @@ -92,7 +92,7 @@ func CreateQuerySpeechRequest() (request *QuerySpeechRequest) { request = &QuerySpeechRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeech", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeech", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_speech_device.go b/services/iot/query_speech_device.go index b2bbf12f52..b7f3582769 100644 --- a/services/iot/query_speech_device.go +++ b/services/iot/query_speech_device.go @@ -97,7 +97,7 @@ func CreateQuerySpeechDeviceRequest() (request *QuerySpeechDeviceRequest) { request = &QuerySpeechDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_speech_list.go b/services/iot/query_speech_list.go index 748647ad42..016fc5af76 100644 --- a/services/iot/query_speech_list.go +++ b/services/iot/query_speech_list.go @@ -95,7 +95,7 @@ func CreateQuerySpeechListRequest() (request *QuerySpeechListRequest) { request = &QuerySpeechListRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechList", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechList", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_speech_push_job.go b/services/iot/query_speech_push_job.go index d5e9d33bab..16e57c8d8a 100644 --- a/services/iot/query_speech_push_job.go +++ b/services/iot/query_speech_push_job.go @@ -97,7 +97,7 @@ func CreateQuerySpeechPushJobRequest() (request *QuerySpeechPushJobRequest) { request = &QuerySpeechPushJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechPushJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechPushJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_speech_push_job_device.go b/services/iot/query_speech_push_job_device.go index a4b981bd9a..2a88d2ccf9 100644 --- a/services/iot/query_speech_push_job_device.go +++ b/services/iot/query_speech_push_job_device.go @@ -96,7 +96,7 @@ func CreateQuerySpeechPushJobDeviceRequest() (request *QuerySpeechPushJobDeviceR request = &QuerySpeechPushJobDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechPushJobDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechPushJobDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_speech_push_job_speech.go b/services/iot/query_speech_push_job_speech.go index 3b0993cef2..32e367b4cf 100644 --- a/services/iot/query_speech_push_job_speech.go +++ b/services/iot/query_speech_push_job_speech.go @@ -94,7 +94,7 @@ func CreateQuerySpeechPushJobSpeechRequest() (request *QuerySpeechPushJobSpeechR request = &QuerySpeechPushJobSpeechRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechPushJobSpeech", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySpeechPushJobSpeech", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_studio_app_domain_list_open.go b/services/iot/query_studio_app_domain_list_open.go index a1c6b7278a..60538733d5 100644 --- a/services/iot/query_studio_app_domain_list_open.go +++ b/services/iot/query_studio_app_domain_list_open.go @@ -93,7 +93,7 @@ func CreateQueryStudioAppDomainListOpenRequest() (request *QueryStudioAppDomainL request = &QueryStudioAppDomainListOpenRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryStudioAppDomainListOpen", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryStudioAppDomainListOpen", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_studio_app_list.go b/services/iot/query_studio_app_list.go index 057ad62df3..76cb046d77 100644 --- a/services/iot/query_studio_app_list.go +++ b/services/iot/query_studio_app_list.go @@ -96,7 +96,7 @@ func CreateQueryStudioAppListRequest() (request *QueryStudioAppListRequest) { request = &QueryStudioAppListRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryStudioAppList", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryStudioAppList", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_studio_app_page_list_open.go b/services/iot/query_studio_app_page_list_open.go index 607a1f40a6..2c7ee4bf4f 100644 --- a/services/iot/query_studio_app_page_list_open.go +++ b/services/iot/query_studio_app_page_list_open.go @@ -96,7 +96,7 @@ func CreateQueryStudioAppPageListOpenRequest() (request *QueryStudioAppPageListO request = &QueryStudioAppPageListOpenRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryStudioAppPageListOpen", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryStudioAppPageListOpen", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_studio_project_list.go b/services/iot/query_studio_project_list.go index 004f9144cb..66fceca756 100644 --- a/services/iot/query_studio_project_list.go +++ b/services/iot/query_studio_project_list.go @@ -94,7 +94,7 @@ func CreateQueryStudioProjectListRequest() (request *QueryStudioProjectListReque request = &QueryStudioProjectListRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryStudioProjectList", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryStudioProjectList", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_subscribe_relation.go b/services/iot/query_subscribe_relation.go index 9d23876bf9..7cb77515ae 100644 --- a/services/iot/query_subscribe_relation.go +++ b/services/iot/query_subscribe_relation.go @@ -108,7 +108,7 @@ func CreateQuerySubscribeRelationRequest() (request *QuerySubscribeRelationReque request = &QuerySubscribeRelationRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySubscribeRelation", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySubscribeRelation", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_summary_scene_rule_log.go b/services/iot/query_summary_scene_rule_log.go index f58504ed66..de84c03071 100644 --- a/services/iot/query_summary_scene_rule_log.go +++ b/services/iot/query_summary_scene_rule_log.go @@ -97,7 +97,7 @@ func CreateQuerySummarySceneRuleLogRequest() (request *QuerySummarySceneRuleLogR request = &QuerySummarySceneRuleLogRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySummarySceneRuleLog", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySummarySceneRuleLog", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_super_device_group.go b/services/iot/query_super_device_group.go index 5e58373de6..683fd6ec21 100644 --- a/services/iot/query_super_device_group.go +++ b/services/iot/query_super_device_group.go @@ -92,7 +92,7 @@ func CreateQuerySuperDeviceGroupRequest() (request *QuerySuperDeviceGroupRequest request = &QuerySuperDeviceGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QuerySuperDeviceGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QuerySuperDeviceGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_task.go b/services/iot/query_task.go index 9b3aeb3e5b..45ddad5ef9 100644 --- a/services/iot/query_task.go +++ b/services/iot/query_task.go @@ -92,7 +92,7 @@ func CreateQueryTaskRequest() (request *QueryTaskRequest) { request = &QueryTaskRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryTask", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryTask", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_thing_model.go b/services/iot/query_thing_model.go index 5fc3a4ea48..a10cfefa57 100644 --- a/services/iot/query_thing_model.go +++ b/services/iot/query_thing_model.go @@ -99,7 +99,7 @@ func CreateQueryThingModelRequest() (request *QueryThingModelRequest) { request = &QueryThingModelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryThingModel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryThingModel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_thing_model_extend_config.go b/services/iot/query_thing_model_extend_config.go index 5dff000e80..3abf373980 100644 --- a/services/iot/query_thing_model_extend_config.go +++ b/services/iot/query_thing_model_extend_config.go @@ -97,7 +97,7 @@ func CreateQueryThingModelExtendConfigRequest() (request *QueryThingModelExtendC request = &QueryThingModelExtendConfigRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryThingModelExtendConfig", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryThingModelExtendConfig", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_thing_model_extend_config_published.go b/services/iot/query_thing_model_extend_config_published.go index 5e064f0a43..2a72ecacec 100644 --- a/services/iot/query_thing_model_extend_config_published.go +++ b/services/iot/query_thing_model_extend_config_published.go @@ -96,7 +96,7 @@ func CreateQueryThingModelExtendConfigPublishedRequest() (request *QueryThingMod request = &QueryThingModelExtendConfigPublishedRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryThingModelExtendConfigPublished", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryThingModelExtendConfigPublished", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_thing_model_published.go b/services/iot/query_thing_model_published.go index f4e5a87d79..8e894dd6dd 100644 --- a/services/iot/query_thing_model_published.go +++ b/services/iot/query_thing_model_published.go @@ -98,7 +98,7 @@ func CreateQueryThingModelPublishedRequest() (request *QueryThingModelPublishedR request = &QueryThingModelPublishedRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryThingModelPublished", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryThingModelPublished", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_topic_reverse_route_table.go b/services/iot/query_topic_reverse_route_table.go index 6a5d15edc6..edbddc3a4d 100644 --- a/services/iot/query_topic_reverse_route_table.go +++ b/services/iot/query_topic_reverse_route_table.go @@ -92,7 +92,7 @@ func CreateQueryTopicReverseRouteTableRequest() (request *QueryTopicReverseRoute request = &QueryTopicReverseRouteTableRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryTopicReverseRouteTable", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryTopicReverseRouteTable", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/query_topic_route_table.go b/services/iot/query_topic_route_table.go index 7c95e05468..7971593f7a 100644 --- a/services/iot/query_topic_route_table.go +++ b/services/iot/query_topic_route_table.go @@ -92,7 +92,7 @@ func CreateQueryTopicRouteTableRequest() (request *QueryTopicRouteTableRequest) request = &QueryTopicRouteTableRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "QueryTopicRouteTable", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "QueryTopicRouteTable", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/r_rpc.go b/services/iot/r_rpc.go index 10ed2a0b99..bc56125fdb 100644 --- a/services/iot/r_rpc.go +++ b/services/iot/r_rpc.go @@ -98,7 +98,7 @@ func CreateRRpcRequest() (request *RRpcRequest) { request = &RRpcRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "RRpc", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "RRpc", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/refresh_device_tunnel_share_password.go b/services/iot/refresh_device_tunnel_share_password.go index 08f088c3d4..c6bba75ce5 100644 --- a/services/iot/refresh_device_tunnel_share_password.go +++ b/services/iot/refresh_device_tunnel_share_password.go @@ -93,7 +93,7 @@ func CreateRefreshDeviceTunnelSharePasswordRequest() (request *RefreshDeviceTunn request = &RefreshDeviceTunnelSharePasswordRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "RefreshDeviceTunnelSharePassword", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "RefreshDeviceTunnelSharePassword", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/refresh_studio_app_token_open.go b/services/iot/refresh_studio_app_token_open.go index fe1a0a73aa..1689f9be02 100644 --- a/services/iot/refresh_studio_app_token_open.go +++ b/services/iot/refresh_studio_app_token_open.go @@ -93,7 +93,7 @@ func CreateRefreshStudioAppTokenOpenRequest() (request *RefreshStudioAppTokenOpe request = &RefreshStudioAppTokenOpenRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "RefreshStudioAppTokenOpen", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "RefreshStudioAppTokenOpen", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/register_device.go b/services/iot/register_device.go index beb716a2d4..f6b3076af9 100644 --- a/services/iot/register_device.go +++ b/services/iot/register_device.go @@ -101,7 +101,7 @@ func CreateRegisterDeviceRequest() (request *RegisterDeviceRequest) { request = &RegisterDeviceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "RegisterDevice", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "RegisterDevice", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/release_edge_driver_version.go b/services/iot/release_edge_driver_version.go index 6fc4fd16ed..80f40f7b15 100644 --- a/services/iot/release_edge_driver_version.go +++ b/services/iot/release_edge_driver_version.go @@ -92,7 +92,7 @@ func CreateReleaseEdgeDriverVersionRequest() (request *ReleaseEdgeDriverVersionR request = &ReleaseEdgeDriverVersionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ReleaseEdgeDriverVersion", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ReleaseEdgeDriverVersion", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/release_product.go b/services/iot/release_product.go index 62f8a840eb..ebd3c65a2b 100644 --- a/services/iot/release_product.go +++ b/services/iot/release_product.go @@ -97,7 +97,7 @@ func CreateReleaseProductRequest() (request *ReleaseProductRequest) { request = &ReleaseProductRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ReleaseProduct", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ReleaseProduct", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/remove_thing_topo.go b/services/iot/remove_thing_topo.go index 784d8957e5..bf7ecb7f1d 100644 --- a/services/iot/remove_thing_topo.go +++ b/services/iot/remove_thing_topo.go @@ -94,7 +94,7 @@ func CreateRemoveThingTopoRequest() (request *RemoveThingTopoRequest) { request = &RemoveThingTopoRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "RemoveThingTopo", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "RemoveThingTopo", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/replace_edge_instance_gateway.go b/services/iot/replace_edge_instance_gateway.go index 16e58399c8..3512bbd822 100644 --- a/services/iot/replace_edge_instance_gateway.go +++ b/services/iot/replace_edge_instance_gateway.go @@ -93,7 +93,7 @@ func CreateReplaceEdgeInstanceGatewayRequest() (request *ReplaceEdgeInstanceGate request = &ReplaceEdgeInstanceGatewayRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ReplaceEdgeInstanceGateway", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ReplaceEdgeInstanceGateway", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/rerun_job.go b/services/iot/rerun_job.go index 8daabd2efd..ed90539865 100644 --- a/services/iot/rerun_job.go +++ b/services/iot/rerun_job.go @@ -91,7 +91,7 @@ func CreateRerunJobRequest() (request *RerunJobRequest) { request = &RerunJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "RerunJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "RerunJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/reset_consumer_group_position.go b/services/iot/reset_consumer_group_position.go index 79e6a705ad..8bb67fe310 100644 --- a/services/iot/reset_consumer_group_position.go +++ b/services/iot/reset_consumer_group_position.go @@ -91,7 +91,7 @@ func CreateResetConsumerGroupPositionRequest() (request *ResetConsumerGroupPosit request = &ResetConsumerGroupPositionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ResetConsumerGroupPosition", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ResetConsumerGroupPosition", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/reset_thing.go b/services/iot/reset_thing.go index 986c440e3b..2672f99156 100644 --- a/services/iot/reset_thing.go +++ b/services/iot/reset_thing.go @@ -93,7 +93,7 @@ func CreateResetThingRequest() (request *ResetThingRequest) { request = &ResetThingRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "ResetThing", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "ResetThing", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/reupgrade_ota_task.go b/services/iot/reupgrade_ota_task.go new file mode 100644 index 0000000000..0685f8b189 --- /dev/null +++ b/services/iot/reupgrade_ota_task.go @@ -0,0 +1,106 @@ +package iot + +//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" +) + +// ReupgradeOTATask invokes the iot.ReupgradeOTATask API synchronously +func (client *Client) ReupgradeOTATask(request *ReupgradeOTATaskRequest) (response *ReupgradeOTATaskResponse, err error) { + response = CreateReupgradeOTATaskResponse() + err = client.DoAction(request, response) + return +} + +// ReupgradeOTATaskWithChan invokes the iot.ReupgradeOTATask API asynchronously +func (client *Client) ReupgradeOTATaskWithChan(request *ReupgradeOTATaskRequest) (<-chan *ReupgradeOTATaskResponse, <-chan error) { + responseChan := make(chan *ReupgradeOTATaskResponse, 1) + errChan := make(chan error, 1) + err := client.AddAsyncTask(func() { + defer close(responseChan) + defer close(errChan) + response, err := client.ReupgradeOTATask(request) + if err != nil { + errChan <- err + } else { + responseChan <- response + } + }) + if err != nil { + errChan <- err + close(responseChan) + close(errChan) + } + return responseChan, errChan +} + +// ReupgradeOTATaskWithCallback invokes the iot.ReupgradeOTATask API asynchronously +func (client *Client) ReupgradeOTATaskWithCallback(request *ReupgradeOTATaskRequest, callback func(response *ReupgradeOTATaskResponse, err error)) <-chan int { + result := make(chan int, 1) + err := client.AddAsyncTask(func() { + var response *ReupgradeOTATaskResponse + var err error + defer close(result) + response, err = client.ReupgradeOTATask(request) + callback(response, err) + result <- 1 + }) + if err != nil { + defer close(result) + callback(nil, err) + result <- 0 + } + return result +} + +// ReupgradeOTATaskRequest is the request struct for api ReupgradeOTATask +type ReupgradeOTATaskRequest struct { + *requests.RpcRequest + JobId string `position:"Query" name:"JobId"` + IotInstanceId string `position:"Query" name:"IotInstanceId"` + TaskId *[]string `position:"Query" name:"TaskId" type:"Repeated"` + ApiProduct string `position:"Body" name:"ApiProduct"` + ApiRevision string `position:"Body" name:"ApiRevision"` +} + +// ReupgradeOTATaskResponse is the response struct for api ReupgradeOTATask +type ReupgradeOTATaskResponse struct { + *responses.BaseResponse + RequestId string `json:"RequestId" xml:"RequestId"` + Success bool `json:"Success" xml:"Success"` + Code string `json:"Code" xml:"Code"` + ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"` +} + +// CreateReupgradeOTATaskRequest creates a request to invoke ReupgradeOTATask API +func CreateReupgradeOTATaskRequest() (request *ReupgradeOTATaskRequest) { + request = &ReupgradeOTATaskRequest{ + RpcRequest: &requests.RpcRequest{}, + } + request.InitWithApiInfo("Iot", "2018-01-20", "ReupgradeOTATask", "iot", "openAPI") + request.Method = requests.POST + return +} + +// CreateReupgradeOTATaskResponse creates a response to parse from ReupgradeOTATask response +func CreateReupgradeOTATaskResponse() (response *ReupgradeOTATaskResponse) { + response = &ReupgradeOTATaskResponse{ + BaseResponse: &responses.BaseResponse{}, + } + return +} diff --git a/services/iot/save_device_prop.go b/services/iot/save_device_prop.go index 76eb3bdd70..993de73810 100644 --- a/services/iot/save_device_prop.go +++ b/services/iot/save_device_prop.go @@ -94,7 +94,7 @@ func CreateSaveDevicePropRequest() (request *SaveDevicePropRequest) { request = &SaveDevicePropRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SaveDeviceProp", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SaveDeviceProp", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/set_device_desired_property.go b/services/iot/set_device_desired_property.go index 59520449ad..fccc0939e4 100644 --- a/services/iot/set_device_desired_property.go +++ b/services/iot/set_device_desired_property.go @@ -97,7 +97,7 @@ func CreateSetDeviceDesiredPropertyRequest() (request *SetDeviceDesiredPropertyR request = &SetDeviceDesiredPropertyRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SetDeviceDesiredProperty", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SetDeviceDesiredProperty", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/set_device_group_tags.go b/services/iot/set_device_group_tags.go index 9c02c5f7d6..47918655a4 100644 --- a/services/iot/set_device_group_tags.go +++ b/services/iot/set_device_group_tags.go @@ -93,7 +93,7 @@ func CreateSetDeviceGroupTagsRequest() (request *SetDeviceGroupTagsRequest) { request = &SetDeviceGroupTagsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SetDeviceGroupTags", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SetDeviceGroupTags", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/set_device_property.go b/services/iot/set_device_property.go index b4f9b6f925..84511bd1f9 100644 --- a/services/iot/set_device_property.go +++ b/services/iot/set_device_property.go @@ -97,7 +97,7 @@ func CreateSetDevicePropertyRequest() (request *SetDevicePropertyRequest) { request = &SetDevicePropertyRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SetDeviceProperty", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SetDeviceProperty", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/set_devices_property.go b/services/iot/set_devices_property.go index 2ea6834712..839063435c 100644 --- a/services/iot/set_devices_property.go +++ b/services/iot/set_devices_property.go @@ -93,7 +93,7 @@ func CreateSetDevicesPropertyRequest() (request *SetDevicesPropertyRequest) { request = &SetDevicesPropertyRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SetDevicesProperty", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SetDevicesProperty", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/set_edge_instance_driver_configs.go b/services/iot/set_edge_instance_driver_configs.go index d2231bf536..f2ff555b23 100644 --- a/services/iot/set_edge_instance_driver_configs.go +++ b/services/iot/set_edge_instance_driver_configs.go @@ -100,7 +100,7 @@ func CreateSetEdgeInstanceDriverConfigsRequest() (request *SetEdgeInstanceDriver request = &SetEdgeInstanceDriverConfigsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SetEdgeInstanceDriverConfigs", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SetEdgeInstanceDriverConfigs", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/set_product_cert_info.go b/services/iot/set_product_cert_info.go index fbb277c6e4..d37f14b71c 100644 --- a/services/iot/set_product_cert_info.go +++ b/services/iot/set_product_cert_info.go @@ -92,7 +92,7 @@ func CreateSetProductCertInfoRequest() (request *SetProductCertInfoRequest) { request = &SetProductCertInfoRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SetProductCertInfo", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SetProductCertInfo", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/set_studio_project_cooperation.go b/services/iot/set_studio_project_cooperation.go index eb1bb0b77a..0a93dd7797 100644 --- a/services/iot/set_studio_project_cooperation.go +++ b/services/iot/set_studio_project_cooperation.go @@ -92,7 +92,7 @@ func CreateSetStudioProjectCooperationRequest() (request *SetStudioProjectCooper request = &SetStudioProjectCooperationRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SetStudioProjectCooperation", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SetStudioProjectCooperation", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/setup_studio_app_auth_mode_open.go b/services/iot/setup_studio_app_auth_mode_open.go index 4a116120e0..43f26c16ef 100644 --- a/services/iot/setup_studio_app_auth_mode_open.go +++ b/services/iot/setup_studio_app_auth_mode_open.go @@ -94,7 +94,7 @@ func CreateSetupStudioAppAuthModeOpenRequest() (request *SetupStudioAppAuthModeO request = &SetupStudioAppAuthModeOpenRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SetupStudioAppAuthModeOpen", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SetupStudioAppAuthModeOpen", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/speech_by_combination.go b/services/iot/speech_by_combination.go index c0c0324ec2..4c139f2243 100644 --- a/services/iot/speech_by_combination.go +++ b/services/iot/speech_by_combination.go @@ -96,7 +96,7 @@ func CreateSpeechByCombinationRequest() (request *SpeechByCombinationRequest) { request = &SpeechByCombinationRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SpeechByCombination", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SpeechByCombination", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/speech_by_synthesis.go b/services/iot/speech_by_synthesis.go index f52e225240..2c4406c465 100644 --- a/services/iot/speech_by_synthesis.go +++ b/services/iot/speech_by_synthesis.go @@ -99,7 +99,7 @@ func CreateSpeechBySynthesisRequest() (request *SpeechBySynthesisRequest) { request = &SpeechBySynthesisRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SpeechBySynthesis", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SpeechBySynthesis", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/start_ai_box_force_sync.go b/services/iot/start_ai_box_force_sync.go index 8a4abe905a..7901941f66 100644 --- a/services/iot/start_ai_box_force_sync.go +++ b/services/iot/start_ai_box_force_sync.go @@ -91,7 +91,7 @@ func CreateStartAIBoxForceSyncRequest() (request *StartAIBoxForceSyncRequest) { request = &StartAIBoxForceSyncRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "StartAIBoxForceSync", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "StartAIBoxForceSync", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/start_rule.go b/services/iot/start_rule.go index e20e8dce4f..ed1fc928dd 100644 --- a/services/iot/start_rule.go +++ b/services/iot/start_rule.go @@ -91,7 +91,7 @@ func CreateStartRuleRequest() (request *StartRuleRequest) { request = &StartRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "StartRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "StartRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/stop_rule.go b/services/iot/stop_rule.go index 69ea14c512..73ad3f9510 100644 --- a/services/iot/stop_rule.go +++ b/services/iot/stop_rule.go @@ -91,7 +91,7 @@ func CreateStopRuleRequest() (request *StopRuleRequest) { request = &StopRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "StopRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "StopRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/subscribe_topic.go b/services/iot/subscribe_topic.go index 5417191a84..1a4c2d7122 100644 --- a/services/iot/subscribe_topic.go +++ b/services/iot/subscribe_topic.go @@ -93,7 +93,7 @@ func CreateSubscribeTopicRequest() (request *SubscribeTopicRequest) { request = &SubscribeTopicRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SubscribeTopic", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SubscribeTopic", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/sync_speech_by_combination.go b/services/iot/sync_speech_by_combination.go index 9abf225e77..3f51c5dcfd 100644 --- a/services/iot/sync_speech_by_combination.go +++ b/services/iot/sync_speech_by_combination.go @@ -97,7 +97,7 @@ func CreateSyncSpeechByCombinationRequest() (request *SyncSpeechByCombinationReq request = &SyncSpeechByCombinationRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "SyncSpeechByCombination", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "SyncSpeechByCombination", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/test_speech.go b/services/iot/test_speech.go index 0b0b5beca3..07236a792c 100644 --- a/services/iot/test_speech.go +++ b/services/iot/test_speech.go @@ -100,7 +100,7 @@ func CreateTestSpeechRequest() (request *TestSpeechRequest) { request = &TestSpeechRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "TestSpeech", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "TestSpeech", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/transform_client_id.go b/services/iot/transform_client_id.go index 3202c4c70b..6192f48a26 100644 --- a/services/iot/transform_client_id.go +++ b/services/iot/transform_client_id.go @@ -93,7 +93,7 @@ func CreateTransformClientIdRequest() (request *TransformClientIdRequest) { request = &TransformClientIdRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "TransformClientId", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "TransformClientId", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/trigger_scene_rule.go b/services/iot/trigger_scene_rule.go index 386ab9131f..e5658108c4 100644 --- a/services/iot/trigger_scene_rule.go +++ b/services/iot/trigger_scene_rule.go @@ -92,7 +92,7 @@ func CreateTriggerSceneRuleRequest() (request *TriggerSceneRuleRequest) { request = &TriggerSceneRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "TriggerSceneRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "TriggerSceneRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/unbind_application_from_edge_instance.go b/services/iot/unbind_application_from_edge_instance.go index 6f1f7edb33..9de0d6b38a 100644 --- a/services/iot/unbind_application_from_edge_instance.go +++ b/services/iot/unbind_application_from_edge_instance.go @@ -92,7 +92,7 @@ func CreateUnbindApplicationFromEdgeInstanceRequest() (request *UnbindApplicatio request = &UnbindApplicationFromEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UnbindApplicationFromEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UnbindApplicationFromEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/unbind_driver_from_edge_instance.go b/services/iot/unbind_driver_from_edge_instance.go index f8a91b2c0c..7d1bdc0f4a 100644 --- a/services/iot/unbind_driver_from_edge_instance.go +++ b/services/iot/unbind_driver_from_edge_instance.go @@ -92,7 +92,7 @@ func CreateUnbindDriverFromEdgeInstanceRequest() (request *UnbindDriverFromEdgeI request = &UnbindDriverFromEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UnbindDriverFromEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UnbindDriverFromEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/unbind_role_from_edge_instance.go b/services/iot/unbind_role_from_edge_instance.go index 066abe2724..4d32ae5754 100644 --- a/services/iot/unbind_role_from_edge_instance.go +++ b/services/iot/unbind_role_from_edge_instance.go @@ -91,7 +91,7 @@ func CreateUnbindRoleFromEdgeInstanceRequest() (request *UnbindRoleFromEdgeInsta request = &UnbindRoleFromEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UnbindRoleFromEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UnbindRoleFromEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/unbind_scene_rule_from_edge_instance.go b/services/iot/unbind_scene_rule_from_edge_instance.go index 7d9a61a738..d5e2b951a8 100644 --- a/services/iot/unbind_scene_rule_from_edge_instance.go +++ b/services/iot/unbind_scene_rule_from_edge_instance.go @@ -92,7 +92,7 @@ func CreateUnbindSceneRuleFromEdgeInstanceRequest() (request *UnbindSceneRuleFro request = &UnbindSceneRuleFromEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UnbindSceneRuleFromEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UnbindSceneRuleFromEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_consumer_group.go b/services/iot/update_consumer_group.go index ed813303e1..c4cedfa65f 100644 --- a/services/iot/update_consumer_group.go +++ b/services/iot/update_consumer_group.go @@ -92,7 +92,7 @@ func CreateUpdateConsumerGroupRequest() (request *UpdateConsumerGroupRequest) { request = &UpdateConsumerGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateConsumerGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateConsumerGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_device_group.go b/services/iot/update_device_group.go index 1f61fda7b2..69853ccfa2 100644 --- a/services/iot/update_device_group.go +++ b/services/iot/update_device_group.go @@ -93,7 +93,7 @@ func CreateUpdateDeviceGroupRequest() (request *UpdateDeviceGroupRequest) { request = &UpdateDeviceGroupRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateDeviceGroup", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateDeviceGroup", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_device_shadow.go b/services/iot/update_device_shadow.go index 3e216b19fa..a4565686ee 100644 --- a/services/iot/update_device_shadow.go +++ b/services/iot/update_device_shadow.go @@ -94,7 +94,7 @@ func CreateUpdateDeviceShadowRequest() (request *UpdateDeviceShadowRequest) { request = &UpdateDeviceShadowRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateDeviceShadow", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateDeviceShadow", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_edge_driver_version.go b/services/iot/update_edge_driver_version.go index 89755931d1..f1cf7e5ef4 100644 --- a/services/iot/update_edge_driver_version.go +++ b/services/iot/update_edge_driver_version.go @@ -99,7 +99,7 @@ func CreateUpdateEdgeDriverVersionRequest() (request *UpdateEdgeDriverVersionReq request = &UpdateEdgeDriverVersionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateEdgeDriverVersion", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateEdgeDriverVersion", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_edge_instance.go b/services/iot/update_edge_instance.go index fb2247b0c5..5996fcab99 100644 --- a/services/iot/update_edge_instance.go +++ b/services/iot/update_edge_instance.go @@ -95,7 +95,7 @@ func CreateUpdateEdgeInstanceRequest() (request *UpdateEdgeInstanceRequest) { request = &UpdateEdgeInstanceRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateEdgeInstance", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateEdgeInstance", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_edge_instance_channel.go b/services/iot/update_edge_instance_channel.go index 823f986c84..8a4cfc5a3f 100644 --- a/services/iot/update_edge_instance_channel.go +++ b/services/iot/update_edge_instance_channel.go @@ -102,7 +102,7 @@ func CreateUpdateEdgeInstanceChannelRequest() (request *UpdateEdgeInstanceChanne request = &UpdateEdgeInstanceChannelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateEdgeInstanceChannel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateEdgeInstanceChannel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_edge_instance_message_routing.go b/services/iot/update_edge_instance_message_routing.go index 0647a2f9ac..87d57bc24c 100644 --- a/services/iot/update_edge_instance_message_routing.go +++ b/services/iot/update_edge_instance_message_routing.go @@ -99,7 +99,7 @@ func CreateUpdateEdgeInstanceMessageRoutingRequest() (request *UpdateEdgeInstanc request = &UpdateEdgeInstanceMessageRoutingRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateEdgeInstanceMessageRouting", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateEdgeInstanceMessageRouting", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_job.go b/services/iot/update_job.go index 55cd4ae796..a87b3a982b 100644 --- a/services/iot/update_job.go +++ b/services/iot/update_job.go @@ -94,7 +94,7 @@ func CreateUpdateJobRequest() (request *UpdateJobRequest) { request = &UpdateJobRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateJob", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateJob", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_ota_module.go b/services/iot/update_ota_module.go index 2d72d64321..d380294d8a 100644 --- a/services/iot/update_ota_module.go +++ b/services/iot/update_ota_module.go @@ -94,7 +94,7 @@ func CreateUpdateOTAModuleRequest() (request *UpdateOTAModuleRequest) { request = &UpdateOTAModuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateOTAModule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateOTAModule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_product.go b/services/iot/update_product.go index b5551f25bf..e27da55291 100644 --- a/services/iot/update_product.go +++ b/services/iot/update_product.go @@ -95,7 +95,7 @@ func CreateUpdateProductRequest() (request *UpdateProductRequest) { request = &UpdateProductRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateProduct", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateProduct", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_product_filter_config.go b/services/iot/update_product_filter_config.go index c8d79829f7..ed8f4a3c6f 100644 --- a/services/iot/update_product_filter_config.go +++ b/services/iot/update_product_filter_config.go @@ -93,7 +93,7 @@ func CreateUpdateProductFilterConfigRequest() (request *UpdateProductFilterConfi request = &UpdateProductFilterConfigRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateProductFilterConfig", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateProductFilterConfig", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_product_tags.go b/services/iot/update_product_tags.go index 5db19532be..4f0849585a 100644 --- a/services/iot/update_product_tags.go +++ b/services/iot/update_product_tags.go @@ -99,7 +99,7 @@ func CreateUpdateProductTagsRequest() (request *UpdateProductTagsRequest) { request = &UpdateProductTagsRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateProductTags", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateProductTags", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_product_topic.go b/services/iot/update_product_topic.go index c12f08e29e..e3cbfdb030 100644 --- a/services/iot/update_product_topic.go +++ b/services/iot/update_product_topic.go @@ -94,7 +94,7 @@ func CreateUpdateProductTopicRequest() (request *UpdateProductTopicRequest) { request = &UpdateProductTopicRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateProductTopic", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateProductTopic", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_rule.go b/services/iot/update_rule.go index c3d85be266..699648f05a 100644 --- a/services/iot/update_rule.go +++ b/services/iot/update_rule.go @@ -99,7 +99,7 @@ func CreateUpdateRuleRequest() (request *UpdateRuleRequest) { request = &UpdateRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_rule_action.go b/services/iot/update_rule_action.go index aa139f4aee..c340bb413c 100644 --- a/services/iot/update_rule_action.go +++ b/services/iot/update_rule_action.go @@ -93,7 +93,7 @@ func CreateUpdateRuleActionRequest() (request *UpdateRuleActionRequest) { request = &UpdateRuleActionRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateRuleAction", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateRuleAction", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_scene_rule.go b/services/iot/update_scene_rule.go index 39152be876..09270055a6 100644 --- a/services/iot/update_scene_rule.go +++ b/services/iot/update_scene_rule.go @@ -94,7 +94,7 @@ func CreateUpdateSceneRuleRequest() (request *UpdateSceneRuleRequest) { request = &UpdateSceneRuleRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateSceneRule", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateSceneRule", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_speech.go b/services/iot/update_speech.go index d3c6170b85..d45ad8c4c6 100644 --- a/services/iot/update_speech.go +++ b/services/iot/update_speech.go @@ -97,7 +97,7 @@ func CreateUpdateSpeechRequest() (request *UpdateSpeechRequest) { request = &UpdateSpeechRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateSpeech", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateSpeech", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_subscribe_relation.go b/services/iot/update_subscribe_relation.go index 0449608185..a403be154e 100644 --- a/services/iot/update_subscribe_relation.go +++ b/services/iot/update_subscribe_relation.go @@ -104,7 +104,7 @@ func CreateUpdateSubscribeRelationRequest() (request *UpdateSubscribeRelationReq request = &UpdateSubscribeRelationRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateSubscribeRelation", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateSubscribeRelation", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_thing_model.go b/services/iot/update_thing_model.go index 9aab9eaeee..a514c5f47f 100644 --- a/services/iot/update_thing_model.go +++ b/services/iot/update_thing_model.go @@ -97,7 +97,7 @@ func CreateUpdateThingModelRequest() (request *UpdateThingModelRequest) { request = &UpdateThingModelRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateThingModel", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateThingModel", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_thing_model_validation_config.go b/services/iot/update_thing_model_validation_config.go index 1b2d538f1a..cdc664c9b8 100644 --- a/services/iot/update_thing_model_validation_config.go +++ b/services/iot/update_thing_model_validation_config.go @@ -92,7 +92,7 @@ func CreateUpdateThingModelValidationConfigRequest() (request *UpdateThingModelV request = &UpdateThingModelValidationConfigRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateThingModelValidationConfig", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateThingModelValidationConfig", "iot", "openAPI") request.Method = requests.POST return } diff --git a/services/iot/update_thing_script.go b/services/iot/update_thing_script.go index 6c6fac0eb8..580b28a7be 100644 --- a/services/iot/update_thing_script.go +++ b/services/iot/update_thing_script.go @@ -93,7 +93,7 @@ func CreateUpdateThingScriptRequest() (request *UpdateThingScriptRequest) { request = &UpdateThingScriptRequest{ RpcRequest: &requests.RpcRequest{}, } - request.InitWithApiInfo("Iot", "2018-01-20", "UpdateThingScript", "", "") + request.InitWithApiInfo("Iot", "2018-01-20", "UpdateThingScript", "iot", "openAPI") request.Method = requests.POST return }