regenerate code
This commit is contained in:
@@ -35,6 +35,8 @@ set(aliyuncvc_public_header_model
|
||||
include/alibabacloud/aliyuncvc/model/DeleteUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetMeetingMemberResult.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserRequest.h
|
||||
include/alibabacloud/aliyuncvc/model/GetUserResult.h
|
||||
include/alibabacloud/aliyuncvc/model/JoinMeetingRequest.h
|
||||
@@ -64,6 +66,8 @@ set(aliyuncvc_src
|
||||
src/model/DeleteUserResult.cc
|
||||
src/model/GetMeetingRequest.cc
|
||||
src/model/GetMeetingResult.cc
|
||||
src/model/GetMeetingMemberRequest.cc
|
||||
src/model/GetMeetingMemberResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/JoinMeetingRequest.cc
|
||||
|
||||
@@ -36,6 +36,8 @@
|
||||
#include "model/DeleteUserResult.h"
|
||||
#include "model/GetMeetingRequest.h"
|
||||
#include "model/GetMeetingResult.h"
|
||||
#include "model/GetMeetingMemberRequest.h"
|
||||
#include "model/GetMeetingMemberResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
#include "model/JoinMeetingRequest.h"
|
||||
@@ -78,6 +80,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetMeetingResult> GetMeetingOutcome;
|
||||
typedef std::future<GetMeetingOutcome> GetMeetingOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingRequest&, const GetMeetingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMeetingMemberResult> GetMeetingMemberOutcome;
|
||||
typedef std::future<GetMeetingMemberOutcome> GetMeetingMemberOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetMeetingMemberRequest&, const GetMeetingMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMeetingMemberAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const AliyuncvcClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
@@ -122,6 +127,9 @@ namespace AlibabaCloud
|
||||
GetMeetingOutcome getMeeting(const Model::GetMeetingRequest &request)const;
|
||||
void getMeetingAsync(const Model::GetMeetingRequest& request, const GetMeetingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMeetingOutcomeCallable getMeetingCallable(const Model::GetMeetingRequest& request) const;
|
||||
GetMeetingMemberOutcome getMeetingMember(const Model::GetMeetingMemberRequest &request)const;
|
||||
void getMeetingMemberAsync(const Model::GetMeetingMemberRequest& request, const GetMeetingMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMeetingMemberOutcomeCallable getMeetingMemberCallable(const Model::GetMeetingMemberRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
|
||||
@@ -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_ALIYUNCVC_MODEL_GETMEETINGMEMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGMEMBERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMeetingMemberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetMeetingMemberRequest();
|
||||
~GetMeetingMemberRequest();
|
||||
|
||||
std::string getMeetingUUID()const;
|
||||
void setMeetingUUID(const std::string& meetingUUID);
|
||||
|
||||
private:
|
||||
std::string meetingUUID_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGMEMBERREQUEST_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_ALIYUNCVC_MODEL_GETMEETINGMEMBERRESULT_H_
|
||||
#define ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGMEMBERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/aliyuncvc/AliyuncvcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Aliyuncvc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIYUNCVC_EXPORT GetMeetingMemberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetMeetingMemberResult();
|
||||
explicit GetMeetingMemberResult(const std::string &payload);
|
||||
~GetMeetingMemberResult();
|
||||
std::string getMessage()const;
|
||||
int getErrorCode()const;
|
||||
std::vector<std::string> getMembers()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int errorCode_;
|
||||
std::vector<std::string> members_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIYUNCVC_MODEL_GETMEETINGMEMBERRESULT_H_
|
||||
@@ -40,6 +40,7 @@ namespace AlibabaCloud
|
||||
std::string userMobile;
|
||||
std::string userName;
|
||||
std::string userTel;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
std::string jobName;
|
||||
std::string userAvatarUrl;
|
||||
|
||||
@@ -303,6 +303,42 @@ AliyuncvcClient::GetMeetingOutcomeCallable AliyuncvcClient::getMeetingCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetMeetingMemberOutcome AliyuncvcClient::getMeetingMember(const GetMeetingMemberRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMeetingMemberOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMeetingMemberOutcome(GetMeetingMemberResult(outcome.result()));
|
||||
else
|
||||
return GetMeetingMemberOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AliyuncvcClient::getMeetingMemberAsync(const GetMeetingMemberRequest& request, const GetMeetingMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMeetingMember(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetMeetingMemberOutcomeCallable AliyuncvcClient::getMeetingMemberCallable(const GetMeetingMemberRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMeetingMemberOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMeetingMember(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AliyuncvcClient::GetUserOutcome AliyuncvcClient::getUser(const GetUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string ActiveMeetingRequest::getMeetingUUID()const
|
||||
void ActiveMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
setParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string ActiveMeetingRequest::getMeetingCode()const
|
||||
@@ -46,6 +46,6 @@ std::string ActiveMeetingRequest::getMeetingCode()const
|
||||
void ActiveMeetingRequest::setMeetingCode(const std::string& meetingCode)
|
||||
{
|
||||
meetingCode_ = meetingCode;
|
||||
setCoreParameter("MeetingCode", meetingCode);
|
||||
setParameter("MeetingCode", meetingCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long CreateEvaluationRequest::getCreateTime()const
|
||||
void CreateEvaluationRequest::setCreateTime(long createTime)
|
||||
{
|
||||
createTime_ = createTime;
|
||||
setCoreParameter("CreateTime", std::to_string(createTime));
|
||||
setParameter("CreateTime", std::to_string(createTime));
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getMemo()const
|
||||
@@ -46,7 +46,7 @@ std::string CreateEvaluationRequest::getMemo()const
|
||||
void CreateEvaluationRequest::setMemo(const std::string& memo)
|
||||
{
|
||||
memo_ = memo;
|
||||
setCoreParameter("Memo", memo);
|
||||
setParameter("Memo", memo);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getDescription()const
|
||||
@@ -57,7 +57,7 @@ std::string CreateEvaluationRequest::getDescription()const
|
||||
void CreateEvaluationRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
setParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getMemberUUID()const
|
||||
@@ -68,7 +68,7 @@ std::string CreateEvaluationRequest::getMemberUUID()const
|
||||
void CreateEvaluationRequest::setMemberUUID(const std::string& memberUUID)
|
||||
{
|
||||
memberUUID_ = memberUUID;
|
||||
setCoreParameter("MemberUUID", memberUUID);
|
||||
setParameter("MemberUUID", memberUUID);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getUserId()const
|
||||
@@ -79,7 +79,7 @@ std::string CreateEvaluationRequest::getUserId()const
|
||||
void CreateEvaluationRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getEvaluation()const
|
||||
@@ -90,7 +90,7 @@ std::string CreateEvaluationRequest::getEvaluation()const
|
||||
void CreateEvaluationRequest::setEvaluation(const std::string& evaluation)
|
||||
{
|
||||
evaluation_ = evaluation;
|
||||
setCoreParameter("Evaluation", evaluation);
|
||||
setParameter("Evaluation", evaluation);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getScore()const
|
||||
@@ -101,7 +101,7 @@ std::string CreateEvaluationRequest::getScore()const
|
||||
void CreateEvaluationRequest::setScore(const std::string& score)
|
||||
{
|
||||
score_ = score;
|
||||
setCoreParameter("Score", score);
|
||||
setParameter("Score", score);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getMeetingUUID()const
|
||||
@@ -112,7 +112,7 @@ std::string CreateEvaluationRequest::getMeetingUUID()const
|
||||
void CreateEvaluationRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
setParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
std::string CreateEvaluationRequest::getAppId()const
|
||||
@@ -123,6 +123,6 @@ std::string CreateEvaluationRequest::getAppId()const
|
||||
void CreateEvaluationRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string CreateMeetingRequest::getMeetingName()const
|
||||
void CreateMeetingRequest::setMeetingName(const std::string& meetingName)
|
||||
{
|
||||
meetingName_ = meetingName;
|
||||
setCoreParameter("MeetingName", meetingName);
|
||||
setBodyParameter("MeetingName", meetingName);
|
||||
}
|
||||
|
||||
std::string CreateMeetingRequest::getUserId()const
|
||||
@@ -46,6 +46,6 @@ std::string CreateMeetingRequest::getUserId()const
|
||||
void CreateMeetingRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ int CreateUserRequest::getCount()const
|
||||
void CreateUserRequest::setCount(int count)
|
||||
{
|
||||
count_ = count;
|
||||
setCoreParameter("Count", std::to_string(count));
|
||||
setBodyParameter("Count", std::to_string(count));
|
||||
}
|
||||
|
||||
std::string CreateUserRequest::getUserInfo()const
|
||||
@@ -46,6 +46,6 @@ std::string CreateUserRequest::getUserInfo()const
|
||||
void CreateUserRequest::setUserInfo(const std::string& userInfo)
|
||||
{
|
||||
userInfo_ = userInfo;
|
||||
setCoreParameter("UserInfo", userInfo);
|
||||
setBodyParameter("UserInfo", userInfo);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,6 @@ std::string DeleteMeetingRequest::getMeetingUUID()const
|
||||
void DeleteMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
setBodyParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ int DeleteUserRequest::getCount()const
|
||||
void DeleteUserRequest::setCount(int count)
|
||||
{
|
||||
count_ = count;
|
||||
setCoreParameter("Count", std::to_string(count));
|
||||
setBodyParameter("Count", std::to_string(count));
|
||||
}
|
||||
|
||||
std::string DeleteUserRequest::getUserInfo()const
|
||||
@@ -46,6 +46,6 @@ std::string DeleteUserRequest::getUserInfo()const
|
||||
void DeleteUserRequest::setUserInfo(const std::string& userInfo)
|
||||
{
|
||||
userInfo_ = userInfo;
|
||||
setCoreParameter("UserInfo", userInfo);
|
||||
setBodyParameter("UserInfo", userInfo);
|
||||
}
|
||||
|
||||
|
||||
40
aliyuncvc/src/model/GetMeetingMemberRequest.cc
Normal file
40
aliyuncvc/src/model/GetMeetingMemberRequest.cc
Normal file
@@ -0,0 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/aliyuncvc/model/GetMeetingMemberRequest.h>
|
||||
|
||||
using AlibabaCloud::Aliyuncvc::Model::GetMeetingMemberRequest;
|
||||
|
||||
GetMeetingMemberRequest::GetMeetingMemberRequest() :
|
||||
RpcServiceRequest("aliyuncvc", "2019-10-30", "GetMeetingMember")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetMeetingMemberRequest::~GetMeetingMemberRequest()
|
||||
{}
|
||||
|
||||
std::string GetMeetingMemberRequest::getMeetingUUID()const
|
||||
{
|
||||
return meetingUUID_;
|
||||
}
|
||||
|
||||
void GetMeetingMemberRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
73
aliyuncvc/src/model/GetMeetingMemberResult.cc
Normal file
73
aliyuncvc/src/model/GetMeetingMemberResult.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* 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/aliyuncvc/model/GetMeetingMemberResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Aliyuncvc;
|
||||
using namespace AlibabaCloud::Aliyuncvc::Model;
|
||||
|
||||
GetMeetingMemberResult::GetMeetingMemberResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMeetingMemberResult::GetMeetingMemberResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMeetingMemberResult::~GetMeetingMemberResult()
|
||||
{}
|
||||
|
||||
void GetMeetingMemberResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allMembers = value["Members"]["Data"];
|
||||
for (const auto &item : allMembers)
|
||||
members_.push_back(item.asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = std::stoi(value["ErrorCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string GetMeetingMemberResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int GetMeetingMemberResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
std::vector<std::string> GetMeetingMemberResult::getMembers()const
|
||||
{
|
||||
return members_;
|
||||
}
|
||||
|
||||
bool GetMeetingMemberResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -35,6 +35,6 @@ std::string GetMeetingRequest::getMeetingUUID()const
|
||||
void GetMeetingRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
setBodyParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,6 @@ std::string GetUserRequest::getUserId()const
|
||||
void GetUserRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ std::string JoinMeetingRequest::getUserId()const
|
||||
void JoinMeetingRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
setBodyParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string JoinMeetingRequest::getMeetingCode()const
|
||||
@@ -46,6 +46,6 @@ std::string JoinMeetingRequest::getMeetingCode()const
|
||||
void JoinMeetingRequest::setMeetingCode(const std::string& meetingCode)
|
||||
{
|
||||
meetingCode_ = meetingCode;
|
||||
setCoreParameter("MeetingCode", meetingCode);
|
||||
setBodyParameter("MeetingCode", meetingCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ long ListIsvStatisticsRequest::getEndTime()const
|
||||
void ListIsvStatisticsRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long ListIsvStatisticsRequest::getStartTime()const
|
||||
@@ -46,6 +46,6 @@ long ListIsvStatisticsRequest::getStartTime()const
|
||||
void ListIsvStatisticsRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,6 @@ std::string ListMembersRequest::getMeetingUUID()const
|
||||
void ListMembersRequest::setMeetingUUID(const std::string& meetingUUID)
|
||||
{
|
||||
meetingUUID_ = meetingUUID;
|
||||
setCoreParameter("MeetingUUID", meetingUUID);
|
||||
setParameter("MeetingUUID", meetingUUID);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ int ListUsersRequest::getPageNumber()const
|
||||
void ListUsersRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListUsersRequest::getPageSize()const
|
||||
@@ -46,6 +46,6 @@ int ListUsersRequest::getPageSize()const
|
||||
void ListUsersRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -72,6 +72,8 @@ void ListUsersResult::parse(const std::string &payload)
|
||||
userInfoObject.userAvatarUrl = dataNodeUserInfosUserInfo["UserAvatarUrl"].asString();
|
||||
if(!dataNodeUserInfosUserInfo["JobName"].isNull())
|
||||
userInfoObject.jobName = dataNodeUserInfosUserInfo["JobName"].asString();
|
||||
if(!dataNodeUserInfosUserInfo["UserId"].isNull())
|
||||
userInfoObject.userId = dataNodeUserInfosUserInfo["UserId"].asString();
|
||||
data_.userInfos.push_back(userInfoObject);
|
||||
}
|
||||
if(!value["ErrorCode"].isNull())
|
||||
|
||||
Reference in New Issue
Block a user