Compare commits

..

1 Commits

Author SHA1 Message Date
sdk-team
44bbd797e7 Supported for setEndpoint method. 2019-09-05 16:44:55 +08:00
22 changed files with 1171 additions and 799 deletions

View File

@@ -1,3 +1,6 @@
2019-09-05 Version 1.36.113
- Supported for setEndpoint method.
2019-09-05 Version 1.36.112
- Generated 2014-05-15 for `Slb`.

View File

@@ -1 +1 @@
1.36.112
1.36.113

98
dypnsapi/CMakeLists.txt Normal file
View File

@@ -0,0 +1,98 @@
#
# 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.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
set(dypnsapi_public_header
include/alibabacloud/dypnsapi/DypnsapiClient.h
include/alibabacloud/dypnsapi/DypnsapiExport.h )
set(dypnsapi_public_header_model
include/alibabacloud/dypnsapi/model/CreateVerifySchemeRequest.h
include/alibabacloud/dypnsapi/model/CreateVerifySchemeResult.h
include/alibabacloud/dypnsapi/model/TwiceTelVerifyRequest.h
include/alibabacloud/dypnsapi/model/TwiceTelVerifyResult.h
include/alibabacloud/dypnsapi/model/GetMobileRequest.h
include/alibabacloud/dypnsapi/model/GetMobileResult.h
include/alibabacloud/dypnsapi/model/VerifyMobileRequest.h
include/alibabacloud/dypnsapi/model/VerifyMobileResult.h )
set(dypnsapi_src
src/com.aliyun.pop.sdk.domain.Product@28f2a10fClient.cc
src/model/CreateVerifySchemeRequest.cc
src/model/CreateVerifySchemeResult.cc
src/model/TwiceTelVerifyRequest.cc
src/model/TwiceTelVerifyResult.cc
src/model/GetMobileRequest.cc
src/model/GetMobileResult.cc
src/model/VerifyMobileRequest.cc
src/model/VerifyMobileResult.cc )
add_library(dypnsapi ${LIB_TYPE}
${dypnsapi_public_header}
${dypnsapi_public_header_model}
${dypnsapi_src})
set_target_properties(dypnsapi
PROPERTIES
LINKER_LANGUAGE CXX
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}dypnsapi
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(dypnsapi
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_DYPNSAPI_LIBRARY)
endif()
target_include_directories(dypnsapi
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(dypnsapi
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(dypnsapi
jsoncpp)
target_include_directories(dypnsapi
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(dypnsapi
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(dypnsapi
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(dypnsapi
PRIVATE /usr/include/jsoncpp)
target_link_libraries(dypnsapi
jsoncpp)
endif()
install(FILES ${dypnsapi_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dypnsapi)
install(FILES ${dypnsapi_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dypnsapi/model)
install(TARGETS dypnsapi
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -0,0 +1,78 @@
/*
* 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_DYPNSAPI_DYPNSAPICLIENT_H_
#define ALIBABACLOUD_DYPNSAPI_DYPNSAPICLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DypnsapiExport.h"
#include "model/CreateVerifySchemeRequest.h"
#include "model/CreateVerifySchemeResult.h"
#include "model/TwiceTelVerifyRequest.h"
#include "model/TwiceTelVerifyResult.h"
#include "model/GetMobileRequest.h"
#include "model/GetMobileResult.h"
#include "model/VerifyMobileRequest.h"
#include "model/VerifyMobileResult.h"
namespace AlibabaCloud
{
namespace Dypnsapi
{
class ALIBABACLOUD_DYPNSAPI_EXPORT DypnsapiClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::CreateVerifySchemeResult> CreateVerifySchemeOutcome;
typedef std::future<CreateVerifySchemeOutcome> CreateVerifySchemeOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::CreateVerifySchemeRequest&, const CreateVerifySchemeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySchemeAsyncHandler;
typedef Outcome<Error, Model::TwiceTelVerifyResult> TwiceTelVerifyOutcome;
typedef std::future<TwiceTelVerifyOutcome> TwiceTelVerifyOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::TwiceTelVerifyRequest&, const TwiceTelVerifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TwiceTelVerifyAsyncHandler;
typedef Outcome<Error, Model::GetMobileResult> GetMobileOutcome;
typedef std::future<GetMobileOutcome> GetMobileOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::GetMobileRequest&, const GetMobileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMobileAsyncHandler;
typedef Outcome<Error, Model::VerifyMobileResult> VerifyMobileOutcome;
typedef std::future<VerifyMobileOutcome> VerifyMobileOutcomeCallable;
typedef std::function<void(const DypnsapiClient*, const Model::VerifyMobileRequest&, const VerifyMobileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyMobileAsyncHandler;
DypnsapiClient(const Credentials &credentials, const ClientConfiguration &configuration);
DypnsapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DypnsapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DypnsapiClient();
CreateVerifySchemeOutcome createVerifyScheme(const Model::CreateVerifySchemeRequest &request)const;
void createVerifySchemeAsync(const Model::CreateVerifySchemeRequest& request, const CreateVerifySchemeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVerifySchemeOutcomeCallable createVerifySchemeCallable(const Model::CreateVerifySchemeRequest& request) const;
TwiceTelVerifyOutcome twiceTelVerify(const Model::TwiceTelVerifyRequest &request)const;
void twiceTelVerifyAsync(const Model::TwiceTelVerifyRequest& request, const TwiceTelVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TwiceTelVerifyOutcomeCallable twiceTelVerifyCallable(const Model::TwiceTelVerifyRequest& request) const;
GetMobileOutcome getMobile(const Model::GetMobileRequest &request)const;
void getMobileAsync(const Model::GetMobileRequest& request, const GetMobileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMobileOutcomeCallable getMobileCallable(const Model::GetMobileRequest& request) const;
VerifyMobileOutcome verifyMobile(const Model::VerifyMobileRequest &request)const;
void verifyMobileAsync(const Model::VerifyMobileRequest& request, const VerifyMobileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
VerifyMobileOutcomeCallable verifyMobileCallable(const Model::VerifyMobileRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_DYPNSAPICLIENT_H_

View File

@@ -1,32 +1,32 @@
/*
* 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_DYPNSAPI_DYPNSAPIEXPORT_H_
#define ALIBABACLOUD_DYPNSAPI_DYPNSAPIEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_DYPNSAPI_LIBRARY)
# define ALIBABACLOUD_DYPNSAPI_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_DYPNSAPI_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_DYPNSAPI_EXPORT
#endif
/*
* 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_DYPNSAPI_DYPNSAPIEXPORT_H_
#define ALIBABACLOUD_DYPNSAPI_DYPNSAPIEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_DYPNSAPI_LIBRARY)
# define ALIBABACLOUD_DYPNSAPI_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_DYPNSAPI_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_DYPNSAPI_EXPORT
#endif
#endif // !ALIBABACLOUD_DYPNSAPI_DYPNSAPIEXPORT_H_

View File

@@ -1,75 +1,75 @@
/*
* 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_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT CreateVerifySchemeRequest : public RpcServiceRequest
{
public:
CreateVerifySchemeRequest();
~CreateVerifySchemeRequest();
/*
* 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_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT CreateVerifySchemeRequest : public RpcServiceRequest
{
public:
CreateVerifySchemeRequest();
~CreateVerifySchemeRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPackName()const;
void setPackName(const std::string& packName);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getSchemeName()const;
void setSchemeName(const std::string& schemeName);
std::string getBundleId()const;
void setBundleId(const std::string& bundleId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getPackSign()const;
void setPackSign(const std::string& packSign);
std::string getPackName()const;
void setPackName(const std::string& packName);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOsType()const;
void setOsType(const std::string& osType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getPackSign()const;
void setPackSign(const std::string& packSign);
private:
std::string getSchemeName()const;
void setSchemeName(const std::string& schemeName);
private:
long resourceOwnerId_;
std::string packName_;
std::string appName_;
std::string resourceOwnerAccount_;
std::string schemeName_;
std::string bundleId_;
std::string accessKeyId_;
std::string appName_;
std::string packSign_;
std::string packName_;
std::string resourceOwnerAccount_;
std::string osType_;
long ownerId_;
std::string accessKeyId_;
std::string packSign_;
};
}
}
}
std::string schemeName_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMEREQUEST_H_

View File

@@ -1,59 +1,59 @@
/*
* 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_DYPNSAPI_MODEL_CREATEVERIFYSCHEMERESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT CreateVerifySchemeResult : public ServiceResult
{
public:
/*
* 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_DYPNSAPI_MODEL_CREATEVERIFYSCHEMERESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT CreateVerifySchemeResult : public ServiceResult
{
public:
struct GateVerifySchemeDTO
{
std::string schemeCode;
};
CreateVerifySchemeResult();
explicit CreateVerifySchemeResult(const std::string &payload);
~CreateVerifySchemeResult();
CreateVerifySchemeResult();
explicit CreateVerifySchemeResult(const std::string &payload);
~CreateVerifySchemeResult();
std::string getMessage()const;
GateVerifySchemeDTO getGateVerifySchemeDTO()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string message_;
GateVerifySchemeDTO gateVerifySchemeDTO_;
std::string code_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_CREATEVERIFYSCHEMERESULT_H_

View File

@@ -1,63 +1,63 @@
/*
* 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_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetMobileRequest : public RpcServiceRequest
{
public:
GetMobileRequest();
~GetMobileRequest();
/*
* 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_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetMobileRequest : public RpcServiceRequest
{
public:
GetMobileRequest();
~GetMobileRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getAccessToken()const;
void setAccessToken(const std::string& accessToken);
std::string getOutId()const;
void setOutId(const std::string& outId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string getOutId()const;
void setOutId(const std::string& outId);
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string accessToken_;
std::string outId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
std::string outId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILEREQUEST_H_

View File

@@ -1,59 +1,59 @@
/*
* 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_DYPNSAPI_MODEL_GETMOBILERESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetMobileResult : public ServiceResult
{
public:
/*
* 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_DYPNSAPI_MODEL_GETMOBILERESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT GetMobileResult : public ServiceResult
{
public:
struct GetMobileResultDTO
{
std::string mobile;
};
GetMobileResult();
explicit GetMobileResult(const std::string &payload);
~GetMobileResult();
GetMobileResult();
explicit GetMobileResult(const std::string &payload);
~GetMobileResult();
std::string getMessage()const;
std::string getCode()const;
GetMobileResultDTO getGetMobileResultDTO()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
GetMobileResultDTO getMobileResultDTO_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_GETMOBILERESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* 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_DYPNSAPI_MODEL_TWICETELVERIFYREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_TWICETELVERIFYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT TwiceTelVerifyRequest : public RpcServiceRequest
{
public:
TwiceTelVerifyRequest();
~TwiceTelVerifyRequest();
/*
* 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_DYPNSAPI_MODEL_TWICETELVERIFYREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_TWICETELVERIFYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT TwiceTelVerifyRequest : public RpcServiceRequest
{
public:
TwiceTelVerifyRequest();
~TwiceTelVerifyRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getResourceOwnerAccount()const;
@@ -47,17 +47,17 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
std::string getSince()const;
void setSince(const std::string& since);
private:
private:
long resourceOwnerId_;
std::string resourceOwnerAccount_;
std::string phoneNumber_;
long ownerId_;
std::string accessKeyId_;
std::string since_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_TWICETELVERIFYREQUEST_H_

View File

@@ -1,60 +1,60 @@
/*
* 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_DYPNSAPI_MODEL_TWICETELVERIFYRESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_TWICETELVERIFYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT TwiceTelVerifyResult : public ServiceResult
{
public:
/*
* 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_DYPNSAPI_MODEL_TWICETELVERIFYRESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_TWICETELVERIFYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT TwiceTelVerifyResult : public ServiceResult
{
public:
struct Result
{
std::string carrier;
int verifyResult;
};
TwiceTelVerifyResult();
explicit TwiceTelVerifyResult(const std::string &payload);
~TwiceTelVerifyResult();
TwiceTelVerifyResult();
explicit TwiceTelVerifyResult(const std::string &payload);
~TwiceTelVerifyResult();
std::string getMessage()const;
TwiceTelVerifyResult getTwiceTelVerifyResult()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string message_;
TwiceTelVerifyResult twiceTelVerifyResult_;
std::string code_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_TWICETELVERIFYRESULT_H_

View File

@@ -1,66 +1,66 @@
/*
* 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_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyMobileRequest : public RpcServiceRequest
{
public:
VerifyMobileRequest();
~VerifyMobileRequest();
/*
* 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_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyMobileRequest : public RpcServiceRequest
{
public:
VerifyMobileRequest();
~VerifyMobileRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAccessCode()const;
void setAccessCode(const std::string& accessCode);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
std::string getOutId()const;
void setOutId(const std::string& outId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string getOutId()const;
void setOutId(const std::string& outId);
private:
long resourceOwnerId_;
std::string phoneNumber_;
std::string accessKeyId_;
std::string accessCode_;
std::string resourceOwnerAccount_;
std::string phoneNumber_;
std::string outId_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
std::string outId_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILEREQUEST_H_

View File

@@ -1,60 +1,60 @@
/*
* 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_DYPNSAPI_MODEL_VERIFYMOBILERESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyMobileResult : public ServiceResult
{
public:
/*
* 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_DYPNSAPI_MODEL_VERIFYMOBILERESULT_H_
#define ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
namespace AlibabaCloud
{
namespace Dypnsapi
{
namespace Model
{
class ALIBABACLOUD_DYPNSAPI_EXPORT VerifyMobileResult : public ServiceResult
{
public:
struct GateVerifyResultDTO
{
std::string verifyResult;
std::string verifyId;
};
VerifyMobileResult();
explicit VerifyMobileResult(const std::string &payload);
~VerifyMobileResult();
VerifyMobileResult();
explicit VerifyMobileResult(const std::string &payload);
~VerifyMobileResult();
GateVerifyResultDTO getGateVerifyResultDTO()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
GateVerifyResultDTO gateVerifyResultDTO_;
std::string message_;
std::string code_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_VERIFYMOBILERESULT_H_

View File

@@ -0,0 +1,197 @@
/*
* 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/dypnsapi/DypnsapiClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
namespace
{
const std::string SERVICE_NAME = "Dypnsapi";
}
DypnsapiClient::DypnsapiClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dypnsapi");
}
DypnsapiClient::DypnsapiClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dypnsapi");
}
DypnsapiClient::DypnsapiClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "dypnsapi");
}
DypnsapiClient::~DypnsapiClient()
{}
DypnsapiClient::CreateVerifySchemeOutcome DypnsapiClient::createVerifyScheme(const CreateVerifySchemeRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateVerifySchemeOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateVerifySchemeOutcome(CreateVerifySchemeResult(outcome.result()));
else
return CreateVerifySchemeOutcome(outcome.error());
}
void DypnsapiClient::createVerifySchemeAsync(const CreateVerifySchemeRequest& request, const CreateVerifySchemeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createVerifyScheme(request), context);
};
asyncExecute(new Runnable(fn));
}
DypnsapiClient::CreateVerifySchemeOutcomeCallable DypnsapiClient::createVerifySchemeCallable(const CreateVerifySchemeRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateVerifySchemeOutcome()>>(
[this, request]()
{
return this->createVerifyScheme(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DypnsapiClient::TwiceTelVerifyOutcome DypnsapiClient::twiceTelVerify(const TwiceTelVerifyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TwiceTelVerifyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TwiceTelVerifyOutcome(TwiceTelVerifyResult(outcome.result()));
else
return TwiceTelVerifyOutcome(outcome.error());
}
void DypnsapiClient::twiceTelVerifyAsync(const TwiceTelVerifyRequest& request, const TwiceTelVerifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, twiceTelVerify(request), context);
};
asyncExecute(new Runnable(fn));
}
DypnsapiClient::TwiceTelVerifyOutcomeCallable DypnsapiClient::twiceTelVerifyCallable(const TwiceTelVerifyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TwiceTelVerifyOutcome()>>(
[this, request]()
{
return this->twiceTelVerify(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DypnsapiClient::GetMobileOutcome DypnsapiClient::getMobile(const GetMobileRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMobileOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMobileOutcome(GetMobileResult(outcome.result()));
else
return GetMobileOutcome(outcome.error());
}
void DypnsapiClient::getMobileAsync(const GetMobileRequest& request, const GetMobileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMobile(request), context);
};
asyncExecute(new Runnable(fn));
}
DypnsapiClient::GetMobileOutcomeCallable DypnsapiClient::getMobileCallable(const GetMobileRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMobileOutcome()>>(
[this, request]()
{
return this->getMobile(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
DypnsapiClient::VerifyMobileOutcome DypnsapiClient::verifyMobile(const VerifyMobileRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return VerifyMobileOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return VerifyMobileOutcome(VerifyMobileResult(outcome.result()));
else
return VerifyMobileOutcome(outcome.error());
}
void DypnsapiClient::verifyMobileAsync(const VerifyMobileRequest& request, const VerifyMobileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, verifyMobile(request), context);
};
asyncExecute(new Runnable(fn));
}
DypnsapiClient::VerifyMobileOutcomeCallable DypnsapiClient::verifyMobileCallable(const VerifyMobileRequest &request) const
{
auto task = std::make_shared<std::packaged_task<VerifyMobileOutcome()>>(
[this, request]()
{
return this->verifyMobile(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -1,30 +1,30 @@
/*
* 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/dypnsapi/model/CreateVerifySchemeRequest.h>
using AlibabaCloud::Dypnsapi::Model::CreateVerifySchemeRequest;
CreateVerifySchemeRequest::CreateVerifySchemeRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "CreateVerifyScheme")
{}
CreateVerifySchemeRequest::~CreateVerifySchemeRequest()
{}
/*
* 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/dypnsapi/model/CreateVerifySchemeRequest.h>
using AlibabaCloud::Dypnsapi::Model::CreateVerifySchemeRequest;
CreateVerifySchemeRequest::CreateVerifySchemeRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "CreateVerifyScheme")
{}
CreateVerifySchemeRequest::~CreateVerifySchemeRequest()
{}
long CreateVerifySchemeRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
@@ -36,15 +36,26 @@ void CreateVerifySchemeRequest::setResourceOwnerId(long resourceOwnerId)
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string CreateVerifySchemeRequest::getPackName()const
std::string CreateVerifySchemeRequest::getBundleId()const
{
return packName_;
return bundleId_;
}
void CreateVerifySchemeRequest::setPackName(const std::string& packName)
void CreateVerifySchemeRequest::setBundleId(const std::string& bundleId)
{
packName_ = packName;
setCoreParameter("PackName", packName);
bundleId_ = bundleId;
setCoreParameter("BundleId", bundleId);
}
std::string CreateVerifySchemeRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void CreateVerifySchemeRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string CreateVerifySchemeRequest::getAppName()const
@@ -58,6 +69,28 @@ void CreateVerifySchemeRequest::setAppName(const std::string& appName)
setCoreParameter("AppName", appName);
}
std::string CreateVerifySchemeRequest::getPackSign()const
{
return packSign_;
}
void CreateVerifySchemeRequest::setPackSign(const std::string& packSign)
{
packSign_ = packSign;
setCoreParameter("PackSign", packSign);
}
std::string CreateVerifySchemeRequest::getPackName()const
{
return packName_;
}
void CreateVerifySchemeRequest::setPackName(const std::string& packName)
{
packName_ = packName;
setCoreParameter("PackName", packName);
}
std::string CreateVerifySchemeRequest::getResourceOwnerAccount()const
{
return resourceOwnerAccount_;
@@ -69,28 +102,6 @@ void CreateVerifySchemeRequest::setResourceOwnerAccount(const std::string& resou
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string CreateVerifySchemeRequest::getSchemeName()const
{
return schemeName_;
}
void CreateVerifySchemeRequest::setSchemeName(const std::string& schemeName)
{
schemeName_ = schemeName;
setCoreParameter("SchemeName", schemeName);
}
std::string CreateVerifySchemeRequest::getBundleId()const
{
return bundleId_;
}
void CreateVerifySchemeRequest::setBundleId(const std::string& bundleId)
{
bundleId_ = bundleId;
setCoreParameter("BundleId", bundleId);
}
std::string CreateVerifySchemeRequest::getOsType()const
{
return osType_;
@@ -113,25 +124,14 @@ void CreateVerifySchemeRequest::setOwnerId(long ownerId)
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string CreateVerifySchemeRequest::getAccessKeyId()const
std::string CreateVerifySchemeRequest::getSchemeName()const
{
return accessKeyId_;
return schemeName_;
}
void CreateVerifySchemeRequest::setAccessKeyId(const std::string& accessKeyId)
void CreateVerifySchemeRequest::setSchemeName(const std::string& schemeName)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string CreateVerifySchemeRequest::getPackSign()const
{
return packSign_;
}
void CreateVerifySchemeRequest::setPackSign(const std::string& packSign)
{
packSign_ = packSign;
setCoreParameter("PackSign", packSign);
schemeName_ = schemeName;
setCoreParameter("SchemeName", schemeName);
}

View File

@@ -1,45 +1,44 @@
/*
* 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/dypnsapi/model/CreateVerifySchemeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
CreateVerifySchemeResult::CreateVerifySchemeResult() :
ServiceResult()
{}
CreateVerifySchemeResult::CreateVerifySchemeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateVerifySchemeResult::~CreateVerifySchemeResult()
{}
void CreateVerifySchemeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/dypnsapi/model/CreateVerifySchemeResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
CreateVerifySchemeResult::CreateVerifySchemeResult() :
ServiceResult()
{}
CreateVerifySchemeResult::CreateVerifySchemeResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateVerifySchemeResult::~CreateVerifySchemeResult()
{}
void CreateVerifySchemeResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto gateVerifySchemeDTONode = value["GateVerifySchemeDTO"];
if(!gateVerifySchemeDTONode["SchemeCode"].isNull())
gateVerifySchemeDTO_.schemeCode = gateVerifySchemeDTONode["SchemeCode"].asString();
@@ -47,9 +46,9 @@ void CreateVerifySchemeResult::parse(const std::string &payload)
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
}
std::string CreateVerifySchemeResult::getMessage()const
{
return message_;

View File

@@ -1,30 +1,30 @@
/*
* 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/dypnsapi/model/GetMobileRequest.h>
using AlibabaCloud::Dypnsapi::Model::GetMobileRequest;
GetMobileRequest::GetMobileRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "GetMobile")
{}
GetMobileRequest::~GetMobileRequest()
{}
/*
* 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/dypnsapi/model/GetMobileRequest.h>
using AlibabaCloud::Dypnsapi::Model::GetMobileRequest;
GetMobileRequest::GetMobileRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "GetMobile")
{}
GetMobileRequest::~GetMobileRequest()
{}
long GetMobileRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
@@ -58,17 +58,6 @@ void GetMobileRequest::setAccessToken(const std::string& accessToken)
setCoreParameter("AccessToken", accessToken);
}
std::string GetMobileRequest::getOutId()const
{
return outId_;
}
void GetMobileRequest::setOutId(const std::string& outId)
{
outId_ = outId;
setCoreParameter("OutId", outId);
}
long GetMobileRequest::getOwnerId()const
{
return ownerId_;
@@ -91,3 +80,14 @@ void GetMobileRequest::setAccessKeyId(const std::string& accessKeyId)
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string GetMobileRequest::getOutId()const
{
return outId_;
}
void GetMobileRequest::setOutId(const std::string& outId)
{
outId_ = outId;
setCoreParameter("OutId", outId);
}

View File

@@ -1,45 +1,44 @@
/*
* 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/dypnsapi/model/GetMobileResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
GetMobileResult::GetMobileResult() :
ServiceResult()
{}
GetMobileResult::GetMobileResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMobileResult::~GetMobileResult()
{}
void GetMobileResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/dypnsapi/model/GetMobileResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
GetMobileResult::GetMobileResult() :
ServiceResult()
{}
GetMobileResult::GetMobileResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMobileResult::~GetMobileResult()
{}
void GetMobileResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto getMobileResultDTONode = value["GetMobileResultDTO"];
if(!getMobileResultDTONode["Mobile"].isNull())
getMobileResultDTO_.mobile = getMobileResultDTONode["Mobile"].asString();
@@ -47,9 +46,9 @@ void GetMobileResult::parse(const std::string &payload)
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
}
std::string GetMobileResult::getMessage()const
{
return message_;

View File

@@ -1,30 +1,30 @@
/*
* 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/dypnsapi/model/TwiceTelVerifyRequest.h>
using AlibabaCloud::Dypnsapi::Model::TwiceTelVerifyRequest;
TwiceTelVerifyRequest::TwiceTelVerifyRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "TwiceTelVerify")
{}
TwiceTelVerifyRequest::~TwiceTelVerifyRequest()
{}
/*
* 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/dypnsapi/model/TwiceTelVerifyRequest.h>
using AlibabaCloud::Dypnsapi::Model::TwiceTelVerifyRequest;
TwiceTelVerifyRequest::TwiceTelVerifyRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "TwiceTelVerify")
{}
TwiceTelVerifyRequest::~TwiceTelVerifyRequest()
{}
long TwiceTelVerifyRequest::getResourceOwnerId()const
{
return resourceOwnerId_;

View File

@@ -1,45 +1,44 @@
/*
* 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/dypnsapi/model/TwiceTelVerifyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
TwiceTelVerifyResult::TwiceTelVerifyResult() :
ServiceResult()
{}
TwiceTelVerifyResult::TwiceTelVerifyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TwiceTelVerifyResult::~TwiceTelVerifyResult()
{}
void TwiceTelVerifyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/dypnsapi/model/TwiceTelVerifyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
TwiceTelVerifyResult::TwiceTelVerifyResult() :
ServiceResult()
{}
TwiceTelVerifyResult::TwiceTelVerifyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TwiceTelVerifyResult::~TwiceTelVerifyResult()
{}
void TwiceTelVerifyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto twiceTelVerifyResultNode = value["TwiceTelVerifyResult"];
if(!twiceTelVerifyResultNode["Carrier"].isNull())
twiceTelVerifyResult_.carrier = twiceTelVerifyResultNode["Carrier"].asString();
@@ -49,9 +48,9 @@ void TwiceTelVerifyResult::parse(const std::string &payload)
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
}
std::string TwiceTelVerifyResult::getMessage()const
{
return message_;

View File

@@ -1,30 +1,30 @@
/*
* 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/dypnsapi/model/VerifyMobileRequest.h>
using AlibabaCloud::Dypnsapi::Model::VerifyMobileRequest;
VerifyMobileRequest::VerifyMobileRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "VerifyMobile")
{}
VerifyMobileRequest::~VerifyMobileRequest()
{}
/*
* 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/dypnsapi/model/VerifyMobileRequest.h>
using AlibabaCloud::Dypnsapi::Model::VerifyMobileRequest;
VerifyMobileRequest::VerifyMobileRequest() :
RpcServiceRequest("dypnsapi", "2017-05-25", "VerifyMobile")
{}
VerifyMobileRequest::~VerifyMobileRequest()
{}
long VerifyMobileRequest::getResourceOwnerId()const
{
return resourceOwnerId_;
@@ -36,6 +36,28 @@ void VerifyMobileRequest::setResourceOwnerId(long resourceOwnerId)
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
}
std::string VerifyMobileRequest::getPhoneNumber()const
{
return phoneNumber_;
}
void VerifyMobileRequest::setPhoneNumber(const std::string& phoneNumber)
{
phoneNumber_ = phoneNumber;
setCoreParameter("PhoneNumber", phoneNumber);
}
std::string VerifyMobileRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void VerifyMobileRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string VerifyMobileRequest::getAccessCode()const
{
return accessCode_;
@@ -58,15 +80,15 @@ void VerifyMobileRequest::setResourceOwnerAccount(const std::string& resourceOwn
setCoreParameter("ResourceOwnerAccount", resourceOwnerAccount);
}
std::string VerifyMobileRequest::getPhoneNumber()const
long VerifyMobileRequest::getOwnerId()const
{
return phoneNumber_;
return ownerId_;
}
void VerifyMobileRequest::setPhoneNumber(const std::string& phoneNumber)
void VerifyMobileRequest::setOwnerId(long ownerId)
{
phoneNumber_ = phoneNumber;
setCoreParameter("PhoneNumber", phoneNumber);
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string VerifyMobileRequest::getOutId()const
@@ -80,25 +102,3 @@ void VerifyMobileRequest::setOutId(const std::string& outId)
setCoreParameter("OutId", outId);
}
long VerifyMobileRequest::getOwnerId()const
{
return ownerId_;
}
void VerifyMobileRequest::setOwnerId(long ownerId)
{
ownerId_ = ownerId;
setCoreParameter("OwnerId", std::to_string(ownerId));
}
std::string VerifyMobileRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void VerifyMobileRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,45 +1,44 @@
/*
* 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/dypnsapi/model/VerifyMobileResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
VerifyMobileResult::VerifyMobileResult() :
ServiceResult()
{}
VerifyMobileResult::VerifyMobileResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VerifyMobileResult::~VerifyMobileResult()
{}
void VerifyMobileResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* 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/dypnsapi/model/VerifyMobileResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Dypnsapi;
using namespace AlibabaCloud::Dypnsapi::Model;
VerifyMobileResult::VerifyMobileResult() :
ServiceResult()
{}
VerifyMobileResult::VerifyMobileResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
VerifyMobileResult::~VerifyMobileResult()
{}
void VerifyMobileResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto gateVerifyResultDTONode = value["GateVerifyResultDTO"];
if(!gateVerifyResultDTONode["VerifyId"].isNull())
gateVerifyResultDTO_.verifyId = gateVerifyResultDTONode["VerifyId"].asString();
@@ -49,9 +48,9 @@ void VerifyMobileResult::parse(const std::string &payload)
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
}
VerifyMobileResult::GateVerifyResultDTO VerifyMobileResult::getGateVerifyResultDTO()const
{
return gateVerifyResultDTO_;