This commit is contained in:
sdk-team
2022-09-23 01:51:58 +00:00
parent 39b81f8e34
commit fb4f6ae3b1
25 changed files with 1501 additions and 1 deletions

233
tingwu/src/TingwuClient.cc Normal file
View File

@@ -0,0 +1,233 @@
/*
* 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/tingwu/TingwuClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::Tingwu;
using namespace AlibabaCloud::Tingwu::Model;
namespace
{
const std::string SERVICE_NAME = "tingwu";
}
TingwuClient::TingwuClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RoaServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "tingwupaas");
}
TingwuClient::TingwuClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RoaServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "tingwupaas");
}
TingwuClient::TingwuClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RoaServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "tingwupaas");
}
TingwuClient::~TingwuClient()
{}
TingwuClient::CreateFileTransOutcome TingwuClient::createFileTrans(const CreateFileTransRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateFileTransOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateFileTransOutcome(CreateFileTransResult(outcome.result()));
else
return CreateFileTransOutcome(outcome.error());
}
void TingwuClient::createFileTransAsync(const CreateFileTransRequest& request, const CreateFileTransAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createFileTrans(request), context);
};
asyncExecute(new Runnable(fn));
}
TingwuClient::CreateFileTransOutcomeCallable TingwuClient::createFileTransCallable(const CreateFileTransRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateFileTransOutcome()>>(
[this, request]()
{
return this->createFileTrans(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
TingwuClient::CreateMeetingTransOutcome TingwuClient::createMeetingTrans(const CreateMeetingTransRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return CreateMeetingTransOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return CreateMeetingTransOutcome(CreateMeetingTransResult(outcome.result()));
else
return CreateMeetingTransOutcome(outcome.error());
}
void TingwuClient::createMeetingTransAsync(const CreateMeetingTransRequest& request, const CreateMeetingTransAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, createMeetingTrans(request), context);
};
asyncExecute(new Runnable(fn));
}
TingwuClient::CreateMeetingTransOutcomeCallable TingwuClient::createMeetingTransCallable(const CreateMeetingTransRequest &request) const
{
auto task = std::make_shared<std::packaged_task<CreateMeetingTransOutcome()>>(
[this, request]()
{
return this->createMeetingTrans(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
TingwuClient::GetFileTransOutcome TingwuClient::getFileTrans(const GetFileTransRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetFileTransOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetFileTransOutcome(GetFileTransResult(outcome.result()));
else
return GetFileTransOutcome(outcome.error());
}
void TingwuClient::getFileTransAsync(const GetFileTransRequest& request, const GetFileTransAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getFileTrans(request), context);
};
asyncExecute(new Runnable(fn));
}
TingwuClient::GetFileTransOutcomeCallable TingwuClient::getFileTransCallable(const GetFileTransRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetFileTransOutcome()>>(
[this, request]()
{
return this->getFileTrans(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
TingwuClient::GetMeetingTransOutcome TingwuClient::getMeetingTrans(const GetMeetingTransRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMeetingTransOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMeetingTransOutcome(GetMeetingTransResult(outcome.result()));
else
return GetMeetingTransOutcome(outcome.error());
}
void TingwuClient::getMeetingTransAsync(const GetMeetingTransRequest& request, const GetMeetingTransAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMeetingTrans(request), context);
};
asyncExecute(new Runnable(fn));
}
TingwuClient::GetMeetingTransOutcomeCallable TingwuClient::getMeetingTransCallable(const GetMeetingTransRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMeetingTransOutcome()>>(
[this, request]()
{
return this->getMeetingTrans(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
TingwuClient::StopMeetingTransOutcome TingwuClient::stopMeetingTrans(const StopMeetingTransRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StopMeetingTransOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StopMeetingTransOutcome(StopMeetingTransResult(outcome.result()));
else
return StopMeetingTransOutcome(outcome.error());
}
void TingwuClient::stopMeetingTransAsync(const StopMeetingTransRequest& request, const StopMeetingTransAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, stopMeetingTrans(request), context);
};
asyncExecute(new Runnable(fn));
}
TingwuClient::StopMeetingTransOutcomeCallable TingwuClient::stopMeetingTransCallable(const StopMeetingTransRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StopMeetingTransOutcome()>>(
[this, request]()
{
return this->stopMeetingTrans(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,37 @@
/*
* 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/tingwu/model/CreateFileTransRequest.h>
using AlibabaCloud::Tingwu::Model::CreateFileTransRequest;
CreateFileTransRequest::CreateFileTransRequest()
: RoaServiceRequest("tingwu", "2022-09-30") {
setResourcePath("/openapi/file-trans"};
setMethod(HttpRequest::Method::Put);
}
CreateFileTransRequest::~CreateFileTransRequest() {}
std::string CreateFileTransRequest::getBody() const {
return body_;
}
void CreateFileTransRequest::setBody(const std::string &body) {
body_ = body;
setBodyParameter(std::string("body"), body);
}

View File

@@ -0,0 +1,68 @@
/*
* 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/tingwu/model/CreateFileTransResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Tingwu;
using namespace AlibabaCloud::Tingwu::Model;
CreateFileTransResult::CreateFileTransResult() :
ServiceResult()
{}
CreateFileTransResult::CreateFileTransResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateFileTransResult::~CreateFileTransResult()
{}
void CreateFileTransResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TransId"].isNull())
data_.transId = dataNode["TransId"].asString();
if(!dataNode["TransKey"].isNull())
data_.transKey = dataNode["TransKey"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string CreateFileTransResult::getMessage()const
{
return message_;
}
CreateFileTransResult::Data CreateFileTransResult::getData()const
{
return data_;
}
std::string CreateFileTransResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,37 @@
/*
* 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/tingwu/model/CreateMeetingTransRequest.h>
using AlibabaCloud::Tingwu::Model::CreateMeetingTransRequest;
CreateMeetingTransRequest::CreateMeetingTransRequest()
: RoaServiceRequest("tingwu", "2022-09-30") {
setResourcePath("/openapi/meeting-trans"};
setMethod(HttpRequest::Method::Put);
}
CreateMeetingTransRequest::~CreateMeetingTransRequest() {}
std::string CreateMeetingTransRequest::getBody() const {
return body_;
}
void CreateMeetingTransRequest::setBody(const std::string &body) {
body_ = body;
setBodyParameter(std::string("body"), body);
}

View File

@@ -0,0 +1,70 @@
/*
* 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/tingwu/model/CreateMeetingTransResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Tingwu;
using namespace AlibabaCloud::Tingwu::Model;
CreateMeetingTransResult::CreateMeetingTransResult() :
ServiceResult()
{}
CreateMeetingTransResult::CreateMeetingTransResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateMeetingTransResult::~CreateMeetingTransResult()
{}
void CreateMeetingTransResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["MeetingId"].isNull())
data_.meetingId = dataNode["MeetingId"].asString();
if(!dataNode["MeetingJoinUrl"].isNull())
data_.meetingJoinUrl = dataNode["MeetingJoinUrl"].asString();
if(!dataNode["MeetingKey"].isNull())
data_.meetingKey = dataNode["MeetingKey"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string CreateMeetingTransResult::getMessage()const
{
return message_;
}
CreateMeetingTransResult::Data CreateMeetingTransResult::getData()const
{
return data_;
}
std::string CreateMeetingTransResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,37 @@
/*
* 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/tingwu/model/GetFileTransRequest.h>
using AlibabaCloud::Tingwu::Model::GetFileTransRequest;
GetFileTransRequest::GetFileTransRequest()
: RoaServiceRequest("tingwu", "2022-09-30") {
setResourcePath("/openapi/file-trans/[TransId]"};
setMethod(HttpRequest::Method::Get);
}
GetFileTransRequest::~GetFileTransRequest() {}
string GetFileTransRequest::getTransId() const {
return transId_;
}
void GetFileTransRequest::setTransId(string transId) {
transId_ = transId;
setParameter(std::string("TransId"), std::to_string(transId));
}

View File

@@ -0,0 +1,70 @@
/*
* 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/tingwu/model/GetFileTransResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Tingwu;
using namespace AlibabaCloud::Tingwu::Model;
GetFileTransResult::GetFileTransResult() :
ServiceResult()
{}
GetFileTransResult::GetFileTransResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetFileTransResult::~GetFileTransResult()
{}
void GetFileTransResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["TransId"].isNull())
data_.transId = dataNode["TransId"].asString();
if(!dataNode["TransStatus"].isNull())
data_.transStatus = dataNode["TransStatus"].asString();
if(!dataNode["TransKey"].isNull())
data_.transKey = dataNode["TransKey"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string GetFileTransResult::getMessage()const
{
return message_;
}
GetFileTransResult::Data GetFileTransResult::getData()const
{
return data_;
}
std::string GetFileTransResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,37 @@
/*
* 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/tingwu/model/GetMeetingTransRequest.h>
using AlibabaCloud::Tingwu::Model::GetMeetingTransRequest;
GetMeetingTransRequest::GetMeetingTransRequest()
: RoaServiceRequest("tingwu", "2022-09-30") {
setResourcePath("/openapi/meeting-trans/[MeetingId]"};
setMethod(HttpRequest::Method::Get);
}
GetMeetingTransRequest::~GetMeetingTransRequest() {}
string GetMeetingTransRequest::getMeetingId() const {
return meetingId_;
}
void GetMeetingTransRequest::setMeetingId(string meetingId) {
meetingId_ = meetingId;
setParameter(std::string("MeetingId"), std::to_string(meetingId));
}

View File

@@ -0,0 +1,70 @@
/*
* 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/tingwu/model/GetMeetingTransResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Tingwu;
using namespace AlibabaCloud::Tingwu::Model;
GetMeetingTransResult::GetMeetingTransResult() :
ServiceResult()
{}
GetMeetingTransResult::GetMeetingTransResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMeetingTransResult::~GetMeetingTransResult()
{}
void GetMeetingTransResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["MeetingId"].isNull())
data_.meetingId = dataNode["MeetingId"].asString();
if(!dataNode["MeetingStatus"].isNull())
data_.meetingStatus = dataNode["MeetingStatus"].asString();
if(!dataNode["MeetingKey"].isNull())
data_.meetingKey = dataNode["MeetingKey"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string GetMeetingTransResult::getMessage()const
{
return message_;
}
GetMeetingTransResult::Data GetMeetingTransResult::getData()const
{
return data_;
}
std::string GetMeetingTransResult::getCode()const
{
return code_;
}

View File

@@ -0,0 +1,37 @@
/*
* 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/tingwu/model/StopMeetingTransRequest.h>
using AlibabaCloud::Tingwu::Model::StopMeetingTransRequest;
StopMeetingTransRequest::StopMeetingTransRequest()
: RoaServiceRequest("tingwu", "2022-09-30") {
setResourcePath("/openapi/meeting-trans/[MeetingId]/stop"};
setMethod(HttpRequest::Method::Post);
}
StopMeetingTransRequest::~StopMeetingTransRequest() {}
string StopMeetingTransRequest::getMeetingId() const {
return meetingId_;
}
void StopMeetingTransRequest::setMeetingId(string meetingId) {
meetingId_ = meetingId;
setParameter(std::string("MeetingId"), std::to_string(meetingId));
}

View File

@@ -0,0 +1,70 @@
/*
* 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/tingwu/model/StopMeetingTransResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Tingwu;
using namespace AlibabaCloud::Tingwu::Model;
StopMeetingTransResult::StopMeetingTransResult() :
ServiceResult()
{}
StopMeetingTransResult::StopMeetingTransResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
StopMeetingTransResult::~StopMeetingTransResult()
{}
void StopMeetingTransResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["MeetingId"].isNull())
data_.meetingId = dataNode["MeetingId"].asString();
if(!dataNode["MeetingStatus"].isNull())
data_.meetingStatus = dataNode["MeetingStatus"].asString();
if(!dataNode["MeetingKey"].isNull())
data_.meetingKey = dataNode["MeetingKey"].asString();
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
}
std::string StopMeetingTransResult::getMessage()const
{
return message_;
}
StopMeetingTransResult::Data StopMeetingTransResult::getData()const
{
return data_;
}
std::string StopMeetingTransResult::getCode()const
{
return code_;
}