regenerate code

This commit is contained in:
wb-hx510875
2020-03-26 17:27:13 +08:00
committed by Axios
parent cba94f2119
commit f0c2600a26
6249 changed files with 188711 additions and 43443 deletions

View File

@@ -24,6 +24,8 @@
#include "Et_industry_openapiExport.h"
#include "model/UploadDeviceDataRequest.h"
#include "model/UploadDeviceDataResult.h"
#include "model/UploadDeviceDataDCRequest.h"
#include "model/UploadDeviceDataDCResult.h"
namespace AlibabaCloud
@@ -36,6 +38,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UploadDeviceDataResult> UploadDeviceDataOutcome;
typedef std::future<UploadDeviceDataOutcome> UploadDeviceDataOutcomeCallable;
typedef std::function<void(const Et_industry_openapiClient*, const Model::UploadDeviceDataRequest&, const UploadDeviceDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadDeviceDataAsyncHandler;
typedef Outcome<Error, Model::UploadDeviceDataDCResult> UploadDeviceDataDCOutcome;
typedef std::future<UploadDeviceDataDCOutcome> UploadDeviceDataDCOutcomeCallable;
typedef std::function<void(const Et_industry_openapiClient*, const Model::UploadDeviceDataDCRequest&, const UploadDeviceDataDCOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UploadDeviceDataDCAsyncHandler;
Et_industry_openapiClient(const Credentials &credentials, const ClientConfiguration &configuration);
Et_industry_openapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -44,6 +49,9 @@ namespace AlibabaCloud
UploadDeviceDataOutcome uploadDeviceData(const Model::UploadDeviceDataRequest &request)const;
void uploadDeviceDataAsync(const Model::UploadDeviceDataRequest& request, const UploadDeviceDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UploadDeviceDataOutcomeCallable uploadDeviceDataCallable(const Model::UploadDeviceDataRequest& request) const;
UploadDeviceDataDCOutcome uploadDeviceDataDC(const Model::UploadDeviceDataDCRequest &request)const;
void uploadDeviceDataDCAsync(const Model::UploadDeviceDataDCRequest& request, const UploadDeviceDataDCAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UploadDeviceDataDCOutcomeCallable uploadDeviceDataDCCallable(const Model::UploadDeviceDataDCRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ET_INDUSTRY_OPENAPI_MODEL_UPLOADDEVICEDATADCREQUEST_H_
#define ALIBABACLOUD_ET_INDUSTRY_OPENAPI_MODEL_UPLOADDEVICEDATADCREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RoaServiceRequest.h>
#include <alibabacloud/et-industry-openapi/Et_industry_openapiExport.h>
namespace AlibabaCloud
{
namespace Et_industry_openapi
{
namespace Model
{
class ALIBABACLOUD_ET_INDUSTRY_OPENAPI_EXPORT UploadDeviceDataDCRequest : public RoaServiceRequest
{
public:
struct data
{
struct data
{
std::string device_id;
std::string create_time;
std::string system_code;
std::string time;
std::string systime;
std::string value;
std::string key;
};
std::vector<data> data;
std::string pk;
};
public:
UploadDeviceDataDCRequest();
~UploadDeviceDataDCRequest();
std::vector<data> getData()const;
void setData(const std::vector<data>& data);
int getTaskId()const;
void setTaskId(int taskId);
private:
std::vector<data> data_;
int taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_ET_INDUSTRY_OPENAPI_MODEL_UPLOADDEVICEDATADCREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ET_INDUSTRY_OPENAPI_MODEL_UPLOADDEVICEDATADCRESULT_H_
#define ALIBABACLOUD_ET_INDUSTRY_OPENAPI_MODEL_UPLOADDEVICEDATADCRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/et-industry-openapi/Et_industry_openapiExport.h>
namespace AlibabaCloud
{
namespace Et_industry_openapi
{
namespace Model
{
class ALIBABACLOUD_ET_INDUSTRY_OPENAPI_EXPORT UploadDeviceDataDCResult : public ServiceResult
{
public:
UploadDeviceDataDCResult();
explicit UploadDeviceDataDCResult(const std::string &payload);
~UploadDeviceDataDCResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_ET_INDUSTRY_OPENAPI_MODEL_UPLOADDEVICEDATADCRESULT_H_