From 7f8b47c92f70e80d3143c6c345883ed7631eb2b8 Mon Sep 17 00:00:00 2001 From: "haowei.yao" Date: Tue, 10 Apr 2018 15:07:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B1=E9=A2=8D=E5=B7=9D=E5=8F=91=E8=B5=B7?= =?UTF-8?q?=E7=9A=84CSB=20SDK=E8=87=AA=E5=8A=A8=E5=8F=91=E5=B8=83,=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=EF=BC=9A1.5.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: haowei.yao --- CHANGELOG | 7 ++++++ VERSION | 2 +- .../csb/model/FindApprovalOrderListRequest.h | 6 ++--- .../csb/model/FindApproveServiceListRequest.h | 6 ++--- .../csb/model/FindServiceListRequest.h | 6 ++--- .../csb/model/FindServiceListResult.h | 1 + csb/src/model/FindApprovalOrderListRequest.cc | 22 +++++++++---------- .../model/FindApproveServiceListRequest.cc | 22 +++++++++---------- csb/src/model/FindServiceListRequest.cc | 22 +++++++++---------- csb/src/model/FindServiceListResult.cc | 2 ++ 10 files changed, 53 insertions(+), 43 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 59e2e363b..e032722f3 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +2018-04-10 Version: 1.5.1 +1, publish Project API. +2, publish Service API. +3, publish Service order API. +4, publish Credential API. +5, publish CAS API. + 2018-04-08 Version: 1.5.0 1, Add voice asynchronous scan interface. diff --git a/VERSION b/VERSION index 3e1ad720b..8e03717dc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.5.0 \ No newline at end of file +1.5.1 \ No newline at end of file diff --git a/csb/include/alibabacloud/csb/model/FindApprovalOrderListRequest.h b/csb/include/alibabacloud/csb/model/FindApprovalOrderListRequest.h index 28777b9ef..d9a0d479f 100644 --- a/csb/include/alibabacloud/csb/model/FindApprovalOrderListRequest.h +++ b/csb/include/alibabacloud/csb/model/FindApprovalOrderListRequest.h @@ -43,10 +43,10 @@ namespace AlibabaCloud void setAlias(const std::string& alias); std::string getServiceName()const; void setServiceName(const std::string& serviceName); - int getPageNum()const; - void setPageNum(int pageNum); long getServiceId()const; void setServiceId(long serviceId); + int getPageNum()const; + void setPageNum(int pageNum); bool getOnlyPending()const; void setOnlyPending(bool onlyPending); @@ -55,8 +55,8 @@ namespace AlibabaCloud std::string regionId_; std::string alias_; std::string serviceName_; - int pageNum_; long serviceId_; + int pageNum_; bool onlyPending_; }; diff --git a/csb/include/alibabacloud/csb/model/FindApproveServiceListRequest.h b/csb/include/alibabacloud/csb/model/FindApproveServiceListRequest.h index 2303be457..043759f38 100644 --- a/csb/include/alibabacloud/csb/model/FindApproveServiceListRequest.h +++ b/csb/include/alibabacloud/csb/model/FindApproveServiceListRequest.h @@ -35,10 +35,10 @@ namespace AlibabaCloud FindApproveServiceListRequest(); ~FindApproveServiceListRequest(); - std::string getProjectName()const; - void setProjectName(const std::string& projectName); std::string getApproveLevel()const; void setApproveLevel(const std::string& approveLevel); + std::string getProjectName()const; + void setProjectName(const std::string& projectName); bool getShowDelService()const; void setShowDelService(bool showDelService); long getCsbId()const; @@ -51,8 +51,8 @@ namespace AlibabaCloud void setServiceName(const std::string& serviceName); private: - std::string projectName_; std::string approveLevel_; + std::string projectName_; bool showDelService_; long csbId_; std::string regionId_; diff --git a/csb/include/alibabacloud/csb/model/FindServiceListRequest.h b/csb/include/alibabacloud/csb/model/FindServiceListRequest.h index 29045031d..abaa82c8b 100644 --- a/csb/include/alibabacloud/csb/model/FindServiceListRequest.h +++ b/csb/include/alibabacloud/csb/model/FindServiceListRequest.h @@ -37,10 +37,10 @@ namespace AlibabaCloud std::string getProjectName()const; void setProjectName(const std::string& projectName); - bool getShowDelService()const; - void setShowDelService(bool showDelService); int getCasShowType()const; void setCasShowType(int casShowType); + bool getShowDelService()const; + void setShowDelService(bool showDelService); long getCsbId()const; void setCsbId(long csbId); std::string getRegionId()const; @@ -54,8 +54,8 @@ namespace AlibabaCloud private: std::string projectName_; - bool showDelService_; int casShowType_; + bool showDelService_; long csbId_; std::string regionId_; std::string alias_; diff --git a/csb/include/alibabacloud/csb/model/FindServiceListResult.h b/csb/include/alibabacloud/csb/model/FindServiceListResult.h index 33547d854..b6be2ca40 100644 --- a/csb/include/alibabacloud/csb/model/FindServiceListResult.h +++ b/csb/include/alibabacloud/csb/model/FindServiceListResult.h @@ -56,6 +56,7 @@ namespace AlibabaCloud std::string serviceVersion; std::string interfaceName; long id; + std::string casTargets; }; int currentPage; int pageNumber; diff --git a/csb/src/model/FindApprovalOrderListRequest.cc b/csb/src/model/FindApprovalOrderListRequest.cc index 0446eb204..4b9e7c811 100644 --- a/csb/src/model/FindApprovalOrderListRequest.cc +++ b/csb/src/model/FindApprovalOrderListRequest.cc @@ -69,17 +69,6 @@ void FindApprovalOrderListRequest::setServiceName(const std::string& serviceName setParameter("ServiceName", serviceName); } -int FindApprovalOrderListRequest::getPageNum()const -{ - return pageNum_; -} - -void FindApprovalOrderListRequest::setPageNum(int pageNum) -{ - pageNum_ = pageNum; - setParameter("PageNum", std::to_string(pageNum)); -} - long FindApprovalOrderListRequest::getServiceId()const { return serviceId_; @@ -91,6 +80,17 @@ void FindApprovalOrderListRequest::setServiceId(long serviceId) setParameter("ServiceId", std::to_string(serviceId)); } +int FindApprovalOrderListRequest::getPageNum()const +{ + return pageNum_; +} + +void FindApprovalOrderListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + bool FindApprovalOrderListRequest::getOnlyPending()const { return onlyPending_; diff --git a/csb/src/model/FindApproveServiceListRequest.cc b/csb/src/model/FindApproveServiceListRequest.cc index 7d3593045..e9efda601 100644 --- a/csb/src/model/FindApproveServiceListRequest.cc +++ b/csb/src/model/FindApproveServiceListRequest.cc @@ -25,17 +25,6 @@ FindApproveServiceListRequest::FindApproveServiceListRequest() : FindApproveServiceListRequest::~FindApproveServiceListRequest() {} -std::string FindApproveServiceListRequest::getProjectName()const -{ - return projectName_; -} - -void FindApproveServiceListRequest::setProjectName(const std::string& projectName) -{ - projectName_ = projectName; - setParameter("ProjectName", projectName); -} - std::string FindApproveServiceListRequest::getApproveLevel()const { return approveLevel_; @@ -47,6 +36,17 @@ void FindApproveServiceListRequest::setApproveLevel(const std::string& approveLe setParameter("ApproveLevel", approveLevel); } +std::string FindApproveServiceListRequest::getProjectName()const +{ + return projectName_; +} + +void FindApproveServiceListRequest::setProjectName(const std::string& projectName) +{ + projectName_ = projectName; + setParameter("ProjectName", projectName); +} + bool FindApproveServiceListRequest::getShowDelService()const { return showDelService_; diff --git a/csb/src/model/FindServiceListRequest.cc b/csb/src/model/FindServiceListRequest.cc index f8b1a05bb..fab9c7402 100644 --- a/csb/src/model/FindServiceListRequest.cc +++ b/csb/src/model/FindServiceListRequest.cc @@ -36,17 +36,6 @@ void FindServiceListRequest::setProjectName(const std::string& projectName) setParameter("ProjectName", projectName); } -bool FindServiceListRequest::getShowDelService()const -{ - return showDelService_; -} - -void FindServiceListRequest::setShowDelService(bool showDelService) -{ - showDelService_ = showDelService; - setParameter("ShowDelService", std::to_string(showDelService)); -} - int FindServiceListRequest::getCasShowType()const { return casShowType_; @@ -58,6 +47,17 @@ void FindServiceListRequest::setCasShowType(int casShowType) setParameter("CasShowType", std::to_string(casShowType)); } +bool FindServiceListRequest::getShowDelService()const +{ + return showDelService_; +} + +void FindServiceListRequest::setShowDelService(bool showDelService) +{ + showDelService_ = showDelService; + setParameter("ShowDelService", std::to_string(showDelService)); +} + long FindServiceListRequest::getCsbId()const { return csbId_; diff --git a/csb/src/model/FindServiceListResult.cc b/csb/src/model/FindServiceListResult.cc index 763adfe01..5a7f33781 100644 --- a/csb/src/model/FindServiceListResult.cc +++ b/csb/src/model/FindServiceListResult.cc @@ -91,6 +91,8 @@ void FindServiceListResult::parse(const std::string &payload) serviceObject.status = std::stoi(value["Status"].asString()); if(!value["UserId"].isNull()) serviceObject.userId = value["UserId"].asString(); + if(!value["CasTargets"].isNull()) + serviceObject.casTargets = value["CasTargets"].asString(); data_.serviceList.push_back(serviceObject); } if(!value["Message"].isNull())