Add fields faceComparisonScore for DescribeVerifyResult and VerifyMaterials interface.
This commit is contained in:
@@ -26,26 +26,44 @@
|
||||
#include "model/CompareFacesResult.h"
|
||||
#include "model/CreateAuthKeyRequest.h"
|
||||
#include "model/CreateAuthKeyResult.h"
|
||||
#include "model/CreateRPSDKRequest.h"
|
||||
#include "model/CreateRPSDKResult.h"
|
||||
#include "model/CreateVerifySDKRequest.h"
|
||||
#include "model/CreateVerifySDKResult.h"
|
||||
#include "model/CreateVerifySettingRequest.h"
|
||||
#include "model/CreateVerifySettingResult.h"
|
||||
#include "model/DescribeDeviceInfoRequest.h"
|
||||
#include "model/DescribeDeviceInfoResult.h"
|
||||
#include "model/DescribeFaceUsageRequest.h"
|
||||
#include "model/DescribeFaceUsageResult.h"
|
||||
#include "model/DescribeOssUploadTokenRequest.h"
|
||||
#include "model/DescribeOssUploadTokenResult.h"
|
||||
#include "model/DescribeRPSDKRequest.h"
|
||||
#include "model/DescribeRPSDKResult.h"
|
||||
#include "model/DescribeUploadInfoRequest.h"
|
||||
#include "model/DescribeUploadInfoResult.h"
|
||||
#include "model/DescribeUserStatusRequest.h"
|
||||
#include "model/DescribeUserStatusResult.h"
|
||||
#include "model/DescribeVerifyRecordsRequest.h"
|
||||
#include "model/DescribeVerifyRecordsResult.h"
|
||||
#include "model/DescribeVerifyResultRequest.h"
|
||||
#include "model/DescribeVerifyResultResult.h"
|
||||
#include "model/DescribeVerifySDKRequest.h"
|
||||
#include "model/DescribeVerifySDKResult.h"
|
||||
#include "model/DescribeVerifySettingRequest.h"
|
||||
#include "model/DescribeVerifySettingResult.h"
|
||||
#include "model/DescribeVerifyTokenRequest.h"
|
||||
#include "model/DescribeVerifyTokenResult.h"
|
||||
#include "model/DescribeVerifyUsageRequest.h"
|
||||
#include "model/DescribeVerifyUsageResult.h"
|
||||
#include "model/DetectFaceAttributesRequest.h"
|
||||
#include "model/DetectFaceAttributesResult.h"
|
||||
#include "model/GetMaterialsRequest.h"
|
||||
#include "model/GetMaterialsResult.h"
|
||||
#include "model/GetStatusRequest.h"
|
||||
#include "model/GetStatusResult.h"
|
||||
#include "model/GetVerifyTokenRequest.h"
|
||||
#include "model/GetVerifyTokenResult.h"
|
||||
#include "model/ModifyDeviceInfoRequest.h"
|
||||
#include "model/ModifyDeviceInfoResult.h"
|
||||
#include "model/SubmitMaterialsRequest.h"
|
||||
#include "model/SubmitMaterialsResult.h"
|
||||
#include "model/SubmitVerificationRequest.h"
|
||||
#include "model/SubmitVerificationResult.h"
|
||||
#include "model/UpdateVerifySettingRequest.h"
|
||||
#include "model/UpdateVerifySettingResult.h"
|
||||
#include "model/VerifyMaterialRequest.h"
|
||||
#include "model/VerifyMaterialResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -61,36 +79,63 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateAuthKeyResult> CreateAuthKeyOutcome;
|
||||
typedef std::future<CreateAuthKeyOutcome> CreateAuthKeyOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::CreateAuthKeyRequest&, const CreateAuthKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAuthKeyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateRPSDKResult> CreateRPSDKOutcome;
|
||||
typedef std::future<CreateRPSDKOutcome> CreateRPSDKOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::CreateRPSDKRequest&, const CreateRPSDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRPSDKAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateVerifySDKResult> CreateVerifySDKOutcome;
|
||||
typedef std::future<CreateVerifySDKOutcome> CreateVerifySDKOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::CreateVerifySDKRequest&, const CreateVerifySDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySDKAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateVerifySettingResult> CreateVerifySettingOutcome;
|
||||
typedef std::future<CreateVerifySettingOutcome> CreateVerifySettingOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::CreateVerifySettingRequest&, const CreateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDeviceInfoResult> DescribeDeviceInfoOutcome;
|
||||
typedef std::future<DescribeDeviceInfoOutcome> DescribeDeviceInfoOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeDeviceInfoRequest&, const DescribeDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeviceInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeFaceUsageResult> DescribeFaceUsageOutcome;
|
||||
typedef std::future<DescribeFaceUsageOutcome> DescribeFaceUsageOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeFaceUsageRequest&, const DescribeFaceUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeFaceUsageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeOssUploadTokenResult> DescribeOssUploadTokenOutcome;
|
||||
typedef std::future<DescribeOssUploadTokenOutcome> DescribeOssUploadTokenOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeOssUploadTokenRequest&, const DescribeOssUploadTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOssUploadTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRPSDKResult> DescribeRPSDKOutcome;
|
||||
typedef std::future<DescribeRPSDKOutcome> DescribeRPSDKOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeRPSDKRequest&, const DescribeRPSDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRPSDKAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUploadInfoResult> DescribeUploadInfoOutcome;
|
||||
typedef std::future<DescribeUploadInfoOutcome> DescribeUploadInfoOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeUploadInfoRequest&, const DescribeUploadInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUploadInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserStatusResult> DescribeUserStatusOutcome;
|
||||
typedef std::future<DescribeUserStatusOutcome> DescribeUserStatusOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeUserStatusRequest&, const DescribeUserStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeVerifyRecordsResult> DescribeVerifyRecordsOutcome;
|
||||
typedef std::future<DescribeVerifyRecordsOutcome> DescribeVerifyRecordsOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifyRecordsRequest&, const DescribeVerifyRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeVerifyResultResult> DescribeVerifyResultOutcome;
|
||||
typedef std::future<DescribeVerifyResultOutcome> DescribeVerifyResultOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifyResultRequest&, const DescribeVerifyResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyResultAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeVerifySDKResult> DescribeVerifySDKOutcome;
|
||||
typedef std::future<DescribeVerifySDKOutcome> DescribeVerifySDKOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifySDKRequest&, const DescribeVerifySDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifySDKAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeVerifySettingResult> DescribeVerifySettingOutcome;
|
||||
typedef std::future<DescribeVerifySettingOutcome> DescribeVerifySettingOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifySettingRequest&, const DescribeVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifySettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeVerifyTokenResult> DescribeVerifyTokenOutcome;
|
||||
typedef std::future<DescribeVerifyTokenOutcome> DescribeVerifyTokenOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifyTokenRequest&, const DescribeVerifyTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeVerifyUsageResult> DescribeVerifyUsageOutcome;
|
||||
typedef std::future<DescribeVerifyUsageOutcome> DescribeVerifyUsageOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DescribeVerifyUsageRequest&, const DescribeVerifyUsageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeVerifyUsageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectFaceAttributesResult> DetectFaceAttributesOutcome;
|
||||
typedef std::future<DetectFaceAttributesOutcome> DetectFaceAttributesOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::DetectFaceAttributesRequest&, const DetectFaceAttributesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectFaceAttributesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMaterialsResult> GetMaterialsOutcome;
|
||||
typedef std::future<GetMaterialsOutcome> GetMaterialsOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::GetMaterialsRequest&, const GetMaterialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMaterialsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetStatusResult> GetStatusOutcome;
|
||||
typedef std::future<GetStatusOutcome> GetStatusOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::GetStatusRequest&, const GetStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetVerifyTokenResult> GetVerifyTokenOutcome;
|
||||
typedef std::future<GetVerifyTokenOutcome> GetVerifyTokenOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::GetVerifyTokenRequest&, const GetVerifyTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetVerifyTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
|
||||
typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitMaterialsResult> SubmitMaterialsOutcome;
|
||||
typedef std::future<SubmitMaterialsOutcome> SubmitMaterialsOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::SubmitMaterialsRequest&, const SubmitMaterialsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitMaterialsAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitVerificationResult> SubmitVerificationOutcome;
|
||||
typedef std::future<SubmitVerificationOutcome> SubmitVerificationOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::SubmitVerificationRequest&, const SubmitVerificationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitVerificationAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateVerifySettingResult> UpdateVerifySettingOutcome;
|
||||
typedef std::future<UpdateVerifySettingOutcome> UpdateVerifySettingOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::UpdateVerifySettingRequest&, const UpdateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVerifySettingAsyncHandler;
|
||||
typedef Outcome<Error, Model::VerifyMaterialResult> VerifyMaterialOutcome;
|
||||
typedef std::future<VerifyMaterialOutcome> VerifyMaterialOutcomeCallable;
|
||||
typedef std::function<void(const CloudauthClient*, const Model::VerifyMaterialRequest&, const VerifyMaterialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> VerifyMaterialAsyncHandler;
|
||||
|
||||
CloudauthClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CloudauthClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -102,36 +147,63 @@ namespace AlibabaCloud
|
||||
CreateAuthKeyOutcome createAuthKey(const Model::CreateAuthKeyRequest &request)const;
|
||||
void createAuthKeyAsync(const Model::CreateAuthKeyRequest& request, const CreateAuthKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAuthKeyOutcomeCallable createAuthKeyCallable(const Model::CreateAuthKeyRequest& request) const;
|
||||
CreateRPSDKOutcome createRPSDK(const Model::CreateRPSDKRequest &request)const;
|
||||
void createRPSDKAsync(const Model::CreateRPSDKRequest& request, const CreateRPSDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateRPSDKOutcomeCallable createRPSDKCallable(const Model::CreateRPSDKRequest& request) const;
|
||||
CreateVerifySDKOutcome createVerifySDK(const Model::CreateVerifySDKRequest &request)const;
|
||||
void createVerifySDKAsync(const Model::CreateVerifySDKRequest& request, const CreateVerifySDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVerifySDKOutcomeCallable createVerifySDKCallable(const Model::CreateVerifySDKRequest& request) const;
|
||||
CreateVerifySettingOutcome createVerifySetting(const Model::CreateVerifySettingRequest &request)const;
|
||||
void createVerifySettingAsync(const Model::CreateVerifySettingRequest& request, const CreateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateVerifySettingOutcomeCallable createVerifySettingCallable(const Model::CreateVerifySettingRequest& request) const;
|
||||
DescribeDeviceInfoOutcome describeDeviceInfo(const Model::DescribeDeviceInfoRequest &request)const;
|
||||
void describeDeviceInfoAsync(const Model::DescribeDeviceInfoRequest& request, const DescribeDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDeviceInfoOutcomeCallable describeDeviceInfoCallable(const Model::DescribeDeviceInfoRequest& request) const;
|
||||
DescribeFaceUsageOutcome describeFaceUsage(const Model::DescribeFaceUsageRequest &request)const;
|
||||
void describeFaceUsageAsync(const Model::DescribeFaceUsageRequest& request, const DescribeFaceUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeFaceUsageOutcomeCallable describeFaceUsageCallable(const Model::DescribeFaceUsageRequest& request) const;
|
||||
DescribeOssUploadTokenOutcome describeOssUploadToken(const Model::DescribeOssUploadTokenRequest &request)const;
|
||||
void describeOssUploadTokenAsync(const Model::DescribeOssUploadTokenRequest& request, const DescribeOssUploadTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeOssUploadTokenOutcomeCallable describeOssUploadTokenCallable(const Model::DescribeOssUploadTokenRequest& request) const;
|
||||
DescribeRPSDKOutcome describeRPSDK(const Model::DescribeRPSDKRequest &request)const;
|
||||
void describeRPSDKAsync(const Model::DescribeRPSDKRequest& request, const DescribeRPSDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRPSDKOutcomeCallable describeRPSDKCallable(const Model::DescribeRPSDKRequest& request) const;
|
||||
DescribeUploadInfoOutcome describeUploadInfo(const Model::DescribeUploadInfoRequest &request)const;
|
||||
void describeUploadInfoAsync(const Model::DescribeUploadInfoRequest& request, const DescribeUploadInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUploadInfoOutcomeCallable describeUploadInfoCallable(const Model::DescribeUploadInfoRequest& request) const;
|
||||
DescribeUserStatusOutcome describeUserStatus(const Model::DescribeUserStatusRequest &request)const;
|
||||
void describeUserStatusAsync(const Model::DescribeUserStatusRequest& request, const DescribeUserStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserStatusOutcomeCallable describeUserStatusCallable(const Model::DescribeUserStatusRequest& request) const;
|
||||
DescribeVerifyRecordsOutcome describeVerifyRecords(const Model::DescribeVerifyRecordsRequest &request)const;
|
||||
void describeVerifyRecordsAsync(const Model::DescribeVerifyRecordsRequest& request, const DescribeVerifyRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeVerifyRecordsOutcomeCallable describeVerifyRecordsCallable(const Model::DescribeVerifyRecordsRequest& request) const;
|
||||
DescribeVerifyResultOutcome describeVerifyResult(const Model::DescribeVerifyResultRequest &request)const;
|
||||
void describeVerifyResultAsync(const Model::DescribeVerifyResultRequest& request, const DescribeVerifyResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeVerifyResultOutcomeCallable describeVerifyResultCallable(const Model::DescribeVerifyResultRequest& request) const;
|
||||
DescribeVerifySDKOutcome describeVerifySDK(const Model::DescribeVerifySDKRequest &request)const;
|
||||
void describeVerifySDKAsync(const Model::DescribeVerifySDKRequest& request, const DescribeVerifySDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeVerifySDKOutcomeCallable describeVerifySDKCallable(const Model::DescribeVerifySDKRequest& request) const;
|
||||
DescribeVerifySettingOutcome describeVerifySetting(const Model::DescribeVerifySettingRequest &request)const;
|
||||
void describeVerifySettingAsync(const Model::DescribeVerifySettingRequest& request, const DescribeVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeVerifySettingOutcomeCallable describeVerifySettingCallable(const Model::DescribeVerifySettingRequest& request) const;
|
||||
DescribeVerifyTokenOutcome describeVerifyToken(const Model::DescribeVerifyTokenRequest &request)const;
|
||||
void describeVerifyTokenAsync(const Model::DescribeVerifyTokenRequest& request, const DescribeVerifyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeVerifyTokenOutcomeCallable describeVerifyTokenCallable(const Model::DescribeVerifyTokenRequest& request) const;
|
||||
DescribeVerifyUsageOutcome describeVerifyUsage(const Model::DescribeVerifyUsageRequest &request)const;
|
||||
void describeVerifyUsageAsync(const Model::DescribeVerifyUsageRequest& request, const DescribeVerifyUsageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeVerifyUsageOutcomeCallable describeVerifyUsageCallable(const Model::DescribeVerifyUsageRequest& request) const;
|
||||
DetectFaceAttributesOutcome detectFaceAttributes(const Model::DetectFaceAttributesRequest &request)const;
|
||||
void detectFaceAttributesAsync(const Model::DetectFaceAttributesRequest& request, const DetectFaceAttributesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectFaceAttributesOutcomeCallable detectFaceAttributesCallable(const Model::DetectFaceAttributesRequest& request) const;
|
||||
GetMaterialsOutcome getMaterials(const Model::GetMaterialsRequest &request)const;
|
||||
void getMaterialsAsync(const Model::GetMaterialsRequest& request, const GetMaterialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMaterialsOutcomeCallable getMaterialsCallable(const Model::GetMaterialsRequest& request) const;
|
||||
GetStatusOutcome getStatus(const Model::GetStatusRequest &request)const;
|
||||
void getStatusAsync(const Model::GetStatusRequest& request, const GetStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetStatusOutcomeCallable getStatusCallable(const Model::GetStatusRequest& request) const;
|
||||
GetVerifyTokenOutcome getVerifyToken(const Model::GetVerifyTokenRequest &request)const;
|
||||
void getVerifyTokenAsync(const Model::GetVerifyTokenRequest& request, const GetVerifyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetVerifyTokenOutcomeCallable getVerifyTokenCallable(const Model::GetVerifyTokenRequest& request) const;
|
||||
ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
|
||||
void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;
|
||||
SubmitMaterialsOutcome submitMaterials(const Model::SubmitMaterialsRequest &request)const;
|
||||
void submitMaterialsAsync(const Model::SubmitMaterialsRequest& request, const SubmitMaterialsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitMaterialsOutcomeCallable submitMaterialsCallable(const Model::SubmitMaterialsRequest& request) const;
|
||||
SubmitVerificationOutcome submitVerification(const Model::SubmitVerificationRequest &request)const;
|
||||
void submitVerificationAsync(const Model::SubmitVerificationRequest& request, const SubmitVerificationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitVerificationOutcomeCallable submitVerificationCallable(const Model::SubmitVerificationRequest& request) const;
|
||||
UpdateVerifySettingOutcome updateVerifySetting(const Model::UpdateVerifySettingRequest &request)const;
|
||||
void updateVerifySettingAsync(const Model::UpdateVerifySettingRequest& request, const UpdateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateVerifySettingOutcomeCallable updateVerifySettingCallable(const Model::UpdateVerifySettingRequest& request) const;
|
||||
VerifyMaterialOutcome verifyMaterial(const Model::VerifyMaterialRequest &request)const;
|
||||
void verifyMaterialAsync(const Model::VerifyMaterialRequest& request, const VerifyMaterialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
VerifyMaterialOutcomeCallable verifyMaterialCallable(const Model::VerifyMaterialRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetMaterialsRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT CreateRPSDKRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetMaterialsRequest();
|
||||
~GetMaterialsRequest();
|
||||
CreateRPSDKRequest();
|
||||
~CreateRPSDKRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getBiz()const;
|
||||
void setBiz(const std::string& biz);
|
||||
std::string getAppUrl()const;
|
||||
void setAppUrl(const std::string& appUrl);
|
||||
std::string getPlatform()const;
|
||||
void setPlatform(const std::string& platform);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getTicketId()const;
|
||||
void setTicketId(const std::string& ticketId);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string biz_;
|
||||
std::string appUrl_;
|
||||
std::string platform_;
|
||||
std::string sourceIp_;
|
||||
std::string ticketId_;
|
||||
std::string lang_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_CREATERPSDKRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT CreateRPSDKResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateRPSDKResult();
|
||||
explicit CreateRPSDKResult(const std::string &payload);
|
||||
~CreateRPSDKResult();
|
||||
std::string getTaskId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATERPSDKRESULT_H_
|
||||
@@ -0,0 +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_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT CreateVerifySettingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateVerifySettingRequest();
|
||||
~CreateVerifySettingRequest();
|
||||
|
||||
bool getGuideStep()const;
|
||||
void setGuideStep(bool guideStep);
|
||||
bool getResultStep()const;
|
||||
void setResultStep(bool resultStep);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getSolution()const;
|
||||
void setSolution(const std::string& solution);
|
||||
std::string getBizName()const;
|
||||
void setBizName(const std::string& bizName);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
bool getPrivacyStep()const;
|
||||
void setPrivacyStep(bool privacyStep);
|
||||
|
||||
private:
|
||||
bool guideStep_;
|
||||
bool resultStep_;
|
||||
std::string sourceIp_;
|
||||
std::string solution_;
|
||||
std::string bizName_;
|
||||
std::string bizType_;
|
||||
bool privacyStep_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT CreateVerifySettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateVerifySettingResult();
|
||||
explicit CreateVerifySettingResult(const std::string &payload);
|
||||
~CreateVerifySettingResult();
|
||||
std::vector<std::string> getStepList()const;
|
||||
std::string getBizType()const;
|
||||
std::string getBizName()const;
|
||||
std::string getSolution()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> stepList_;
|
||||
std::string bizType_;
|
||||
std::string bizName_;
|
||||
std::string solution_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_CREATEVERIFYSETTINGRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_GETSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETSTATUSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetStatusRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeFaceUsageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetStatusRequest();
|
||||
~GetStatusRequest();
|
||||
DescribeFaceUsageRequest();
|
||||
~DescribeFaceUsageRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getBiz()const;
|
||||
void setBiz(const std::string& biz);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getTicketId()const;
|
||||
void setTicketId(const std::string& ticketId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string biz_;
|
||||
std::string startDate_;
|
||||
std::string endDate_;
|
||||
std::string sourceIp_;
|
||||
std::string ticketId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETSTATUSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_GETSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETSTATUSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGERESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,37 +29,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetStatusResult : public ServiceResult
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeFaceUsageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
struct FaceUsage
|
||||
{
|
||||
std::string auditConclusions;
|
||||
float trustedScore;
|
||||
float authorityComparisonScore;
|
||||
float similarityScore;
|
||||
int statusCode;
|
||||
long totalCount;
|
||||
std::string date;
|
||||
};
|
||||
|
||||
|
||||
GetStatusResult();
|
||||
explicit GetStatusResult(const std::string &payload);
|
||||
~GetStatusResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
DescribeFaceUsageResult();
|
||||
explicit DescribeFaceUsageResult(const std::string &payload);
|
||||
~DescribeFaceUsageResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<FaceUsage> getFaceUsageList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
int totalCount_;
|
||||
std::vector<FaceUsage> faceUsageList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETSTATUSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEFACEUSAGERESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,35 +28,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT SubmitMaterialsRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeOssUploadTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Material
|
||||
{
|
||||
std::string materialType;
|
||||
std::string value;
|
||||
};
|
||||
|
||||
public:
|
||||
SubmitMaterialsRequest();
|
||||
~SubmitMaterialsRequest();
|
||||
DescribeOssUploadTokenRequest();
|
||||
~DescribeOssUploadTokenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getVerifyToken()const;
|
||||
void setVerifyToken(const std::string& verifyToken);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::vector<Material> getMaterial()const;
|
||||
void setMaterial(const std::vector<Material>& material);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string verifyToken_;
|
||||
std::string sourceIp_;
|
||||
std::vector<Material> material_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,41 +29,33 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT SubmitMaterialsResult : public ServiceResult
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeOssUploadTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
struct OssUploadToken
|
||||
{
|
||||
struct VerifyStatus
|
||||
{
|
||||
std::string auditConclusions;
|
||||
float trustedScore;
|
||||
float authorityComparisonScore;
|
||||
float similarityScore;
|
||||
int statusCode;
|
||||
};
|
||||
VerifyStatus verifyStatus;
|
||||
std::string path;
|
||||
std::string secret;
|
||||
std::string bucket;
|
||||
long expired;
|
||||
std::string token;
|
||||
std::string endPoint;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
|
||||
SubmitMaterialsResult();
|
||||
explicit SubmitMaterialsResult(const std::string &payload);
|
||||
~SubmitMaterialsResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
DescribeOssUploadTokenResult();
|
||||
explicit DescribeOssUploadTokenResult(const std::string &payload);
|
||||
~DescribeOssUploadTokenResult();
|
||||
OssUploadToken getOssUploadToken()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
OssUploadToken ossUploadToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITMATERIALSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEOSSUPLOADTOKENRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBERPSDKREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBERPSDKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeRPSDKRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRPSDKRequest();
|
||||
~DescribeRPSDKRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
std::string taskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBERPSDKREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBERPSDKRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBERPSDKRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeRPSDKResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeRPSDKResult();
|
||||
explicit DescribeRPSDKResult(const std::string &payload);
|
||||
~DescribeRPSDKResult();
|
||||
std::string getSdkUrl()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string sdkUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBERPSDKRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,38 +28,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT SubmitVerificationRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUploadInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Material
|
||||
{
|
||||
std::string materialType;
|
||||
std::string value;
|
||||
};
|
||||
|
||||
public:
|
||||
SubmitVerificationRequest();
|
||||
~SubmitVerificationRequest();
|
||||
DescribeUploadInfoRequest();
|
||||
~DescribeUploadInfoRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getBiz()const;
|
||||
void setBiz(const std::string& biz);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::vector<Material> getMaterial()const;
|
||||
void setMaterial(const std::vector<Material>& material);
|
||||
std::string getTicketId()const;
|
||||
void setTicketId(const std::string& ticketId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string biz_;
|
||||
std::string sourceIp_;
|
||||
std::vector<Material> material_;
|
||||
std::string ticketId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFOREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFORESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFORESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,41 +29,33 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT SubmitVerificationResult : public ServiceResult
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUploadInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct VerifyStatus
|
||||
{
|
||||
std::string auditConclusions;
|
||||
float trustedScore;
|
||||
float authorityComparisonScore;
|
||||
float similarityScore;
|
||||
int statusCode;
|
||||
};
|
||||
VerifyStatus verifyStatus;
|
||||
};
|
||||
|
||||
|
||||
SubmitVerificationResult();
|
||||
explicit SubmitVerificationResult(const std::string &payload);
|
||||
~SubmitVerificationResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
DescribeUploadInfoResult();
|
||||
explicit DescribeUploadInfoResult(const std::string &payload);
|
||||
~DescribeUploadInfoResult();
|
||||
std::string getPolicy()const;
|
||||
long getExpire()const;
|
||||
std::string getAccessid()const;
|
||||
std::string getSignature()const;
|
||||
std::string getHost()const;
|
||||
std::string getFolder()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::string policy_;
|
||||
long expire_;
|
||||
std::string accessid_;
|
||||
std::string signature_;
|
||||
std::string host_;
|
||||
std::string folder_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_SUBMITVERIFICATIONRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUPLOADINFORESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUserStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUserStatusRequest();
|
||||
~DescribeUserStatusRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeUserStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeUserStatusResult();
|
||||
explicit DescribeUserStatusResult(const std::string &payload);
|
||||
~DescribeUserStatusResult();
|
||||
bool getEnabled()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool enabled_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEUSERSTATUSRESULT_H_
|
||||
@@ -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_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeVerifyRecordsRequest();
|
||||
~DescribeVerifyRecordsRequest();
|
||||
|
||||
std::string getStatusList()const;
|
||||
void setStatusList(const std::string& statusList);
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getTotalCount()const;
|
||||
void setTotalCount(int totalCount);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getQueryId()const;
|
||||
void setQueryId(const std::string& queryId);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getIdCardNum()const;
|
||||
void setIdCardNum(const std::string& idCardNum);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
|
||||
private:
|
||||
std::string statusList_;
|
||||
std::string startDate_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
int totalCount_;
|
||||
int currentPage_;
|
||||
std::string queryId_;
|
||||
std::string bizType_;
|
||||
std::string idCardNum_;
|
||||
std::string endDate_;
|
||||
std::string bizId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSREQUEST_H_
|
||||
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyRecordsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Records
|
||||
{
|
||||
struct Material
|
||||
{
|
||||
struct IdCardInfo
|
||||
{
|
||||
std::string startDate;
|
||||
std::string number;
|
||||
std::string address;
|
||||
std::string authority;
|
||||
std::string sex;
|
||||
std::string backImageUrl;
|
||||
std::string frontImageUrl;
|
||||
std::string birth;
|
||||
std::string endDate;
|
||||
std::string nationality;
|
||||
std::string name;
|
||||
};
|
||||
std::string idCardName;
|
||||
std::string idCardNumber;
|
||||
IdCardInfo idCardInfo;
|
||||
std::string faceImageUrl;
|
||||
};
|
||||
int status;
|
||||
long finishTime;
|
||||
float authorityComparisonScore;
|
||||
Material material;
|
||||
std::string bizType;
|
||||
std::string bizId;
|
||||
std::string verifyId;
|
||||
float idCardFaceComparisonScore;
|
||||
};
|
||||
|
||||
|
||||
DescribeVerifyRecordsResult();
|
||||
explicit DescribeVerifyRecordsResult(const std::string &payload);
|
||||
~DescribeVerifyRecordsResult();
|
||||
int getTotalCount()const;
|
||||
int getPageSize()const;
|
||||
int getCurrentPage()const;
|
||||
std::vector<Records> getRecordsList()const;
|
||||
std::string getQueryId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::vector<Records> recordsList_;
|
||||
std::string queryId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRECORDSRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyResultRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeVerifyResultRequest();
|
||||
~DescribeVerifyResultRequest();
|
||||
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
|
||||
private:
|
||||
std::string bizType_;
|
||||
std::string sourceIp_;
|
||||
std::string bizId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTREQUEST_H_
|
||||
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyResultResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Material
|
||||
{
|
||||
struct IdCardInfo
|
||||
{
|
||||
std::string startDate;
|
||||
std::string number;
|
||||
std::string address;
|
||||
std::string authority;
|
||||
std::string sex;
|
||||
std::string backImageUrl;
|
||||
std::string frontImageUrl;
|
||||
std::string birth;
|
||||
std::string endDate;
|
||||
std::string nationality;
|
||||
std::string name;
|
||||
};
|
||||
std::string idCardName;
|
||||
std::string idCardNumber;
|
||||
std::vector<std::string> videoUrls;
|
||||
IdCardInfo idCardInfo;
|
||||
std::string faceImageUrl;
|
||||
};
|
||||
|
||||
|
||||
DescribeVerifyResultResult();
|
||||
explicit DescribeVerifyResultResult(const std::string &payload);
|
||||
~DescribeVerifyResultResult();
|
||||
int getVerifyStatus()const;
|
||||
Material getMaterial()const;
|
||||
float getAuthorityComparisionScore()const;
|
||||
float getFaceComparisonScore()const;
|
||||
float getIdCardFaceComparisonScore()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int verifyStatus_;
|
||||
Material material_;
|
||||
float authorityComparisionScore_;
|
||||
float faceComparisonScore_;
|
||||
float idCardFaceComparisonScore_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYRESULTRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifySettingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeVerifySettingRequest();
|
||||
~DescribeVerifySettingRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,44 +29,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetMaterialsResult : public ServiceResult
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifySettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
struct VerifySetting
|
||||
{
|
||||
std::string facePic;
|
||||
std::string identificationNumber;
|
||||
std::string idCardStartDate;
|
||||
std::string address;
|
||||
std::string idCardFrontPic;
|
||||
std::string ethnicGroup;
|
||||
std::string authority;
|
||||
std::string sex;
|
||||
std::string idCardExpiry;
|
||||
std::string idCardType;
|
||||
std::string idCardBackPic;
|
||||
std::string name;
|
||||
std::vector<std::string> stepList;
|
||||
std::string bizType;
|
||||
std::string bizName;
|
||||
std::string solution;
|
||||
};
|
||||
|
||||
|
||||
GetMaterialsResult();
|
||||
explicit GetMaterialsResult(const std::string &payload);
|
||||
~GetMaterialsResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
DescribeVerifySettingResult();
|
||||
explicit DescribeVerifySettingResult(const std::string &payload);
|
||||
~DescribeVerifySettingResult();
|
||||
std::vector<VerifySetting> getVerifySettingList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::vector<VerifySetting> verifySettingList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETMATERIALSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYSETTINGRESULT_H_
|
||||
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeVerifyTokenRequest();
|
||||
~DescribeVerifyTokenRequest();
|
||||
|
||||
std::string getFaceRetainedImageUrl()const;
|
||||
void setFaceRetainedImageUrl(const std::string& faceRetainedImageUrl);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getCallbackSeed()const;
|
||||
void setCallbackSeed(const std::string& callbackSeed);
|
||||
std::string getIdCardBackImageUrl()const;
|
||||
void setIdCardBackImageUrl(const std::string& idCardBackImageUrl);
|
||||
std::string getIdCardNumber()const;
|
||||
void setIdCardNumber(const std::string& idCardNumber);
|
||||
std::string getIdCardFrontImageUrl()const;
|
||||
void setIdCardFrontImageUrl(const std::string& idCardFrontImageUrl);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getPassedRedirectUrl()const;
|
||||
void setPassedRedirectUrl(const std::string& passedRedirectUrl);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getCallbackUrl()const;
|
||||
void setCallbackUrl(const std::string& callbackUrl);
|
||||
std::string getFailedRedirectUrl()const;
|
||||
void setFailedRedirectUrl(const std::string& failedRedirectUrl);
|
||||
|
||||
private:
|
||||
std::string faceRetainedImageUrl_;
|
||||
std::string userId_;
|
||||
std::string sourceIp_;
|
||||
std::string callbackSeed_;
|
||||
std::string idCardBackImageUrl_;
|
||||
std::string idCardNumber_;
|
||||
std::string idCardFrontImageUrl_;
|
||||
std::string bizType_;
|
||||
std::string passedRedirectUrl_;
|
||||
std::string bizId_;
|
||||
std::string name_;
|
||||
std::string callbackUrl_;
|
||||
std::string failedRedirectUrl_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OssUploadToken
|
||||
{
|
||||
std::string path;
|
||||
std::string secret;
|
||||
std::string bucket;
|
||||
long expired;
|
||||
std::string token;
|
||||
std::string endPoint;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
|
||||
DescribeVerifyTokenResult();
|
||||
explicit DescribeVerifyTokenResult(const std::string &payload);
|
||||
~DescribeVerifyTokenResult();
|
||||
std::string getVerifyPageUrl()const;
|
||||
OssUploadToken getOssUploadToken()const;
|
||||
std::string getVerifyToken()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string verifyPageUrl_;
|
||||
OssUploadToken ossUploadToken_;
|
||||
std::string verifyToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYTOKENRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyUsageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeVerifyUsageRequest();
|
||||
~DescribeVerifyUsageRequest();
|
||||
|
||||
std::string getStartDate()const;
|
||||
void setStartDate(const std::string& startDate);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getEndDate()const;
|
||||
void setEndDate(const std::string& endDate);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
|
||||
private:
|
||||
std::string startDate_;
|
||||
std::string bizType_;
|
||||
std::string endDate_;
|
||||
std::string sourceIp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGEREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGERESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeVerifyUsageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct VerifyUsage
|
||||
{
|
||||
long totalCount;
|
||||
long failCount;
|
||||
std::string bizType;
|
||||
long passCount;
|
||||
std::string date;
|
||||
};
|
||||
|
||||
|
||||
DescribeVerifyUsageResult();
|
||||
explicit DescribeVerifyUsageResult(const std::string &payload);
|
||||
~DescribeVerifyUsageResult();
|
||||
std::vector<VerifyUsage> getVerifyUsageList()const;
|
||||
int getTotalCount()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<VerifyUsage> verifyUsageList_;
|
||||
int totalCount_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEVERIFYUSAGERESULT_H_
|
||||
@@ -1,66 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_GETVERIFYTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETVERIFYTOKENREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetVerifyTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetVerifyTokenRequest();
|
||||
~GetVerifyTokenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getBinding()const;
|
||||
void setBinding(const std::string& binding);
|
||||
std::string getVerifyConfigs()const;
|
||||
void setVerifyConfigs(const std::string& verifyConfigs);
|
||||
std::string getUserData()const;
|
||||
void setUserData(const std::string& userData);
|
||||
std::string getBiz()const;
|
||||
void setBiz(const std::string& biz);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getTicketId()const;
|
||||
void setTicketId(const std::string& ticketId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string binding_;
|
||||
std::string verifyConfigs_;
|
||||
std::string userData_;
|
||||
std::string biz_;
|
||||
std::string sourceIp_;
|
||||
std::string ticketId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETVERIFYTOKENREQUEST_H_
|
||||
@@ -1,78 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_GETVERIFYTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_GETVERIFYTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT GetVerifyTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct VerifyToken
|
||||
{
|
||||
std::string token;
|
||||
int durationSeconds;
|
||||
};
|
||||
struct StsToken
|
||||
{
|
||||
std::string path;
|
||||
std::string bucketName;
|
||||
std::string accessKeyId;
|
||||
std::string accessKeySecret;
|
||||
std::string expiration;
|
||||
std::string token;
|
||||
std::string endPoint;
|
||||
};
|
||||
StsToken stsToken;
|
||||
std::string cloudauthPageUrl;
|
||||
VerifyToken verifyToken;
|
||||
};
|
||||
|
||||
|
||||
GetVerifyTokenResult();
|
||||
explicit GetVerifyTokenResult(const std::string &payload);
|
||||
~GetVerifyTokenResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_GETVERIFYTOKENRESULT_H_
|
||||
@@ -0,0 +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_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT UpdateVerifySettingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateVerifySettingRequest();
|
||||
~UpdateVerifySettingRequest();
|
||||
|
||||
bool getGuideStep()const;
|
||||
void setGuideStep(bool guideStep);
|
||||
bool getResultStep()const;
|
||||
void setResultStep(bool resultStep);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getSolution()const;
|
||||
void setSolution(const std::string& solution);
|
||||
std::string getBizName()const;
|
||||
void setBizName(const std::string& bizName);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
bool getPrivacyStep()const;
|
||||
void setPrivacyStep(bool privacyStep);
|
||||
|
||||
private:
|
||||
bool guideStep_;
|
||||
bool resultStep_;
|
||||
std::string sourceIp_;
|
||||
std::string solution_;
|
||||
std::string bizName_;
|
||||
std::string bizType_;
|
||||
bool privacyStep_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT UpdateVerifySettingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateVerifySettingResult();
|
||||
explicit UpdateVerifySettingResult(const std::string &payload);
|
||||
~UpdateVerifySettingResult();
|
||||
std::vector<std::string> getStepList()const;
|
||||
std::string getBizType()const;
|
||||
std::string getBizName()const;
|
||||
std::string getSolution()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<std::string> stepList_;
|
||||
std::string bizType_;
|
||||
std::string bizName_;
|
||||
std::string solution_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_UPDATEVERIFYSETTINGRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_VERIFYMATERIALREQUEST_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT VerifyMaterialRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
VerifyMaterialRequest();
|
||||
~VerifyMaterialRequest();
|
||||
|
||||
std::string getFaceImageUrl()const;
|
||||
void setFaceImageUrl(const std::string& faceImageUrl);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getIdCardBackImageUrl()const;
|
||||
void setIdCardBackImageUrl(const std::string& idCardBackImageUrl);
|
||||
std::string getIdCardNumber()const;
|
||||
void setIdCardNumber(const std::string& idCardNumber);
|
||||
std::string getIdCardFrontImageUrl()const;
|
||||
void setIdCardFrontImageUrl(const std::string& idCardFrontImageUrl);
|
||||
std::string getBizType()const;
|
||||
void setBizType(const std::string& bizType);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string faceImageUrl_;
|
||||
std::string userId_;
|
||||
std::string sourceIp_;
|
||||
std::string idCardBackImageUrl_;
|
||||
std::string idCardNumber_;
|
||||
std::string idCardFrontImageUrl_;
|
||||
std::string bizType_;
|
||||
std::string bizId_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALREQUEST_H_
|
||||
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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_CLOUDAUTH_MODEL_VERIFYMATERIALRESULT_H_
|
||||
#define ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cloudauth/CloudauthExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cloudauth
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CLOUDAUTH_EXPORT VerifyMaterialResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Material
|
||||
{
|
||||
struct IdCardInfo
|
||||
{
|
||||
std::string startDate;
|
||||
std::string number;
|
||||
std::string address;
|
||||
std::string authority;
|
||||
std::string sex;
|
||||
std::string backImageUrl;
|
||||
std::string frontImageUrl;
|
||||
std::string birth;
|
||||
std::string endDate;
|
||||
std::string nationality;
|
||||
std::string name;
|
||||
};
|
||||
std::string idCardName;
|
||||
std::string idCardNumber;
|
||||
IdCardInfo idCardInfo;
|
||||
std::string faceImageUrl;
|
||||
};
|
||||
|
||||
|
||||
VerifyMaterialResult();
|
||||
explicit VerifyMaterialResult(const std::string &payload);
|
||||
~VerifyMaterialResult();
|
||||
int getVerifyStatus()const;
|
||||
Material getMaterial()const;
|
||||
float getAuthorityComparisionScore()const;
|
||||
std::string getVerifyToken()const;
|
||||
float getFaceComparisonScore()const;
|
||||
float getIdCardFaceComparisonScore()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int verifyStatus_;
|
||||
Material material_;
|
||||
float authorityComparisionScore_;
|
||||
std::string verifyToken_;
|
||||
float faceComparisonScore_;
|
||||
float idCardFaceComparisonScore_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_VERIFYMATERIALRESULT_H_
|
||||
Reference in New Issue
Block a user