@@ -35,30 +35,38 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/CreateTemplateResult.h
|
||||
include/alibabacloud/rtc/model/GetTemplateInfoRequest.h
|
||||
include/alibabacloud/rtc/model/GetTemplateInfoResult.h
|
||||
include/alibabacloud/rtc/model/ModifyAppRequest.h
|
||||
include/alibabacloud/rtc/model/ModifyAppResult.h
|
||||
include/alibabacloud/rtc/model/DeleteChannelRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteChannelResult.h
|
||||
include/alibabacloud/rtc/model/ModifyAppRequest.h
|
||||
include/alibabacloud/rtc/model/ModifyAppResult.h
|
||||
include/alibabacloud/rtc/model/RemoveParticipantsRequest.h
|
||||
include/alibabacloud/rtc/model/RemoveParticipantsResult.h
|
||||
include/alibabacloud/rtc/model/GetAllTemplateRequest.h
|
||||
include/alibabacloud/rtc/model/GetAllTemplateResult.h
|
||||
include/alibabacloud/rtc/model/DescribeStatisRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeStatisResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcPeakUserCntDataRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcPeakUserCntDataResult.h
|
||||
include/alibabacloud/rtc/model/CreateChannelRequest.h
|
||||
include/alibabacloud/rtc/model/CreateChannelResult.h
|
||||
include/alibabacloud/rtc/model/StopTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StopTaskResult.h
|
||||
include/alibabacloud/rtc/model/GetTaskParamRequest.h
|
||||
include/alibabacloud/rtc/model/GetTaskParamResult.h
|
||||
include/alibabacloud/rtc/model/StopTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StopTaskResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelUserListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelUserListResult.h
|
||||
include/alibabacloud/rtc/model/UpdateChannelRequest.h
|
||||
include/alibabacloud/rtc/model/UpdateChannelResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcUserCntDataRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcUserCntDataResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelMetricRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelMetricResult.h
|
||||
include/alibabacloud/rtc/model/StartMPUTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StartMPUTaskResult.h
|
||||
include/alibabacloud/rtc/model/StopMPUTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StopMPUTaskResult.h
|
||||
include/alibabacloud/rtc/model/StartTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StartTaskResult.h
|
||||
include/alibabacloud/rtc/model/StopMPUTaskRequest.h
|
||||
include/alibabacloud/rtc/model/StopMPUTaskResult.h
|
||||
include/alibabacloud/rtc/model/ModifyConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/ModifyConferenceResult.h
|
||||
include/alibabacloud/rtc/model/DescribeConferenceAuthInfoRequest.h
|
||||
@@ -71,24 +79,34 @@ set(rtc_public_header_model
|
||||
include/alibabacloud/rtc/model/MuteAudioResult.h
|
||||
include/alibabacloud/rtc/model/CreateConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/CreateConferenceResult.h
|
||||
include/alibabacloud/rtc/model/GetMPUTaskStatusRequest.h
|
||||
include/alibabacloud/rtc/model/GetMPUTaskStatusResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcDurationDataRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcDurationDataResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRealTimeRecordDetailRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRealTimeRecordDetailResult.h
|
||||
include/alibabacloud/rtc/model/GetMPUTaskStatusRequest.h
|
||||
include/alibabacloud/rtc/model/GetMPUTaskStatusResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelCntDataRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelCntDataResult.h
|
||||
include/alibabacloud/rtc/model/DescribeChannelParticipantsRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeChannelParticipantsResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcChannelListResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRealTimeRecordListRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRealTimeRecordListResult.h
|
||||
include/alibabacloud/rtc/model/RemoveTerminalsRequest.h
|
||||
include/alibabacloud/rtc/model/RemoveTerminalsResult.h
|
||||
include/alibabacloud/rtc/model/DeleteConferenceRequest.h
|
||||
include/alibabacloud/rtc/model/DeleteConferenceResult.h
|
||||
include/alibabacloud/rtc/model/RemoveTerminalsRequest.h
|
||||
include/alibabacloud/rtc/model/RemoveTerminalsResult.h
|
||||
include/alibabacloud/rtc/model/ReceiveNotifyRequest.h
|
||||
include/alibabacloud/rtc/model/ReceiveNotifyResult.h
|
||||
include/alibabacloud/rtc/model/UnmuteAudioAllRequest.h
|
||||
include/alibabacloud/rtc/model/UnmuteAudioAllResult.h
|
||||
include/alibabacloud/rtc/model/CreateChannelTokenRequest.h
|
||||
include/alibabacloud/rtc/model/CreateChannelTokenResult.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordDetailRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRecordDetailResult.h
|
||||
include/alibabacloud/rtc/model/CreateChannelTokenRequest.h
|
||||
include/alibabacloud/rtc/model/CreateChannelTokenResult.h )
|
||||
include/alibabacloud/rtc/model/DescribeRtcPeakChannelCntDataRequest.h
|
||||
include/alibabacloud/rtc/model/DescribeRtcPeakChannelCntDataResult.h )
|
||||
|
||||
set(rtc_src
|
||||
src/RtcClient.cc
|
||||
@@ -106,30 +124,38 @@ set(rtc_src
|
||||
src/model/CreateTemplateResult.cc
|
||||
src/model/GetTemplateInfoRequest.cc
|
||||
src/model/GetTemplateInfoResult.cc
|
||||
src/model/ModifyAppRequest.cc
|
||||
src/model/ModifyAppResult.cc
|
||||
src/model/DeleteChannelRequest.cc
|
||||
src/model/DeleteChannelResult.cc
|
||||
src/model/ModifyAppRequest.cc
|
||||
src/model/ModifyAppResult.cc
|
||||
src/model/RemoveParticipantsRequest.cc
|
||||
src/model/RemoveParticipantsResult.cc
|
||||
src/model/GetAllTemplateRequest.cc
|
||||
src/model/GetAllTemplateResult.cc
|
||||
src/model/DescribeStatisRequest.cc
|
||||
src/model/DescribeStatisResult.cc
|
||||
src/model/DescribeRtcPeakUserCntDataRequest.cc
|
||||
src/model/DescribeRtcPeakUserCntDataResult.cc
|
||||
src/model/CreateChannelRequest.cc
|
||||
src/model/CreateChannelResult.cc
|
||||
src/model/StopTaskRequest.cc
|
||||
src/model/StopTaskResult.cc
|
||||
src/model/GetTaskParamRequest.cc
|
||||
src/model/GetTaskParamResult.cc
|
||||
src/model/StopTaskRequest.cc
|
||||
src/model/StopTaskResult.cc
|
||||
src/model/DescribeRtcChannelUserListRequest.cc
|
||||
src/model/DescribeRtcChannelUserListResult.cc
|
||||
src/model/UpdateChannelRequest.cc
|
||||
src/model/UpdateChannelResult.cc
|
||||
src/model/DescribeRtcUserCntDataRequest.cc
|
||||
src/model/DescribeRtcUserCntDataResult.cc
|
||||
src/model/DescribeRtcChannelMetricRequest.cc
|
||||
src/model/DescribeRtcChannelMetricResult.cc
|
||||
src/model/StartMPUTaskRequest.cc
|
||||
src/model/StartMPUTaskResult.cc
|
||||
src/model/StopMPUTaskRequest.cc
|
||||
src/model/StopMPUTaskResult.cc
|
||||
src/model/StartTaskRequest.cc
|
||||
src/model/StartTaskResult.cc
|
||||
src/model/StopMPUTaskRequest.cc
|
||||
src/model/StopMPUTaskResult.cc
|
||||
src/model/ModifyConferenceRequest.cc
|
||||
src/model/ModifyConferenceResult.cc
|
||||
src/model/DescribeConferenceAuthInfoRequest.cc
|
||||
@@ -142,24 +168,34 @@ set(rtc_src
|
||||
src/model/MuteAudioResult.cc
|
||||
src/model/CreateConferenceRequest.cc
|
||||
src/model/CreateConferenceResult.cc
|
||||
src/model/GetMPUTaskStatusRequest.cc
|
||||
src/model/GetMPUTaskStatusResult.cc
|
||||
src/model/DescribeRtcDurationDataRequest.cc
|
||||
src/model/DescribeRtcDurationDataResult.cc
|
||||
src/model/DescribeRealTimeRecordDetailRequest.cc
|
||||
src/model/DescribeRealTimeRecordDetailResult.cc
|
||||
src/model/GetMPUTaskStatusRequest.cc
|
||||
src/model/GetMPUTaskStatusResult.cc
|
||||
src/model/DescribeRtcChannelCntDataRequest.cc
|
||||
src/model/DescribeRtcChannelCntDataResult.cc
|
||||
src/model/DescribeChannelParticipantsRequest.cc
|
||||
src/model/DescribeChannelParticipantsResult.cc
|
||||
src/model/DescribeRtcChannelListRequest.cc
|
||||
src/model/DescribeRtcChannelListResult.cc
|
||||
src/model/DescribeRealTimeRecordListRequest.cc
|
||||
src/model/DescribeRealTimeRecordListResult.cc
|
||||
src/model/RemoveTerminalsRequest.cc
|
||||
src/model/RemoveTerminalsResult.cc
|
||||
src/model/DeleteConferenceRequest.cc
|
||||
src/model/DeleteConferenceResult.cc
|
||||
src/model/RemoveTerminalsRequest.cc
|
||||
src/model/RemoveTerminalsResult.cc
|
||||
src/model/ReceiveNotifyRequest.cc
|
||||
src/model/ReceiveNotifyResult.cc
|
||||
src/model/UnmuteAudioAllRequest.cc
|
||||
src/model/UnmuteAudioAllResult.cc
|
||||
src/model/CreateChannelTokenRequest.cc
|
||||
src/model/CreateChannelTokenResult.cc
|
||||
src/model/DescribeRecordDetailRequest.cc
|
||||
src/model/DescribeRecordDetailResult.cc
|
||||
src/model/CreateChannelTokenRequest.cc
|
||||
src/model/CreateChannelTokenResult.cc )
|
||||
src/model/DescribeRtcPeakChannelCntDataRequest.cc
|
||||
src/model/DescribeRtcPeakChannelCntDataResult.cc )
|
||||
|
||||
add_library(rtc ${LIB_TYPE}
|
||||
${rtc_public_header}
|
||||
|
||||
@@ -36,30 +36,38 @@
|
||||
#include "model/CreateTemplateResult.h"
|
||||
#include "model/GetTemplateInfoRequest.h"
|
||||
#include "model/GetTemplateInfoResult.h"
|
||||
#include "model/ModifyAppRequest.h"
|
||||
#include "model/ModifyAppResult.h"
|
||||
#include "model/DeleteChannelRequest.h"
|
||||
#include "model/DeleteChannelResult.h"
|
||||
#include "model/ModifyAppRequest.h"
|
||||
#include "model/ModifyAppResult.h"
|
||||
#include "model/RemoveParticipantsRequest.h"
|
||||
#include "model/RemoveParticipantsResult.h"
|
||||
#include "model/GetAllTemplateRequest.h"
|
||||
#include "model/GetAllTemplateResult.h"
|
||||
#include "model/DescribeStatisRequest.h"
|
||||
#include "model/DescribeStatisResult.h"
|
||||
#include "model/DescribeRtcPeakUserCntDataRequest.h"
|
||||
#include "model/DescribeRtcPeakUserCntDataResult.h"
|
||||
#include "model/CreateChannelRequest.h"
|
||||
#include "model/CreateChannelResult.h"
|
||||
#include "model/StopTaskRequest.h"
|
||||
#include "model/StopTaskResult.h"
|
||||
#include "model/GetTaskParamRequest.h"
|
||||
#include "model/GetTaskParamResult.h"
|
||||
#include "model/StopTaskRequest.h"
|
||||
#include "model/StopTaskResult.h"
|
||||
#include "model/DescribeRtcChannelUserListRequest.h"
|
||||
#include "model/DescribeRtcChannelUserListResult.h"
|
||||
#include "model/UpdateChannelRequest.h"
|
||||
#include "model/UpdateChannelResult.h"
|
||||
#include "model/DescribeRtcUserCntDataRequest.h"
|
||||
#include "model/DescribeRtcUserCntDataResult.h"
|
||||
#include "model/DescribeRtcChannelMetricRequest.h"
|
||||
#include "model/DescribeRtcChannelMetricResult.h"
|
||||
#include "model/StartMPUTaskRequest.h"
|
||||
#include "model/StartMPUTaskResult.h"
|
||||
#include "model/StopMPUTaskRequest.h"
|
||||
#include "model/StopMPUTaskResult.h"
|
||||
#include "model/StartTaskRequest.h"
|
||||
#include "model/StartTaskResult.h"
|
||||
#include "model/StopMPUTaskRequest.h"
|
||||
#include "model/StopMPUTaskResult.h"
|
||||
#include "model/ModifyConferenceRequest.h"
|
||||
#include "model/ModifyConferenceResult.h"
|
||||
#include "model/DescribeConferenceAuthInfoRequest.h"
|
||||
@@ -72,24 +80,34 @@
|
||||
#include "model/MuteAudioResult.h"
|
||||
#include "model/CreateConferenceRequest.h"
|
||||
#include "model/CreateConferenceResult.h"
|
||||
#include "model/GetMPUTaskStatusRequest.h"
|
||||
#include "model/GetMPUTaskStatusResult.h"
|
||||
#include "model/DescribeRtcDurationDataRequest.h"
|
||||
#include "model/DescribeRtcDurationDataResult.h"
|
||||
#include "model/DescribeRealTimeRecordDetailRequest.h"
|
||||
#include "model/DescribeRealTimeRecordDetailResult.h"
|
||||
#include "model/GetMPUTaskStatusRequest.h"
|
||||
#include "model/GetMPUTaskStatusResult.h"
|
||||
#include "model/DescribeRtcChannelCntDataRequest.h"
|
||||
#include "model/DescribeRtcChannelCntDataResult.h"
|
||||
#include "model/DescribeChannelParticipantsRequest.h"
|
||||
#include "model/DescribeChannelParticipantsResult.h"
|
||||
#include "model/DescribeRtcChannelListRequest.h"
|
||||
#include "model/DescribeRtcChannelListResult.h"
|
||||
#include "model/DescribeRealTimeRecordListRequest.h"
|
||||
#include "model/DescribeRealTimeRecordListResult.h"
|
||||
#include "model/RemoveTerminalsRequest.h"
|
||||
#include "model/RemoveTerminalsResult.h"
|
||||
#include "model/DeleteConferenceRequest.h"
|
||||
#include "model/DeleteConferenceResult.h"
|
||||
#include "model/RemoveTerminalsRequest.h"
|
||||
#include "model/RemoveTerminalsResult.h"
|
||||
#include "model/ReceiveNotifyRequest.h"
|
||||
#include "model/ReceiveNotifyResult.h"
|
||||
#include "model/UnmuteAudioAllRequest.h"
|
||||
#include "model/UnmuteAudioAllResult.h"
|
||||
#include "model/DescribeRecordDetailRequest.h"
|
||||
#include "model/DescribeRecordDetailResult.h"
|
||||
#include "model/CreateChannelTokenRequest.h"
|
||||
#include "model/CreateChannelTokenResult.h"
|
||||
#include "model/DescribeRecordDetailRequest.h"
|
||||
#include "model/DescribeRecordDetailResult.h"
|
||||
#include "model/DescribeRtcPeakChannelCntDataRequest.h"
|
||||
#include "model/DescribeRtcPeakChannelCntDataResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -120,12 +138,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetTemplateInfoResult> GetTemplateInfoOutcome;
|
||||
typedef std::future<GetTemplateInfoOutcome> GetTemplateInfoOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::GetTemplateInfoRequest&, const GetTemplateInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTemplateInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAppResult> ModifyAppOutcome;
|
||||
typedef std::future<ModifyAppOutcome> ModifyAppOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::ModifyAppRequest&, const ModifyAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteChannelResult> DeleteChannelOutcome;
|
||||
typedef std::future<DeleteChannelOutcome> DeleteChannelOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteChannelRequest&, const DeleteChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyAppResult> ModifyAppOutcome;
|
||||
typedef std::future<ModifyAppOutcome> ModifyAppOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::ModifyAppRequest&, const ModifyAppOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAppAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveParticipantsResult> RemoveParticipantsOutcome;
|
||||
typedef std::future<RemoveParticipantsOutcome> RemoveParticipantsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::RemoveParticipantsRequest&, const RemoveParticipantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveParticipantsAsyncHandler;
|
||||
@@ -135,27 +153,39 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeStatisResult> DescribeStatisOutcome;
|
||||
typedef std::future<DescribeStatisOutcome> DescribeStatisOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeStatisRequest&, const DescribeStatisOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeStatisAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcPeakUserCntDataResult> DescribeRtcPeakUserCntDataOutcome;
|
||||
typedef std::future<DescribeRtcPeakUserCntDataOutcome> DescribeRtcPeakUserCntDataOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcPeakUserCntDataRequest&, const DescribeRtcPeakUserCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcPeakUserCntDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateChannelResult> CreateChannelOutcome;
|
||||
typedef std::future<CreateChannelOutcome> CreateChannelOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateChannelRequest&, const CreateChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopTaskResult> StopTaskOutcome;
|
||||
typedef std::future<StopTaskOutcome> StopTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StopTaskRequest&, const StopTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTaskParamResult> GetTaskParamOutcome;
|
||||
typedef std::future<GetTaskParamOutcome> GetTaskParamOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::GetTaskParamRequest&, const GetTaskParamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTaskParamAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopTaskResult> StopTaskOutcome;
|
||||
typedef std::future<StopTaskOutcome> StopTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StopTaskRequest&, const StopTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelUserListResult> DescribeRtcChannelUserListOutcome;
|
||||
typedef std::future<DescribeRtcChannelUserListOutcome> DescribeRtcChannelUserListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelUserListRequest&, const DescribeRtcChannelUserListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelUserListAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateChannelResult> UpdateChannelOutcome;
|
||||
typedef std::future<UpdateChannelOutcome> UpdateChannelOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UpdateChannelRequest&, const UpdateChannelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateChannelAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcUserCntDataResult> DescribeRtcUserCntDataOutcome;
|
||||
typedef std::future<DescribeRtcUserCntDataOutcome> DescribeRtcUserCntDataOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcUserCntDataRequest&, const DescribeRtcUserCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcUserCntDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelMetricResult> DescribeRtcChannelMetricOutcome;
|
||||
typedef std::future<DescribeRtcChannelMetricOutcome> DescribeRtcChannelMetricOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelMetricRequest&, const DescribeRtcChannelMetricOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelMetricAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartMPUTaskResult> StartMPUTaskOutcome;
|
||||
typedef std::future<StartMPUTaskOutcome> StartMPUTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StartMPUTaskRequest&, const StartMPUTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMPUTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopMPUTaskResult> StopMPUTaskOutcome;
|
||||
typedef std::future<StopMPUTaskOutcome> StopMPUTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StopMPUTaskRequest&, const StopMPUTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMPUTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartTaskResult> StartTaskOutcome;
|
||||
typedef std::future<StartTaskOutcome> StartTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StartTaskRequest&, const StartTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopMPUTaskResult> StopMPUTaskOutcome;
|
||||
typedef std::future<StopMPUTaskOutcome> StopMPUTaskOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::StopMPUTaskRequest&, const StopMPUTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMPUTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyConferenceResult> ModifyConferenceOutcome;
|
||||
typedef std::future<ModifyConferenceOutcome> ModifyConferenceOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::ModifyConferenceRequest&, const ModifyConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyConferenceAsyncHandler;
|
||||
@@ -174,33 +204,48 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateConferenceResult> CreateConferenceOutcome;
|
||||
typedef std::future<CreateConferenceOutcome> CreateConferenceOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateConferenceRequest&, const CreateConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConferenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMPUTaskStatusResult> GetMPUTaskStatusOutcome;
|
||||
typedef std::future<GetMPUTaskStatusOutcome> GetMPUTaskStatusOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::GetMPUTaskStatusRequest&, const GetMPUTaskStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMPUTaskStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcDurationDataResult> DescribeRtcDurationDataOutcome;
|
||||
typedef std::future<DescribeRtcDurationDataOutcome> DescribeRtcDurationDataOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcDurationDataRequest&, const DescribeRtcDurationDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcDurationDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRealTimeRecordDetailResult> DescribeRealTimeRecordDetailOutcome;
|
||||
typedef std::future<DescribeRealTimeRecordDetailOutcome> DescribeRealTimeRecordDetailOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRealTimeRecordDetailRequest&, const DescribeRealTimeRecordDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRealTimeRecordDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMPUTaskStatusResult> GetMPUTaskStatusOutcome;
|
||||
typedef std::future<GetMPUTaskStatusOutcome> GetMPUTaskStatusOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::GetMPUTaskStatusRequest&, const GetMPUTaskStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMPUTaskStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelCntDataResult> DescribeRtcChannelCntDataOutcome;
|
||||
typedef std::future<DescribeRtcChannelCntDataOutcome> DescribeRtcChannelCntDataOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelCntDataRequest&, const DescribeRtcChannelCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelCntDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeChannelParticipantsResult> DescribeChannelParticipantsOutcome;
|
||||
typedef std::future<DescribeChannelParticipantsOutcome> DescribeChannelParticipantsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeChannelParticipantsRequest&, const DescribeChannelParticipantsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeChannelParticipantsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcChannelListResult> DescribeRtcChannelListOutcome;
|
||||
typedef std::future<DescribeRtcChannelListOutcome> DescribeRtcChannelListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcChannelListRequest&, const DescribeRtcChannelListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcChannelListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRealTimeRecordListResult> DescribeRealTimeRecordListOutcome;
|
||||
typedef std::future<DescribeRealTimeRecordListOutcome> DescribeRealTimeRecordListOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRealTimeRecordListRequest&, const DescribeRealTimeRecordListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRealTimeRecordListAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveTerminalsResult> RemoveTerminalsOutcome;
|
||||
typedef std::future<RemoveTerminalsOutcome> RemoveTerminalsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::RemoveTerminalsRequest&, const RemoveTerminalsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveTerminalsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteConferenceResult> DeleteConferenceOutcome;
|
||||
typedef std::future<DeleteConferenceOutcome> DeleteConferenceOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DeleteConferenceRequest&, const DeleteConferenceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConferenceAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveTerminalsResult> RemoveTerminalsOutcome;
|
||||
typedef std::future<RemoveTerminalsOutcome> RemoveTerminalsOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::RemoveTerminalsRequest&, const RemoveTerminalsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveTerminalsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ReceiveNotifyResult> ReceiveNotifyOutcome;
|
||||
typedef std::future<ReceiveNotifyOutcome> ReceiveNotifyOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::ReceiveNotifyRequest&, const ReceiveNotifyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ReceiveNotifyAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnmuteAudioAllResult> UnmuteAudioAllOutcome;
|
||||
typedef std::future<UnmuteAudioAllOutcome> UnmuteAudioAllOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::UnmuteAudioAllRequest&, const UnmuteAudioAllOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnmuteAudioAllAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRecordDetailResult> DescribeRecordDetailOutcome;
|
||||
typedef std::future<DescribeRecordDetailOutcome> DescribeRecordDetailOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRecordDetailRequest&, const DescribeRecordDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateChannelTokenResult> CreateChannelTokenOutcome;
|
||||
typedef std::future<CreateChannelTokenOutcome> CreateChannelTokenOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::CreateChannelTokenRequest&, const CreateChannelTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateChannelTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRecordDetailResult> DescribeRecordDetailOutcome;
|
||||
typedef std::future<DescribeRecordDetailOutcome> DescribeRecordDetailOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRecordDetailRequest&, const DescribeRecordDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRtcPeakChannelCntDataResult> DescribeRtcPeakChannelCntDataOutcome;
|
||||
typedef std::future<DescribeRtcPeakChannelCntDataOutcome> DescribeRtcPeakChannelCntDataOutcomeCallable;
|
||||
typedef std::function<void(const RtcClient*, const Model::DescribeRtcPeakChannelCntDataRequest&, const DescribeRtcPeakChannelCntDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRtcPeakChannelCntDataAsyncHandler;
|
||||
|
||||
RtcClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
RtcClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -227,12 +272,12 @@ namespace AlibabaCloud
|
||||
GetTemplateInfoOutcome getTemplateInfo(const Model::GetTemplateInfoRequest &request)const;
|
||||
void getTemplateInfoAsync(const Model::GetTemplateInfoRequest& request, const GetTemplateInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTemplateInfoOutcomeCallable getTemplateInfoCallable(const Model::GetTemplateInfoRequest& request) const;
|
||||
ModifyAppOutcome modifyApp(const Model::ModifyAppRequest &request)const;
|
||||
void modifyAppAsync(const Model::ModifyAppRequest& request, const ModifyAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAppOutcomeCallable modifyAppCallable(const Model::ModifyAppRequest& request) const;
|
||||
DeleteChannelOutcome deleteChannel(const Model::DeleteChannelRequest &request)const;
|
||||
void deleteChannelAsync(const Model::DeleteChannelRequest& request, const DeleteChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteChannelOutcomeCallable deleteChannelCallable(const Model::DeleteChannelRequest& request) const;
|
||||
ModifyAppOutcome modifyApp(const Model::ModifyAppRequest &request)const;
|
||||
void modifyAppAsync(const Model::ModifyAppRequest& request, const ModifyAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAppOutcomeCallable modifyAppCallable(const Model::ModifyAppRequest& request) const;
|
||||
RemoveParticipantsOutcome removeParticipants(const Model::RemoveParticipantsRequest &request)const;
|
||||
void removeParticipantsAsync(const Model::RemoveParticipantsRequest& request, const RemoveParticipantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveParticipantsOutcomeCallable removeParticipantsCallable(const Model::RemoveParticipantsRequest& request) const;
|
||||
@@ -242,27 +287,39 @@ namespace AlibabaCloud
|
||||
DescribeStatisOutcome describeStatis(const Model::DescribeStatisRequest &request)const;
|
||||
void describeStatisAsync(const Model::DescribeStatisRequest& request, const DescribeStatisAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeStatisOutcomeCallable describeStatisCallable(const Model::DescribeStatisRequest& request) const;
|
||||
DescribeRtcPeakUserCntDataOutcome describeRtcPeakUserCntData(const Model::DescribeRtcPeakUserCntDataRequest &request)const;
|
||||
void describeRtcPeakUserCntDataAsync(const Model::DescribeRtcPeakUserCntDataRequest& request, const DescribeRtcPeakUserCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcPeakUserCntDataOutcomeCallable describeRtcPeakUserCntDataCallable(const Model::DescribeRtcPeakUserCntDataRequest& request) const;
|
||||
CreateChannelOutcome createChannel(const Model::CreateChannelRequest &request)const;
|
||||
void createChannelAsync(const Model::CreateChannelRequest& request, const CreateChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateChannelOutcomeCallable createChannelCallable(const Model::CreateChannelRequest& request) const;
|
||||
StopTaskOutcome stopTask(const Model::StopTaskRequest &request)const;
|
||||
void stopTaskAsync(const Model::StopTaskRequest& request, const StopTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopTaskOutcomeCallable stopTaskCallable(const Model::StopTaskRequest& request) const;
|
||||
GetTaskParamOutcome getTaskParam(const Model::GetTaskParamRequest &request)const;
|
||||
void getTaskParamAsync(const Model::GetTaskParamRequest& request, const GetTaskParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTaskParamOutcomeCallable getTaskParamCallable(const Model::GetTaskParamRequest& request) const;
|
||||
StopTaskOutcome stopTask(const Model::StopTaskRequest &request)const;
|
||||
void stopTaskAsync(const Model::StopTaskRequest& request, const StopTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopTaskOutcomeCallable stopTaskCallable(const Model::StopTaskRequest& request) const;
|
||||
DescribeRtcChannelUserListOutcome describeRtcChannelUserList(const Model::DescribeRtcChannelUserListRequest &request)const;
|
||||
void describeRtcChannelUserListAsync(const Model::DescribeRtcChannelUserListRequest& request, const DescribeRtcChannelUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelUserListOutcomeCallable describeRtcChannelUserListCallable(const Model::DescribeRtcChannelUserListRequest& request) const;
|
||||
UpdateChannelOutcome updateChannel(const Model::UpdateChannelRequest &request)const;
|
||||
void updateChannelAsync(const Model::UpdateChannelRequest& request, const UpdateChannelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateChannelOutcomeCallable updateChannelCallable(const Model::UpdateChannelRequest& request) const;
|
||||
DescribeRtcUserCntDataOutcome describeRtcUserCntData(const Model::DescribeRtcUserCntDataRequest &request)const;
|
||||
void describeRtcUserCntDataAsync(const Model::DescribeRtcUserCntDataRequest& request, const DescribeRtcUserCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcUserCntDataOutcomeCallable describeRtcUserCntDataCallable(const Model::DescribeRtcUserCntDataRequest& request) const;
|
||||
DescribeRtcChannelMetricOutcome describeRtcChannelMetric(const Model::DescribeRtcChannelMetricRequest &request)const;
|
||||
void describeRtcChannelMetricAsync(const Model::DescribeRtcChannelMetricRequest& request, const DescribeRtcChannelMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelMetricOutcomeCallable describeRtcChannelMetricCallable(const Model::DescribeRtcChannelMetricRequest& request) const;
|
||||
StartMPUTaskOutcome startMPUTask(const Model::StartMPUTaskRequest &request)const;
|
||||
void startMPUTaskAsync(const Model::StartMPUTaskRequest& request, const StartMPUTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartMPUTaskOutcomeCallable startMPUTaskCallable(const Model::StartMPUTaskRequest& request) const;
|
||||
StopMPUTaskOutcome stopMPUTask(const Model::StopMPUTaskRequest &request)const;
|
||||
void stopMPUTaskAsync(const Model::StopMPUTaskRequest& request, const StopMPUTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopMPUTaskOutcomeCallable stopMPUTaskCallable(const Model::StopMPUTaskRequest& request) const;
|
||||
StartTaskOutcome startTask(const Model::StartTaskRequest &request)const;
|
||||
void startTaskAsync(const Model::StartTaskRequest& request, const StartTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartTaskOutcomeCallable startTaskCallable(const Model::StartTaskRequest& request) const;
|
||||
StopMPUTaskOutcome stopMPUTask(const Model::StopMPUTaskRequest &request)const;
|
||||
void stopMPUTaskAsync(const Model::StopMPUTaskRequest& request, const StopMPUTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopMPUTaskOutcomeCallable stopMPUTaskCallable(const Model::StopMPUTaskRequest& request) const;
|
||||
ModifyConferenceOutcome modifyConference(const Model::ModifyConferenceRequest &request)const;
|
||||
void modifyConferenceAsync(const Model::ModifyConferenceRequest& request, const ModifyConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyConferenceOutcomeCallable modifyConferenceCallable(const Model::ModifyConferenceRequest& request) const;
|
||||
@@ -281,33 +338,48 @@ namespace AlibabaCloud
|
||||
CreateConferenceOutcome createConference(const Model::CreateConferenceRequest &request)const;
|
||||
void createConferenceAsync(const Model::CreateConferenceRequest& request, const CreateConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConferenceOutcomeCallable createConferenceCallable(const Model::CreateConferenceRequest& request) const;
|
||||
GetMPUTaskStatusOutcome getMPUTaskStatus(const Model::GetMPUTaskStatusRequest &request)const;
|
||||
void getMPUTaskStatusAsync(const Model::GetMPUTaskStatusRequest& request, const GetMPUTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMPUTaskStatusOutcomeCallable getMPUTaskStatusCallable(const Model::GetMPUTaskStatusRequest& request) const;
|
||||
DescribeRtcDurationDataOutcome describeRtcDurationData(const Model::DescribeRtcDurationDataRequest &request)const;
|
||||
void describeRtcDurationDataAsync(const Model::DescribeRtcDurationDataRequest& request, const DescribeRtcDurationDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcDurationDataOutcomeCallable describeRtcDurationDataCallable(const Model::DescribeRtcDurationDataRequest& request) const;
|
||||
DescribeRealTimeRecordDetailOutcome describeRealTimeRecordDetail(const Model::DescribeRealTimeRecordDetailRequest &request)const;
|
||||
void describeRealTimeRecordDetailAsync(const Model::DescribeRealTimeRecordDetailRequest& request, const DescribeRealTimeRecordDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRealTimeRecordDetailOutcomeCallable describeRealTimeRecordDetailCallable(const Model::DescribeRealTimeRecordDetailRequest& request) const;
|
||||
GetMPUTaskStatusOutcome getMPUTaskStatus(const Model::GetMPUTaskStatusRequest &request)const;
|
||||
void getMPUTaskStatusAsync(const Model::GetMPUTaskStatusRequest& request, const GetMPUTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMPUTaskStatusOutcomeCallable getMPUTaskStatusCallable(const Model::GetMPUTaskStatusRequest& request) const;
|
||||
DescribeRtcChannelCntDataOutcome describeRtcChannelCntData(const Model::DescribeRtcChannelCntDataRequest &request)const;
|
||||
void describeRtcChannelCntDataAsync(const Model::DescribeRtcChannelCntDataRequest& request, const DescribeRtcChannelCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelCntDataOutcomeCallable describeRtcChannelCntDataCallable(const Model::DescribeRtcChannelCntDataRequest& request) const;
|
||||
DescribeChannelParticipantsOutcome describeChannelParticipants(const Model::DescribeChannelParticipantsRequest &request)const;
|
||||
void describeChannelParticipantsAsync(const Model::DescribeChannelParticipantsRequest& request, const DescribeChannelParticipantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeChannelParticipantsOutcomeCallable describeChannelParticipantsCallable(const Model::DescribeChannelParticipantsRequest& request) const;
|
||||
DescribeRtcChannelListOutcome describeRtcChannelList(const Model::DescribeRtcChannelListRequest &request)const;
|
||||
void describeRtcChannelListAsync(const Model::DescribeRtcChannelListRequest& request, const DescribeRtcChannelListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcChannelListOutcomeCallable describeRtcChannelListCallable(const Model::DescribeRtcChannelListRequest& request) const;
|
||||
DescribeRealTimeRecordListOutcome describeRealTimeRecordList(const Model::DescribeRealTimeRecordListRequest &request)const;
|
||||
void describeRealTimeRecordListAsync(const Model::DescribeRealTimeRecordListRequest& request, const DescribeRealTimeRecordListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRealTimeRecordListOutcomeCallable describeRealTimeRecordListCallable(const Model::DescribeRealTimeRecordListRequest& request) const;
|
||||
RemoveTerminalsOutcome removeTerminals(const Model::RemoveTerminalsRequest &request)const;
|
||||
void removeTerminalsAsync(const Model::RemoveTerminalsRequest& request, const RemoveTerminalsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveTerminalsOutcomeCallable removeTerminalsCallable(const Model::RemoveTerminalsRequest& request) const;
|
||||
DeleteConferenceOutcome deleteConference(const Model::DeleteConferenceRequest &request)const;
|
||||
void deleteConferenceAsync(const Model::DeleteConferenceRequest& request, const DeleteConferenceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConferenceOutcomeCallable deleteConferenceCallable(const Model::DeleteConferenceRequest& request) const;
|
||||
RemoveTerminalsOutcome removeTerminals(const Model::RemoveTerminalsRequest &request)const;
|
||||
void removeTerminalsAsync(const Model::RemoveTerminalsRequest& request, const RemoveTerminalsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveTerminalsOutcomeCallable removeTerminalsCallable(const Model::RemoveTerminalsRequest& request) const;
|
||||
ReceiveNotifyOutcome receiveNotify(const Model::ReceiveNotifyRequest &request)const;
|
||||
void receiveNotifyAsync(const Model::ReceiveNotifyRequest& request, const ReceiveNotifyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ReceiveNotifyOutcomeCallable receiveNotifyCallable(const Model::ReceiveNotifyRequest& request) const;
|
||||
UnmuteAudioAllOutcome unmuteAudioAll(const Model::UnmuteAudioAllRequest &request)const;
|
||||
void unmuteAudioAllAsync(const Model::UnmuteAudioAllRequest& request, const UnmuteAudioAllAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnmuteAudioAllOutcomeCallable unmuteAudioAllCallable(const Model::UnmuteAudioAllRequest& request) const;
|
||||
DescribeRecordDetailOutcome describeRecordDetail(const Model::DescribeRecordDetailRequest &request)const;
|
||||
void describeRecordDetailAsync(const Model::DescribeRecordDetailRequest& request, const DescribeRecordDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRecordDetailOutcomeCallable describeRecordDetailCallable(const Model::DescribeRecordDetailRequest& request) const;
|
||||
CreateChannelTokenOutcome createChannelToken(const Model::CreateChannelTokenRequest &request)const;
|
||||
void createChannelTokenAsync(const Model::CreateChannelTokenRequest& request, const CreateChannelTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateChannelTokenOutcomeCallable createChannelTokenCallable(const Model::CreateChannelTokenRequest& request) const;
|
||||
DescribeRecordDetailOutcome describeRecordDetail(const Model::DescribeRecordDetailRequest &request)const;
|
||||
void describeRecordDetailAsync(const Model::DescribeRecordDetailRequest& request, const DescribeRecordDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRecordDetailOutcomeCallable describeRecordDetailCallable(const Model::DescribeRecordDetailRequest& request) const;
|
||||
DescribeRtcPeakChannelCntDataOutcome describeRtcPeakChannelCntData(const Model::DescribeRtcPeakChannelCntDataRequest &request)const;
|
||||
void describeRtcPeakChannelCntDataAsync(const Model::DescribeRtcPeakChannelCntDataRequest& request, const DescribeRtcPeakChannelCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRtcPeakChannelCntDataOutcomeCallable describeRtcPeakChannelCntDataCallable(const Model::DescribeRtcPeakChannelCntDataRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -35,77 +35,80 @@ namespace AlibabaCloud
|
||||
CreateChannelRequest();
|
||||
~CreateChannelRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string appId_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
std::string channelId_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
CreateChannelTokenRequest();
|
||||
~CreateChannelTokenRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -65,8 +67,6 @@ namespace AlibabaCloud
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
@@ -81,6 +81,8 @@ namespace AlibabaCloud
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
@@ -89,6 +91,7 @@ namespace AlibabaCloud
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string sessionId_;
|
||||
@@ -104,7 +107,6 @@ namespace AlibabaCloud
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
@@ -112,6 +114,7 @@ namespace AlibabaCloud
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -35,77 +35,80 @@ namespace AlibabaCloud
|
||||
DeleteChannelRequest();
|
||||
~DeleteChannelRequest();
|
||||
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string version_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
std::string accessKeyId_;
|
||||
bool security_transport_;
|
||||
std::string securityToken_;
|
||||
std::string requestId_;
|
||||
std::string requestContent_;
|
||||
std::string appId_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
std::string channelId_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBECHANNELPARTICIPANTSREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBECHANNELPARTICIPANTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeChannelParticipantsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeChannelParticipantsRequest();
|
||||
~DescribeChannelParticipantsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getOrder()const;
|
||||
void setOrder(const std::string& order);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
int pageNum_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
int pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string order_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBECHANNELPARTICIPANTSREQUEST_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_RTC_MODEL_DESCRIBECHANNELPARTICIPANTSRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBECHANNELPARTICIPANTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeChannelParticipantsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeChannelParticipantsResult();
|
||||
explicit DescribeChannelParticipantsResult(const std::string &payload);
|
||||
~DescribeChannelParticipantsResult();
|
||||
int getTotalNum()const;
|
||||
int getTotalPage()const;
|
||||
std::vector<std::string> getUserList()const;
|
||||
int getTimestamp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalNum_;
|
||||
int totalPage_;
|
||||
std::vector<std::string> userList_;
|
||||
int timestamp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBECHANNELPARTICIPANTSRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCCHANNELCNTDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELCNTDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelCntDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRtcChannelCntDataRequest();
|
||||
~DescribeRtcChannelCntDataRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string serviceArea_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string interval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELCNTDATAREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCCHANNELCNTDATARESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELCNTDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelCntDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ChannelCntModule
|
||||
{
|
||||
long activeChannelCnt;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeRtcChannelCntDataResult();
|
||||
explicit DescribeRtcChannelCntDataResult(const std::string &payload);
|
||||
~DescribeRtcChannelCntDataResult();
|
||||
std::vector<ChannelCntModule> getChannelCntDataPerInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<ChannelCntModule> channelCntDataPerInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELCNTDATARESULT_H_
|
||||
@@ -0,0 +1,135 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCCHANNELLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRtcChannelListRequest();
|
||||
~DescribeRtcChannelListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSortType()const;
|
||||
void setSortType(const std::string& sortType);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
long getPageNo()const;
|
||||
void setPageNo(long pageNo);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
std::string getTimePoint()const;
|
||||
void setTimePoint(const std::string& timePoint);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sortType_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string userId_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string serviceArea_;
|
||||
long pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
long pageNo_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
std::string timePoint_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELLISTREQUEST_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_RTC_MODEL_DESCRIBERTCCHANNELLISTRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ChannelListItem
|
||||
{
|
||||
long totalUserCnt;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string channelId;
|
||||
std::vector<std::string> callArea;
|
||||
};
|
||||
|
||||
|
||||
DescribeRtcChannelListResult();
|
||||
explicit DescribeRtcChannelListResult(const std::string &payload);
|
||||
~DescribeRtcChannelListResult();
|
||||
long getPageSize()const;
|
||||
long getTotalCnt()const;
|
||||
long getPageNo()const;
|
||||
std::vector<ChannelListItem> getChannelList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long pageSize_;
|
||||
long totalCnt_;
|
||||
long pageNo_;
|
||||
std::vector<ChannelListItem> channelList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELLISTRESULT_H_
|
||||
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCCHANNELMETRICREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELMETRICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelMetricRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRtcChannelMetricRequest();
|
||||
~DescribeRtcChannelMetricRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
std::string getTimePoint()const;
|
||||
void setTimePoint(const std::string& timePoint);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
std::string timePoint_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELMETRICREQUEST_H_
|
||||
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCCHANNELMETRICRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELMETRICRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelMetricResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ChannelMetricInfo
|
||||
{
|
||||
struct ChannelMetric
|
||||
{
|
||||
std::string endTime;
|
||||
int userCount;
|
||||
std::string startTime;
|
||||
int subUserCount;
|
||||
std::string channelId;
|
||||
int pubUserCount;
|
||||
};
|
||||
struct Duration
|
||||
{
|
||||
struct PubDuration
|
||||
{
|
||||
int video720;
|
||||
int video1080;
|
||||
int content;
|
||||
int video360;
|
||||
int audio;
|
||||
};
|
||||
struct SubDuration
|
||||
{
|
||||
int video720;
|
||||
int video1080;
|
||||
int content;
|
||||
int video360;
|
||||
int audio;
|
||||
};
|
||||
SubDuration subDuration;
|
||||
PubDuration pubDuration;
|
||||
};
|
||||
ChannelMetric channelMetric;
|
||||
Duration duration;
|
||||
};
|
||||
|
||||
|
||||
DescribeRtcChannelMetricResult();
|
||||
explicit DescribeRtcChannelMetricResult(const std::string &payload);
|
||||
~DescribeRtcChannelMetricResult();
|
||||
ChannelMetricInfo getChannelMetricInfo()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ChannelMetricInfo channelMetricInfo_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELMETRICRESULT_H_
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCCHANNELUSERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELUSERLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelUserListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRtcChannelUserListRequest();
|
||||
~DescribeRtcChannelUserListRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
long getPageNo()const;
|
||||
void setPageNo(long pageNo);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getChannelId()const;
|
||||
void setChannelId(const std::string& channelId);
|
||||
std::string getTimePoint()const;
|
||||
void setTimePoint(const std::string& timePoint);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
long pageSize_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
long pageNo_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
std::string timePoint_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELUSERLISTREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELUSERLISTRESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELUSERLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcChannelUserListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UserListItem
|
||||
{
|
||||
int subContent;
|
||||
int pubContent;
|
||||
int pubVideo720;
|
||||
int subVideo1080;
|
||||
std::string endTime;
|
||||
int pubAudio;
|
||||
std::string startTime;
|
||||
std::string channelId;
|
||||
int pubVideo1080;
|
||||
int subVideo360;
|
||||
std::string serviceArea;
|
||||
std::string userId;
|
||||
int subAudio;
|
||||
int subVideo720;
|
||||
int pubVideo360;
|
||||
};
|
||||
|
||||
|
||||
DescribeRtcChannelUserListResult();
|
||||
explicit DescribeRtcChannelUserListResult(const std::string &payload);
|
||||
~DescribeRtcChannelUserListResult();
|
||||
long getPageSize()const;
|
||||
long getTotalCnt()const;
|
||||
long getPageNo()const;
|
||||
std::vector<UserListItem> getUserList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long pageSize_;
|
||||
long totalCnt_;
|
||||
long pageNo_;
|
||||
std::vector<UserListItem> userList_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCCHANNELUSERLISTRESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCDURATIONDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCDURATIONDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcDurationDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRtcDurationDataRequest();
|
||||
~DescribeRtcDurationDataRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string serviceArea_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string interval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCDURATIONDATAREQUEST_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_RTC_MODEL_DESCRIBERTCDURATIONDATARESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCDURATIONDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcDurationDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DurationModule
|
||||
{
|
||||
long contentDuration;
|
||||
long v360Duration;
|
||||
long v720Duration;
|
||||
long v1080Duration;
|
||||
std::string timeStamp;
|
||||
long totalDuration;
|
||||
long audioDuration;
|
||||
};
|
||||
|
||||
|
||||
DescribeRtcDurationDataResult();
|
||||
explicit DescribeRtcDurationDataResult(const std::string &payload);
|
||||
~DescribeRtcDurationDataResult();
|
||||
std::vector<DurationModule> getDurationDataPerInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DurationModule> durationDataPerInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCDURATIONDATARESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCPEAKCHANNELCNTDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCPEAKCHANNELCNTDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcPeakChannelCntDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRtcPeakChannelCntDataRequest();
|
||||
~DescribeRtcPeakChannelCntDataRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string serviceArea_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string interval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCPEAKCHANNELCNTDATAREQUEST_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_RTC_MODEL_DESCRIBERTCPEAKCHANNELCNTDATARESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCPEAKCHANNELCNTDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcPeakChannelCntDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PeakChannelCntModule
|
||||
{
|
||||
long activeChannelPeak;
|
||||
std::string activeChannelPeakTime;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeRtcPeakChannelCntDataResult();
|
||||
explicit DescribeRtcPeakChannelCntDataResult(const std::string &payload);
|
||||
~DescribeRtcPeakChannelCntDataResult();
|
||||
std::vector<PeakChannelCntModule> getPeakChannelCntDataPerInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PeakChannelCntModule> peakChannelCntDataPerInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCPEAKCHANNELCNTDATARESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCPEAKUSERCNTDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCPEAKUSERCNTDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcPeakUserCntDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRtcPeakUserCntDataRequest();
|
||||
~DescribeRtcPeakUserCntDataRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string serviceArea_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string interval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCPEAKUSERCNTDATAREQUEST_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_RTC_MODEL_DESCRIBERTCPEAKUSERCNTDATARESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCPEAKUSERCNTDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcPeakUserCntDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PeakUserCntModule
|
||||
{
|
||||
std::string activeUserPeakTime;
|
||||
long activeUserPeak;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeRtcPeakUserCntDataResult();
|
||||
explicit DescribeRtcPeakUserCntDataResult(const std::string &payload);
|
||||
~DescribeRtcPeakUserCntDataResult();
|
||||
std::vector<PeakUserCntModule> getPeakUserCntDataPerInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PeakUserCntModule> peakUserCntDataPerInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCPEAKUSERCNTDATARESULT_H_
|
||||
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCUSERCNTDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCUSERCNTDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcUserCntDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRtcUserCntDataRequest();
|
||||
~DescribeRtcUserCntDataRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
void setProxy_original_security_transport(bool proxy_original_security_transport);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getProxy_original_source_ip()const;
|
||||
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
|
||||
std::string getOwnerIdLoginEmail()const;
|
||||
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
|
||||
std::string getCallerType()const;
|
||||
void setCallerType(const std::string& callerType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getServiceArea()const;
|
||||
void setServiceArea(const std::string& serviceArea);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getCallerUidEmail()const;
|
||||
void setCallerUidEmail(const std::string& callerUidEmail);
|
||||
long getCallerUid()const;
|
||||
void setCallerUid(long callerUid);
|
||||
std::string getApp_ip()const;
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion()const;
|
||||
void setVersion(const std::string& version);
|
||||
bool getProxy_trust_transport_info()const;
|
||||
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
|
||||
bool getAk_mfa_present()const;
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getInterval()const;
|
||||
void setInterval(const std::string& interval);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string startTime_;
|
||||
std::string proxy_original_source_ip_;
|
||||
std::string ownerIdLoginEmail_;
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string serviceArea_;
|
||||
std::string callerBidEmail_;
|
||||
std::string callerUidEmail_;
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string endTime_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string interval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCUSERCNTDATAREQUEST_H_
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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_RTC_MODEL_DESCRIBERTCUSERCNTDATARESULT_H_
|
||||
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERTCUSERCNTDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/rtc/RtcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Rtc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_RTC_EXPORT DescribeRtcUserCntDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UserCntModule
|
||||
{
|
||||
long activeUserCnt;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeRtcUserCntDataResult();
|
||||
explicit DescribeRtcUserCntDataResult(const std::string &payload);
|
||||
~DescribeRtcUserCntDataResult();
|
||||
std::vector<UserCntModule> getUserCntDataPerInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<UserCntModule> userCntDataPerInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERTCUSERCNTDATARESULT_H_
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
RemoveTerminalsRequest();
|
||||
~RemoveTerminalsRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -63,8 +65,6 @@ namespace AlibabaCloud
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
@@ -77,6 +77,8 @@ namespace AlibabaCloud
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
@@ -85,6 +87,7 @@ namespace AlibabaCloud
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
@@ -99,13 +102,13 @@ namespace AlibabaCloud
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -59,12 +59,16 @@ namespace AlibabaCloud
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getBackgroundColor()const;
|
||||
void setBackgroundColor(int backgroundColor);
|
||||
int getCropMode()const;
|
||||
void setCropMode(int cropMode);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getRequestContent()const;
|
||||
void setRequestContent(const std::string& requestContent);
|
||||
std::string getCallerBidEmail()const;
|
||||
void setCallerBidEmail(const std::string& callerBidEmail);
|
||||
std::string getTaskProfile()const;
|
||||
void setTaskProfile(const std::string& taskProfile);
|
||||
std::vector<long> getLayoutIds()const;
|
||||
void setLayoutIds(const std::vector<long>& layoutIds);
|
||||
std::string getCallerUidEmail()const;
|
||||
@@ -91,6 +95,8 @@ namespace AlibabaCloud
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
@@ -110,9 +116,11 @@ namespace AlibabaCloud
|
||||
std::string callerType_;
|
||||
std::string accessKeyId_;
|
||||
int backgroundColor_;
|
||||
int cropMode_;
|
||||
std::string securityToken_;
|
||||
std::string requestContent_;
|
||||
std::string callerBidEmail_;
|
||||
std::string taskProfile_;
|
||||
std::vector<long> layoutIds_;
|
||||
std::string callerUidEmail_;
|
||||
std::string taskId_;
|
||||
@@ -126,6 +134,7 @@ namespace AlibabaCloud
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
int mediaEncode_;
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
UpdateChannelRequest();
|
||||
~UpdateChannelRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
long getCallerParentId()const;
|
||||
void setCallerParentId(long callerParentId);
|
||||
bool getProxy_original_security_transport()const;
|
||||
@@ -61,8 +63,6 @@ namespace AlibabaCloud
|
||||
void setApp_ip(const std::string& app_ip);
|
||||
std::string getPopProduct()const;
|
||||
void setPopProduct(const std::string& popProduct);
|
||||
std::string getProduct()const;
|
||||
void setProduct(const std::string& product);
|
||||
std::string getCallerBid()const;
|
||||
void setCallerBid(const std::string& callerBid);
|
||||
long getOwnerId()const;
|
||||
@@ -77,6 +77,8 @@ namespace AlibabaCloud
|
||||
void setAk_mfa_present(bool ak_mfa_present);
|
||||
bool getSecurity_transport()const;
|
||||
void setSecurity_transport(bool security_transport);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getRequestId()const;
|
||||
void setRequestId(const std::string& requestId);
|
||||
std::string getAppId()const;
|
||||
@@ -85,6 +87,7 @@ namespace AlibabaCloud
|
||||
void setChannelId(const std::string& channelId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
long callerParentId_;
|
||||
bool proxy_original_security_transport_;
|
||||
std::string proxy_original_source_ip_;
|
||||
@@ -98,7 +101,6 @@ namespace AlibabaCloud
|
||||
long callerUid_;
|
||||
std::string app_ip_;
|
||||
std::string popProduct_;
|
||||
std::string product_;
|
||||
std::string callerBid_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
@@ -106,6 +108,7 @@ namespace AlibabaCloud
|
||||
bool proxy_trust_transport_info_;
|
||||
bool ak_mfa_present_;
|
||||
bool security_transport_;
|
||||
std::string serviceCode_;
|
||||
std::string requestId_;
|
||||
std::string appId_;
|
||||
std::string channelId_;
|
||||
|
||||
@@ -303,42 +303,6 @@ RtcClient::GetTemplateInfoOutcomeCallable RtcClient::getTemplateInfoCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::ModifyAppOutcome RtcClient::modifyApp(const ModifyAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyAppOutcome(ModifyAppResult(outcome.result()));
|
||||
else
|
||||
return ModifyAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::modifyAppAsync(const ModifyAppRequest& request, const ModifyAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::ModifyAppOutcomeCallable RtcClient::modifyAppCallable(const ModifyAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DeleteChannelOutcome RtcClient::deleteChannel(const DeleteChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +339,42 @@ RtcClient::DeleteChannelOutcomeCallable RtcClient::deleteChannelCallable(const D
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::ModifyAppOutcome RtcClient::modifyApp(const ModifyAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyAppOutcome(ModifyAppResult(outcome.result()));
|
||||
else
|
||||
return ModifyAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::modifyAppAsync(const ModifyAppRequest& request, const ModifyAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::ModifyAppOutcomeCallable RtcClient::modifyAppCallable(const ModifyAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::RemoveParticipantsOutcome RtcClient::removeParticipants(const RemoveParticipantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +483,42 @@ RtcClient::DescribeStatisOutcomeCallable RtcClient::describeStatisCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcPeakUserCntDataOutcome RtcClient::describeRtcPeakUserCntData(const DescribeRtcPeakUserCntDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRtcPeakUserCntDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRtcPeakUserCntDataOutcome(DescribeRtcPeakUserCntDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeRtcPeakUserCntDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRtcPeakUserCntDataAsync(const DescribeRtcPeakUserCntDataRequest& request, const DescribeRtcPeakUserCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRtcPeakUserCntData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcPeakUserCntDataOutcomeCallable RtcClient::describeRtcPeakUserCntDataCallable(const DescribeRtcPeakUserCntDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRtcPeakUserCntDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRtcPeakUserCntData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::CreateChannelOutcome RtcClient::createChannel(const CreateChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,42 +555,6 @@ RtcClient::CreateChannelOutcomeCallable RtcClient::createChannelCallable(const C
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StopTaskOutcome RtcClient::stopTask(const StopTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopTaskOutcome(StopTaskResult(outcome.result()));
|
||||
else
|
||||
return StopTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::stopTaskAsync(const StopTaskRequest& request, const StopTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::StopTaskOutcomeCallable RtcClient::stopTaskCallable(const StopTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::GetTaskParamOutcome RtcClient::getTaskParam(const GetTaskParamRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -591,6 +591,78 @@ RtcClient::GetTaskParamOutcomeCallable RtcClient::getTaskParamCallable(const Get
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StopTaskOutcome RtcClient::stopTask(const StopTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopTaskOutcome(StopTaskResult(outcome.result()));
|
||||
else
|
||||
return StopTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::stopTaskAsync(const StopTaskRequest& request, const StopTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::StopTaskOutcomeCallable RtcClient::stopTaskCallable(const StopTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcChannelUserListOutcome RtcClient::describeRtcChannelUserList(const DescribeRtcChannelUserListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRtcChannelUserListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRtcChannelUserListOutcome(DescribeRtcChannelUserListResult(outcome.result()));
|
||||
else
|
||||
return DescribeRtcChannelUserListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRtcChannelUserListAsync(const DescribeRtcChannelUserListRequest& request, const DescribeRtcChannelUserListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRtcChannelUserList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcChannelUserListOutcomeCallable RtcClient::describeRtcChannelUserListCallable(const DescribeRtcChannelUserListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRtcChannelUserListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRtcChannelUserList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::UpdateChannelOutcome RtcClient::updateChannel(const UpdateChannelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -627,6 +699,78 @@ RtcClient::UpdateChannelOutcomeCallable RtcClient::updateChannelCallable(const U
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcUserCntDataOutcome RtcClient::describeRtcUserCntData(const DescribeRtcUserCntDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRtcUserCntDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRtcUserCntDataOutcome(DescribeRtcUserCntDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeRtcUserCntDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRtcUserCntDataAsync(const DescribeRtcUserCntDataRequest& request, const DescribeRtcUserCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRtcUserCntData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcUserCntDataOutcomeCallable RtcClient::describeRtcUserCntDataCallable(const DescribeRtcUserCntDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRtcUserCntDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRtcUserCntData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcChannelMetricOutcome RtcClient::describeRtcChannelMetric(const DescribeRtcChannelMetricRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRtcChannelMetricOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRtcChannelMetricOutcome(DescribeRtcChannelMetricResult(outcome.result()));
|
||||
else
|
||||
return DescribeRtcChannelMetricOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRtcChannelMetricAsync(const DescribeRtcChannelMetricRequest& request, const DescribeRtcChannelMetricAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRtcChannelMetric(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcChannelMetricOutcomeCallable RtcClient::describeRtcChannelMetricCallable(const DescribeRtcChannelMetricRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRtcChannelMetricOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRtcChannelMetric(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StartMPUTaskOutcome RtcClient::startMPUTask(const StartMPUTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -663,42 +807,6 @@ RtcClient::StartMPUTaskOutcomeCallable RtcClient::startMPUTaskCallable(const Sta
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StopMPUTaskOutcome RtcClient::stopMPUTask(const StopMPUTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopMPUTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopMPUTaskOutcome(StopMPUTaskResult(outcome.result()));
|
||||
else
|
||||
return StopMPUTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::stopMPUTaskAsync(const StopMPUTaskRequest& request, const StopMPUTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopMPUTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::StopMPUTaskOutcomeCallable RtcClient::stopMPUTaskCallable(const StopMPUTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopMPUTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopMPUTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StartTaskOutcome RtcClient::startTask(const StartTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,6 +843,42 @@ RtcClient::StartTaskOutcomeCallable RtcClient::startTaskCallable(const StartTask
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::StopMPUTaskOutcome RtcClient::stopMPUTask(const StopMPUTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopMPUTaskOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopMPUTaskOutcome(StopMPUTaskResult(outcome.result()));
|
||||
else
|
||||
return StopMPUTaskOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::stopMPUTaskAsync(const StopMPUTaskRequest& request, const StopMPUTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopMPUTask(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::StopMPUTaskOutcomeCallable RtcClient::stopMPUTaskCallable(const StopMPUTaskRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopMPUTaskOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopMPUTask(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::ModifyConferenceOutcome RtcClient::modifyConference(const ModifyConferenceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -951,36 +1095,36 @@ RtcClient::CreateConferenceOutcomeCallable RtcClient::createConferenceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::GetMPUTaskStatusOutcome RtcClient::getMPUTaskStatus(const GetMPUTaskStatusRequest &request) const
|
||||
RtcClient::DescribeRtcDurationDataOutcome RtcClient::describeRtcDurationData(const DescribeRtcDurationDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMPUTaskStatusOutcome(endpointOutcome.error());
|
||||
return DescribeRtcDurationDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMPUTaskStatusOutcome(GetMPUTaskStatusResult(outcome.result()));
|
||||
return DescribeRtcDurationDataOutcome(DescribeRtcDurationDataResult(outcome.result()));
|
||||
else
|
||||
return GetMPUTaskStatusOutcome(outcome.error());
|
||||
return DescribeRtcDurationDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::getMPUTaskStatusAsync(const GetMPUTaskStatusRequest& request, const GetMPUTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void RtcClient::describeRtcDurationDataAsync(const DescribeRtcDurationDataRequest& request, const DescribeRtcDurationDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMPUTaskStatus(request), context);
|
||||
handler(this, request, describeRtcDurationData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::GetMPUTaskStatusOutcomeCallable RtcClient::getMPUTaskStatusCallable(const GetMPUTaskStatusRequest &request) const
|
||||
RtcClient::DescribeRtcDurationDataOutcomeCallable RtcClient::describeRtcDurationDataCallable(const DescribeRtcDurationDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMPUTaskStatusOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRtcDurationDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMPUTaskStatus(request);
|
||||
return this->describeRtcDurationData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -1023,6 +1167,150 @@ RtcClient::DescribeRealTimeRecordDetailOutcomeCallable RtcClient::describeRealTi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::GetMPUTaskStatusOutcome RtcClient::getMPUTaskStatus(const GetMPUTaskStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMPUTaskStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMPUTaskStatusOutcome(GetMPUTaskStatusResult(outcome.result()));
|
||||
else
|
||||
return GetMPUTaskStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::getMPUTaskStatusAsync(const GetMPUTaskStatusRequest& request, const GetMPUTaskStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMPUTaskStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::GetMPUTaskStatusOutcomeCallable RtcClient::getMPUTaskStatusCallable(const GetMPUTaskStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMPUTaskStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMPUTaskStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcChannelCntDataOutcome RtcClient::describeRtcChannelCntData(const DescribeRtcChannelCntDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRtcChannelCntDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRtcChannelCntDataOutcome(DescribeRtcChannelCntDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeRtcChannelCntDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRtcChannelCntDataAsync(const DescribeRtcChannelCntDataRequest& request, const DescribeRtcChannelCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRtcChannelCntData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcChannelCntDataOutcomeCallable RtcClient::describeRtcChannelCntDataCallable(const DescribeRtcChannelCntDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRtcChannelCntDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRtcChannelCntData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeChannelParticipantsOutcome RtcClient::describeChannelParticipants(const DescribeChannelParticipantsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeChannelParticipantsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeChannelParticipantsOutcome(DescribeChannelParticipantsResult(outcome.result()));
|
||||
else
|
||||
return DescribeChannelParticipantsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeChannelParticipantsAsync(const DescribeChannelParticipantsRequest& request, const DescribeChannelParticipantsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeChannelParticipants(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeChannelParticipantsOutcomeCallable RtcClient::describeChannelParticipantsCallable(const DescribeChannelParticipantsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeChannelParticipantsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeChannelParticipants(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcChannelListOutcome RtcClient::describeRtcChannelList(const DescribeRtcChannelListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRtcChannelListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRtcChannelListOutcome(DescribeRtcChannelListResult(outcome.result()));
|
||||
else
|
||||
return DescribeRtcChannelListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRtcChannelListAsync(const DescribeRtcChannelListRequest& request, const DescribeRtcChannelListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRtcChannelList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcChannelListOutcomeCallable RtcClient::describeRtcChannelListCallable(const DescribeRtcChannelListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRtcChannelListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRtcChannelList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRealTimeRecordListOutcome RtcClient::describeRealTimeRecordList(const DescribeRealTimeRecordListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1059,42 +1347,6 @@ RtcClient::DescribeRealTimeRecordListOutcomeCallable RtcClient::describeRealTime
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::RemoveTerminalsOutcome RtcClient::removeTerminals(const RemoveTerminalsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveTerminalsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveTerminalsOutcome(RemoveTerminalsResult(outcome.result()));
|
||||
else
|
||||
return RemoveTerminalsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::removeTerminalsAsync(const RemoveTerminalsRequest& request, const RemoveTerminalsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeTerminals(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::RemoveTerminalsOutcomeCallable RtcClient::removeTerminalsCallable(const RemoveTerminalsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveTerminalsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeTerminals(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DeleteConferenceOutcome RtcClient::deleteConference(const DeleteConferenceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1131,6 +1383,42 @@ RtcClient::DeleteConferenceOutcomeCallable RtcClient::deleteConferenceCallable(c
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::RemoveTerminalsOutcome RtcClient::removeTerminals(const RemoveTerminalsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveTerminalsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveTerminalsOutcome(RemoveTerminalsResult(outcome.result()));
|
||||
else
|
||||
return RemoveTerminalsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::removeTerminalsAsync(const RemoveTerminalsRequest& request, const RemoveTerminalsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeTerminals(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::RemoveTerminalsOutcomeCallable RtcClient::removeTerminalsCallable(const RemoveTerminalsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveTerminalsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeTerminals(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::ReceiveNotifyOutcome RtcClient::receiveNotify(const ReceiveNotifyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,42 +1491,6 @@ RtcClient::UnmuteAudioAllOutcomeCallable RtcClient::unmuteAudioAllCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRecordDetailOutcome RtcClient::describeRecordDetail(const DescribeRecordDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRecordDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRecordDetailOutcome(DescribeRecordDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeRecordDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRecordDetailAsync(const DescribeRecordDetailRequest& request, const DescribeRecordDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRecordDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRecordDetailOutcomeCallable RtcClient::describeRecordDetailCallable(const DescribeRecordDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRecordDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRecordDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::CreateChannelTokenOutcome RtcClient::createChannelToken(const CreateChannelTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1275,3 +1527,75 @@ RtcClient::CreateChannelTokenOutcomeCallable RtcClient::createChannelTokenCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRecordDetailOutcome RtcClient::describeRecordDetail(const DescribeRecordDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRecordDetailOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRecordDetailOutcome(DescribeRecordDetailResult(outcome.result()));
|
||||
else
|
||||
return DescribeRecordDetailOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRecordDetailAsync(const DescribeRecordDetailRequest& request, const DescribeRecordDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRecordDetail(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRecordDetailOutcomeCallable RtcClient::describeRecordDetailCallable(const DescribeRecordDetailRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRecordDetailOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRecordDetail(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcPeakChannelCntDataOutcome RtcClient::describeRtcPeakChannelCntData(const DescribeRtcPeakChannelCntDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRtcPeakChannelCntDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRtcPeakChannelCntDataOutcome(DescribeRtcPeakChannelCntDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeRtcPeakChannelCntDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void RtcClient::describeRtcPeakChannelCntDataAsync(const DescribeRtcPeakChannelCntDataRequest& request, const DescribeRtcPeakChannelCntDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRtcPeakChannelCntData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
RtcClient::DescribeRtcPeakChannelCntDataOutcomeCallable RtcClient::describeRtcPeakChannelCntDataCallable(const DescribeRtcPeakChannelCntDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRtcPeakChannelCntDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRtcPeakChannelCntData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
|
||||
@@ -25,37 +25,15 @@ CreateChannelRequest::CreateChannelRequest() :
|
||||
CreateChannelRequest::~CreateChannelRequest()
|
||||
{}
|
||||
|
||||
std::string CreateChannelRequest::getApp_ip()const
|
||||
long CreateChannelRequest::getResourceOwnerId()const
|
||||
{
|
||||
return app_ip_;
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setApp_ip(const std::string& app_ip)
|
||||
void CreateChannelRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateChannelRequest::getCallerParentId()const
|
||||
@@ -66,7 +44,7 @@ long CreateChannelRequest::getCallerParentId()const
|
||||
void CreateChannelRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateChannelRequest::getProxy_original_security_transport()const
|
||||
@@ -77,29 +55,7 @@ bool CreateChannelRequest::getProxy_original_security_transport()const
|
||||
void CreateChannelRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateChannelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getProxy_original_source_ip()const
|
||||
@@ -110,18 +66,7 @@ std::string CreateChannelRequest::getProxy_original_source_ip()const
|
||||
void CreateChannelRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getOwnerIdLoginEmail()const
|
||||
@@ -132,7 +77,7 @@ std::string CreateChannelRequest::getOwnerIdLoginEmail()const
|
||||
void CreateChannelRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getCallerType()const
|
||||
@@ -143,29 +88,7 @@ std::string CreateChannelRequest::getCallerType()const
|
||||
void CreateChannelRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool CreateChannelRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool CreateChannelRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getAccessKeyId()const
|
||||
@@ -176,18 +99,7 @@ std::string CreateChannelRequest::getAccessKeyId()const
|
||||
void CreateChannelRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool CreateChannelRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getSecurityToken()const
|
||||
@@ -198,18 +110,7 @@ std::string CreateChannelRequest::getSecurityToken()const
|
||||
void CreateChannelRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getRequestContent()const
|
||||
@@ -220,18 +121,7 @@ std::string CreateChannelRequest::getRequestContent()const
|
||||
void CreateChannelRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +132,7 @@ std::string CreateChannelRequest::getCallerBidEmail()const
|
||||
void CreateChannelRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getCallerUidEmail()const
|
||||
@@ -253,18 +143,7 @@ std::string CreateChannelRequest::getCallerUidEmail()const
|
||||
void CreateChannelRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateChannelRequest::getCallerUid()const
|
||||
@@ -275,6 +154,138 @@ long CreateChannelRequest::getCallerUid()const
|
||||
void CreateChannelRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateChannelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateChannelRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateChannelRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateChannelRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string CreateChannelRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void CreateChannelRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateChannelResult::~CreateChannelResult()
|
||||
|
||||
void CreateChannelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ChannelKey"].isNull())
|
||||
channelKey_ = value["ChannelKey"].asString();
|
||||
|
||||
@@ -25,6 +25,17 @@ CreateChannelTokenRequest::CreateChannelTokenRequest() :
|
||||
CreateChannelTokenRequest::~CreateChannelTokenRequest()
|
||||
{}
|
||||
|
||||
long CreateChannelTokenRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateChannelTokenRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long CreateChannelTokenRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
@@ -33,7 +44,7 @@ long CreateChannelTokenRequest::getCallerParentId()const
|
||||
void CreateChannelTokenRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateChannelTokenRequest::getProxy_original_security_transport()const
|
||||
@@ -44,7 +55,7 @@ bool CreateChannelTokenRequest::getProxy_original_security_transport()const
|
||||
void CreateChannelTokenRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getSessionId()const
|
||||
@@ -55,7 +66,7 @@ std::string CreateChannelTokenRequest::getSessionId()const
|
||||
void CreateChannelTokenRequest::setSessionId(const std::string& sessionId)
|
||||
{
|
||||
sessionId_ = sessionId;
|
||||
setParameter("SessionId", sessionId);
|
||||
setCoreParameter("SessionId", sessionId);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getProxy_original_source_ip()const
|
||||
@@ -66,7 +77,7 @@ std::string CreateChannelTokenRequest::getProxy_original_source_ip()const
|
||||
void CreateChannelTokenRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getOwnerIdLoginEmail()const
|
||||
@@ -77,7 +88,7 @@ std::string CreateChannelTokenRequest::getOwnerIdLoginEmail()const
|
||||
void CreateChannelTokenRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getCallerType()const
|
||||
@@ -88,7 +99,7 @@ std::string CreateChannelTokenRequest::getCallerType()const
|
||||
void CreateChannelTokenRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getAccessKeyId()const
|
||||
@@ -99,7 +110,7 @@ std::string CreateChannelTokenRequest::getAccessKeyId()const
|
||||
void CreateChannelTokenRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getUId()const
|
||||
@@ -110,7 +121,7 @@ std::string CreateChannelTokenRequest::getUId()const
|
||||
void CreateChannelTokenRequest::setUId(const std::string& uId)
|
||||
{
|
||||
uId_ = uId;
|
||||
setParameter("UId", uId);
|
||||
setCoreParameter("UId", uId);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getSecurityToken()const
|
||||
@@ -121,7 +132,7 @@ std::string CreateChannelTokenRequest::getSecurityToken()const
|
||||
void CreateChannelTokenRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getRequestContent()const
|
||||
@@ -132,7 +143,7 @@ std::string CreateChannelTokenRequest::getRequestContent()const
|
||||
void CreateChannelTokenRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getCallerBidEmail()const
|
||||
@@ -143,7 +154,7 @@ std::string CreateChannelTokenRequest::getCallerBidEmail()const
|
||||
void CreateChannelTokenRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getCallerUidEmail()const
|
||||
@@ -154,7 +165,7 @@ std::string CreateChannelTokenRequest::getCallerUidEmail()const
|
||||
void CreateChannelTokenRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateChannelTokenRequest::getCallerUid()const
|
||||
@@ -165,7 +176,7 @@ long CreateChannelTokenRequest::getCallerUid()const
|
||||
void CreateChannelTokenRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getApp_ip()const
|
||||
@@ -176,7 +187,7 @@ std::string CreateChannelTokenRequest::getApp_ip()const
|
||||
void CreateChannelTokenRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getPopProduct()const
|
||||
@@ -187,18 +198,7 @@ std::string CreateChannelTokenRequest::getPopProduct()const
|
||||
void CreateChannelTokenRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void CreateChannelTokenRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getCallerBid()const
|
||||
@@ -209,7 +209,7 @@ std::string CreateChannelTokenRequest::getCallerBid()const
|
||||
void CreateChannelTokenRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateChannelTokenRequest::getOwnerId()const
|
||||
@@ -220,7 +220,7 @@ long CreateChannelTokenRequest::getOwnerId()const
|
||||
void CreateChannelTokenRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getVersion()const
|
||||
@@ -231,7 +231,7 @@ std::string CreateChannelTokenRequest::getVersion()const
|
||||
void CreateChannelTokenRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getNonce()const
|
||||
@@ -242,7 +242,7 @@ std::string CreateChannelTokenRequest::getNonce()const
|
||||
void CreateChannelTokenRequest::setNonce(const std::string& nonce)
|
||||
{
|
||||
nonce_ = nonce;
|
||||
setParameter("Nonce", nonce);
|
||||
setCoreParameter("Nonce", nonce);
|
||||
}
|
||||
|
||||
bool CreateChannelTokenRequest::getProxy_trust_transport_info()const
|
||||
@@ -253,7 +253,7 @@ bool CreateChannelTokenRequest::getProxy_trust_transport_info()const
|
||||
void CreateChannelTokenRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateChannelTokenRequest::getAk_mfa_present()const
|
||||
@@ -264,7 +264,7 @@ bool CreateChannelTokenRequest::getAk_mfa_present()const
|
||||
void CreateChannelTokenRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateChannelTokenRequest::getSecurity_transport()const
|
||||
@@ -275,7 +275,18 @@ bool CreateChannelTokenRequest::getSecurity_transport()const
|
||||
void CreateChannelTokenRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void CreateChannelTokenRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getRequestId()const
|
||||
@@ -286,7 +297,7 @@ std::string CreateChannelTokenRequest::getRequestId()const
|
||||
void CreateChannelTokenRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getAppId()const
|
||||
@@ -297,7 +308,7 @@ std::string CreateChannelTokenRequest::getAppId()const
|
||||
void CreateChannelTokenRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string CreateChannelTokenRequest::getChannelId()const
|
||||
@@ -308,6 +319,6 @@ std::string CreateChannelTokenRequest::getChannelId()const
|
||||
void CreateChannelTokenRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateChannelTokenResult::~CreateChannelTokenResult()
|
||||
|
||||
void CreateChannelTokenResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ChannelToken"].isNull())
|
||||
channelToken_ = value["ChannelToken"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string CreateConferenceRequest::getClientToken()const
|
||||
void CreateConferenceRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
setCoreParameter("ClientToken", clientToken);
|
||||
}
|
||||
|
||||
long CreateConferenceRequest::getCallerParentId()const
|
||||
@@ -44,7 +44,7 @@ long CreateConferenceRequest::getCallerParentId()const
|
||||
void CreateConferenceRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateConferenceRequest::getProxy_original_security_transport()const
|
||||
@@ -55,7 +55,7 @@ bool CreateConferenceRequest::getProxy_original_security_transport()const
|
||||
void CreateConferenceRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getStartTime()const
|
||||
@@ -66,7 +66,7 @@ std::string CreateConferenceRequest::getStartTime()const
|
||||
void CreateConferenceRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getProxy_original_source_ip()const
|
||||
@@ -77,7 +77,7 @@ std::string CreateConferenceRequest::getProxy_original_source_ip()const
|
||||
void CreateConferenceRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getType()const
|
||||
@@ -88,7 +88,7 @@ std::string CreateConferenceRequest::getType()const
|
||||
void CreateConferenceRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getOwnerIdLoginEmail()const
|
||||
@@ -99,7 +99,7 @@ std::string CreateConferenceRequest::getOwnerIdLoginEmail()const
|
||||
void CreateConferenceRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getCallerType()const
|
||||
@@ -110,7 +110,7 @@ std::string CreateConferenceRequest::getCallerType()const
|
||||
void CreateConferenceRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getAccessKeyId()const
|
||||
@@ -121,7 +121,7 @@ std::string CreateConferenceRequest::getAccessKeyId()const
|
||||
void CreateConferenceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getSecurityToken()const
|
||||
@@ -132,7 +132,7 @@ std::string CreateConferenceRequest::getSecurityToken()const
|
||||
void CreateConferenceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getConferenceName()const
|
||||
@@ -143,7 +143,7 @@ std::string CreateConferenceRequest::getConferenceName()const
|
||||
void CreateConferenceRequest::setConferenceName(const std::string& conferenceName)
|
||||
{
|
||||
conferenceName_ = conferenceName;
|
||||
setParameter("ConferenceName", conferenceName);
|
||||
setCoreParameter("ConferenceName", conferenceName);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getRequestContent()const
|
||||
@@ -154,7 +154,7 @@ std::string CreateConferenceRequest::getRequestContent()const
|
||||
void CreateConferenceRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getCallerBidEmail()const
|
||||
@@ -165,7 +165,7 @@ std::string CreateConferenceRequest::getCallerBidEmail()const
|
||||
void CreateConferenceRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getCallerUidEmail()const
|
||||
@@ -176,7 +176,7 @@ std::string CreateConferenceRequest::getCallerUidEmail()const
|
||||
void CreateConferenceRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateConferenceRequest::getCallerUid()const
|
||||
@@ -187,7 +187,7 @@ long CreateConferenceRequest::getCallerUid()const
|
||||
void CreateConferenceRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getApp_ip()const
|
||||
@@ -198,7 +198,7 @@ std::string CreateConferenceRequest::getApp_ip()const
|
||||
void CreateConferenceRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getPopProduct()const
|
||||
@@ -209,7 +209,7 @@ std::string CreateConferenceRequest::getPopProduct()const
|
||||
void CreateConferenceRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getCallerBid()const
|
||||
@@ -220,7 +220,7 @@ std::string CreateConferenceRequest::getCallerBid()const
|
||||
void CreateConferenceRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateConferenceRequest::getOwnerId()const
|
||||
@@ -231,7 +231,7 @@ long CreateConferenceRequest::getOwnerId()const
|
||||
void CreateConferenceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getVersion()const
|
||||
@@ -242,7 +242,7 @@ std::string CreateConferenceRequest::getVersion()const
|
||||
void CreateConferenceRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateConferenceRequest::getProxy_trust_transport_info()const
|
||||
@@ -253,7 +253,7 @@ bool CreateConferenceRequest::getProxy_trust_transport_info()const
|
||||
void CreateConferenceRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateConferenceRequest::getAk_mfa_present()const
|
||||
@@ -264,7 +264,7 @@ bool CreateConferenceRequest::getAk_mfa_present()const
|
||||
void CreateConferenceRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateConferenceRequest::getSecurity_transport()const
|
||||
@@ -275,7 +275,7 @@ bool CreateConferenceRequest::getSecurity_transport()const
|
||||
void CreateConferenceRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getRequestId()const
|
||||
@@ -286,7 +286,7 @@ std::string CreateConferenceRequest::getRequestId()const
|
||||
void CreateConferenceRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateConferenceRequest::getAppId()const
|
||||
@@ -297,7 +297,7 @@ std::string CreateConferenceRequest::getAppId()const
|
||||
void CreateConferenceRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
int CreateConferenceRequest::getRemindNotice()const
|
||||
@@ -308,6 +308,6 @@ int CreateConferenceRequest::getRemindNotice()const
|
||||
void CreateConferenceRequest::setRemindNotice(int remindNotice)
|
||||
{
|
||||
remindNotice_ = remindNotice;
|
||||
setParameter("RemindNotice", std::to_string(remindNotice));
|
||||
setCoreParameter("RemindNotice", std::to_string(remindNotice));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateConferenceResult::~CreateConferenceResult()
|
||||
|
||||
void CreateConferenceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto authInfoNode = value["AuthInfo"];
|
||||
if(!authInfoNode["Key"].isNull())
|
||||
|
||||
@@ -33,7 +33,7 @@ int CreateTemplateRequest::getServiceMode()const
|
||||
void CreateTemplateRequest::setServiceMode(int serviceMode)
|
||||
{
|
||||
serviceMode_ = serviceMode;
|
||||
setParameter("ServiceMode", std::to_string(serviceMode));
|
||||
setCoreParameter("ServiceMode", std::to_string(serviceMode));
|
||||
}
|
||||
|
||||
std::vector<CreateTemplateRequest::LiveConfig> CreateTemplateRequest::getLiveConfig()const
|
||||
@@ -48,8 +48,8 @@ void CreateTemplateRequest::setLiveConfig(const std::vector<LiveConfig>& liveCon
|
||||
for(int i = 0; i!= liveConfig.size(); i++) {
|
||||
auto obj = liveConfig.at(i);
|
||||
std::string str ="LiveConfig."+ std::to_string(i);
|
||||
setParameter(str + ".DomainName", obj.domainName);
|
||||
setParameter(str + ".AppName", obj.appName);
|
||||
setCoreParameter(str + ".DomainName", obj.domainName);
|
||||
setCoreParameter(str + ".AppName", obj.appName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ long CreateTemplateRequest::getCallerParentId()const
|
||||
void CreateTemplateRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool CreateTemplateRequest::getProxy_original_security_transport()const
|
||||
@@ -72,7 +72,7 @@ bool CreateTemplateRequest::getProxy_original_security_transport()const
|
||||
void CreateTemplateRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
int CreateTemplateRequest::getMediaConfig()const
|
||||
@@ -83,7 +83,7 @@ int CreateTemplateRequest::getMediaConfig()const
|
||||
void CreateTemplateRequest::setMediaConfig(int mediaConfig)
|
||||
{
|
||||
mediaConfig_ = mediaConfig;
|
||||
setParameter("MediaConfig", std::to_string(mediaConfig));
|
||||
setCoreParameter("MediaConfig", std::to_string(mediaConfig));
|
||||
}
|
||||
|
||||
int CreateTemplateRequest::getMaxMixStreamCount()const
|
||||
@@ -94,7 +94,7 @@ int CreateTemplateRequest::getMaxMixStreamCount()const
|
||||
void CreateTemplateRequest::setMaxMixStreamCount(int maxMixStreamCount)
|
||||
{
|
||||
maxMixStreamCount_ = maxMixStreamCount;
|
||||
setParameter("MaxMixStreamCount", std::to_string(maxMixStreamCount));
|
||||
setCoreParameter("MaxMixStreamCount", std::to_string(maxMixStreamCount));
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getProxy_original_source_ip()const
|
||||
@@ -105,7 +105,7 @@ std::string CreateTemplateRequest::getProxy_original_source_ip()const
|
||||
void CreateTemplateRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getOwnerIdLoginEmail()const
|
||||
@@ -116,7 +116,7 @@ std::string CreateTemplateRequest::getOwnerIdLoginEmail()const
|
||||
void CreateTemplateRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallerType()const
|
||||
@@ -127,7 +127,7 @@ std::string CreateTemplateRequest::getCallerType()const
|
||||
void CreateTemplateRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::vector<CreateTemplateRequest::RecordConfig> CreateTemplateRequest::getRecordConfig()const
|
||||
@@ -142,11 +142,11 @@ void CreateTemplateRequest::setRecordConfig(const std::vector<RecordConfig>& rec
|
||||
for(int i = 0; i!= recordConfig.size(); i++) {
|
||||
auto obj = recordConfig.at(i);
|
||||
std::string str ="RecordConfig."+ std::to_string(i);
|
||||
setParameter(str + ".StorageType", obj.storageType);
|
||||
setParameter(str + ".FileFormat", std::to_string(obj.fileFormat));
|
||||
setParameter(str + ".OssEndPoint", obj.ossEndPoint);
|
||||
setParameter(str + ".OssBucket", obj.ossBucket);
|
||||
setParameter(str + ".VodTransCodeGroupId", std::to_string(obj.vodTransCodeGroupId));
|
||||
setCoreParameter(str + ".StorageType", obj.storageType);
|
||||
setCoreParameter(str + ".FileFormat", std::to_string(obj.fileFormat));
|
||||
setCoreParameter(str + ".OssEndPoint", obj.ossEndPoint);
|
||||
setCoreParameter(str + ".OssBucket", obj.ossBucket);
|
||||
setCoreParameter(str + ".VodTransCodeGroupId", std::to_string(obj.vodTransCodeGroupId));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -158,7 +158,7 @@ std::string CreateTemplateRequest::getAccessKeyId()const
|
||||
void CreateTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getSecurityToken()const
|
||||
@@ -169,7 +169,7 @@ std::string CreateTemplateRequest::getSecurityToken()const
|
||||
void CreateTemplateRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getRequestContent()const
|
||||
@@ -180,7 +180,7 @@ std::string CreateTemplateRequest::getRequestContent()const
|
||||
void CreateTemplateRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallerBidEmail()const
|
||||
@@ -191,7 +191,7 @@ std::string CreateTemplateRequest::getCallerBidEmail()const
|
||||
void CreateTemplateRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallerUidEmail()const
|
||||
@@ -202,7 +202,7 @@ std::string CreateTemplateRequest::getCallerUidEmail()const
|
||||
void CreateTemplateRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long CreateTemplateRequest::getCallerUid()const
|
||||
@@ -213,7 +213,7 @@ long CreateTemplateRequest::getCallerUid()const
|
||||
void CreateTemplateRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getApp_ip()const
|
||||
@@ -224,7 +224,7 @@ std::string CreateTemplateRequest::getApp_ip()const
|
||||
void CreateTemplateRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getPopProduct()const
|
||||
@@ -235,7 +235,7 @@ std::string CreateTemplateRequest::getPopProduct()const
|
||||
void CreateTemplateRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallerBid()const
|
||||
@@ -246,7 +246,7 @@ std::string CreateTemplateRequest::getCallerBid()const
|
||||
void CreateTemplateRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long CreateTemplateRequest::getOwnerId()const
|
||||
@@ -257,7 +257,7 @@ long CreateTemplateRequest::getOwnerId()const
|
||||
void CreateTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getVersion()const
|
||||
@@ -268,7 +268,7 @@ std::string CreateTemplateRequest::getVersion()const
|
||||
void CreateTemplateRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool CreateTemplateRequest::getProxy_trust_transport_info()const
|
||||
@@ -279,7 +279,7 @@ bool CreateTemplateRequest::getProxy_trust_transport_info()const
|
||||
void CreateTemplateRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTemplateRequest::getAk_mfa_present()const
|
||||
@@ -290,7 +290,7 @@ bool CreateTemplateRequest::getAk_mfa_present()const
|
||||
void CreateTemplateRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool CreateTemplateRequest::getSecurity_transport()const
|
||||
@@ -301,7 +301,7 @@ bool CreateTemplateRequest::getSecurity_transport()const
|
||||
void CreateTemplateRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<CreateTemplateRequest::LayOut> CreateTemplateRequest::getLayOut()const
|
||||
@@ -316,9 +316,9 @@ void CreateTemplateRequest::setLayOut(const std::vector<LayOut>& layOut)
|
||||
for(int i = 0; i!= layOut.size(); i++) {
|
||||
auto obj = layOut.at(i);
|
||||
std::string str ="LayOut."+ std::to_string(i);
|
||||
setParameter(str + ".Color", obj.color);
|
||||
setParameter(str + ".CutMode", std::to_string(obj.cutMode));
|
||||
setParameter(str + ".LayOutId", std::to_string(obj.layOutId));
|
||||
setCoreParameter(str + ".Color", obj.color);
|
||||
setCoreParameter(str + ".CutMode", std::to_string(obj.cutMode));
|
||||
setCoreParameter(str + ".LayOutId", std::to_string(obj.layOutId));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -330,7 +330,7 @@ std::string CreateTemplateRequest::getRequestId()const
|
||||
void CreateTemplateRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getAppId()const
|
||||
@@ -341,7 +341,7 @@ std::string CreateTemplateRequest::getAppId()const
|
||||
void CreateTemplateRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string CreateTemplateRequest::getCallBack()const
|
||||
@@ -352,7 +352,7 @@ std::string CreateTemplateRequest::getCallBack()const
|
||||
void CreateTemplateRequest::setCallBack(const std::string& callBack)
|
||||
{
|
||||
callBack_ = callBack;
|
||||
setParameter("CallBack", callBack);
|
||||
setCoreParameter("CallBack", callBack);
|
||||
}
|
||||
|
||||
int CreateTemplateRequest::getMixMode()const
|
||||
@@ -363,6 +363,6 @@ int CreateTemplateRequest::getMixMode()const
|
||||
void CreateTemplateRequest::setMixMode(int mixMode)
|
||||
{
|
||||
mixMode_ = mixMode;
|
||||
setParameter("MixMode", std::to_string(mixMode));
|
||||
setCoreParameter("MixMode", std::to_string(mixMode));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateTemplateResult::~CreateTemplateResult()
|
||||
|
||||
void CreateTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TemplateId"].isNull())
|
||||
templateId_ = std::stol(value["TemplateId"].asString());
|
||||
|
||||
@@ -25,37 +25,15 @@ DeleteChannelRequest::DeleteChannelRequest() :
|
||||
DeleteChannelRequest::~DeleteChannelRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteChannelRequest::getApp_ip()const
|
||||
long DeleteChannelRequest::getResourceOwnerId()const
|
||||
{
|
||||
return app_ip_;
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setApp_ip(const std::string& app_ip)
|
||||
void DeleteChannelRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DeleteChannelRequest::getCallerParentId()const
|
||||
@@ -66,7 +44,7 @@ long DeleteChannelRequest::getCallerParentId()const
|
||||
void DeleteChannelRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteChannelRequest::getProxy_original_security_transport()const
|
||||
@@ -77,29 +55,7 @@ bool DeleteChannelRequest::getProxy_original_security_transport()const
|
||||
void DeleteChannelRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteChannelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getProxy_original_source_ip()const
|
||||
@@ -110,18 +66,7 @@ std::string DeleteChannelRequest::getProxy_original_source_ip()const
|
||||
void DeleteChannelRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getOwnerIdLoginEmail()const
|
||||
@@ -132,7 +77,7 @@ std::string DeleteChannelRequest::getOwnerIdLoginEmail()const
|
||||
void DeleteChannelRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getCallerType()const
|
||||
@@ -143,29 +88,7 @@ std::string DeleteChannelRequest::getCallerType()const
|
||||
void DeleteChannelRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool DeleteChannelRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
}
|
||||
|
||||
bool DeleteChannelRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getAccessKeyId()const
|
||||
@@ -176,18 +99,7 @@ std::string DeleteChannelRequest::getAccessKeyId()const
|
||||
void DeleteChannelRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool DeleteChannelRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getSecurityToken()const
|
||||
@@ -198,18 +110,7 @@ std::string DeleteChannelRequest::getSecurityToken()const
|
||||
void DeleteChannelRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getRequestContent()const
|
||||
@@ -220,18 +121,7 @@ std::string DeleteChannelRequest::getRequestContent()const
|
||||
void DeleteChannelRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +132,7 @@ std::string DeleteChannelRequest::getCallerBidEmail()const
|
||||
void DeleteChannelRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getCallerUidEmail()const
|
||||
@@ -253,18 +143,7 @@ std::string DeleteChannelRequest::getCallerUidEmail()const
|
||||
void DeleteChannelRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteChannelRequest::getCallerUid()const
|
||||
@@ -275,6 +154,138 @@ long DeleteChannelRequest::getCallerUid()const
|
||||
void DeleteChannelRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteChannelRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DeleteChannelRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteChannelRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteChannelRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DeleteChannelRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void DeleteChannelRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteChannelResult::~DeleteChannelResult()
|
||||
|
||||
void DeleteChannelResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeleteConferenceRequest::getApp_ip()const
|
||||
void DeleteConferenceRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string DeleteConferenceRequest::getPopProduct()const
|
||||
void DeleteConferenceRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DeleteConferenceRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long DeleteConferenceRequest::getCallerParentId()const
|
||||
void DeleteConferenceRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteConferenceRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool DeleteConferenceRequest::getProxy_original_security_transport()const
|
||||
void DeleteConferenceRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string DeleteConferenceRequest::getCallerBid()const
|
||||
void DeleteConferenceRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteConferenceRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long DeleteConferenceRequest::getOwnerId()const
|
||||
void DeleteConferenceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string DeleteConferenceRequest::getProxy_original_source_ip()const
|
||||
void DeleteConferenceRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getVersion()const
|
||||
@@ -110,7 +110,7 @@ std::string DeleteConferenceRequest::getVersion()const
|
||||
void DeleteConferenceRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getOwnerIdLoginEmail()const
|
||||
@@ -121,7 +121,7 @@ std::string DeleteConferenceRequest::getOwnerIdLoginEmail()const
|
||||
void DeleteConferenceRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getCallerType()const
|
||||
@@ -132,7 +132,7 @@ std::string DeleteConferenceRequest::getCallerType()const
|
||||
void DeleteConferenceRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool DeleteConferenceRequest::getProxy_trust_transport_info()const
|
||||
@@ -143,7 +143,7 @@ bool DeleteConferenceRequest::getProxy_trust_transport_info()const
|
||||
void DeleteConferenceRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteConferenceRequest::getAk_mfa_present()const
|
||||
@@ -154,7 +154,7 @@ bool DeleteConferenceRequest::getAk_mfa_present()const
|
||||
void DeleteConferenceRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getAccessKeyId()const
|
||||
@@ -165,7 +165,7 @@ std::string DeleteConferenceRequest::getAccessKeyId()const
|
||||
void DeleteConferenceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool DeleteConferenceRequest::getSecurity_transport()const
|
||||
@@ -176,7 +176,7 @@ bool DeleteConferenceRequest::getSecurity_transport()const
|
||||
void DeleteConferenceRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getSecurityToken()const
|
||||
@@ -187,7 +187,7 @@ std::string DeleteConferenceRequest::getSecurityToken()const
|
||||
void DeleteConferenceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getConferenceId()const
|
||||
@@ -198,7 +198,7 @@ std::string DeleteConferenceRequest::getConferenceId()const
|
||||
void DeleteConferenceRequest::setConferenceId(const std::string& conferenceId)
|
||||
{
|
||||
conferenceId_ = conferenceId;
|
||||
setParameter("ConferenceId", conferenceId);
|
||||
setCoreParameter("ConferenceId", conferenceId);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getRequestId()const
|
||||
@@ -209,7 +209,7 @@ std::string DeleteConferenceRequest::getRequestId()const
|
||||
void DeleteConferenceRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getRequestContent()const
|
||||
@@ -220,7 +220,7 @@ std::string DeleteConferenceRequest::getRequestContent()const
|
||||
void DeleteConferenceRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getAppId()const
|
||||
@@ -231,7 +231,7 @@ std::string DeleteConferenceRequest::getAppId()const
|
||||
void DeleteConferenceRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string DeleteConferenceRequest::getCallerBidEmail()const
|
||||
void DeleteConferenceRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteConferenceRequest::getCallerUidEmail()const
|
||||
@@ -253,7 +253,7 @@ std::string DeleteConferenceRequest::getCallerUidEmail()const
|
||||
void DeleteConferenceRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteConferenceRequest::getCallerUid()const
|
||||
@@ -264,6 +264,6 @@ long DeleteConferenceRequest::getCallerUid()const
|
||||
void DeleteConferenceRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteConferenceResult::~DeleteConferenceResult()
|
||||
|
||||
void DeleteConferenceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ConferenceId"].isNull())
|
||||
conferenceId_ = value["ConferenceId"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeleteTemplateRequest::getApp_ip()const
|
||||
void DeleteTemplateRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string DeleteTemplateRequest::getPopProduct()const
|
||||
void DeleteTemplateRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DeleteTemplateRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long DeleteTemplateRequest::getCallerParentId()const
|
||||
void DeleteTemplateRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DeleteTemplateRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool DeleteTemplateRequest::getProxy_original_security_transport()const
|
||||
void DeleteTemplateRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string DeleteTemplateRequest::getCallerBid()const
|
||||
void DeleteTemplateRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DeleteTemplateRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long DeleteTemplateRequest::getOwnerId()const
|
||||
void DeleteTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string DeleteTemplateRequest::getProxy_original_source_ip()const
|
||||
void DeleteTemplateRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
long DeleteTemplateRequest::getTemplateId()const
|
||||
@@ -110,7 +110,7 @@ long DeleteTemplateRequest::getTemplateId()const
|
||||
void DeleteTemplateRequest::setTemplateId(long templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", std::to_string(templateId));
|
||||
setCoreParameter("TemplateId", std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getVersion()const
|
||||
@@ -121,7 +121,7 @@ std::string DeleteTemplateRequest::getVersion()const
|
||||
void DeleteTemplateRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getOwnerIdLoginEmail()const
|
||||
@@ -132,7 +132,7 @@ std::string DeleteTemplateRequest::getOwnerIdLoginEmail()const
|
||||
void DeleteTemplateRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getCallerType()const
|
||||
@@ -143,7 +143,7 @@ std::string DeleteTemplateRequest::getCallerType()const
|
||||
void DeleteTemplateRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool DeleteTemplateRequest::getProxy_trust_transport_info()const
|
||||
@@ -154,7 +154,7 @@ bool DeleteTemplateRequest::getProxy_trust_transport_info()const
|
||||
void DeleteTemplateRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DeleteTemplateRequest::getAk_mfa_present()const
|
||||
@@ -165,7 +165,7 @@ bool DeleteTemplateRequest::getAk_mfa_present()const
|
||||
void DeleteTemplateRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getAccessKeyId()const
|
||||
@@ -176,7 +176,7 @@ std::string DeleteTemplateRequest::getAccessKeyId()const
|
||||
void DeleteTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool DeleteTemplateRequest::getSecurity_transport()const
|
||||
@@ -187,7 +187,7 @@ bool DeleteTemplateRequest::getSecurity_transport()const
|
||||
void DeleteTemplateRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getSecurityToken()const
|
||||
@@ -198,7 +198,7 @@ std::string DeleteTemplateRequest::getSecurityToken()const
|
||||
void DeleteTemplateRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getRequestId()const
|
||||
@@ -209,7 +209,7 @@ std::string DeleteTemplateRequest::getRequestId()const
|
||||
void DeleteTemplateRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getRequestContent()const
|
||||
@@ -220,7 +220,7 @@ std::string DeleteTemplateRequest::getRequestContent()const
|
||||
void DeleteTemplateRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getAppId()const
|
||||
@@ -231,7 +231,7 @@ std::string DeleteTemplateRequest::getAppId()const
|
||||
void DeleteTemplateRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string DeleteTemplateRequest::getCallerBidEmail()const
|
||||
void DeleteTemplateRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DeleteTemplateRequest::getCallerUidEmail()const
|
||||
@@ -253,7 +253,7 @@ std::string DeleteTemplateRequest::getCallerUidEmail()const
|
||||
void DeleteTemplateRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DeleteTemplateRequest::getCallerUid()const
|
||||
@@ -264,6 +264,6 @@ long DeleteTemplateRequest::getCallerUid()const
|
||||
void DeleteTemplateRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteTemplateResult::~DeleteTemplateResult()
|
||||
|
||||
void DeleteTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ long DescribeAppsRequest::getCallerParentId()const
|
||||
void DescribeAppsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeAppsRequest::getProxy_original_security_transport()const
|
||||
@@ -44,7 +44,7 @@ bool DescribeAppsRequest::getProxy_original_security_transport()const
|
||||
void DescribeAppsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getProxy_original_source_ip()const
|
||||
@@ -55,7 +55,7 @@ std::string DescribeAppsRequest::getProxy_original_source_ip()const
|
||||
void DescribeAppsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
int DescribeAppsRequest::getPageNum()const
|
||||
@@ -66,7 +66,7 @@ int DescribeAppsRequest::getPageNum()const
|
||||
void DescribeAppsRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setParameter("PageNum", std::to_string(pageNum));
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getOwnerIdLoginEmail()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribeAppsRequest::getOwnerIdLoginEmail()const
|
||||
void DescribeAppsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getCallerType()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribeAppsRequest::getCallerType()const
|
||||
void DescribeAppsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getAccessKeyId()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeAppsRequest::getAccessKeyId()const
|
||||
void DescribeAppsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getSecurityToken()const
|
||||
@@ -110,7 +110,7 @@ std::string DescribeAppsRequest::getSecurityToken()const
|
||||
void DescribeAppsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getRequestContent()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeAppsRequest::getRequestContent()const
|
||||
void DescribeAppsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
int DescribeAppsRequest::getPageSize()const
|
||||
@@ -132,7 +132,7 @@ int DescribeAppsRequest::getPageSize()const
|
||||
void DescribeAppsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getCallerBidEmail()const
|
||||
@@ -143,7 +143,7 @@ std::string DescribeAppsRequest::getCallerBidEmail()const
|
||||
void DescribeAppsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getCallerUidEmail()const
|
||||
@@ -154,7 +154,7 @@ std::string DescribeAppsRequest::getCallerUidEmail()const
|
||||
void DescribeAppsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeAppsRequest::getCallerUid()const
|
||||
@@ -165,7 +165,7 @@ long DescribeAppsRequest::getCallerUid()const
|
||||
void DescribeAppsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getOrder()const
|
||||
@@ -176,7 +176,7 @@ std::string DescribeAppsRequest::getOrder()const
|
||||
void DescribeAppsRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setParameter("Order", order);
|
||||
setCoreParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getApp_ip()const
|
||||
@@ -187,7 +187,7 @@ std::string DescribeAppsRequest::getApp_ip()const
|
||||
void DescribeAppsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getPopProduct()const
|
||||
@@ -198,7 +198,7 @@ std::string DescribeAppsRequest::getPopProduct()const
|
||||
void DescribeAppsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getCallerBid()const
|
||||
@@ -209,7 +209,7 @@ std::string DescribeAppsRequest::getCallerBid()const
|
||||
void DescribeAppsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeAppsRequest::getOwnerId()const
|
||||
@@ -220,7 +220,7 @@ long DescribeAppsRequest::getOwnerId()const
|
||||
void DescribeAppsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getVersion()const
|
||||
@@ -231,7 +231,7 @@ std::string DescribeAppsRequest::getVersion()const
|
||||
void DescribeAppsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeAppsRequest::getProxy_trust_transport_info()const
|
||||
@@ -242,7 +242,7 @@ bool DescribeAppsRequest::getProxy_trust_transport_info()const
|
||||
void DescribeAppsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeAppsRequest::getAk_mfa_present()const
|
||||
@@ -253,7 +253,7 @@ bool DescribeAppsRequest::getAk_mfa_present()const
|
||||
void DescribeAppsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeAppsRequest::getSecurity_transport()const
|
||||
@@ -264,7 +264,7 @@ bool DescribeAppsRequest::getSecurity_transport()const
|
||||
void DescribeAppsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getRequestId()const
|
||||
@@ -275,7 +275,7 @@ std::string DescribeAppsRequest::getRequestId()const
|
||||
void DescribeAppsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getAppId()const
|
||||
@@ -286,7 +286,7 @@ std::string DescribeAppsRequest::getAppId()const
|
||||
void DescribeAppsRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeAppsRequest::getStatus()const
|
||||
@@ -297,6 +297,6 @@ std::string DescribeAppsRequest::getStatus()const
|
||||
void DescribeAppsRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeAppsResult::~DescribeAppsResult()
|
||||
|
||||
void DescribeAppsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allAppList = value["AppList"]["App"];
|
||||
for (auto value : allAppList)
|
||||
|
||||
324
rtc/src/model/DescribeChannelParticipantsRequest.cc
Normal file
324
rtc/src/model/DescribeChannelParticipantsRequest.cc
Normal file
@@ -0,0 +1,324 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeChannelParticipantsRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DescribeChannelParticipantsRequest;
|
||||
|
||||
DescribeChannelParticipantsRequest::DescribeChannelParticipantsRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DescribeChannelParticipants")
|
||||
{}
|
||||
|
||||
DescribeChannelParticipantsRequest::~DescribeChannelParticipantsRequest()
|
||||
{}
|
||||
|
||||
long DescribeChannelParticipantsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeChannelParticipantsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeChannelParticipantsRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
int DescribeChannelParticipantsRequest::getPageNum()const
|
||||
{
|
||||
return pageNum_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setPageNum(int pageNum)
|
||||
{
|
||||
pageNum_ = pageNum;
|
||||
setCoreParameter("PageNum", std::to_string(pageNum));
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
int DescribeChannelParticipantsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeChannelParticipantsRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getOrder()const
|
||||
{
|
||||
return order_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setOrder(const std::string& order)
|
||||
{
|
||||
order_ = order;
|
||||
setCoreParameter("Order", order);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeChannelParticipantsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeChannelParticipantsRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeChannelParticipantsRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeChannelParticipantsRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeChannelParticipantsRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void DescribeChannelParticipantsRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
77
rtc/src/model/DescribeChannelParticipantsResult.cc
Normal file
77
rtc/src/model/DescribeChannelParticipantsResult.cc
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeChannelParticipantsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DescribeChannelParticipantsResult::DescribeChannelParticipantsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeChannelParticipantsResult::DescribeChannelParticipantsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeChannelParticipantsResult::~DescribeChannelParticipantsResult()
|
||||
{}
|
||||
|
||||
void DescribeChannelParticipantsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allUserList = value["UserList"]["User"];
|
||||
for (const auto &item : allUserList)
|
||||
userList_.push_back(item.asString());
|
||||
if(!value["Timestamp"].isNull())
|
||||
timestamp_ = std::stoi(value["Timestamp"].asString());
|
||||
if(!value["TotalNum"].isNull())
|
||||
totalNum_ = std::stoi(value["TotalNum"].asString());
|
||||
if(!value["TotalPage"].isNull())
|
||||
totalPage_ = std::stoi(value["TotalPage"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeChannelParticipantsResult::getTotalNum()const
|
||||
{
|
||||
return totalNum_;
|
||||
}
|
||||
|
||||
int DescribeChannelParticipantsResult::getTotalPage()const
|
||||
{
|
||||
return totalPage_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeChannelParticipantsResult::getUserList()const
|
||||
{
|
||||
return userList_;
|
||||
}
|
||||
|
||||
int DescribeChannelParticipantsResult::getTimestamp()const
|
||||
{
|
||||
return timestamp_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeConferenceAuthInfoRequest::getApp_ip()const
|
||||
void DescribeConferenceAuthInfoRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeConferenceAuthInfoRequest::getPopProduct()const
|
||||
void DescribeConferenceAuthInfoRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DescribeConferenceAuthInfoRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long DescribeConferenceAuthInfoRequest::getCallerParentId()const
|
||||
void DescribeConferenceAuthInfoRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeConferenceAuthInfoRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool DescribeConferenceAuthInfoRequest::getProxy_original_security_transport()co
|
||||
void DescribeConferenceAuthInfoRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribeConferenceAuthInfoRequest::getCallerBid()const
|
||||
void DescribeConferenceAuthInfoRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeConferenceAuthInfoRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long DescribeConferenceAuthInfoRequest::getOwnerId()const
|
||||
void DescribeConferenceAuthInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeConferenceAuthInfoRequest::getProxy_original_source_ip()cons
|
||||
void DescribeConferenceAuthInfoRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getVersion()const
|
||||
@@ -110,7 +110,7 @@ std::string DescribeConferenceAuthInfoRequest::getVersion()const
|
||||
void DescribeConferenceAuthInfoRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getOwnerIdLoginEmail()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeConferenceAuthInfoRequest::getOwnerIdLoginEmail()const
|
||||
void DescribeConferenceAuthInfoRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getCallerType()const
|
||||
@@ -132,7 +132,7 @@ std::string DescribeConferenceAuthInfoRequest::getCallerType()const
|
||||
void DescribeConferenceAuthInfoRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool DescribeConferenceAuthInfoRequest::getProxy_trust_transport_info()const
|
||||
@@ -143,7 +143,7 @@ bool DescribeConferenceAuthInfoRequest::getProxy_trust_transport_info()const
|
||||
void DescribeConferenceAuthInfoRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeConferenceAuthInfoRequest::getAk_mfa_present()const
|
||||
@@ -154,7 +154,7 @@ bool DescribeConferenceAuthInfoRequest::getAk_mfa_present()const
|
||||
void DescribeConferenceAuthInfoRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getAccessKeyId()const
|
||||
@@ -165,7 +165,7 @@ std::string DescribeConferenceAuthInfoRequest::getAccessKeyId()const
|
||||
void DescribeConferenceAuthInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool DescribeConferenceAuthInfoRequest::getSecurity_transport()const
|
||||
@@ -176,7 +176,7 @@ bool DescribeConferenceAuthInfoRequest::getSecurity_transport()const
|
||||
void DescribeConferenceAuthInfoRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getSecurityToken()const
|
||||
@@ -187,7 +187,7 @@ std::string DescribeConferenceAuthInfoRequest::getSecurityToken()const
|
||||
void DescribeConferenceAuthInfoRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getConferenceId()const
|
||||
@@ -198,7 +198,7 @@ std::string DescribeConferenceAuthInfoRequest::getConferenceId()const
|
||||
void DescribeConferenceAuthInfoRequest::setConferenceId(const std::string& conferenceId)
|
||||
{
|
||||
conferenceId_ = conferenceId;
|
||||
setParameter("ConferenceId", conferenceId);
|
||||
setCoreParameter("ConferenceId", conferenceId);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getRequestId()const
|
||||
@@ -209,7 +209,7 @@ std::string DescribeConferenceAuthInfoRequest::getRequestId()const
|
||||
void DescribeConferenceAuthInfoRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getRequestContent()const
|
||||
@@ -220,7 +220,7 @@ std::string DescribeConferenceAuthInfoRequest::getRequestContent()const
|
||||
void DescribeConferenceAuthInfoRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getAppId()const
|
||||
@@ -231,7 +231,7 @@ std::string DescribeConferenceAuthInfoRequest::getAppId()const
|
||||
void DescribeConferenceAuthInfoRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string DescribeConferenceAuthInfoRequest::getCallerBidEmail()const
|
||||
void DescribeConferenceAuthInfoRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeConferenceAuthInfoRequest::getCallerUidEmail()const
|
||||
@@ -253,7 +253,7 @@ std::string DescribeConferenceAuthInfoRequest::getCallerUidEmail()const
|
||||
void DescribeConferenceAuthInfoRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeConferenceAuthInfoRequest::getCallerUid()const
|
||||
@@ -264,6 +264,6 @@ long DescribeConferenceAuthInfoRequest::getCallerUid()const
|
||||
void DescribeConferenceAuthInfoRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeConferenceAuthInfoResult::~DescribeConferenceAuthInfoResult()
|
||||
|
||||
void DescribeConferenceAuthInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto authInfoNode = value["AuthInfo"];
|
||||
if(!authInfoNode["Key"].isNull())
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeRealTimeRecordDetailRequest::getApp_ip()const
|
||||
void DescribeRealTimeRecordDetailRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeRealTimeRecordDetailRequest::getPopProduct()const
|
||||
void DescribeRealTimeRecordDetailRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DescribeRealTimeRecordDetailRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long DescribeRealTimeRecordDetailRequest::getCallerParentId()const
|
||||
void DescribeRealTimeRecordDetailRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRealTimeRecordDetailRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool DescribeRealTimeRecordDetailRequest::getProxy_original_security_transport()
|
||||
void DescribeRealTimeRecordDetailRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribeRealTimeRecordDetailRequest::getCallerBid()const
|
||||
void DescribeRealTimeRecordDetailRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRealTimeRecordDetailRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long DescribeRealTimeRecordDetailRequest::getOwnerId()const
|
||||
void DescribeRealTimeRecordDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeRealTimeRecordDetailRequest::getProxy_original_source_ip()co
|
||||
void DescribeRealTimeRecordDetailRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getVersion()const
|
||||
@@ -110,7 +110,7 @@ std::string DescribeRealTimeRecordDetailRequest::getVersion()const
|
||||
void DescribeRealTimeRecordDetailRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getOwnerIdLoginEmail()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeRealTimeRecordDetailRequest::getOwnerIdLoginEmail()const
|
||||
void DescribeRealTimeRecordDetailRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getCallerType()const
|
||||
@@ -132,7 +132,7 @@ std::string DescribeRealTimeRecordDetailRequest::getCallerType()const
|
||||
void DescribeRealTimeRecordDetailRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool DescribeRealTimeRecordDetailRequest::getProxy_trust_transport_info()const
|
||||
@@ -143,7 +143,7 @@ bool DescribeRealTimeRecordDetailRequest::getProxy_trust_transport_info()const
|
||||
void DescribeRealTimeRecordDetailRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRealTimeRecordDetailRequest::getAk_mfa_present()const
|
||||
@@ -154,7 +154,7 @@ bool DescribeRealTimeRecordDetailRequest::getAk_mfa_present()const
|
||||
void DescribeRealTimeRecordDetailRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getAccessKeyId()const
|
||||
@@ -165,7 +165,7 @@ std::string DescribeRealTimeRecordDetailRequest::getAccessKeyId()const
|
||||
void DescribeRealTimeRecordDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool DescribeRealTimeRecordDetailRequest::getSecurity_transport()const
|
||||
@@ -176,7 +176,7 @@ bool DescribeRealTimeRecordDetailRequest::getSecurity_transport()const
|
||||
void DescribeRealTimeRecordDetailRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getRecordId()const
|
||||
@@ -187,7 +187,7 @@ std::string DescribeRealTimeRecordDetailRequest::getRecordId()const
|
||||
void DescribeRealTimeRecordDetailRequest::setRecordId(const std::string& recordId)
|
||||
{
|
||||
recordId_ = recordId;
|
||||
setParameter("RecordId", recordId);
|
||||
setCoreParameter("RecordId", recordId);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getSecurityToken()const
|
||||
@@ -198,7 +198,7 @@ std::string DescribeRealTimeRecordDetailRequest::getSecurityToken()const
|
||||
void DescribeRealTimeRecordDetailRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getRequestId()const
|
||||
@@ -209,7 +209,7 @@ std::string DescribeRealTimeRecordDetailRequest::getRequestId()const
|
||||
void DescribeRealTimeRecordDetailRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getRequestContent()const
|
||||
@@ -220,7 +220,7 @@ std::string DescribeRealTimeRecordDetailRequest::getRequestContent()const
|
||||
void DescribeRealTimeRecordDetailRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getAppId()const
|
||||
@@ -231,7 +231,7 @@ std::string DescribeRealTimeRecordDetailRequest::getAppId()const
|
||||
void DescribeRealTimeRecordDetailRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string DescribeRealTimeRecordDetailRequest::getCallerBidEmail()const
|
||||
void DescribeRealTimeRecordDetailRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getCallerUidEmail()const
|
||||
@@ -253,7 +253,7 @@ std::string DescribeRealTimeRecordDetailRequest::getCallerUidEmail()const
|
||||
void DescribeRealTimeRecordDetailRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordDetailRequest::getChannelId()const
|
||||
@@ -264,7 +264,7 @@ std::string DescribeRealTimeRecordDetailRequest::getChannelId()const
|
||||
void DescribeRealTimeRecordDetailRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
long DescribeRealTimeRecordDetailRequest::getCallerUid()const
|
||||
@@ -275,6 +275,6 @@ long DescribeRealTimeRecordDetailRequest::getCallerUid()const
|
||||
void DescribeRealTimeRecordDetailRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeRealTimeRecordDetailResult::~DescribeRealTimeRecordDetailResult()
|
||||
|
||||
void DescribeRealTimeRecordDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRecordDetailInfos = value["RecordDetailInfos"]["RecordDetailInfo"];
|
||||
for (auto value : allRecordDetailInfos)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeRealTimeRecordListRequest::getApp_ip()const
|
||||
void DescribeRealTimeRecordListRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeRealTimeRecordListRequest::getPopProduct()const
|
||||
void DescribeRealTimeRecordListRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long DescribeRealTimeRecordListRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long DescribeRealTimeRecordListRequest::getCallerParentId()const
|
||||
void DescribeRealTimeRecordListRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRealTimeRecordListRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool DescribeRealTimeRecordListRequest::getProxy_original_security_transport()co
|
||||
void DescribeRealTimeRecordListRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getEndTime()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribeRealTimeRecordListRequest::getEndTime()const
|
||||
void DescribeRealTimeRecordListRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getCallerBid()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribeRealTimeRecordListRequest::getCallerBid()const
|
||||
void DescribeRealTimeRecordListRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getStartTime()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeRealTimeRecordListRequest::getStartTime()const
|
||||
void DescribeRealTimeRecordListRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long DescribeRealTimeRecordListRequest::getOwnerId()const
|
||||
@@ -110,7 +110,7 @@ long DescribeRealTimeRecordListRequest::getOwnerId()const
|
||||
void DescribeRealTimeRecordListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getProxy_original_source_ip()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeRealTimeRecordListRequest::getProxy_original_source_ip()cons
|
||||
void DescribeRealTimeRecordListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getVersion()const
|
||||
@@ -132,7 +132,7 @@ std::string DescribeRealTimeRecordListRequest::getVersion()const
|
||||
void DescribeRealTimeRecordListRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getOwnerIdLoginEmail()const
|
||||
@@ -143,7 +143,7 @@ std::string DescribeRealTimeRecordListRequest::getOwnerIdLoginEmail()const
|
||||
void DescribeRealTimeRecordListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getCallerType()const
|
||||
@@ -154,7 +154,7 @@ std::string DescribeRealTimeRecordListRequest::getCallerType()const
|
||||
void DescribeRealTimeRecordListRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool DescribeRealTimeRecordListRequest::getProxy_trust_transport_info()const
|
||||
@@ -165,7 +165,7 @@ bool DescribeRealTimeRecordListRequest::getProxy_trust_transport_info()const
|
||||
void DescribeRealTimeRecordListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRealTimeRecordListRequest::getAk_mfa_present()const
|
||||
@@ -176,7 +176,7 @@ bool DescribeRealTimeRecordListRequest::getAk_mfa_present()const
|
||||
void DescribeRealTimeRecordListRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getAccessKeyId()const
|
||||
@@ -187,7 +187,7 @@ std::string DescribeRealTimeRecordListRequest::getAccessKeyId()const
|
||||
void DescribeRealTimeRecordListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool DescribeRealTimeRecordListRequest::getSecurity_transport()const
|
||||
@@ -198,7 +198,7 @@ bool DescribeRealTimeRecordListRequest::getSecurity_transport()const
|
||||
void DescribeRealTimeRecordListRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getSecurityToken()const
|
||||
@@ -209,7 +209,7 @@ std::string DescribeRealTimeRecordListRequest::getSecurityToken()const
|
||||
void DescribeRealTimeRecordListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getRequestId()const
|
||||
@@ -220,7 +220,7 @@ std::string DescribeRealTimeRecordListRequest::getRequestId()const
|
||||
void DescribeRealTimeRecordListRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getRequestContent()const
|
||||
@@ -231,7 +231,7 @@ std::string DescribeRealTimeRecordListRequest::getRequestContent()const
|
||||
void DescribeRealTimeRecordListRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string DescribeRealTimeRecordListRequest::getCallerBidEmail()const
|
||||
void DescribeRealTimeRecordListRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRealTimeRecordListRequest::getCallerUidEmail()const
|
||||
@@ -253,7 +253,7 @@ std::string DescribeRealTimeRecordListRequest::getCallerUidEmail()const
|
||||
void DescribeRealTimeRecordListRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRealTimeRecordListRequest::getCallerUid()const
|
||||
@@ -264,6 +264,6 @@ long DescribeRealTimeRecordListRequest::getCallerUid()const
|
||||
void DescribeRealTimeRecordListRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeRealTimeRecordListResult::~DescribeRealTimeRecordListResult()
|
||||
|
||||
void DescribeRealTimeRecordListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCommunicationRecordInfos = value["CommunicationRecordInfos"]["CommunicationRecordInfo"];
|
||||
for (auto value : allCommunicationRecordInfos)
|
||||
|
||||
@@ -33,7 +33,7 @@ long DescribeRecordDetailRequest::getCallerParentId()const
|
||||
void DescribeRecordDetailRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRecordDetailRequest::getProxy_original_security_transport()const
|
||||
@@ -44,7 +44,7 @@ bool DescribeRecordDetailRequest::getProxy_original_security_transport()const
|
||||
void DescribeRecordDetailRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getStartTime()const
|
||||
@@ -55,7 +55,7 @@ std::string DescribeRecordDetailRequest::getStartTime()const
|
||||
void DescribeRecordDetailRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getProxy_original_source_ip()const
|
||||
@@ -66,7 +66,7 @@ std::string DescribeRecordDetailRequest::getProxy_original_source_ip()const
|
||||
void DescribeRecordDetailRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getOwnerIdLoginEmail()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribeRecordDetailRequest::getOwnerIdLoginEmail()const
|
||||
void DescribeRecordDetailRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getCallerType()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribeRecordDetailRequest::getCallerType()const
|
||||
void DescribeRecordDetailRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getAccessKeyId()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeRecordDetailRequest::getAccessKeyId()const
|
||||
void DescribeRecordDetailRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getSecurityToken()const
|
||||
@@ -110,7 +110,7 @@ std::string DescribeRecordDetailRequest::getSecurityToken()const
|
||||
void DescribeRecordDetailRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getRequestContent()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeRecordDetailRequest::getRequestContent()const
|
||||
void DescribeRecordDetailRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getCallerBidEmail()const
|
||||
@@ -132,7 +132,7 @@ std::string DescribeRecordDetailRequest::getCallerBidEmail()const
|
||||
void DescribeRecordDetailRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getCallerUidEmail()const
|
||||
@@ -143,7 +143,7 @@ std::string DescribeRecordDetailRequest::getCallerUidEmail()const
|
||||
void DescribeRecordDetailRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRecordDetailRequest::getCallerUid()const
|
||||
@@ -154,7 +154,7 @@ long DescribeRecordDetailRequest::getCallerUid()const
|
||||
void DescribeRecordDetailRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getApp_ip()const
|
||||
@@ -165,7 +165,7 @@ std::string DescribeRecordDetailRequest::getApp_ip()const
|
||||
void DescribeRecordDetailRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getPopProduct()const
|
||||
@@ -176,7 +176,7 @@ std::string DescribeRecordDetailRequest::getPopProduct()const
|
||||
void DescribeRecordDetailRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getEndTime()const
|
||||
@@ -187,7 +187,7 @@ std::string DescribeRecordDetailRequest::getEndTime()const
|
||||
void DescribeRecordDetailRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getCallerBid()const
|
||||
@@ -198,7 +198,7 @@ std::string DescribeRecordDetailRequest::getCallerBid()const
|
||||
void DescribeRecordDetailRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRecordDetailRequest::getOwnerId()const
|
||||
@@ -209,7 +209,7 @@ long DescribeRecordDetailRequest::getOwnerId()const
|
||||
void DescribeRecordDetailRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getVersion()const
|
||||
@@ -220,7 +220,7 @@ std::string DescribeRecordDetailRequest::getVersion()const
|
||||
void DescribeRecordDetailRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRecordDetailRequest::getProxy_trust_transport_info()const
|
||||
@@ -231,7 +231,7 @@ bool DescribeRecordDetailRequest::getProxy_trust_transport_info()const
|
||||
void DescribeRecordDetailRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRecordDetailRequest::getAk_mfa_present()const
|
||||
@@ -242,7 +242,7 @@ bool DescribeRecordDetailRequest::getAk_mfa_present()const
|
||||
void DescribeRecordDetailRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRecordDetailRequest::getSecurity_transport()const
|
||||
@@ -253,7 +253,7 @@ bool DescribeRecordDetailRequest::getSecurity_transport()const
|
||||
void DescribeRecordDetailRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getRecordId()const
|
||||
@@ -264,7 +264,7 @@ std::string DescribeRecordDetailRequest::getRecordId()const
|
||||
void DescribeRecordDetailRequest::setRecordId(const std::string& recordId)
|
||||
{
|
||||
recordId_ = recordId;
|
||||
setParameter("RecordId", recordId);
|
||||
setCoreParameter("RecordId", recordId);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getRequestId()const
|
||||
@@ -275,7 +275,7 @@ std::string DescribeRecordDetailRequest::getRequestId()const
|
||||
void DescribeRecordDetailRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getAppId()const
|
||||
@@ -286,7 +286,7 @@ std::string DescribeRecordDetailRequest::getAppId()const
|
||||
void DescribeRecordDetailRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRecordDetailRequest::getChannelId()const
|
||||
@@ -297,6 +297,6 @@ std::string DescribeRecordDetailRequest::getChannelId()const
|
||||
void DescribeRecordDetailRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeRecordDetailResult::~DescribeRecordDetailResult()
|
||||
|
||||
void DescribeRecordDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRecordDetailInfos = value["RecordDetailInfos"]["RecordDetailInfo"];
|
||||
for (auto value : allRecordDetailInfos)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeRecordListRequest::getSortType()const
|
||||
void DescribeRecordListRequest::setSortType(const std::string& sortType)
|
||||
{
|
||||
sortType_ = sortType;
|
||||
setParameter("SortType", sortType);
|
||||
setCoreParameter("SortType", sortType);
|
||||
}
|
||||
|
||||
long DescribeRecordListRequest::getCallerParentId()const
|
||||
@@ -44,7 +44,7 @@ long DescribeRecordListRequest::getCallerParentId()const
|
||||
void DescribeRecordListRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRecordListRequest::getProxy_original_security_transport()const
|
||||
@@ -55,7 +55,7 @@ bool DescribeRecordListRequest::getProxy_original_security_transport()const
|
||||
void DescribeRecordListRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getStartTime()const
|
||||
@@ -66,7 +66,7 @@ std::string DescribeRecordListRequest::getStartTime()const
|
||||
void DescribeRecordListRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getProxy_original_source_ip()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribeRecordListRequest::getProxy_original_source_ip()const
|
||||
void DescribeRecordListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getOwnerIdLoginEmail()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribeRecordListRequest::getOwnerIdLoginEmail()const
|
||||
void DescribeRecordListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getCallerType()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeRecordListRequest::getCallerType()const
|
||||
void DescribeRecordListRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getAccessKeyId()const
|
||||
@@ -110,7 +110,7 @@ std::string DescribeRecordListRequest::getAccessKeyId()const
|
||||
void DescribeRecordListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getSecurityToken()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeRecordListRequest::getSecurityToken()const
|
||||
void DescribeRecordListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getRequestContent()const
|
||||
@@ -132,7 +132,7 @@ std::string DescribeRecordListRequest::getRequestContent()const
|
||||
void DescribeRecordListRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getServiceArea()const
|
||||
@@ -143,7 +143,7 @@ std::string DescribeRecordListRequest::getServiceArea()const
|
||||
void DescribeRecordListRequest::setServiceArea(const std::string& serviceArea)
|
||||
{
|
||||
serviceArea_ = serviceArea;
|
||||
setParameter("ServiceArea", serviceArea);
|
||||
setCoreParameter("ServiceArea", serviceArea);
|
||||
}
|
||||
|
||||
long DescribeRecordListRequest::getPageSize()const
|
||||
@@ -154,7 +154,7 @@ long DescribeRecordListRequest::getPageSize()const
|
||||
void DescribeRecordListRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getCallerBidEmail()const
|
||||
@@ -165,7 +165,7 @@ std::string DescribeRecordListRequest::getCallerBidEmail()const
|
||||
void DescribeRecordListRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getId()const
|
||||
@@ -176,7 +176,7 @@ std::string DescribeRecordListRequest::getId()const
|
||||
void DescribeRecordListRequest::setId(const std::string& id)
|
||||
{
|
||||
id_ = id;
|
||||
setParameter("Id", id);
|
||||
setCoreParameter("Id", id);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getCallerUidEmail()const
|
||||
@@ -187,7 +187,7 @@ std::string DescribeRecordListRequest::getCallerUidEmail()const
|
||||
void DescribeRecordListRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRecordListRequest::getCallerUid()const
|
||||
@@ -198,7 +198,7 @@ long DescribeRecordListRequest::getCallerUid()const
|
||||
void DescribeRecordListRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getApp_ip()const
|
||||
@@ -209,7 +209,7 @@ std::string DescribeRecordListRequest::getApp_ip()const
|
||||
void DescribeRecordListRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getPopProduct()const
|
||||
@@ -220,7 +220,7 @@ std::string DescribeRecordListRequest::getPopProduct()const
|
||||
void DescribeRecordListRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getEndTime()const
|
||||
@@ -231,7 +231,7 @@ std::string DescribeRecordListRequest::getEndTime()const
|
||||
void DescribeRecordListRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getCallerBid()const
|
||||
@@ -242,7 +242,7 @@ std::string DescribeRecordListRequest::getCallerBid()const
|
||||
void DescribeRecordListRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRecordListRequest::getOwnerId()const
|
||||
@@ -253,7 +253,7 @@ long DescribeRecordListRequest::getOwnerId()const
|
||||
void DescribeRecordListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getVersion()const
|
||||
@@ -264,7 +264,7 @@ std::string DescribeRecordListRequest::getVersion()const
|
||||
void DescribeRecordListRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRecordListRequest::getProxy_trust_transport_info()const
|
||||
@@ -275,7 +275,7 @@ bool DescribeRecordListRequest::getProxy_trust_transport_info()const
|
||||
void DescribeRecordListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRecordListRequest::getAk_mfa_present()const
|
||||
@@ -286,7 +286,7 @@ bool DescribeRecordListRequest::getAk_mfa_present()const
|
||||
void DescribeRecordListRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRecordListRequest::getSecurity_transport()const
|
||||
@@ -297,7 +297,7 @@ bool DescribeRecordListRequest::getSecurity_transport()const
|
||||
void DescribeRecordListRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getIdType()const
|
||||
@@ -308,7 +308,7 @@ std::string DescribeRecordListRequest::getIdType()const
|
||||
void DescribeRecordListRequest::setIdType(const std::string& idType)
|
||||
{
|
||||
idType_ = idType;
|
||||
setParameter("IdType", idType);
|
||||
setCoreParameter("IdType", idType);
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getRequestId()const
|
||||
@@ -319,7 +319,7 @@ std::string DescribeRecordListRequest::getRequestId()const
|
||||
void DescribeRecordListRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
long DescribeRecordListRequest::getPageNo()const
|
||||
@@ -330,7 +330,7 @@ long DescribeRecordListRequest::getPageNo()const
|
||||
void DescribeRecordListRequest::setPageNo(long pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setParameter("PageNo", std::to_string(pageNo));
|
||||
setCoreParameter("PageNo", std::to_string(pageNo));
|
||||
}
|
||||
|
||||
std::string DescribeRecordListRequest::getAppId()const
|
||||
@@ -341,6 +341,6 @@ std::string DescribeRecordListRequest::getAppId()const
|
||||
void DescribeRecordListRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeRecordListResult::~DescribeRecordListResult()
|
||||
|
||||
void DescribeRecordListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allCommunicationRecordInfos = value["CommunicationRecordInfos"]["CommunicationRecordInfo"];
|
||||
for (auto value : allCommunicationRecordInfos)
|
||||
|
||||
313
rtc/src/model/DescribeRtcChannelCntDataRequest.cc
Normal file
313
rtc/src/model/DescribeRtcChannelCntDataRequest.cc
Normal file
@@ -0,0 +1,313 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcChannelCntDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DescribeRtcChannelCntDataRequest;
|
||||
|
||||
DescribeRtcChannelCntDataRequest::DescribeRtcChannelCntDataRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DescribeRtcChannelCntData")
|
||||
{}
|
||||
|
||||
DescribeRtcChannelCntDataRequest::~DescribeRtcChannelCntDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeRtcChannelCntDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeRtcChannelCntDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelCntDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getServiceArea()const
|
||||
{
|
||||
return serviceArea_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setServiceArea(const std::string& serviceArea)
|
||||
{
|
||||
serviceArea_ = serviceArea;
|
||||
setCoreParameter("ServiceArea", serviceArea);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelCntDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelCntDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelCntDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelCntDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelCntDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelCntDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelCntDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
63
rtc/src/model/DescribeRtcChannelCntDataResult.cc
Normal file
63
rtc/src/model/DescribeRtcChannelCntDataResult.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/DescribeRtcChannelCntDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DescribeRtcChannelCntDataResult::DescribeRtcChannelCntDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRtcChannelCntDataResult::DescribeRtcChannelCntDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRtcChannelCntDataResult::~DescribeRtcChannelCntDataResult()
|
||||
{}
|
||||
|
||||
void DescribeRtcChannelCntDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allChannelCntDataPerInterval = value["ChannelCntDataPerInterval"]["ChannelCntModule"];
|
||||
for (auto value : allChannelCntDataPerInterval)
|
||||
{
|
||||
ChannelCntModule channelCntDataPerIntervalObject;
|
||||
if(!value["TimeStamp"].isNull())
|
||||
channelCntDataPerIntervalObject.timeStamp = value["TimeStamp"].asString();
|
||||
if(!value["ActiveChannelCnt"].isNull())
|
||||
channelCntDataPerIntervalObject.activeChannelCnt = std::stol(value["ActiveChannelCnt"].asString());
|
||||
channelCntDataPerInterval_.push_back(channelCntDataPerIntervalObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeRtcChannelCntDataResult::ChannelCntModule> DescribeRtcChannelCntDataResult::getChannelCntDataPerInterval()const
|
||||
{
|
||||
return channelCntDataPerInterval_;
|
||||
}
|
||||
|
||||
357
rtc/src/model/DescribeRtcChannelListRequest.cc
Normal file
357
rtc/src/model/DescribeRtcChannelListRequest.cc
Normal file
@@ -0,0 +1,357 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcChannelListRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DescribeRtcChannelListRequest;
|
||||
|
||||
DescribeRtcChannelListRequest::DescribeRtcChannelListRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DescribeRtcChannelList")
|
||||
{}
|
||||
|
||||
DescribeRtcChannelListRequest::~DescribeRtcChannelListRequest()
|
||||
{}
|
||||
|
||||
long DescribeRtcChannelListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getSortType()const
|
||||
{
|
||||
return sortType_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setSortType(const std::string& sortType)
|
||||
{
|
||||
sortType_ = sortType;
|
||||
setCoreParameter("SortType", sortType);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelListRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelListRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getServiceArea()const
|
||||
{
|
||||
return serviceArea_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setServiceArea(const std::string& serviceArea)
|
||||
{
|
||||
serviceArea_ = serviceArea;
|
||||
setCoreParameter("ServiceArea", serviceArea);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelListRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelListRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelListRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelListRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelListRequest::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setPageNo(long pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setCoreParameter("PageNo", std::to_string(pageNo));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelListRequest::getTimePoint()const
|
||||
{
|
||||
return timePoint_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelListRequest::setTimePoint(const std::string& timePoint)
|
||||
{
|
||||
timePoint_ = timePoint;
|
||||
setCoreParameter("TimePoint", timePoint);
|
||||
}
|
||||
|
||||
91
rtc/src/model/DescribeRtcChannelListResult.cc
Normal file
91
rtc/src/model/DescribeRtcChannelListResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/DescribeRtcChannelListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DescribeRtcChannelListResult::DescribeRtcChannelListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRtcChannelListResult::DescribeRtcChannelListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRtcChannelListResult::~DescribeRtcChannelListResult()
|
||||
{}
|
||||
|
||||
void DescribeRtcChannelListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allChannelList = value["ChannelList"]["ChannelListItem"];
|
||||
for (auto value : allChannelList)
|
||||
{
|
||||
ChannelListItem channelListObject;
|
||||
if(!value["ChannelId"].isNull())
|
||||
channelListObject.channelId = value["ChannelId"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
channelListObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
channelListObject.endTime = value["EndTime"].asString();
|
||||
if(!value["TotalUserCnt"].isNull())
|
||||
channelListObject.totalUserCnt = std::stol(value["TotalUserCnt"].asString());
|
||||
auto allCallArea = value["CallArea"]["CallArea"];
|
||||
for (auto value : allCallArea)
|
||||
channelListObject.callArea.push_back(value.asString());
|
||||
channelList_.push_back(channelListObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["PageNo"].isNull())
|
||||
pageNo_ = std::stol(value["PageNo"].asString());
|
||||
if(!value["TotalCnt"].isNull())
|
||||
totalCnt_ = std::stol(value["TotalCnt"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeRtcChannelListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeRtcChannelListResult::getTotalCnt()const
|
||||
{
|
||||
return totalCnt_;
|
||||
}
|
||||
|
||||
long DescribeRtcChannelListResult::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
std::vector<DescribeRtcChannelListResult::ChannelListItem> DescribeRtcChannelListResult::getChannelList()const
|
||||
{
|
||||
return channelList_;
|
||||
}
|
||||
|
||||
302
rtc/src/model/DescribeRtcChannelMetricRequest.cc
Normal file
302
rtc/src/model/DescribeRtcChannelMetricRequest.cc
Normal file
@@ -0,0 +1,302 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcChannelMetricRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DescribeRtcChannelMetricRequest;
|
||||
|
||||
DescribeRtcChannelMetricRequest::DescribeRtcChannelMetricRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DescribeRtcChannelMetric")
|
||||
{}
|
||||
|
||||
DescribeRtcChannelMetricRequest::~DescribeRtcChannelMetricRequest()
|
||||
{}
|
||||
|
||||
long DescribeRtcChannelMetricRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeRtcChannelMetricRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelMetricRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelMetricRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelMetricRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelMetricRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelMetricRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelMetricRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelMetricRequest::getTimePoint()const
|
||||
{
|
||||
return timePoint_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelMetricRequest::setTimePoint(const std::string& timePoint)
|
||||
{
|
||||
timePoint_ = timePoint;
|
||||
setCoreParameter("TimePoint", timePoint);
|
||||
}
|
||||
|
||||
90
rtc/src/model/DescribeRtcChannelMetricResult.cc
Normal file
90
rtc/src/model/DescribeRtcChannelMetricResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcChannelMetricResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DescribeRtcChannelMetricResult::DescribeRtcChannelMetricResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRtcChannelMetricResult::DescribeRtcChannelMetricResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRtcChannelMetricResult::~DescribeRtcChannelMetricResult()
|
||||
{}
|
||||
|
||||
void DescribeRtcChannelMetricResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto channelMetricInfoNode = value["ChannelMetricInfo"];
|
||||
auto channelMetricNode = channelMetricInfoNode["ChannelMetric"];
|
||||
if(!channelMetricNode["ChannelId"].isNull())
|
||||
channelMetricInfo_.channelMetric.channelId = channelMetricNode["ChannelId"].asString();
|
||||
if(!channelMetricNode["UserCount"].isNull())
|
||||
channelMetricInfo_.channelMetric.userCount = std::stoi(channelMetricNode["UserCount"].asString());
|
||||
if(!channelMetricNode["PubUserCount"].isNull())
|
||||
channelMetricInfo_.channelMetric.pubUserCount = std::stoi(channelMetricNode["PubUserCount"].asString());
|
||||
if(!channelMetricNode["SubUserCount"].isNull())
|
||||
channelMetricInfo_.channelMetric.subUserCount = std::stoi(channelMetricNode["SubUserCount"].asString());
|
||||
if(!channelMetricNode["StartTime"].isNull())
|
||||
channelMetricInfo_.channelMetric.startTime = channelMetricNode["StartTime"].asString();
|
||||
if(!channelMetricNode["EndTime"].isNull())
|
||||
channelMetricInfo_.channelMetric.endTime = channelMetricNode["EndTime"].asString();
|
||||
auto durationNode = channelMetricInfoNode["Duration"];
|
||||
auto pubDurationNode = durationNode["PubDuration"];
|
||||
if(!pubDurationNode["Audio"].isNull())
|
||||
channelMetricInfo_.duration.pubDuration.audio = std::stoi(pubDurationNode["Audio"].asString());
|
||||
if(!pubDurationNode["Video360"].isNull())
|
||||
channelMetricInfo_.duration.pubDuration.video360 = std::stoi(pubDurationNode["Video360"].asString());
|
||||
if(!pubDurationNode["Video720"].isNull())
|
||||
channelMetricInfo_.duration.pubDuration.video720 = std::stoi(pubDurationNode["Video720"].asString());
|
||||
if(!pubDurationNode["Video1080"].isNull())
|
||||
channelMetricInfo_.duration.pubDuration.video1080 = std::stoi(pubDurationNode["Video1080"].asString());
|
||||
if(!pubDurationNode["Content"].isNull())
|
||||
channelMetricInfo_.duration.pubDuration.content = std::stoi(pubDurationNode["Content"].asString());
|
||||
auto subDurationNode = durationNode["SubDuration"];
|
||||
if(!subDurationNode["Audio"].isNull())
|
||||
channelMetricInfo_.duration.subDuration.audio = std::stoi(subDurationNode["Audio"].asString());
|
||||
if(!subDurationNode["Video360"].isNull())
|
||||
channelMetricInfo_.duration.subDuration.video360 = std::stoi(subDurationNode["Video360"].asString());
|
||||
if(!subDurationNode["Video720"].isNull())
|
||||
channelMetricInfo_.duration.subDuration.video720 = std::stoi(subDurationNode["Video720"].asString());
|
||||
if(!subDurationNode["Video1080"].isNull())
|
||||
channelMetricInfo_.duration.subDuration.video1080 = std::stoi(subDurationNode["Video1080"].asString());
|
||||
if(!subDurationNode["Content"].isNull())
|
||||
channelMetricInfo_.duration.subDuration.content = std::stoi(subDurationNode["Content"].asString());
|
||||
|
||||
}
|
||||
|
||||
DescribeRtcChannelMetricResult::ChannelMetricInfo DescribeRtcChannelMetricResult::getChannelMetricInfo()const
|
||||
{
|
||||
return channelMetricInfo_;
|
||||
}
|
||||
|
||||
324
rtc/src/model/DescribeRtcChannelUserListRequest.cc
Normal file
324
rtc/src/model/DescribeRtcChannelUserListRequest.cc
Normal file
@@ -0,0 +1,324 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcChannelUserListRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DescribeRtcChannelUserListRequest;
|
||||
|
||||
DescribeRtcChannelUserListRequest::DescribeRtcChannelUserListRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DescribeRtcChannelUserList")
|
||||
{}
|
||||
|
||||
DescribeRtcChannelUserListRequest::~DescribeRtcChannelUserListRequest()
|
||||
{}
|
||||
|
||||
long DescribeRtcChannelUserListRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeRtcChannelUserListRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelUserListRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelUserListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelUserListRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelUserListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelUserListRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelUserListRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcChannelUserListRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
long DescribeRtcChannelUserListRequest::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setPageNo(long pageNo)
|
||||
{
|
||||
pageNo_ = pageNo;
|
||||
setCoreParameter("PageNo", std::to_string(pageNo));
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getChannelId()const
|
||||
{
|
||||
return channelId_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcChannelUserListRequest::getTimePoint()const
|
||||
{
|
||||
return timePoint_;
|
||||
}
|
||||
|
||||
void DescribeRtcChannelUserListRequest::setTimePoint(const std::string& timePoint)
|
||||
{
|
||||
timePoint_ = timePoint;
|
||||
setCoreParameter("TimePoint", timePoint);
|
||||
}
|
||||
|
||||
110
rtc/src/model/DescribeRtcChannelUserListResult.cc
Normal file
110
rtc/src/model/DescribeRtcChannelUserListResult.cc
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcChannelUserListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DescribeRtcChannelUserListResult::DescribeRtcChannelUserListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRtcChannelUserListResult::DescribeRtcChannelUserListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRtcChannelUserListResult::~DescribeRtcChannelUserListResult()
|
||||
{}
|
||||
|
||||
void DescribeRtcChannelUserListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allUserList = value["UserList"]["UserListItem"];
|
||||
for (auto value : allUserList)
|
||||
{
|
||||
UserListItem userListObject;
|
||||
if(!value["ChannelId"].isNull())
|
||||
userListObject.channelId = value["ChannelId"].asString();
|
||||
if(!value["UserId"].isNull())
|
||||
userListObject.userId = value["UserId"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
userListObject.startTime = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
userListObject.endTime = value["EndTime"].asString();
|
||||
if(!value["ServiceArea"].isNull())
|
||||
userListObject.serviceArea = value["ServiceArea"].asString();
|
||||
if(!value["SubAudio"].isNull())
|
||||
userListObject.subAudio = std::stoi(value["SubAudio"].asString());
|
||||
if(!value["PubAudio"].isNull())
|
||||
userListObject.pubAudio = std::stoi(value["PubAudio"].asString());
|
||||
if(!value["SubVideo360"].isNull())
|
||||
userListObject.subVideo360 = std::stoi(value["SubVideo360"].asString());
|
||||
if(!value["PubVideo360"].isNull())
|
||||
userListObject.pubVideo360 = std::stoi(value["PubVideo360"].asString());
|
||||
if(!value["SubVideo720"].isNull())
|
||||
userListObject.subVideo720 = std::stoi(value["SubVideo720"].asString());
|
||||
if(!value["PubVideo720"].isNull())
|
||||
userListObject.pubVideo720 = std::stoi(value["PubVideo720"].asString());
|
||||
if(!value["SubVideo1080"].isNull())
|
||||
userListObject.subVideo1080 = std::stoi(value["SubVideo1080"].asString());
|
||||
if(!value["PubVideo1080"].isNull())
|
||||
userListObject.pubVideo1080 = std::stoi(value["PubVideo1080"].asString());
|
||||
if(!value["SubContent"].isNull())
|
||||
userListObject.subContent = std::stoi(value["SubContent"].asString());
|
||||
if(!value["PubContent"].isNull())
|
||||
userListObject.pubContent = std::stoi(value["PubContent"].asString());
|
||||
userList_.push_back(userListObject);
|
||||
}
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["PageNo"].isNull())
|
||||
pageNo_ = std::stol(value["PageNo"].asString());
|
||||
if(!value["TotalCnt"].isNull())
|
||||
totalCnt_ = std::stol(value["TotalCnt"].asString());
|
||||
|
||||
}
|
||||
|
||||
long DescribeRtcChannelUserListResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeRtcChannelUserListResult::getTotalCnt()const
|
||||
{
|
||||
return totalCnt_;
|
||||
}
|
||||
|
||||
long DescribeRtcChannelUserListResult::getPageNo()const
|
||||
{
|
||||
return pageNo_;
|
||||
}
|
||||
|
||||
std::vector<DescribeRtcChannelUserListResult::UserListItem> DescribeRtcChannelUserListResult::getUserList()const
|
||||
{
|
||||
return userList_;
|
||||
}
|
||||
|
||||
313
rtc/src/model/DescribeRtcDurationDataRequest.cc
Normal file
313
rtc/src/model/DescribeRtcDurationDataRequest.cc
Normal file
@@ -0,0 +1,313 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcDurationDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DescribeRtcDurationDataRequest;
|
||||
|
||||
DescribeRtcDurationDataRequest::DescribeRtcDurationDataRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DescribeRtcDurationData")
|
||||
{}
|
||||
|
||||
DescribeRtcDurationDataRequest::~DescribeRtcDurationDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeRtcDurationDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeRtcDurationDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRtcDurationDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getServiceArea()const
|
||||
{
|
||||
return serviceArea_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setServiceArea(const std::string& serviceArea)
|
||||
{
|
||||
serviceArea_ = serviceArea;
|
||||
setCoreParameter("ServiceArea", serviceArea);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRtcDurationDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRtcDurationDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRtcDurationDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcDurationDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcDurationDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcDurationDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeRtcDurationDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
73
rtc/src/model/DescribeRtcDurationDataResult.cc
Normal file
73
rtc/src/model/DescribeRtcDurationDataResult.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/rtc/model/DescribeRtcDurationDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DescribeRtcDurationDataResult::DescribeRtcDurationDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRtcDurationDataResult::DescribeRtcDurationDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRtcDurationDataResult::~DescribeRtcDurationDataResult()
|
||||
{}
|
||||
|
||||
void DescribeRtcDurationDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDurationDataPerInterval = value["DurationDataPerInterval"]["DurationModule"];
|
||||
for (auto value : allDurationDataPerInterval)
|
||||
{
|
||||
DurationModule durationDataPerIntervalObject;
|
||||
if(!value["TimeStamp"].isNull())
|
||||
durationDataPerIntervalObject.timeStamp = value["TimeStamp"].asString();
|
||||
if(!value["TotalDuration"].isNull())
|
||||
durationDataPerIntervalObject.totalDuration = std::stol(value["TotalDuration"].asString());
|
||||
if(!value["AudioDuration"].isNull())
|
||||
durationDataPerIntervalObject.audioDuration = std::stol(value["AudioDuration"].asString());
|
||||
if(!value["V360Duration"].isNull())
|
||||
durationDataPerIntervalObject.v360Duration = std::stol(value["V360Duration"].asString());
|
||||
if(!value["V720Duration"].isNull())
|
||||
durationDataPerIntervalObject.v720Duration = std::stol(value["V720Duration"].asString());
|
||||
if(!value["V1080Duration"].isNull())
|
||||
durationDataPerIntervalObject.v1080Duration = std::stol(value["V1080Duration"].asString());
|
||||
if(!value["ContentDuration"].isNull())
|
||||
durationDataPerIntervalObject.contentDuration = std::stol(value["ContentDuration"].asString());
|
||||
durationDataPerInterval_.push_back(durationDataPerIntervalObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeRtcDurationDataResult::DurationModule> DescribeRtcDurationDataResult::getDurationDataPerInterval()const
|
||||
{
|
||||
return durationDataPerInterval_;
|
||||
}
|
||||
|
||||
313
rtc/src/model/DescribeRtcPeakChannelCntDataRequest.cc
Normal file
313
rtc/src/model/DescribeRtcPeakChannelCntDataRequest.cc
Normal file
@@ -0,0 +1,313 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcPeakChannelCntDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DescribeRtcPeakChannelCntDataRequest;
|
||||
|
||||
DescribeRtcPeakChannelCntDataRequest::DescribeRtcPeakChannelCntDataRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DescribeRtcPeakChannelCntData")
|
||||
{}
|
||||
|
||||
DescribeRtcPeakChannelCntDataRequest::~DescribeRtcPeakChannelCntDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeRtcPeakChannelCntDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeRtcPeakChannelCntDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRtcPeakChannelCntDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getServiceArea()const
|
||||
{
|
||||
return serviceArea_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setServiceArea(const std::string& serviceArea)
|
||||
{
|
||||
serviceArea_ = serviceArea;
|
||||
setCoreParameter("ServiceArea", serviceArea);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRtcPeakChannelCntDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRtcPeakChannelCntDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRtcPeakChannelCntDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcPeakChannelCntDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcPeakChannelCntDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakChannelCntDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
65
rtc/src/model/DescribeRtcPeakChannelCntDataResult.cc
Normal file
65
rtc/src/model/DescribeRtcPeakChannelCntDataResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/DescribeRtcPeakChannelCntDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DescribeRtcPeakChannelCntDataResult::DescribeRtcPeakChannelCntDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRtcPeakChannelCntDataResult::DescribeRtcPeakChannelCntDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRtcPeakChannelCntDataResult::~DescribeRtcPeakChannelCntDataResult()
|
||||
{}
|
||||
|
||||
void DescribeRtcPeakChannelCntDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPeakChannelCntDataPerInterval = value["PeakChannelCntDataPerInterval"]["PeakChannelCntModule"];
|
||||
for (auto value : allPeakChannelCntDataPerInterval)
|
||||
{
|
||||
PeakChannelCntModule peakChannelCntDataPerIntervalObject;
|
||||
if(!value["TimeStamp"].isNull())
|
||||
peakChannelCntDataPerIntervalObject.timeStamp = value["TimeStamp"].asString();
|
||||
if(!value["ActiveChannelPeak"].isNull())
|
||||
peakChannelCntDataPerIntervalObject.activeChannelPeak = std::stol(value["ActiveChannelPeak"].asString());
|
||||
if(!value["ActiveChannelPeakTime"].isNull())
|
||||
peakChannelCntDataPerIntervalObject.activeChannelPeakTime = value["ActiveChannelPeakTime"].asString();
|
||||
peakChannelCntDataPerInterval_.push_back(peakChannelCntDataPerIntervalObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeRtcPeakChannelCntDataResult::PeakChannelCntModule> DescribeRtcPeakChannelCntDataResult::getPeakChannelCntDataPerInterval()const
|
||||
{
|
||||
return peakChannelCntDataPerInterval_;
|
||||
}
|
||||
|
||||
313
rtc/src/model/DescribeRtcPeakUserCntDataRequest.cc
Normal file
313
rtc/src/model/DescribeRtcPeakUserCntDataRequest.cc
Normal file
@@ -0,0 +1,313 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcPeakUserCntDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DescribeRtcPeakUserCntDataRequest;
|
||||
|
||||
DescribeRtcPeakUserCntDataRequest::DescribeRtcPeakUserCntDataRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DescribeRtcPeakUserCntData")
|
||||
{}
|
||||
|
||||
DescribeRtcPeakUserCntDataRequest::~DescribeRtcPeakUserCntDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeRtcPeakUserCntDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeRtcPeakUserCntDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRtcPeakUserCntDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getServiceArea()const
|
||||
{
|
||||
return serviceArea_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setServiceArea(const std::string& serviceArea)
|
||||
{
|
||||
serviceArea_ = serviceArea;
|
||||
setCoreParameter("ServiceArea", serviceArea);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRtcPeakUserCntDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRtcPeakUserCntDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRtcPeakUserCntDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcPeakUserCntDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcPeakUserCntDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcPeakUserCntDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeRtcPeakUserCntDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
65
rtc/src/model/DescribeRtcPeakUserCntDataResult.cc
Normal file
65
rtc/src/model/DescribeRtcPeakUserCntDataResult.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/DescribeRtcPeakUserCntDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DescribeRtcPeakUserCntDataResult::DescribeRtcPeakUserCntDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRtcPeakUserCntDataResult::DescribeRtcPeakUserCntDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRtcPeakUserCntDataResult::~DescribeRtcPeakUserCntDataResult()
|
||||
{}
|
||||
|
||||
void DescribeRtcPeakUserCntDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPeakUserCntDataPerInterval = value["PeakUserCntDataPerInterval"]["PeakUserCntModule"];
|
||||
for (auto value : allPeakUserCntDataPerInterval)
|
||||
{
|
||||
PeakUserCntModule peakUserCntDataPerIntervalObject;
|
||||
if(!value["TimeStamp"].isNull())
|
||||
peakUserCntDataPerIntervalObject.timeStamp = value["TimeStamp"].asString();
|
||||
if(!value["ActiveUserPeak"].isNull())
|
||||
peakUserCntDataPerIntervalObject.activeUserPeak = std::stol(value["ActiveUserPeak"].asString());
|
||||
if(!value["ActiveUserPeakTime"].isNull())
|
||||
peakUserCntDataPerIntervalObject.activeUserPeakTime = value["ActiveUserPeakTime"].asString();
|
||||
peakUserCntDataPerInterval_.push_back(peakUserCntDataPerIntervalObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeRtcPeakUserCntDataResult::PeakUserCntModule> DescribeRtcPeakUserCntDataResult::getPeakUserCntDataPerInterval()const
|
||||
{
|
||||
return peakUserCntDataPerInterval_;
|
||||
}
|
||||
|
||||
313
rtc/src/model/DescribeRtcUserCntDataRequest.cc
Normal file
313
rtc/src/model/DescribeRtcUserCntDataRequest.cc
Normal file
@@ -0,0 +1,313 @@
|
||||
/*
|
||||
* 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/rtc/model/DescribeRtcUserCntDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Rtc::Model::DescribeRtcUserCntDataRequest;
|
||||
|
||||
DescribeRtcUserCntDataRequest::DescribeRtcUserCntDataRequest() :
|
||||
RpcServiceRequest("rtc", "2018-01-11", "DescribeRtcUserCntData")
|
||||
{}
|
||||
|
||||
DescribeRtcUserCntDataRequest::~DescribeRtcUserCntDataRequest()
|
||||
{}
|
||||
|
||||
long DescribeRtcUserCntDataRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long DescribeRtcUserCntDataRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeRtcUserCntDataRequest::getProxy_original_security_transport()const
|
||||
{
|
||||
return proxy_original_security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getProxy_original_source_ip()const
|
||||
{
|
||||
return proxy_original_source_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getOwnerIdLoginEmail()const
|
||||
{
|
||||
return ownerIdLoginEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getCallerType()const
|
||||
{
|
||||
return callerType_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getRequestContent()const
|
||||
{
|
||||
return requestContent_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getServiceArea()const
|
||||
{
|
||||
return serviceArea_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setServiceArea(const std::string& serviceArea)
|
||||
{
|
||||
serviceArea_ = serviceArea;
|
||||
setCoreParameter("ServiceArea", serviceArea);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getCallerBidEmail()const
|
||||
{
|
||||
return callerBidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getCallerUidEmail()const
|
||||
{
|
||||
return callerUidEmail_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeRtcUserCntDataRequest::getCallerUid()const
|
||||
{
|
||||
return callerUid_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getApp_ip()const
|
||||
{
|
||||
return app_ip_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getPopProduct()const
|
||||
{
|
||||
return popProduct_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getCallerBid()const
|
||||
{
|
||||
return callerBid_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeRtcUserCntDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getVersion()const
|
||||
{
|
||||
return version_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeRtcUserCntDataRequest::getProxy_trust_transport_info()const
|
||||
{
|
||||
return proxy_trust_transport_info_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcUserCntDataRequest::getAk_mfa_present()const
|
||||
{
|
||||
return ak_mfa_present_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeRtcUserCntDataRequest::getSecurity_transport()const
|
||||
{
|
||||
return security_transport_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeRtcUserCntDataRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void DescribeRtcUserCntDataRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
63
rtc/src/model/DescribeRtcUserCntDataResult.cc
Normal file
63
rtc/src/model/DescribeRtcUserCntDataResult.cc
Normal file
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/rtc/model/DescribeRtcUserCntDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Rtc;
|
||||
using namespace AlibabaCloud::Rtc::Model;
|
||||
|
||||
DescribeRtcUserCntDataResult::DescribeRtcUserCntDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeRtcUserCntDataResult::DescribeRtcUserCntDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeRtcUserCntDataResult::~DescribeRtcUserCntDataResult()
|
||||
{}
|
||||
|
||||
void DescribeRtcUserCntDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allUserCntDataPerInterval = value["UserCntDataPerInterval"]["UserCntModule"];
|
||||
for (auto value : allUserCntDataPerInterval)
|
||||
{
|
||||
UserCntModule userCntDataPerIntervalObject;
|
||||
if(!value["TimeStamp"].isNull())
|
||||
userCntDataPerIntervalObject.timeStamp = value["TimeStamp"].asString();
|
||||
if(!value["ActiveUserCnt"].isNull())
|
||||
userCntDataPerIntervalObject.activeUserCnt = std::stol(value["ActiveUserCnt"].asString());
|
||||
userCntDataPerInterval_.push_back(userCntDataPerIntervalObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeRtcUserCntDataResult::UserCntModule> DescribeRtcUserCntDataResult::getUserCntDataPerInterval()const
|
||||
{
|
||||
return userCntDataPerInterval_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeStatisRequest::getSortType()const
|
||||
void DescribeStatisRequest::setSortType(const std::string& sortType)
|
||||
{
|
||||
sortType_ = sortType;
|
||||
setParameter("SortType", sortType);
|
||||
setCoreParameter("SortType", sortType);
|
||||
}
|
||||
|
||||
long DescribeStatisRequest::getCallerParentId()const
|
||||
@@ -44,7 +44,7 @@ long DescribeStatisRequest::getCallerParentId()const
|
||||
void DescribeStatisRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool DescribeStatisRequest::getProxy_original_security_transport()const
|
||||
@@ -55,7 +55,7 @@ bool DescribeStatisRequest::getProxy_original_security_transport()const
|
||||
void DescribeStatisRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getStartTime()const
|
||||
@@ -66,7 +66,7 @@ std::string DescribeStatisRequest::getStartTime()const
|
||||
void DescribeStatisRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getProxy_original_source_ip()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribeStatisRequest::getProxy_original_source_ip()const
|
||||
void DescribeStatisRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getOwnerIdLoginEmail()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribeStatisRequest::getOwnerIdLoginEmail()const
|
||||
void DescribeStatisRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getCallerType()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeStatisRequest::getCallerType()const
|
||||
void DescribeStatisRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getAccessKeyId()const
|
||||
@@ -110,7 +110,7 @@ std::string DescribeStatisRequest::getAccessKeyId()const
|
||||
void DescribeStatisRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getSecurityToken()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeStatisRequest::getSecurityToken()const
|
||||
void DescribeStatisRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getDataType()const
|
||||
@@ -132,7 +132,7 @@ std::string DescribeStatisRequest::getDataType()const
|
||||
void DescribeStatisRequest::setDataType(const std::string& dataType)
|
||||
{
|
||||
dataType_ = dataType;
|
||||
setParameter("DataType", dataType);
|
||||
setCoreParameter("DataType", dataType);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getRequestContent()const
|
||||
@@ -143,7 +143,7 @@ std::string DescribeStatisRequest::getRequestContent()const
|
||||
void DescribeStatisRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getServiceArea()const
|
||||
@@ -154,7 +154,7 @@ std::string DescribeStatisRequest::getServiceArea()const
|
||||
void DescribeStatisRequest::setServiceArea(const std::string& serviceArea)
|
||||
{
|
||||
serviceArea_ = serviceArea;
|
||||
setParameter("ServiceArea", serviceArea);
|
||||
setCoreParameter("ServiceArea", serviceArea);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getCallerBidEmail()const
|
||||
@@ -165,7 +165,7 @@ std::string DescribeStatisRequest::getCallerBidEmail()const
|
||||
void DescribeStatisRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getCallerUidEmail()const
|
||||
@@ -176,7 +176,7 @@ std::string DescribeStatisRequest::getCallerUidEmail()const
|
||||
void DescribeStatisRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long DescribeStatisRequest::getCallerUid()const
|
||||
@@ -187,7 +187,7 @@ long DescribeStatisRequest::getCallerUid()const
|
||||
void DescribeStatisRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getApp_ip()const
|
||||
@@ -198,7 +198,7 @@ std::string DescribeStatisRequest::getApp_ip()const
|
||||
void DescribeStatisRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getPopProduct()const
|
||||
@@ -209,7 +209,7 @@ std::string DescribeStatisRequest::getPopProduct()const
|
||||
void DescribeStatisRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getEndTime()const
|
||||
@@ -220,7 +220,7 @@ std::string DescribeStatisRequest::getEndTime()const
|
||||
void DescribeStatisRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
setCoreParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getCallerBid()const
|
||||
@@ -231,7 +231,7 @@ std::string DescribeStatisRequest::getCallerBid()const
|
||||
void DescribeStatisRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long DescribeStatisRequest::getOwnerId()const
|
||||
@@ -242,7 +242,7 @@ long DescribeStatisRequest::getOwnerId()const
|
||||
void DescribeStatisRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getVersion()const
|
||||
@@ -253,7 +253,7 @@ std::string DescribeStatisRequest::getVersion()const
|
||||
void DescribeStatisRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool DescribeStatisRequest::getProxy_trust_transport_info()const
|
||||
@@ -264,7 +264,7 @@ bool DescribeStatisRequest::getProxy_trust_transport_info()const
|
||||
void DescribeStatisRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeStatisRequest::getAk_mfa_present()const
|
||||
@@ -275,7 +275,7 @@ bool DescribeStatisRequest::getAk_mfa_present()const
|
||||
void DescribeStatisRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool DescribeStatisRequest::getSecurity_transport()const
|
||||
@@ -286,7 +286,7 @@ bool DescribeStatisRequest::getSecurity_transport()const
|
||||
void DescribeStatisRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getRequestId()const
|
||||
@@ -297,7 +297,7 @@ std::string DescribeStatisRequest::getRequestId()const
|
||||
void DescribeStatisRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getAppId()const
|
||||
@@ -308,7 +308,7 @@ std::string DescribeStatisRequest::getAppId()const
|
||||
void DescribeStatisRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DescribeStatisRequest::getInterval()const
|
||||
@@ -319,6 +319,6 @@ std::string DescribeStatisRequest::getInterval()const
|
||||
void DescribeStatisRequest::setInterval(const std::string& interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", interval);
|
||||
setCoreParameter("Interval", interval);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeStatisResult::~DescribeStatisResult()
|
||||
|
||||
void DescribeStatisResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatisInfos = value["StatisInfos"]["StatisInfo"];
|
||||
for (auto value : allStatisInfos)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string GetAllTemplateRequest::getApp_ip()const
|
||||
void GetAllTemplateRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string GetAllTemplateRequest::getPopProduct()const
|
||||
void GetAllTemplateRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long GetAllTemplateRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long GetAllTemplateRequest::getCallerParentId()const
|
||||
void GetAllTemplateRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool GetAllTemplateRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool GetAllTemplateRequest::getProxy_original_security_transport()const
|
||||
void GetAllTemplateRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string GetAllTemplateRequest::getCallerBid()const
|
||||
void GetAllTemplateRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long GetAllTemplateRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long GetAllTemplateRequest::getOwnerId()const
|
||||
void GetAllTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string GetAllTemplateRequest::getProxy_original_source_ip()const
|
||||
void GetAllTemplateRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getVersion()const
|
||||
@@ -110,7 +110,7 @@ std::string GetAllTemplateRequest::getVersion()const
|
||||
void GetAllTemplateRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getOwnerIdLoginEmail()const
|
||||
@@ -121,7 +121,7 @@ std::string GetAllTemplateRequest::getOwnerIdLoginEmail()const
|
||||
void GetAllTemplateRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getCallerType()const
|
||||
@@ -132,7 +132,7 @@ std::string GetAllTemplateRequest::getCallerType()const
|
||||
void GetAllTemplateRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool GetAllTemplateRequest::getProxy_trust_transport_info()const
|
||||
@@ -143,7 +143,7 @@ bool GetAllTemplateRequest::getProxy_trust_transport_info()const
|
||||
void GetAllTemplateRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool GetAllTemplateRequest::getAk_mfa_present()const
|
||||
@@ -154,7 +154,7 @@ bool GetAllTemplateRequest::getAk_mfa_present()const
|
||||
void GetAllTemplateRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getAccessKeyId()const
|
||||
@@ -165,7 +165,7 @@ std::string GetAllTemplateRequest::getAccessKeyId()const
|
||||
void GetAllTemplateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool GetAllTemplateRequest::getSecurity_transport()const
|
||||
@@ -176,7 +176,7 @@ bool GetAllTemplateRequest::getSecurity_transport()const
|
||||
void GetAllTemplateRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getSecurityToken()const
|
||||
@@ -187,7 +187,7 @@ std::string GetAllTemplateRequest::getSecurityToken()const
|
||||
void GetAllTemplateRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getRequestId()const
|
||||
@@ -198,7 +198,7 @@ std::string GetAllTemplateRequest::getRequestId()const
|
||||
void GetAllTemplateRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getRequestContent()const
|
||||
@@ -209,7 +209,7 @@ std::string GetAllTemplateRequest::getRequestContent()const
|
||||
void GetAllTemplateRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getAppId()const
|
||||
@@ -220,7 +220,7 @@ std::string GetAllTemplateRequest::getAppId()const
|
||||
void GetAllTemplateRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getCallerBidEmail()const
|
||||
@@ -231,7 +231,7 @@ std::string GetAllTemplateRequest::getCallerBidEmail()const
|
||||
void GetAllTemplateRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string GetAllTemplateRequest::getCallerUidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string GetAllTemplateRequest::getCallerUidEmail()const
|
||||
void GetAllTemplateRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long GetAllTemplateRequest::getCallerUid()const
|
||||
@@ -253,6 +253,6 @@ long GetAllTemplateRequest::getCallerUid()const
|
||||
void GetAllTemplateRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetAllTemplateResult::~GetAllTemplateResult()
|
||||
|
||||
void GetAllTemplateResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTemplateIds = value["TemplateIds"]["TemplateId"];
|
||||
for (const auto &item : allTemplateIds)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string GetMPUTaskStatusRequest::getApp_ip()const
|
||||
void GetMPUTaskStatusRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string GetMPUTaskStatusRequest::getPopProduct()const
|
||||
void GetMPUTaskStatusRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long GetMPUTaskStatusRequest::getResourceOwnerId()const
|
||||
@@ -55,7 +55,7 @@ long GetMPUTaskStatusRequest::getResourceOwnerId()const
|
||||
void GetMPUTaskStatusRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long GetMPUTaskStatusRequest::getCallerParentId()const
|
||||
@@ -66,7 +66,7 @@ long GetMPUTaskStatusRequest::getCallerParentId()const
|
||||
void GetMPUTaskStatusRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool GetMPUTaskStatusRequest::getProxy_original_security_transport()const
|
||||
@@ -77,7 +77,7 @@ bool GetMPUTaskStatusRequest::getProxy_original_security_transport()const
|
||||
void GetMPUTaskStatusRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getCallerBid()const
|
||||
@@ -88,7 +88,7 @@ std::string GetMPUTaskStatusRequest::getCallerBid()const
|
||||
void GetMPUTaskStatusRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long GetMPUTaskStatusRequest::getOwnerId()const
|
||||
@@ -99,7 +99,7 @@ long GetMPUTaskStatusRequest::getOwnerId()const
|
||||
void GetMPUTaskStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getProxy_original_source_ip()const
|
||||
@@ -110,7 +110,7 @@ std::string GetMPUTaskStatusRequest::getProxy_original_source_ip()const
|
||||
void GetMPUTaskStatusRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getVersion()const
|
||||
@@ -121,7 +121,7 @@ std::string GetMPUTaskStatusRequest::getVersion()const
|
||||
void GetMPUTaskStatusRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getOwnerIdLoginEmail()const
|
||||
@@ -132,7 +132,7 @@ std::string GetMPUTaskStatusRequest::getOwnerIdLoginEmail()const
|
||||
void GetMPUTaskStatusRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getCallerType()const
|
||||
@@ -143,7 +143,7 @@ std::string GetMPUTaskStatusRequest::getCallerType()const
|
||||
void GetMPUTaskStatusRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool GetMPUTaskStatusRequest::getProxy_trust_transport_info()const
|
||||
@@ -154,7 +154,7 @@ bool GetMPUTaskStatusRequest::getProxy_trust_transport_info()const
|
||||
void GetMPUTaskStatusRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool GetMPUTaskStatusRequest::getAk_mfa_present()const
|
||||
@@ -165,7 +165,7 @@ bool GetMPUTaskStatusRequest::getAk_mfa_present()const
|
||||
void GetMPUTaskStatusRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getAccessKeyId()const
|
||||
@@ -176,7 +176,7 @@ std::string GetMPUTaskStatusRequest::getAccessKeyId()const
|
||||
void GetMPUTaskStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool GetMPUTaskStatusRequest::getSecurity_transport()const
|
||||
@@ -187,7 +187,7 @@ bool GetMPUTaskStatusRequest::getSecurity_transport()const
|
||||
void GetMPUTaskStatusRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getSecurityToken()const
|
||||
@@ -198,7 +198,7 @@ std::string GetMPUTaskStatusRequest::getSecurityToken()const
|
||||
void GetMPUTaskStatusRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getRequestId()const
|
||||
@@ -209,7 +209,7 @@ std::string GetMPUTaskStatusRequest::getRequestId()const
|
||||
void GetMPUTaskStatusRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getRequestContent()const
|
||||
@@ -220,7 +220,7 @@ std::string GetMPUTaskStatusRequest::getRequestContent()const
|
||||
void GetMPUTaskStatusRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getAppId()const
|
||||
@@ -231,7 +231,7 @@ std::string GetMPUTaskStatusRequest::getAppId()const
|
||||
void GetMPUTaskStatusRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string GetMPUTaskStatusRequest::getCallerBidEmail()const
|
||||
void GetMPUTaskStatusRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getCallerUidEmail()const
|
||||
@@ -253,7 +253,7 @@ std::string GetMPUTaskStatusRequest::getCallerUidEmail()const
|
||||
void GetMPUTaskStatusRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string GetMPUTaskStatusRequest::getTaskId()const
|
||||
@@ -264,7 +264,7 @@ std::string GetMPUTaskStatusRequest::getTaskId()const
|
||||
void GetMPUTaskStatusRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
setCoreParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
long GetMPUTaskStatusRequest::getCallerUid()const
|
||||
@@ -275,6 +275,6 @@ long GetMPUTaskStatusRequest::getCallerUid()const
|
||||
void GetMPUTaskStatusRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetMPUTaskStatusResult::~GetMPUTaskStatusResult()
|
||||
|
||||
void GetMPUTaskStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = std::stoi(value["Status"].asString());
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string GetTaskParamRequest::getApp_ip()const
|
||||
void GetTaskParamRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string GetTaskParamRequest::getPopProduct()const
|
||||
void GetTaskParamRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long GetTaskParamRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long GetTaskParamRequest::getCallerParentId()const
|
||||
void GetTaskParamRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool GetTaskParamRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool GetTaskParamRequest::getProxy_original_security_transport()const
|
||||
void GetTaskParamRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string GetTaskParamRequest::getCallerBid()const
|
||||
void GetTaskParamRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long GetTaskParamRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long GetTaskParamRequest::getOwnerId()const
|
||||
void GetTaskParamRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string GetTaskParamRequest::getProxy_original_source_ip()const
|
||||
void GetTaskParamRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getVersion()const
|
||||
@@ -110,7 +110,7 @@ std::string GetTaskParamRequest::getVersion()const
|
||||
void GetTaskParamRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getOwnerIdLoginEmail()const
|
||||
@@ -121,7 +121,7 @@ std::string GetTaskParamRequest::getOwnerIdLoginEmail()const
|
||||
void GetTaskParamRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getCallerType()const
|
||||
@@ -132,7 +132,7 @@ std::string GetTaskParamRequest::getCallerType()const
|
||||
void GetTaskParamRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool GetTaskParamRequest::getProxy_trust_transport_info()const
|
||||
@@ -143,7 +143,7 @@ bool GetTaskParamRequest::getProxy_trust_transport_info()const
|
||||
void GetTaskParamRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool GetTaskParamRequest::getAk_mfa_present()const
|
||||
@@ -154,7 +154,7 @@ bool GetTaskParamRequest::getAk_mfa_present()const
|
||||
void GetTaskParamRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getAccessKeyId()const
|
||||
@@ -165,7 +165,7 @@ std::string GetTaskParamRequest::getAccessKeyId()const
|
||||
void GetTaskParamRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool GetTaskParamRequest::getSecurity_transport()const
|
||||
@@ -176,7 +176,7 @@ bool GetTaskParamRequest::getSecurity_transport()const
|
||||
void GetTaskParamRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getSecurityToken()const
|
||||
@@ -187,7 +187,7 @@ std::string GetTaskParamRequest::getSecurityToken()const
|
||||
void GetTaskParamRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getRequestId()const
|
||||
@@ -198,7 +198,7 @@ std::string GetTaskParamRequest::getRequestId()const
|
||||
void GetTaskParamRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getRequestContent()const
|
||||
@@ -209,7 +209,7 @@ std::string GetTaskParamRequest::getRequestContent()const
|
||||
void GetTaskParamRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getAppId()const
|
||||
@@ -220,7 +220,7 @@ std::string GetTaskParamRequest::getAppId()const
|
||||
void GetTaskParamRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getCallerBidEmail()const
|
||||
@@ -231,7 +231,7 @@ std::string GetTaskParamRequest::getCallerBidEmail()const
|
||||
void GetTaskParamRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskParamRequest::getCallerUidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string GetTaskParamRequest::getCallerUidEmail()const
|
||||
void GetTaskParamRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long GetTaskParamRequest::getTaskId()const
|
||||
@@ -253,7 +253,7 @@ long GetTaskParamRequest::getTaskId()const
|
||||
void GetTaskParamRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
long GetTaskParamRequest::getCallerUid()const
|
||||
@@ -264,6 +264,6 @@ long GetTaskParamRequest::getCallerUid()const
|
||||
void GetTaskParamRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetTaskParamResult::~GetTaskParamResult()
|
||||
|
||||
void GetTaskParamResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allMixPane = value["MixPane"]["MixPaneItem"];
|
||||
for (auto value : allMixPane)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string GetTaskStatusRequest::getApp_ip()const
|
||||
void GetTaskStatusRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string GetTaskStatusRequest::getPopProduct()const
|
||||
void GetTaskStatusRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long GetTaskStatusRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long GetTaskStatusRequest::getCallerParentId()const
|
||||
void GetTaskStatusRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool GetTaskStatusRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool GetTaskStatusRequest::getProxy_original_security_transport()const
|
||||
void GetTaskStatusRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string GetTaskStatusRequest::getCallerBid()const
|
||||
void GetTaskStatusRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long GetTaskStatusRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long GetTaskStatusRequest::getOwnerId()const
|
||||
void GetTaskStatusRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string GetTaskStatusRequest::getProxy_original_source_ip()const
|
||||
void GetTaskStatusRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getVersion()const
|
||||
@@ -110,7 +110,7 @@ std::string GetTaskStatusRequest::getVersion()const
|
||||
void GetTaskStatusRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getOwnerIdLoginEmail()const
|
||||
@@ -121,7 +121,7 @@ std::string GetTaskStatusRequest::getOwnerIdLoginEmail()const
|
||||
void GetTaskStatusRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getCallerType()const
|
||||
@@ -132,7 +132,7 @@ std::string GetTaskStatusRequest::getCallerType()const
|
||||
void GetTaskStatusRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool GetTaskStatusRequest::getProxy_trust_transport_info()const
|
||||
@@ -143,7 +143,7 @@ bool GetTaskStatusRequest::getProxy_trust_transport_info()const
|
||||
void GetTaskStatusRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool GetTaskStatusRequest::getAk_mfa_present()const
|
||||
@@ -154,7 +154,7 @@ bool GetTaskStatusRequest::getAk_mfa_present()const
|
||||
void GetTaskStatusRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getAccessKeyId()const
|
||||
@@ -165,7 +165,7 @@ std::string GetTaskStatusRequest::getAccessKeyId()const
|
||||
void GetTaskStatusRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool GetTaskStatusRequest::getSecurity_transport()const
|
||||
@@ -176,7 +176,7 @@ bool GetTaskStatusRequest::getSecurity_transport()const
|
||||
void GetTaskStatusRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getSecurityToken()const
|
||||
@@ -187,7 +187,7 @@ std::string GetTaskStatusRequest::getSecurityToken()const
|
||||
void GetTaskStatusRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getRequestId()const
|
||||
@@ -198,7 +198,7 @@ std::string GetTaskStatusRequest::getRequestId()const
|
||||
void GetTaskStatusRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getRequestContent()const
|
||||
@@ -209,7 +209,7 @@ std::string GetTaskStatusRequest::getRequestContent()const
|
||||
void GetTaskStatusRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getAppId()const
|
||||
@@ -220,7 +220,7 @@ std::string GetTaskStatusRequest::getAppId()const
|
||||
void GetTaskStatusRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getCallerBidEmail()const
|
||||
@@ -231,7 +231,7 @@ std::string GetTaskStatusRequest::getCallerBidEmail()const
|
||||
void GetTaskStatusRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getCallerUidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string GetTaskStatusRequest::getCallerUidEmail()const
|
||||
void GetTaskStatusRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string GetTaskStatusRequest::getChannelId()const
|
||||
@@ -253,7 +253,7 @@ std::string GetTaskStatusRequest::getChannelId()const
|
||||
void GetTaskStatusRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
long GetTaskStatusRequest::getTaskId()const
|
||||
@@ -264,7 +264,7 @@ long GetTaskStatusRequest::getTaskId()const
|
||||
void GetTaskStatusRequest::setTaskId(long taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", std::to_string(taskId));
|
||||
setCoreParameter("TaskId", std::to_string(taskId));
|
||||
}
|
||||
|
||||
long GetTaskStatusRequest::getCallerUid()const
|
||||
@@ -275,6 +275,6 @@ long GetTaskStatusRequest::getCallerUid()const
|
||||
void GetTaskStatusRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetTaskStatusResult::~GetTaskStatusResult()
|
||||
|
||||
void GetTaskStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
status_ = std::stoi(value["Status"].asString());
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string GetTemplateInfoRequest::getApp_ip()const
|
||||
void GetTemplateInfoRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string GetTemplateInfoRequest::getPopProduct()const
|
||||
void GetTemplateInfoRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long GetTemplateInfoRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long GetTemplateInfoRequest::getCallerParentId()const
|
||||
void GetTemplateInfoRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool GetTemplateInfoRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool GetTemplateInfoRequest::getProxy_original_security_transport()const
|
||||
void GetTemplateInfoRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string GetTemplateInfoRequest::getCallerBid()const
|
||||
void GetTemplateInfoRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long GetTemplateInfoRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long GetTemplateInfoRequest::getOwnerId()const
|
||||
void GetTemplateInfoRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string GetTemplateInfoRequest::getProxy_original_source_ip()const
|
||||
void GetTemplateInfoRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
long GetTemplateInfoRequest::getTemplateId()const
|
||||
@@ -110,7 +110,7 @@ long GetTemplateInfoRequest::getTemplateId()const
|
||||
void GetTemplateInfoRequest::setTemplateId(long templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", std::to_string(templateId));
|
||||
setCoreParameter("TemplateId", std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getVersion()const
|
||||
@@ -121,7 +121,7 @@ std::string GetTemplateInfoRequest::getVersion()const
|
||||
void GetTemplateInfoRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getOwnerIdLoginEmail()const
|
||||
@@ -132,7 +132,7 @@ std::string GetTemplateInfoRequest::getOwnerIdLoginEmail()const
|
||||
void GetTemplateInfoRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getCallerType()const
|
||||
@@ -143,7 +143,7 @@ std::string GetTemplateInfoRequest::getCallerType()const
|
||||
void GetTemplateInfoRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool GetTemplateInfoRequest::getProxy_trust_transport_info()const
|
||||
@@ -154,7 +154,7 @@ bool GetTemplateInfoRequest::getProxy_trust_transport_info()const
|
||||
void GetTemplateInfoRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool GetTemplateInfoRequest::getAk_mfa_present()const
|
||||
@@ -165,7 +165,7 @@ bool GetTemplateInfoRequest::getAk_mfa_present()const
|
||||
void GetTemplateInfoRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getAccessKeyId()const
|
||||
@@ -176,7 +176,7 @@ std::string GetTemplateInfoRequest::getAccessKeyId()const
|
||||
void GetTemplateInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool GetTemplateInfoRequest::getSecurity_transport()const
|
||||
@@ -187,7 +187,7 @@ bool GetTemplateInfoRequest::getSecurity_transport()const
|
||||
void GetTemplateInfoRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getSecurityToken()const
|
||||
@@ -198,7 +198,7 @@ std::string GetTemplateInfoRequest::getSecurityToken()const
|
||||
void GetTemplateInfoRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getRequestId()const
|
||||
@@ -209,7 +209,7 @@ std::string GetTemplateInfoRequest::getRequestId()const
|
||||
void GetTemplateInfoRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getRequestContent()const
|
||||
@@ -220,7 +220,7 @@ std::string GetTemplateInfoRequest::getRequestContent()const
|
||||
void GetTemplateInfoRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getAppId()const
|
||||
@@ -231,7 +231,7 @@ std::string GetTemplateInfoRequest::getAppId()const
|
||||
void GetTemplateInfoRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string GetTemplateInfoRequest::getCallerBidEmail()const
|
||||
void GetTemplateInfoRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string GetTemplateInfoRequest::getCallerUidEmail()const
|
||||
@@ -253,7 +253,7 @@ std::string GetTemplateInfoRequest::getCallerUidEmail()const
|
||||
void GetTemplateInfoRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long GetTemplateInfoRequest::getCallerUid()const
|
||||
@@ -264,6 +264,6 @@ long GetTemplateInfoRequest::getCallerUid()const
|
||||
void GetTemplateInfoRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ GetTemplateInfoResult::~GetTemplateInfoResult()
|
||||
|
||||
void GetTemplateInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto layOutNode = value["LayOut"];
|
||||
if(!layOutNode["Color"].isNull())
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string ModifyAppRequest::getApp_ip()const
|
||||
void ModifyAppRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string ModifyAppRequest::getPopProduct()const
|
||||
void ModifyAppRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long ModifyAppRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long ModifyAppRequest::getCallerParentId()const
|
||||
void ModifyAppRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool ModifyAppRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool ModifyAppRequest::getProxy_original_security_transport()const
|
||||
void ModifyAppRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string ModifyAppRequest::getCallerBid()const
|
||||
void ModifyAppRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long ModifyAppRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long ModifyAppRequest::getOwnerId()const
|
||||
void ModifyAppRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string ModifyAppRequest::getProxy_original_source_ip()const
|
||||
void ModifyAppRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getVersion()const
|
||||
@@ -110,7 +110,7 @@ std::string ModifyAppRequest::getVersion()const
|
||||
void ModifyAppRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getOwnerIdLoginEmail()const
|
||||
@@ -121,7 +121,7 @@ std::string ModifyAppRequest::getOwnerIdLoginEmail()const
|
||||
void ModifyAppRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getCallerType()const
|
||||
@@ -132,7 +132,7 @@ std::string ModifyAppRequest::getCallerType()const
|
||||
void ModifyAppRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool ModifyAppRequest::getProxy_trust_transport_info()const
|
||||
@@ -143,7 +143,7 @@ bool ModifyAppRequest::getProxy_trust_transport_info()const
|
||||
void ModifyAppRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyAppRequest::getAk_mfa_present()const
|
||||
@@ -154,7 +154,7 @@ bool ModifyAppRequest::getAk_mfa_present()const
|
||||
void ModifyAppRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getAccessKeyId()const
|
||||
@@ -165,7 +165,7 @@ std::string ModifyAppRequest::getAccessKeyId()const
|
||||
void ModifyAppRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool ModifyAppRequest::getSecurity_transport()const
|
||||
@@ -176,7 +176,7 @@ bool ModifyAppRequest::getSecurity_transport()const
|
||||
void ModifyAppRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getAppName()const
|
||||
@@ -187,7 +187,7 @@ std::string ModifyAppRequest::getAppName()const
|
||||
void ModifyAppRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
setCoreParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getSecurityToken()const
|
||||
@@ -198,7 +198,7 @@ std::string ModifyAppRequest::getSecurityToken()const
|
||||
void ModifyAppRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getRequestId()const
|
||||
@@ -209,7 +209,7 @@ std::string ModifyAppRequest::getRequestId()const
|
||||
void ModifyAppRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getRequestContent()const
|
||||
@@ -220,7 +220,7 @@ std::string ModifyAppRequest::getRequestContent()const
|
||||
void ModifyAppRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getAppId()const
|
||||
@@ -231,7 +231,7 @@ std::string ModifyAppRequest::getAppId()const
|
||||
void ModifyAppRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getCallerBidEmail()const
|
||||
@@ -242,7 +242,7 @@ std::string ModifyAppRequest::getCallerBidEmail()const
|
||||
void ModifyAppRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string ModifyAppRequest::getCallerUidEmail()const
|
||||
@@ -253,7 +253,7 @@ std::string ModifyAppRequest::getCallerUidEmail()const
|
||||
void ModifyAppRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long ModifyAppRequest::getCallerUid()const
|
||||
@@ -264,6 +264,6 @@ long ModifyAppRequest::getCallerUid()const
|
||||
void ModifyAppRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ ModifyAppResult::~ModifyAppResult()
|
||||
|
||||
void ModifyAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ long ModifyConferenceRequest::getCallerParentId()const
|
||||
void ModifyConferenceRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool ModifyConferenceRequest::getProxy_original_security_transport()const
|
||||
@@ -44,7 +44,7 @@ bool ModifyConferenceRequest::getProxy_original_security_transport()const
|
||||
void ModifyConferenceRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getStartTime()const
|
||||
@@ -55,7 +55,7 @@ std::string ModifyConferenceRequest::getStartTime()const
|
||||
void ModifyConferenceRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
setCoreParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getProxy_original_source_ip()const
|
||||
@@ -66,7 +66,7 @@ std::string ModifyConferenceRequest::getProxy_original_source_ip()const
|
||||
void ModifyConferenceRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getType()const
|
||||
@@ -77,7 +77,7 @@ std::string ModifyConferenceRequest::getType()const
|
||||
void ModifyConferenceRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getOwnerIdLoginEmail()const
|
||||
@@ -88,7 +88,7 @@ std::string ModifyConferenceRequest::getOwnerIdLoginEmail()const
|
||||
void ModifyConferenceRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getCallerType()const
|
||||
@@ -99,7 +99,7 @@ std::string ModifyConferenceRequest::getCallerType()const
|
||||
void ModifyConferenceRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getAccessKeyId()const
|
||||
@@ -110,7 +110,7 @@ std::string ModifyConferenceRequest::getAccessKeyId()const
|
||||
void ModifyConferenceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getSecurityToken()const
|
||||
@@ -121,7 +121,7 @@ std::string ModifyConferenceRequest::getSecurityToken()const
|
||||
void ModifyConferenceRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getConferenceId()const
|
||||
@@ -132,7 +132,7 @@ std::string ModifyConferenceRequest::getConferenceId()const
|
||||
void ModifyConferenceRequest::setConferenceId(const std::string& conferenceId)
|
||||
{
|
||||
conferenceId_ = conferenceId;
|
||||
setParameter("ConferenceId", conferenceId);
|
||||
setCoreParameter("ConferenceId", conferenceId);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getConferenceName()const
|
||||
@@ -143,7 +143,7 @@ std::string ModifyConferenceRequest::getConferenceName()const
|
||||
void ModifyConferenceRequest::setConferenceName(const std::string& conferenceName)
|
||||
{
|
||||
conferenceName_ = conferenceName;
|
||||
setParameter("ConferenceName", conferenceName);
|
||||
setCoreParameter("ConferenceName", conferenceName);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getRequestContent()const
|
||||
@@ -154,7 +154,7 @@ std::string ModifyConferenceRequest::getRequestContent()const
|
||||
void ModifyConferenceRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getCallerBidEmail()const
|
||||
@@ -165,7 +165,7 @@ std::string ModifyConferenceRequest::getCallerBidEmail()const
|
||||
void ModifyConferenceRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getCallerUidEmail()const
|
||||
@@ -176,7 +176,7 @@ std::string ModifyConferenceRequest::getCallerUidEmail()const
|
||||
void ModifyConferenceRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long ModifyConferenceRequest::getCallerUid()const
|
||||
@@ -187,7 +187,7 @@ long ModifyConferenceRequest::getCallerUid()const
|
||||
void ModifyConferenceRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getApp_ip()const
|
||||
@@ -198,7 +198,7 @@ std::string ModifyConferenceRequest::getApp_ip()const
|
||||
void ModifyConferenceRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getPopProduct()const
|
||||
@@ -209,7 +209,7 @@ std::string ModifyConferenceRequest::getPopProduct()const
|
||||
void ModifyConferenceRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getCallerBid()const
|
||||
@@ -220,7 +220,7 @@ std::string ModifyConferenceRequest::getCallerBid()const
|
||||
void ModifyConferenceRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long ModifyConferenceRequest::getOwnerId()const
|
||||
@@ -231,7 +231,7 @@ long ModifyConferenceRequest::getOwnerId()const
|
||||
void ModifyConferenceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getVersion()const
|
||||
@@ -242,7 +242,7 @@ std::string ModifyConferenceRequest::getVersion()const
|
||||
void ModifyConferenceRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool ModifyConferenceRequest::getProxy_trust_transport_info()const
|
||||
@@ -253,7 +253,7 @@ bool ModifyConferenceRequest::getProxy_trust_transport_info()const
|
||||
void ModifyConferenceRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyConferenceRequest::getAk_mfa_present()const
|
||||
@@ -264,7 +264,7 @@ bool ModifyConferenceRequest::getAk_mfa_present()const
|
||||
void ModifyConferenceRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ModifyConferenceRequest::getSecurity_transport()const
|
||||
@@ -275,7 +275,7 @@ bool ModifyConferenceRequest::getSecurity_transport()const
|
||||
void ModifyConferenceRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getRequestId()const
|
||||
@@ -286,7 +286,7 @@ std::string ModifyConferenceRequest::getRequestId()const
|
||||
void ModifyConferenceRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string ModifyConferenceRequest::getAppId()const
|
||||
@@ -297,7 +297,7 @@ std::string ModifyConferenceRequest::getAppId()const
|
||||
void ModifyConferenceRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
int ModifyConferenceRequest::getRemindNotice()const
|
||||
@@ -308,6 +308,6 @@ int ModifyConferenceRequest::getRemindNotice()const
|
||||
void ModifyConferenceRequest::setRemindNotice(int remindNotice)
|
||||
{
|
||||
remindNotice_ = remindNotice;
|
||||
setParameter("RemindNotice", std::to_string(remindNotice));
|
||||
setCoreParameter("RemindNotice", std::to_string(remindNotice));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ ModifyConferenceResult::~ModifyConferenceResult()
|
||||
|
||||
void ModifyConferenceResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["ConferenceId"].isNull())
|
||||
conferenceId_ = value["ConferenceId"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string MuteAudioAllRequest::getApp_ip()const
|
||||
void MuteAudioAllRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string MuteAudioAllRequest::getPopProduct()const
|
||||
void MuteAudioAllRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
long MuteAudioAllRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long MuteAudioAllRequest::getCallerParentId()const
|
||||
void MuteAudioAllRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool MuteAudioAllRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool MuteAudioAllRequest::getProxy_original_security_transport()const
|
||||
void MuteAudioAllRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getCallerBid()const
|
||||
@@ -77,7 +77,7 @@ std::string MuteAudioAllRequest::getCallerBid()const
|
||||
void MuteAudioAllRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long MuteAudioAllRequest::getOwnerId()const
|
||||
@@ -88,7 +88,7 @@ long MuteAudioAllRequest::getOwnerId()const
|
||||
void MuteAudioAllRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getProxy_original_source_ip()const
|
||||
@@ -99,7 +99,7 @@ std::string MuteAudioAllRequest::getProxy_original_source_ip()const
|
||||
void MuteAudioAllRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getVersion()const
|
||||
@@ -110,7 +110,7 @@ std::string MuteAudioAllRequest::getVersion()const
|
||||
void MuteAudioAllRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getOwnerIdLoginEmail()const
|
||||
@@ -121,7 +121,7 @@ std::string MuteAudioAllRequest::getOwnerIdLoginEmail()const
|
||||
void MuteAudioAllRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getCallerType()const
|
||||
@@ -132,7 +132,7 @@ std::string MuteAudioAllRequest::getCallerType()const
|
||||
void MuteAudioAllRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool MuteAudioAllRequest::getProxy_trust_transport_info()const
|
||||
@@ -143,7 +143,7 @@ bool MuteAudioAllRequest::getProxy_trust_transport_info()const
|
||||
void MuteAudioAllRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool MuteAudioAllRequest::getAk_mfa_present()const
|
||||
@@ -154,7 +154,7 @@ bool MuteAudioAllRequest::getAk_mfa_present()const
|
||||
void MuteAudioAllRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getAccessKeyId()const
|
||||
@@ -165,7 +165,7 @@ std::string MuteAudioAllRequest::getAccessKeyId()const
|
||||
void MuteAudioAllRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool MuteAudioAllRequest::getSecurity_transport()const
|
||||
@@ -176,7 +176,7 @@ bool MuteAudioAllRequest::getSecurity_transport()const
|
||||
void MuteAudioAllRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getParticipantId()const
|
||||
@@ -187,7 +187,7 @@ std::string MuteAudioAllRequest::getParticipantId()const
|
||||
void MuteAudioAllRequest::setParticipantId(const std::string& participantId)
|
||||
{
|
||||
participantId_ = participantId;
|
||||
setParameter("ParticipantId", participantId);
|
||||
setCoreParameter("ParticipantId", participantId);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getSecurityToken()const
|
||||
@@ -198,7 +198,7 @@ std::string MuteAudioAllRequest::getSecurityToken()const
|
||||
void MuteAudioAllRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getConferenceId()const
|
||||
@@ -209,7 +209,7 @@ std::string MuteAudioAllRequest::getConferenceId()const
|
||||
void MuteAudioAllRequest::setConferenceId(const std::string& conferenceId)
|
||||
{
|
||||
conferenceId_ = conferenceId;
|
||||
setParameter("ConferenceId", conferenceId);
|
||||
setCoreParameter("ConferenceId", conferenceId);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getRequestId()const
|
||||
@@ -220,7 +220,7 @@ std::string MuteAudioAllRequest::getRequestId()const
|
||||
void MuteAudioAllRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getRequestContent()const
|
||||
@@ -231,7 +231,7 @@ std::string MuteAudioAllRequest::getRequestContent()const
|
||||
void MuteAudioAllRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getAppId()const
|
||||
@@ -242,7 +242,7 @@ std::string MuteAudioAllRequest::getAppId()const
|
||||
void MuteAudioAllRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getCallerBidEmail()const
|
||||
@@ -253,7 +253,7 @@ std::string MuteAudioAllRequest::getCallerBidEmail()const
|
||||
void MuteAudioAllRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string MuteAudioAllRequest::getCallerUidEmail()const
|
||||
@@ -264,7 +264,7 @@ std::string MuteAudioAllRequest::getCallerUidEmail()const
|
||||
void MuteAudioAllRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long MuteAudioAllRequest::getCallerUid()const
|
||||
@@ -275,6 +275,6 @@ long MuteAudioAllRequest::getCallerUid()const
|
||||
void MuteAudioAllRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ MuteAudioAllResult::~MuteAudioAllResult()
|
||||
|
||||
void MuteAudioAllResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParticipants = value["Participants"]["Participant"];
|
||||
for (auto value : allParticipants)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string MuteAudioRequest::getApp_ip()const
|
||||
void MuteAudioRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string MuteAudioRequest::getPopProduct()const
|
||||
void MuteAudioRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::vector<std::string> MuteAudioRequest::getParticipantIds()const
|
||||
@@ -56,7 +56,7 @@ void MuteAudioRequest::setParticipantIds(const std::vector<std::string>& partici
|
||||
{
|
||||
participantIds_ = participantIds;
|
||||
for(int i = 0; i!= participantIds.size(); i++)
|
||||
setParameter("ParticipantIds."+ std::to_string(i), participantIds.at(i));
|
||||
setCoreParameter("ParticipantIds."+ std::to_string(i), participantIds.at(i));
|
||||
}
|
||||
|
||||
long MuteAudioRequest::getCallerParentId()const
|
||||
@@ -67,7 +67,7 @@ long MuteAudioRequest::getCallerParentId()const
|
||||
void MuteAudioRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool MuteAudioRequest::getProxy_original_security_transport()const
|
||||
@@ -78,7 +78,7 @@ bool MuteAudioRequest::getProxy_original_security_transport()const
|
||||
void MuteAudioRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getCallerBid()const
|
||||
@@ -89,7 +89,7 @@ std::string MuteAudioRequest::getCallerBid()const
|
||||
void MuteAudioRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long MuteAudioRequest::getOwnerId()const
|
||||
@@ -100,7 +100,7 @@ long MuteAudioRequest::getOwnerId()const
|
||||
void MuteAudioRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getProxy_original_source_ip()const
|
||||
@@ -111,7 +111,7 @@ std::string MuteAudioRequest::getProxy_original_source_ip()const
|
||||
void MuteAudioRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getVersion()const
|
||||
@@ -122,7 +122,7 @@ std::string MuteAudioRequest::getVersion()const
|
||||
void MuteAudioRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getOwnerIdLoginEmail()const
|
||||
@@ -133,7 +133,7 @@ std::string MuteAudioRequest::getOwnerIdLoginEmail()const
|
||||
void MuteAudioRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getCallerType()const
|
||||
@@ -144,7 +144,7 @@ std::string MuteAudioRequest::getCallerType()const
|
||||
void MuteAudioRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool MuteAudioRequest::getProxy_trust_transport_info()const
|
||||
@@ -155,7 +155,7 @@ bool MuteAudioRequest::getProxy_trust_transport_info()const
|
||||
void MuteAudioRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool MuteAudioRequest::getAk_mfa_present()const
|
||||
@@ -166,7 +166,7 @@ bool MuteAudioRequest::getAk_mfa_present()const
|
||||
void MuteAudioRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getAccessKeyId()const
|
||||
@@ -177,7 +177,7 @@ std::string MuteAudioRequest::getAccessKeyId()const
|
||||
void MuteAudioRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool MuteAudioRequest::getSecurity_transport()const
|
||||
@@ -188,7 +188,7 @@ bool MuteAudioRequest::getSecurity_transport()const
|
||||
void MuteAudioRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getSecurityToken()const
|
||||
@@ -199,7 +199,7 @@ std::string MuteAudioRequest::getSecurityToken()const
|
||||
void MuteAudioRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getConferenceId()const
|
||||
@@ -210,7 +210,7 @@ std::string MuteAudioRequest::getConferenceId()const
|
||||
void MuteAudioRequest::setConferenceId(const std::string& conferenceId)
|
||||
{
|
||||
conferenceId_ = conferenceId;
|
||||
setParameter("ConferenceId", conferenceId);
|
||||
setCoreParameter("ConferenceId", conferenceId);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getRequestId()const
|
||||
@@ -221,7 +221,7 @@ std::string MuteAudioRequest::getRequestId()const
|
||||
void MuteAudioRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getRequestContent()const
|
||||
@@ -232,7 +232,7 @@ std::string MuteAudioRequest::getRequestContent()const
|
||||
void MuteAudioRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getAppId()const
|
||||
@@ -243,7 +243,7 @@ std::string MuteAudioRequest::getAppId()const
|
||||
void MuteAudioRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getCallerBidEmail()const
|
||||
@@ -254,7 +254,7 @@ std::string MuteAudioRequest::getCallerBidEmail()const
|
||||
void MuteAudioRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string MuteAudioRequest::getCallerUidEmail()const
|
||||
@@ -265,7 +265,7 @@ std::string MuteAudioRequest::getCallerUidEmail()const
|
||||
void MuteAudioRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long MuteAudioRequest::getCallerUid()const
|
||||
@@ -276,6 +276,6 @@ long MuteAudioRequest::getCallerUid()const
|
||||
void MuteAudioRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ MuteAudioResult::~MuteAudioResult()
|
||||
|
||||
void MuteAudioResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParticipants = value["Participants"]["Participant"];
|
||||
for (auto value : allParticipants)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string ReceiveNotifyRequest::getTraceId()const
|
||||
void ReceiveNotifyRequest::setTraceId(const std::string& traceId)
|
||||
{
|
||||
traceId_ = traceId;
|
||||
setParameter("TraceId", traceId);
|
||||
setCoreParameter("TraceId", traceId);
|
||||
}
|
||||
|
||||
long ReceiveNotifyRequest::getResourceOwnerId()const
|
||||
@@ -44,7 +44,7 @@ long ReceiveNotifyRequest::getResourceOwnerId()const
|
||||
void ReceiveNotifyRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long ReceiveNotifyRequest::getCallerParentId()const
|
||||
@@ -55,7 +55,7 @@ long ReceiveNotifyRequest::getCallerParentId()const
|
||||
void ReceiveNotifyRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool ReceiveNotifyRequest::getProxy_original_security_transport()const
|
||||
@@ -66,7 +66,7 @@ bool ReceiveNotifyRequest::getProxy_original_security_transport()const
|
||||
void ReceiveNotifyRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getProxy_original_source_ip()const
|
||||
@@ -77,7 +77,7 @@ std::string ReceiveNotifyRequest::getProxy_original_source_ip()const
|
||||
void ReceiveNotifyRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getOwnerIdLoginEmail()const
|
||||
@@ -88,7 +88,7 @@ std::string ReceiveNotifyRequest::getOwnerIdLoginEmail()const
|
||||
void ReceiveNotifyRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getCallerType()const
|
||||
@@ -99,7 +99,7 @@ std::string ReceiveNotifyRequest::getCallerType()const
|
||||
void ReceiveNotifyRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getContent()const
|
||||
@@ -110,7 +110,7 @@ std::string ReceiveNotifyRequest::getContent()const
|
||||
void ReceiveNotifyRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setParameter("Content", content);
|
||||
setCoreParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getAccessKeyId()const
|
||||
@@ -121,7 +121,7 @@ std::string ReceiveNotifyRequest::getAccessKeyId()const
|
||||
void ReceiveNotifyRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getSecurityToken()const
|
||||
@@ -132,7 +132,7 @@ std::string ReceiveNotifyRequest::getSecurityToken()const
|
||||
void ReceiveNotifyRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getRequestContent()const
|
||||
@@ -143,7 +143,7 @@ std::string ReceiveNotifyRequest::getRequestContent()const
|
||||
void ReceiveNotifyRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getCallerBidEmail()const
|
||||
@@ -154,7 +154,7 @@ std::string ReceiveNotifyRequest::getCallerBidEmail()const
|
||||
void ReceiveNotifyRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getEvent()const
|
||||
@@ -165,7 +165,7 @@ std::string ReceiveNotifyRequest::getEvent()const
|
||||
void ReceiveNotifyRequest::setEvent(const std::string& event)
|
||||
{
|
||||
event_ = event;
|
||||
setParameter("Event", event);
|
||||
setCoreParameter("Event", event);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getCallerUidEmail()const
|
||||
@@ -176,7 +176,7 @@ std::string ReceiveNotifyRequest::getCallerUidEmail()const
|
||||
void ReceiveNotifyRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long ReceiveNotifyRequest::getCallerUid()const
|
||||
@@ -187,7 +187,7 @@ long ReceiveNotifyRequest::getCallerUid()const
|
||||
void ReceiveNotifyRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getApp_ip()const
|
||||
@@ -198,7 +198,7 @@ std::string ReceiveNotifyRequest::getApp_ip()const
|
||||
void ReceiveNotifyRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getPopProduct()const
|
||||
@@ -209,7 +209,7 @@ std::string ReceiveNotifyRequest::getPopProduct()const
|
||||
void ReceiveNotifyRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getCallerBid()const
|
||||
@@ -220,7 +220,7 @@ std::string ReceiveNotifyRequest::getCallerBid()const
|
||||
void ReceiveNotifyRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long ReceiveNotifyRequest::getOwnerId()const
|
||||
@@ -231,7 +231,7 @@ long ReceiveNotifyRequest::getOwnerId()const
|
||||
void ReceiveNotifyRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getVersion()const
|
||||
@@ -242,7 +242,7 @@ std::string ReceiveNotifyRequest::getVersion()const
|
||||
void ReceiveNotifyRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool ReceiveNotifyRequest::getProxy_trust_transport_info()const
|
||||
@@ -253,7 +253,7 @@ bool ReceiveNotifyRequest::getProxy_trust_transport_info()const
|
||||
void ReceiveNotifyRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool ReceiveNotifyRequest::getAk_mfa_present()const
|
||||
@@ -264,7 +264,7 @@ bool ReceiveNotifyRequest::getAk_mfa_present()const
|
||||
void ReceiveNotifyRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getContentType()const
|
||||
@@ -275,7 +275,7 @@ std::string ReceiveNotifyRequest::getContentType()const
|
||||
void ReceiveNotifyRequest::setContentType(const std::string& contentType)
|
||||
{
|
||||
contentType_ = contentType;
|
||||
setParameter("ContentType", contentType);
|
||||
setCoreParameter("ContentType", contentType);
|
||||
}
|
||||
|
||||
bool ReceiveNotifyRequest::getSecurity_transport()const
|
||||
@@ -286,7 +286,7 @@ bool ReceiveNotifyRequest::getSecurity_transport()const
|
||||
void ReceiveNotifyRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getRequestId()const
|
||||
@@ -297,7 +297,7 @@ std::string ReceiveNotifyRequest::getRequestId()const
|
||||
void ReceiveNotifyRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string ReceiveNotifyRequest::getBizId()const
|
||||
@@ -308,6 +308,6 @@ std::string ReceiveNotifyRequest::getBizId()const
|
||||
void ReceiveNotifyRequest::setBizId(const std::string& bizId)
|
||||
{
|
||||
bizId_ = bizId;
|
||||
setParameter("BizId", bizId);
|
||||
setCoreParameter("BizId", bizId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ ReceiveNotifyResult::~ReceiveNotifyResult()
|
||||
|
||||
void ReceiveNotifyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TraceId"].isNull())
|
||||
traceId_ = value["TraceId"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string RemoveParticipantsRequest::getApp_ip()const
|
||||
void RemoveParticipantsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getPopProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string RemoveParticipantsRequest::getPopProduct()const
|
||||
void RemoveParticipantsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::vector<std::string> RemoveParticipantsRequest::getParticipantIds()const
|
||||
@@ -56,7 +56,7 @@ void RemoveParticipantsRequest::setParticipantIds(const std::vector<std::string>
|
||||
{
|
||||
participantIds_ = participantIds;
|
||||
for(int i = 0; i!= participantIds.size(); i++)
|
||||
setParameter("ParticipantIds."+ std::to_string(i), participantIds.at(i));
|
||||
setCoreParameter("ParticipantIds."+ std::to_string(i), participantIds.at(i));
|
||||
}
|
||||
|
||||
long RemoveParticipantsRequest::getCallerParentId()const
|
||||
@@ -67,7 +67,7 @@ long RemoveParticipantsRequest::getCallerParentId()const
|
||||
void RemoveParticipantsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool RemoveParticipantsRequest::getProxy_original_security_transport()const
|
||||
@@ -78,7 +78,7 @@ bool RemoveParticipantsRequest::getProxy_original_security_transport()const
|
||||
void RemoveParticipantsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getCallerBid()const
|
||||
@@ -89,7 +89,7 @@ std::string RemoveParticipantsRequest::getCallerBid()const
|
||||
void RemoveParticipantsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long RemoveParticipantsRequest::getOwnerId()const
|
||||
@@ -100,7 +100,7 @@ long RemoveParticipantsRequest::getOwnerId()const
|
||||
void RemoveParticipantsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getProxy_original_source_ip()const
|
||||
@@ -111,7 +111,7 @@ std::string RemoveParticipantsRequest::getProxy_original_source_ip()const
|
||||
void RemoveParticipantsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getVersion()const
|
||||
@@ -122,7 +122,7 @@ std::string RemoveParticipantsRequest::getVersion()const
|
||||
void RemoveParticipantsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getOwnerIdLoginEmail()const
|
||||
@@ -133,7 +133,7 @@ std::string RemoveParticipantsRequest::getOwnerIdLoginEmail()const
|
||||
void RemoveParticipantsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getCallerType()const
|
||||
@@ -144,7 +144,7 @@ std::string RemoveParticipantsRequest::getCallerType()const
|
||||
void RemoveParticipantsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
bool RemoveParticipantsRequest::getProxy_trust_transport_info()const
|
||||
@@ -155,7 +155,7 @@ bool RemoveParticipantsRequest::getProxy_trust_transport_info()const
|
||||
void RemoveParticipantsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool RemoveParticipantsRequest::getAk_mfa_present()const
|
||||
@@ -166,7 +166,7 @@ bool RemoveParticipantsRequest::getAk_mfa_present()const
|
||||
void RemoveParticipantsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getAccessKeyId()const
|
||||
@@ -177,7 +177,7 @@ std::string RemoveParticipantsRequest::getAccessKeyId()const
|
||||
void RemoveParticipantsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
bool RemoveParticipantsRequest::getSecurity_transport()const
|
||||
@@ -188,7 +188,7 @@ bool RemoveParticipantsRequest::getSecurity_transport()const
|
||||
void RemoveParticipantsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getSecurityToken()const
|
||||
@@ -199,7 +199,7 @@ std::string RemoveParticipantsRequest::getSecurityToken()const
|
||||
void RemoveParticipantsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getConferenceId()const
|
||||
@@ -210,7 +210,7 @@ std::string RemoveParticipantsRequest::getConferenceId()const
|
||||
void RemoveParticipantsRequest::setConferenceId(const std::string& conferenceId)
|
||||
{
|
||||
conferenceId_ = conferenceId;
|
||||
setParameter("ConferenceId", conferenceId);
|
||||
setCoreParameter("ConferenceId", conferenceId);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getRequestId()const
|
||||
@@ -221,7 +221,7 @@ std::string RemoveParticipantsRequest::getRequestId()const
|
||||
void RemoveParticipantsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getRequestContent()const
|
||||
@@ -232,7 +232,7 @@ std::string RemoveParticipantsRequest::getRequestContent()const
|
||||
void RemoveParticipantsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getAppId()const
|
||||
@@ -243,7 +243,7 @@ std::string RemoveParticipantsRequest::getAppId()const
|
||||
void RemoveParticipantsRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getCallerBidEmail()const
|
||||
@@ -254,7 +254,7 @@ std::string RemoveParticipantsRequest::getCallerBidEmail()const
|
||||
void RemoveParticipantsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string RemoveParticipantsRequest::getCallerUidEmail()const
|
||||
@@ -265,7 +265,7 @@ std::string RemoveParticipantsRequest::getCallerUidEmail()const
|
||||
void RemoveParticipantsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long RemoveParticipantsRequest::getCallerUid()const
|
||||
@@ -276,6 +276,6 @@ long RemoveParticipantsRequest::getCallerUid()const
|
||||
void RemoveParticipantsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ RemoveParticipantsResult::~RemoveParticipantsResult()
|
||||
|
||||
void RemoveParticipantsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allParticipants = value["Participants"]["Participant"];
|
||||
for (auto value : allParticipants)
|
||||
|
||||
@@ -25,6 +25,17 @@ RemoveTerminalsRequest::RemoveTerminalsRequest() :
|
||||
RemoveTerminalsRequest::~RemoveTerminalsRequest()
|
||||
{}
|
||||
|
||||
long RemoveTerminalsRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void RemoveTerminalsRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
long RemoveTerminalsRequest::getCallerParentId()const
|
||||
{
|
||||
return callerParentId_;
|
||||
@@ -33,7 +44,7 @@ long RemoveTerminalsRequest::getCallerParentId()const
|
||||
void RemoveTerminalsRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool RemoveTerminalsRequest::getProxy_original_security_transport()const
|
||||
@@ -44,7 +55,7 @@ bool RemoveTerminalsRequest::getProxy_original_security_transport()const
|
||||
void RemoveTerminalsRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getProxy_original_source_ip()const
|
||||
@@ -55,7 +66,7 @@ std::string RemoveTerminalsRequest::getProxy_original_source_ip()const
|
||||
void RemoveTerminalsRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getOwnerIdLoginEmail()const
|
||||
@@ -66,7 +77,7 @@ std::string RemoveTerminalsRequest::getOwnerIdLoginEmail()const
|
||||
void RemoveTerminalsRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getCallerType()const
|
||||
@@ -77,7 +88,7 @@ std::string RemoveTerminalsRequest::getCallerType()const
|
||||
void RemoveTerminalsRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getAccessKeyId()const
|
||||
@@ -88,7 +99,7 @@ std::string RemoveTerminalsRequest::getAccessKeyId()const
|
||||
void RemoveTerminalsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getSecurityToken()const
|
||||
@@ -99,7 +110,7 @@ std::string RemoveTerminalsRequest::getSecurityToken()const
|
||||
void RemoveTerminalsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getRequestContent()const
|
||||
@@ -110,7 +121,7 @@ std::string RemoveTerminalsRequest::getRequestContent()const
|
||||
void RemoveTerminalsRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getCallerBidEmail()const
|
||||
@@ -121,7 +132,7 @@ std::string RemoveTerminalsRequest::getCallerBidEmail()const
|
||||
void RemoveTerminalsRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::vector<std::string> RemoveTerminalsRequest::getTerminalIds()const
|
||||
@@ -133,7 +144,7 @@ void RemoveTerminalsRequest::setTerminalIds(const std::vector<std::string>& term
|
||||
{
|
||||
terminalIds_ = terminalIds;
|
||||
for(int i = 0; i!= terminalIds.size(); i++)
|
||||
setParameter("TerminalIds."+ std::to_string(i), terminalIds.at(i));
|
||||
setCoreParameter("TerminalIds."+ std::to_string(i), terminalIds.at(i));
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getCallerUidEmail()const
|
||||
@@ -144,7 +155,7 @@ std::string RemoveTerminalsRequest::getCallerUidEmail()const
|
||||
void RemoveTerminalsRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long RemoveTerminalsRequest::getCallerUid()const
|
||||
@@ -155,7 +166,7 @@ long RemoveTerminalsRequest::getCallerUid()const
|
||||
void RemoveTerminalsRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getApp_ip()const
|
||||
@@ -166,7 +177,7 @@ std::string RemoveTerminalsRequest::getApp_ip()const
|
||||
void RemoveTerminalsRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getPopProduct()const
|
||||
@@ -177,18 +188,7 @@ std::string RemoveTerminalsRequest::getPopProduct()const
|
||||
void RemoveTerminalsRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getProduct()const
|
||||
{
|
||||
return product_;
|
||||
}
|
||||
|
||||
void RemoveTerminalsRequest::setProduct(const std::string& product)
|
||||
{
|
||||
product_ = product;
|
||||
setParameter("Product", product);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getCallerBid()const
|
||||
@@ -199,7 +199,7 @@ std::string RemoveTerminalsRequest::getCallerBid()const
|
||||
void RemoveTerminalsRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long RemoveTerminalsRequest::getOwnerId()const
|
||||
@@ -210,7 +210,7 @@ long RemoveTerminalsRequest::getOwnerId()const
|
||||
void RemoveTerminalsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getVersion()const
|
||||
@@ -221,7 +221,7 @@ std::string RemoveTerminalsRequest::getVersion()const
|
||||
void RemoveTerminalsRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool RemoveTerminalsRequest::getProxy_trust_transport_info()const
|
||||
@@ -232,7 +232,7 @@ bool RemoveTerminalsRequest::getProxy_trust_transport_info()const
|
||||
void RemoveTerminalsRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool RemoveTerminalsRequest::getAk_mfa_present()const
|
||||
@@ -243,7 +243,7 @@ bool RemoveTerminalsRequest::getAk_mfa_present()const
|
||||
void RemoveTerminalsRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool RemoveTerminalsRequest::getSecurity_transport()const
|
||||
@@ -254,7 +254,18 @@ bool RemoveTerminalsRequest::getSecurity_transport()const
|
||||
void RemoveTerminalsRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void RemoveTerminalsRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getRequestId()const
|
||||
@@ -265,7 +276,7 @@ std::string RemoveTerminalsRequest::getRequestId()const
|
||||
void RemoveTerminalsRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getAppId()const
|
||||
@@ -276,7 +287,7 @@ std::string RemoveTerminalsRequest::getAppId()const
|
||||
void RemoveTerminalsRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string RemoveTerminalsRequest::getChannelId()const
|
||||
@@ -287,6 +298,6 @@ std::string RemoveTerminalsRequest::getChannelId()const
|
||||
void RemoveTerminalsRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ RemoveTerminalsResult::~RemoveTerminalsResult()
|
||||
|
||||
void RemoveTerminalsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allTerminals = value["Terminals"]["Terminal"];
|
||||
for (auto value : allTerminals)
|
||||
|
||||
@@ -33,7 +33,7 @@ long StartMPUTaskRequest::getResourceOwnerId()const
|
||||
void StartMPUTaskRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::vector<StartMPUTaskRequest::UserPanes> StartMPUTaskRequest::getUserPanes()const
|
||||
@@ -48,9 +48,9 @@ void StartMPUTaskRequest::setUserPanes(const std::vector<UserPanes>& userPanes)
|
||||
for(int i = 0; i!= userPanes.size(); i++) {
|
||||
auto obj = userPanes.at(i);
|
||||
std::string str ="UserPanes."+ std::to_string(i);
|
||||
setParameter(str + ".PaneId", std::to_string(obj.paneId));
|
||||
setParameter(str + ".UserId", obj.userId);
|
||||
setParameter(str + ".SourceType", obj.sourceType);
|
||||
setCoreParameter(str + ".PaneId", std::to_string(obj.paneId));
|
||||
setCoreParameter(str + ".UserId", obj.userId);
|
||||
setCoreParameter(str + ".SourceType", obj.sourceType);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ long StartMPUTaskRequest::getCallerParentId()const
|
||||
void StartMPUTaskRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
bool StartMPUTaskRequest::getProxy_original_security_transport()const
|
||||
@@ -73,7 +73,7 @@ bool StartMPUTaskRequest::getProxy_original_security_transport()const
|
||||
void StartMPUTaskRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getProxy_original_source_ip()const
|
||||
@@ -84,7 +84,7 @@ std::string StartMPUTaskRequest::getProxy_original_source_ip()const
|
||||
void StartMPUTaskRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getOwnerIdLoginEmail()const
|
||||
@@ -95,7 +95,7 @@ std::string StartMPUTaskRequest::getOwnerIdLoginEmail()const
|
||||
void StartMPUTaskRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getCallerType()const
|
||||
@@ -106,7 +106,7 @@ std::string StartMPUTaskRequest::getCallerType()const
|
||||
void StartMPUTaskRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getAccessKeyId()const
|
||||
@@ -117,7 +117,7 @@ std::string StartMPUTaskRequest::getAccessKeyId()const
|
||||
void StartMPUTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
int StartMPUTaskRequest::getBackgroundColor()const
|
||||
@@ -128,7 +128,18 @@ int StartMPUTaskRequest::getBackgroundColor()const
|
||||
void StartMPUTaskRequest::setBackgroundColor(int backgroundColor)
|
||||
{
|
||||
backgroundColor_ = backgroundColor;
|
||||
setParameter("BackgroundColor", std::to_string(backgroundColor));
|
||||
setCoreParameter("BackgroundColor", std::to_string(backgroundColor));
|
||||
}
|
||||
|
||||
int StartMPUTaskRequest::getCropMode()const
|
||||
{
|
||||
return cropMode_;
|
||||
}
|
||||
|
||||
void StartMPUTaskRequest::setCropMode(int cropMode)
|
||||
{
|
||||
cropMode_ = cropMode;
|
||||
setCoreParameter("CropMode", std::to_string(cropMode));
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getSecurityToken()const
|
||||
@@ -139,7 +150,7 @@ std::string StartMPUTaskRequest::getSecurityToken()const
|
||||
void StartMPUTaskRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getRequestContent()const
|
||||
@@ -150,7 +161,7 @@ std::string StartMPUTaskRequest::getRequestContent()const
|
||||
void StartMPUTaskRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getCallerBidEmail()const
|
||||
@@ -161,7 +172,18 @@ std::string StartMPUTaskRequest::getCallerBidEmail()const
|
||||
void StartMPUTaskRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getTaskProfile()const
|
||||
{
|
||||
return taskProfile_;
|
||||
}
|
||||
|
||||
void StartMPUTaskRequest::setTaskProfile(const std::string& taskProfile)
|
||||
{
|
||||
taskProfile_ = taskProfile;
|
||||
setCoreParameter("TaskProfile", taskProfile);
|
||||
}
|
||||
|
||||
std::vector<long> StartMPUTaskRequest::getLayoutIds()const
|
||||
@@ -173,7 +195,7 @@ void StartMPUTaskRequest::setLayoutIds(const std::vector<long>& layoutIds)
|
||||
{
|
||||
layoutIds_ = layoutIds;
|
||||
for(int i = 0; i!= layoutIds.size(); i++)
|
||||
setParameter("LayoutIds."+ std::to_string(i), std::to_string(layoutIds.at(i)));
|
||||
setCoreParameter("LayoutIds."+ std::to_string(i), std::to_string(layoutIds.at(i)));
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getCallerUidEmail()const
|
||||
@@ -184,7 +206,7 @@ std::string StartMPUTaskRequest::getCallerUidEmail()const
|
||||
void StartMPUTaskRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getTaskId()const
|
||||
@@ -195,7 +217,7 @@ std::string StartMPUTaskRequest::getTaskId()const
|
||||
void StartMPUTaskRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setParameter("TaskId", taskId);
|
||||
setCoreParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
long StartMPUTaskRequest::getCallerUid()const
|
||||
@@ -206,7 +228,7 @@ long StartMPUTaskRequest::getCallerUid()const
|
||||
void StartMPUTaskRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getStreamURL()const
|
||||
@@ -217,7 +239,7 @@ std::string StartMPUTaskRequest::getStreamURL()const
|
||||
void StartMPUTaskRequest::setStreamURL(const std::string& streamURL)
|
||||
{
|
||||
streamURL_ = streamURL;
|
||||
setParameter("StreamURL", streamURL);
|
||||
setCoreParameter("StreamURL", streamURL);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getApp_ip()const
|
||||
@@ -228,7 +250,7 @@ std::string StartMPUTaskRequest::getApp_ip()const
|
||||
void StartMPUTaskRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getPopProduct()const
|
||||
@@ -239,7 +261,7 @@ std::string StartMPUTaskRequest::getPopProduct()const
|
||||
void StartMPUTaskRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getCallerBid()const
|
||||
@@ -250,7 +272,7 @@ std::string StartMPUTaskRequest::getCallerBid()const
|
||||
void StartMPUTaskRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long StartMPUTaskRequest::getOwnerId()const
|
||||
@@ -261,7 +283,7 @@ long StartMPUTaskRequest::getOwnerId()const
|
||||
void StartMPUTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getVersion()const
|
||||
@@ -272,7 +294,7 @@ std::string StartMPUTaskRequest::getVersion()const
|
||||
void StartMPUTaskRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool StartMPUTaskRequest::getProxy_trust_transport_info()const
|
||||
@@ -283,7 +305,7 @@ bool StartMPUTaskRequest::getProxy_trust_transport_info()const
|
||||
void StartMPUTaskRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool StartMPUTaskRequest::getAk_mfa_present()const
|
||||
@@ -294,7 +316,7 @@ bool StartMPUTaskRequest::getAk_mfa_present()const
|
||||
void StartMPUTaskRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool StartMPUTaskRequest::getSecurity_transport()const
|
||||
@@ -305,7 +327,18 @@ bool StartMPUTaskRequest::getSecurity_transport()const
|
||||
void StartMPUTaskRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void StartMPUTaskRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setCoreParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getRequestId()const
|
||||
@@ -316,7 +349,7 @@ std::string StartMPUTaskRequest::getRequestId()const
|
||||
void StartMPUTaskRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getAppId()const
|
||||
@@ -327,7 +360,7 @@ std::string StartMPUTaskRequest::getAppId()const
|
||||
void StartMPUTaskRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
int StartMPUTaskRequest::getMediaEncode()const
|
||||
@@ -338,7 +371,7 @@ int StartMPUTaskRequest::getMediaEncode()const
|
||||
void StartMPUTaskRequest::setMediaEncode(int mediaEncode)
|
||||
{
|
||||
mediaEncode_ = mediaEncode;
|
||||
setParameter("MediaEncode", std::to_string(mediaEncode));
|
||||
setCoreParameter("MediaEncode", std::to_string(mediaEncode));
|
||||
}
|
||||
|
||||
std::string StartMPUTaskRequest::getChannelId()const
|
||||
@@ -349,6 +382,6 @@ std::string StartMPUTaskRequest::getChannelId()const
|
||||
void StartMPUTaskRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ StartMPUTaskResult::~StartMPUTaskResult()
|
||||
|
||||
void StartMPUTaskResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -37,9 +37,9 @@ void StartTaskRequest::setMixPanes(const std::vector<MixPanes>& mixPanes)
|
||||
for(int i = 0; i!= mixPanes.size(); i++) {
|
||||
auto obj = mixPanes.at(i);
|
||||
std::string str ="MixPanes."+ std::to_string(i);
|
||||
setParameter(str + ".PaneId", std::to_string(obj.paneId));
|
||||
setParameter(str + ".UserId", obj.userId);
|
||||
setParameter(str + ".SourceType", obj.sourceType);
|
||||
setCoreParameter(str + ".PaneId", std::to_string(obj.paneId));
|
||||
setCoreParameter(str + ".UserId", obj.userId);
|
||||
setCoreParameter(str + ".SourceType", obj.sourceType);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ long StartTaskRequest::getCallerParentId()const
|
||||
void StartTaskRequest::setCallerParentId(long callerParentId)
|
||||
{
|
||||
callerParentId_ = callerParentId;
|
||||
setParameter("CallerParentId", std::to_string(callerParentId));
|
||||
setCoreParameter("CallerParentId", std::to_string(callerParentId));
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getIdempotentId()const
|
||||
@@ -62,7 +62,7 @@ std::string StartTaskRequest::getIdempotentId()const
|
||||
void StartTaskRequest::setIdempotentId(const std::string& idempotentId)
|
||||
{
|
||||
idempotentId_ = idempotentId;
|
||||
setParameter("IdempotentId", idempotentId);
|
||||
setCoreParameter("IdempotentId", idempotentId);
|
||||
}
|
||||
|
||||
bool StartTaskRequest::getProxy_original_security_transport()const
|
||||
@@ -73,7 +73,7 @@ bool StartTaskRequest::getProxy_original_security_transport()const
|
||||
void StartTaskRequest::setProxy_original_security_transport(bool proxy_original_security_transport)
|
||||
{
|
||||
proxy_original_security_transport_ = proxy_original_security_transport;
|
||||
setParameter("Proxy_original_security_transport", std::to_string(proxy_original_security_transport));
|
||||
setCoreParameter("Proxy_original_security_transport", proxy_original_security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getProxy_original_source_ip()const
|
||||
@@ -84,7 +84,7 @@ std::string StartTaskRequest::getProxy_original_source_ip()const
|
||||
void StartTaskRequest::setProxy_original_source_ip(const std::string& proxy_original_source_ip)
|
||||
{
|
||||
proxy_original_source_ip_ = proxy_original_source_ip;
|
||||
setParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
setCoreParameter("Proxy_original_source_ip", proxy_original_source_ip);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getOwnerIdLoginEmail()const
|
||||
@@ -95,7 +95,7 @@ std::string StartTaskRequest::getOwnerIdLoginEmail()const
|
||||
void StartTaskRequest::setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail)
|
||||
{
|
||||
ownerIdLoginEmail_ = ownerIdLoginEmail;
|
||||
setParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
setCoreParameter("OwnerIdLoginEmail", ownerIdLoginEmail);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getCallerType()const
|
||||
@@ -106,7 +106,7 @@ std::string StartTaskRequest::getCallerType()const
|
||||
void StartTaskRequest::setCallerType(const std::string& callerType)
|
||||
{
|
||||
callerType_ = callerType;
|
||||
setParameter("CallerType", callerType);
|
||||
setCoreParameter("CallerType", callerType);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getAccessKeyId()const
|
||||
@@ -117,7 +117,7 @@ std::string StartTaskRequest::getAccessKeyId()const
|
||||
void StartTaskRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getSecurityToken()const
|
||||
@@ -128,7 +128,7 @@ std::string StartTaskRequest::getSecurityToken()const
|
||||
void StartTaskRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
setCoreParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getRequestContent()const
|
||||
@@ -139,7 +139,7 @@ std::string StartTaskRequest::getRequestContent()const
|
||||
void StartTaskRequest::setRequestContent(const std::string& requestContent)
|
||||
{
|
||||
requestContent_ = requestContent;
|
||||
setParameter("RequestContent", requestContent);
|
||||
setCoreParameter("RequestContent", requestContent);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getCallerBidEmail()const
|
||||
@@ -150,7 +150,7 @@ std::string StartTaskRequest::getCallerBidEmail()const
|
||||
void StartTaskRequest::setCallerBidEmail(const std::string& callerBidEmail)
|
||||
{
|
||||
callerBidEmail_ = callerBidEmail;
|
||||
setParameter("CallerBidEmail", callerBidEmail);
|
||||
setCoreParameter("CallerBidEmail", callerBidEmail);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getCallerUidEmail()const
|
||||
@@ -161,7 +161,7 @@ std::string StartTaskRequest::getCallerUidEmail()const
|
||||
void StartTaskRequest::setCallerUidEmail(const std::string& callerUidEmail)
|
||||
{
|
||||
callerUidEmail_ = callerUidEmail;
|
||||
setParameter("CallerUidEmail", callerUidEmail);
|
||||
setCoreParameter("CallerUidEmail", callerUidEmail);
|
||||
}
|
||||
|
||||
long StartTaskRequest::getCallerUid()const
|
||||
@@ -172,7 +172,7 @@ long StartTaskRequest::getCallerUid()const
|
||||
void StartTaskRequest::setCallerUid(long callerUid)
|
||||
{
|
||||
callerUid_ = callerUid;
|
||||
setParameter("CallerUid", std::to_string(callerUid));
|
||||
setCoreParameter("CallerUid", std::to_string(callerUid));
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getApp_ip()const
|
||||
@@ -183,7 +183,7 @@ std::string StartTaskRequest::getApp_ip()const
|
||||
void StartTaskRequest::setApp_ip(const std::string& app_ip)
|
||||
{
|
||||
app_ip_ = app_ip;
|
||||
setParameter("App_ip", app_ip);
|
||||
setCoreParameter("App_ip", app_ip);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getPopProduct()const
|
||||
@@ -194,7 +194,7 @@ std::string StartTaskRequest::getPopProduct()const
|
||||
void StartTaskRequest::setPopProduct(const std::string& popProduct)
|
||||
{
|
||||
popProduct_ = popProduct;
|
||||
setParameter("PopProduct", popProduct);
|
||||
setCoreParameter("PopProduct", popProduct);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getCallerBid()const
|
||||
@@ -205,7 +205,7 @@ std::string StartTaskRequest::getCallerBid()const
|
||||
void StartTaskRequest::setCallerBid(const std::string& callerBid)
|
||||
{
|
||||
callerBid_ = callerBid;
|
||||
setParameter("CallerBid", callerBid);
|
||||
setCoreParameter("CallerBid", callerBid);
|
||||
}
|
||||
|
||||
long StartTaskRequest::getOwnerId()const
|
||||
@@ -216,7 +216,7 @@ long StartTaskRequest::getOwnerId()const
|
||||
void StartTaskRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
setCoreParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long StartTaskRequest::getTemplateId()const
|
||||
@@ -227,7 +227,7 @@ long StartTaskRequest::getTemplateId()const
|
||||
void StartTaskRequest::setTemplateId(long templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", std::to_string(templateId));
|
||||
setCoreParameter("TemplateId", std::to_string(templateId));
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getVersion()const
|
||||
@@ -238,7 +238,7 @@ std::string StartTaskRequest::getVersion()const
|
||||
void StartTaskRequest::setVersion(const std::string& version)
|
||||
{
|
||||
version_ = version;
|
||||
setParameter("Version", version);
|
||||
setCoreParameter("Version", version);
|
||||
}
|
||||
|
||||
bool StartTaskRequest::getProxy_trust_transport_info()const
|
||||
@@ -249,7 +249,7 @@ bool StartTaskRequest::getProxy_trust_transport_info()const
|
||||
void StartTaskRequest::setProxy_trust_transport_info(bool proxy_trust_transport_info)
|
||||
{
|
||||
proxy_trust_transport_info_ = proxy_trust_transport_info;
|
||||
setParameter("Proxy_trust_transport_info", std::to_string(proxy_trust_transport_info));
|
||||
setCoreParameter("Proxy_trust_transport_info", proxy_trust_transport_info ? "true" : "false");
|
||||
}
|
||||
|
||||
bool StartTaskRequest::getAk_mfa_present()const
|
||||
@@ -260,7 +260,7 @@ bool StartTaskRequest::getAk_mfa_present()const
|
||||
void StartTaskRequest::setAk_mfa_present(bool ak_mfa_present)
|
||||
{
|
||||
ak_mfa_present_ = ak_mfa_present;
|
||||
setParameter("Ak_mfa_present", std::to_string(ak_mfa_present));
|
||||
setCoreParameter("Ak_mfa_present", ak_mfa_present ? "true" : "false");
|
||||
}
|
||||
|
||||
bool StartTaskRequest::getSecurity_transport()const
|
||||
@@ -271,7 +271,7 @@ bool StartTaskRequest::getSecurity_transport()const
|
||||
void StartTaskRequest::setSecurity_transport(bool security_transport)
|
||||
{
|
||||
security_transport_ = security_transport;
|
||||
setParameter("Security_transport", std::to_string(security_transport));
|
||||
setCoreParameter("Security_transport", security_transport ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getRequestId()const
|
||||
@@ -282,7 +282,7 @@ std::string StartTaskRequest::getRequestId()const
|
||||
void StartTaskRequest::setRequestId(const std::string& requestId)
|
||||
{
|
||||
requestId_ = requestId;
|
||||
setParameter("RequestId", requestId);
|
||||
setCoreParameter("RequestId", requestId);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getAppId()const
|
||||
@@ -293,7 +293,7 @@ std::string StartTaskRequest::getAppId()const
|
||||
void StartTaskRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
setCoreParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string StartTaskRequest::getChannelId()const
|
||||
@@ -304,6 +304,6 @@ std::string StartTaskRequest::getChannelId()const
|
||||
void StartTaskRequest::setChannelId(const std::string& channelId)
|
||||
{
|
||||
channelId_ = channelId;
|
||||
setParameter("ChannelId", channelId);
|
||||
setCoreParameter("ChannelId", channelId);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user