Delete some abandoned interface in SDK.

This commit is contained in:
sdk-team
2021-11-24 08:11:13 +00:00
parent caafbf0de9
commit 9ca2a7694b
15 changed files with 4 additions and 774 deletions

View File

@@ -30,8 +30,6 @@
#include "model/CreateEventSubscribeResult.h"
#include "model/CreateMPULayoutRequest.h"
#include "model/CreateMPULayoutResult.h"
#include "model/CreateRecordIndexFileRequest.h"
#include "model/CreateRecordIndexFileResult.h"
#include "model/DeleteAutoLiveStreamRuleRequest.h"
#include "model/DeleteAutoLiveStreamRuleResult.h"
#include "model/DeleteEventSubscribeRequest.h"
@@ -50,8 +48,6 @@
#include "model/DescribeMPULayoutInfoListResult.h"
#include "model/DescribeRecordFilesRequest.h"
#include "model/DescribeRecordFilesResult.h"
#include "model/DescribeRecordTasksRequest.h"
#include "model/DescribeRecordTasksResult.h"
#include "model/DescribeRecordTemplatesRequest.h"
#include "model/DescribeRecordTemplatesResult.h"
#include "model/DescribeUserInfoInChannelRequest.h"
@@ -105,9 +101,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateMPULayoutResult> CreateMPULayoutOutcome;
typedef std::future<CreateMPULayoutOutcome> CreateMPULayoutOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::CreateMPULayoutRequest&, const CreateMPULayoutOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMPULayoutAsyncHandler;
typedef Outcome<Error, Model::CreateRecordIndexFileResult> CreateRecordIndexFileOutcome;
typedef std::future<CreateRecordIndexFileOutcome> CreateRecordIndexFileOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::CreateRecordIndexFileRequest&, const CreateRecordIndexFileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRecordIndexFileAsyncHandler;
typedef Outcome<Error, Model::DeleteAutoLiveStreamRuleResult> DeleteAutoLiveStreamRuleOutcome;
typedef std::future<DeleteAutoLiveStreamRuleOutcome> DeleteAutoLiveStreamRuleOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DeleteAutoLiveStreamRuleRequest&, const DeleteAutoLiveStreamRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAutoLiveStreamRuleAsyncHandler;
@@ -135,9 +128,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeRecordFilesResult> DescribeRecordFilesOutcome;
typedef std::future<DescribeRecordFilesOutcome> DescribeRecordFilesOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeRecordFilesRequest&, const DescribeRecordFilesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordFilesAsyncHandler;
typedef Outcome<Error, Model::DescribeRecordTasksResult> DescribeRecordTasksOutcome;
typedef std::future<DescribeRecordTasksOutcome> DescribeRecordTasksOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeRecordTasksRequest&, const DescribeRecordTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordTasksAsyncHandler;
typedef Outcome<Error, Model::DescribeRecordTemplatesResult> DescribeRecordTemplatesOutcome;
typedef std::future<DescribeRecordTemplatesOutcome> DescribeRecordTemplatesOutcomeCallable;
typedef std::function<void(const RtcClient*, const Model::DescribeRecordTemplatesRequest&, const DescribeRecordTemplatesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRecordTemplatesAsyncHandler;
@@ -203,9 +193,6 @@ namespace AlibabaCloud
CreateMPULayoutOutcome createMPULayout(const Model::CreateMPULayoutRequest &request)const;
void createMPULayoutAsync(const Model::CreateMPULayoutRequest& request, const CreateMPULayoutAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMPULayoutOutcomeCallable createMPULayoutCallable(const Model::CreateMPULayoutRequest& request) const;
CreateRecordIndexFileOutcome createRecordIndexFile(const Model::CreateRecordIndexFileRequest &request)const;
void createRecordIndexFileAsync(const Model::CreateRecordIndexFileRequest& request, const CreateRecordIndexFileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRecordIndexFileOutcomeCallable createRecordIndexFileCallable(const Model::CreateRecordIndexFileRequest& request) const;
DeleteAutoLiveStreamRuleOutcome deleteAutoLiveStreamRule(const Model::DeleteAutoLiveStreamRuleRequest &request)const;
void deleteAutoLiveStreamRuleAsync(const Model::DeleteAutoLiveStreamRuleRequest& request, const DeleteAutoLiveStreamRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteAutoLiveStreamRuleOutcomeCallable deleteAutoLiveStreamRuleCallable(const Model::DeleteAutoLiveStreamRuleRequest& request) const;
@@ -233,9 +220,6 @@ namespace AlibabaCloud
DescribeRecordFilesOutcome describeRecordFiles(const Model::DescribeRecordFilesRequest &request)const;
void describeRecordFilesAsync(const Model::DescribeRecordFilesRequest& request, const DescribeRecordFilesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRecordFilesOutcomeCallable describeRecordFilesCallable(const Model::DescribeRecordFilesRequest& request) const;
DescribeRecordTasksOutcome describeRecordTasks(const Model::DescribeRecordTasksRequest &request)const;
void describeRecordTasksAsync(const Model::DescribeRecordTasksRequest& request, const DescribeRecordTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRecordTasksOutcomeCallable describeRecordTasksCallable(const Model::DescribeRecordTasksRequest& request) const;
DescribeRecordTemplatesOutcome describeRecordTemplates(const Model::DescribeRecordTemplatesRequest &request)const;
void describeRecordTemplatesAsync(const Model::DescribeRecordTemplatesRequest& request, const DescribeRecordTemplatesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRecordTemplatesOutcomeCallable describeRecordTemplatesCallable(const Model::DescribeRecordTemplatesRequest& request) const;

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_CREATERECORDINDEXFILEREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_CREATERECORDINDEXFILEREQUEST_H_
#include <alibabacloud/rtc/RtcExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Rtc {
namespace Model {
class ALIBABACLOUD_RTC_EXPORT CreateRecordIndexFileRequest : public RpcServiceRequest {
public:
CreateRecordIndexFileRequest();
~CreateRecordIndexFileRequest();
std::string getOssEndpoint() const;
void setOssEndpoint(const std::string &ossEndpoint);
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
std::string getOssObject() const;
void setOssObject(const std::string &ossObject);
std::string getTaskId() const;
void setTaskId(const std::string &taskId);
std::string getShowLog() const;
void setShowLog(const std::string &showLog);
std::string getOssBucket() const;
void setOssBucket(const std::string &ossBucket);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAppId() const;
void setAppId(const std::string &appId);
std::string getChannelId() const;
void setChannelId(const std::string &channelId);
private:
std::string ossEndpoint_;
std::string startTime_;
std::string ossObject_;
std::string taskId_;
std::string showLog_;
std::string ossBucket_;
std::string endTime_;
long ownerId_;
std::string appId_;
std::string channelId_;
};
} // namespace Model
} // namespace Rtc
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RTC_MODEL_CREATERECORDINDEXFILEREQUEST_H_

View File

@@ -1,57 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_CREATERECORDINDEXFILERESULT_H_
#define ALIBABACLOUD_RTC_MODEL_CREATERECORDINDEXFILERESULT_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 CreateRecordIndexFileResult : public ServiceResult
{
public:
CreateRecordIndexFileResult();
explicit CreateRecordIndexFileResult(const std::string &payload);
~CreateRecordIndexFileResult();
float getDuration()const;
int getHeight()const;
int getWidth()const;
std::string getUrl()const;
protected:
void parse(const std::string &payload);
private:
float duration_;
int height_;
int width_;
std::string url_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_CREATERECORDINDEXFILERESULT_H_

View File

@@ -1,69 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSREQUEST_H_
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSREQUEST_H_
#include <alibabacloud/rtc/RtcExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Rtc {
namespace Model {
class ALIBABACLOUD_RTC_EXPORT DescribeRecordTasksRequest : public RpcServiceRequest {
public:
DescribeRecordTasksRequest();
~DescribeRecordTasksRequest();
std::string getStartTime() const;
void setStartTime(const std::string &startTime);
int getPageNum() const;
void setPageNum(int pageNum);
std::vector<std::string> getTaskIds() const;
void setTaskIds(const std::vector<std::string> &taskIds);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getShowLog() const;
void setShowLog(const std::string &showLog);
std::string getEndTime() const;
void setEndTime(const std::string &endTime);
long getOwnerId() const;
void setOwnerId(long ownerId);
std::string getAppId() const;
void setAppId(const std::string &appId);
std::string getChannelId() const;
void setChannelId(const std::string &channelId);
std::string getStatus() const;
void setStatus(const std::string &status);
private:
std::string startTime_;
int pageNum_;
std::vector<std::string> taskIds_;
int pageSize_;
std::string showLog_;
std::string endTime_;
long ownerId_;
std::string appId_;
std::string channelId_;
std::string status_;
};
} // namespace Model
} // namespace Rtc
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSREQUEST_H_

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSRESULT_H_
#define ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSRESULT_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 DescribeRecordTasksResult : public ServiceResult
{
public:
struct RecordTask
{
struct UserPanesItem
{
std::string userId;
int paneId;
std::string source;
};
int status;
std::vector<RecordTask::UserPanesItem> userPanes;
std::string taskId;
std::string appId;
std::vector<std::string> subSpecUsers;
std::string createTime;
std::string channelId;
std::string templateId;
};
DescribeRecordTasksResult();
explicit DescribeRecordTasksResult(const std::string &payload);
~DescribeRecordTasksResult();
std::vector<RecordTask> getRecordTasks()const;
long getTotalNum()const;
long getTotalPage()const;
protected:
void parse(const std::string &payload);
private:
std::vector<RecordTask> recordTasks_;
long totalNum_;
long totalPage_;
};
}
}
}
#endif // !ALIBABACLOUD_RTC_MODEL_DESCRIBERECORDTASKSRESULT_H_

View File

@@ -37,12 +37,10 @@ namespace AlibabaCloud
UpdateAutoLiveStreamRuleResult();
explicit UpdateAutoLiveStreamRuleResult(const std::string &payload);
~UpdateAutoLiveStreamRuleResult();
long getRuleId()const;
protected:
void parse(const std::string &payload);
private:
long ruleId_;
};
}