Remove QuerySmsProdStatus OpenAPI.
This commit is contained in:
@@ -79,12 +79,11 @@ std::vector<AddSmsSignRequest::SignFileList> AddSmsSignRequest::getSignFileList(
|
||||
void AddSmsSignRequest::setSignFileList(const std::vector<SignFileList>& signFileList)
|
||||
{
|
||||
signFileList_ = signFileList;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= signFileList.size(); i++) {
|
||||
auto obj = signFileList.at(i);
|
||||
std::string str ="SignFileList."+ std::to_string(i);
|
||||
setCoreParameter(str + ".FileContents", obj.fileContents);
|
||||
setCoreParameter(str + ".FileSuffix", obj.fileSuffix);
|
||||
for(int dep1 = 0; dep1!= signFileList.size(); dep1++) {
|
||||
auto signFileListObj = signFileList.at(dep1);
|
||||
std::string signFileListObjStr = "SignFileList." + std::to_string(dep1);
|
||||
setCoreParameter(signFileListObjStr + ".FileContents", signFileListObj.fileContents);
|
||||
setCoreParameter(signFileListObjStr + ".FileSuffix", signFileListObj.fileSuffix);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -79,12 +79,11 @@ std::vector<ModifySmsSignRequest::SignFileList> ModifySmsSignRequest::getSignFil
|
||||
void ModifySmsSignRequest::setSignFileList(const std::vector<SignFileList>& signFileList)
|
||||
{
|
||||
signFileList_ = signFileList;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= signFileList.size(); i++) {
|
||||
auto obj = signFileList.at(i);
|
||||
std::string str ="SignFileList."+ std::to_string(i);
|
||||
setCoreParameter(str + ".FileContents", obj.fileContents);
|
||||
setCoreParameter(str + ".FileSuffix", obj.fileSuffix);
|
||||
for(int dep1 = 0; dep1!= signFileList.size(); dep1++) {
|
||||
auto signFileListObj = signFileList.at(dep1);
|
||||
std::string signFileListObjStr = "SignFileList." + std::to_string(dep1);
|
||||
setCoreParameter(signFileListObjStr + ".FileContents", signFileListObj.fileContents);
|
||||
setCoreParameter(signFileListObjStr + ".FileSuffix", signFileListObj.fileSuffix);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dysmsapi/model/QuerySmsProdStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Dysmsapi::Model::QuerySmsProdStatusRequest;
|
||||
|
||||
QuerySmsProdStatusRequest::QuerySmsProdStatusRequest() :
|
||||
RpcServiceRequest("dysmsapi", "2017-05-25", "QuerySmsProdStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QuerySmsProdStatusRequest::~QuerySmsProdStatusRequest()
|
||||
{}
|
||||
|
||||
long QuerySmsProdStatusRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void QuerySmsProdStatusRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string QuerySmsProdStatusRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void QuerySmsProdStatusRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long QuerySmsProdStatusRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void QuerySmsProdStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string QuerySmsProdStatusRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void QuerySmsProdStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long QuerySmsProdStatusRequest::getAliyUid()const
|
||||
{
|
||||
return aliyUid_;
|
||||
}
|
||||
|
||||
void QuerySmsProdStatusRequest::setAliyUid(long aliyUid)
|
||||
{
|
||||
aliyUid_ = aliyUid;
|
||||
setCoreParameter("AliyUid", std::to_string(aliyUid));
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dysmsapi/model/QuerySmsProdStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dysmsapi;
|
||||
using namespace AlibabaCloud::Dysmsapi::Model;
|
||||
|
||||
QuerySmsProdStatusResult::QuerySmsProdStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
QuerySmsProdStatusResult::QuerySmsProdStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
QuerySmsProdStatusResult::~QuerySmsProdStatusResult()
|
||||
{}
|
||||
|
||||
void QuerySmsProdStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string QuerySmsProdStatusResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string QuerySmsProdStatusResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user