Skip to content

Commit 7336fb7

Browse files
committed
Generated swift 2018-01-11 for rtc.
1 parent fb832dd commit 7336fb7

File tree

5 files changed

+1190
-51
lines changed

5 files changed

+1190
-51
lines changed

AlibabacloudRtc20180111.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |spec|
22

33
spec.name = "AlibabacloudRtc20180111"
4-
spec.version = "1.1.0"
4+
spec.version = "1.2.0"
55
spec.license = "Apache 2.0"
66
spec.summary = "Alibaba Cloud Real-Time Communication (20180111) SDK Library for Swift"
77
spec.homepage = "https://github.com/alibabacloud-sdk-swift/rtc-20180111"

README-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
要使用 [Carthage](https://github.com/Carthage/Carthage)`AlibabacloudRtc20180111` 集成到你的 Xcode 项目中,需要在 `Cartfile` 中定义以下内容:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/rtc-20180111" "1.1.0"
20+
github "alibabacloud-sdk-swift/rtc-20180111" "1.2.0"
2121
```
2222

2323
### Swift 包管理工具
@@ -26,7 +26,7 @@ github "alibabacloud-sdk-swift/rtc-20180111" "1.1.0"
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/rtc-20180111.git", from: "1.1.0")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/rtc-20180111.git", from: "1.2.0")
3030
]
3131
```
3232

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ English | [简体中文](README-CN.md)
1717
To integrate `AlibabacloudRtc20180111` into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), specify it in your `Cartfile`:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/rtc-20180111" "1.1.0"
20+
github "alibabacloud-sdk-swift/rtc-20180111" "1.2.0"
2121
```
2222

2323
### Swift Package Manager
@@ -26,7 +26,7 @@ To integrate `AlibabacloudRtc20180111` into your Xcode project using [Swift Pack
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/rtc-20180111.git", from: "1.1.0")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/rtc-20180111.git", from: "1.2.0")
3030
]
3131
```
3232

Sources/AlibabacloudRtc20180111/Client.swift

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,45 @@ open class Client : AlibabacloudOpenApi.Client {
108108
return try await addRecordTemplateWithOptions(request as! AddRecordTemplateRequest, runtime as! TeaUtils.RuntimeOptions)
109109
}
110110

111+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
112+
public func createAppStreamingOutTemplateWithOptions(_ tmpReq: CreateAppStreamingOutTemplateRequest, _ runtime: TeaUtils.RuntimeOptions) async throws -> CreateAppStreamingOutTemplateResponse {
113+
try TeaUtils.Client.validateModel(tmpReq)
114+
var request: CreateAppStreamingOutTemplateShrinkRequest = CreateAppStreamingOutTemplateShrinkRequest([:])
115+
AlibabaCloudOpenApiUtil.Client.convert(tmpReq, request)
116+
if (!TeaUtils.Client.isUnset(tmpReq.streamingOutTemplate)) {
117+
request.streamingOutTemplateShrink = AlibabaCloudOpenApiUtil.Client.arrayToStringWithSpecifiedStyle(tmpReq.streamingOutTemplate, "StreamingOutTemplate", "json")
118+
}
119+
var query: [String: Any] = [:]
120+
if (!TeaUtils.Client.isUnset(request.appId)) {
121+
query["AppId"] = request.appId ?? "";
122+
}
123+
if (!TeaUtils.Client.isUnset(request.streamingOutTemplateShrink)) {
124+
query["StreamingOutTemplate"] = request.streamingOutTemplateShrink ?? "";
125+
}
126+
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
127+
"query": AlibabaCloudOpenApiUtil.Client.query(query)
128+
])
129+
var params: AlibabacloudOpenApi.Params = AlibabacloudOpenApi.Params([
130+
"action": "CreateAppStreamingOutTemplate",
131+
"version": "2018-01-11",
132+
"protocol": "HTTPS",
133+
"pathname": "/",
134+
"method": "POST",
135+
"authType": "AK",
136+
"style": "RPC",
137+
"reqBodyType": "formData",
138+
"bodyType": "json"
139+
])
140+
var tmp: [String: Any] = try await callApi(params as! AlibabacloudOpenApi.Params, req as! AlibabacloudOpenApi.OpenApiRequest, runtime as! TeaUtils.RuntimeOptions)
141+
return Tea.TeaConverter.fromMap(CreateAppStreamingOutTemplateResponse(), tmp)
142+
}
143+
144+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
145+
public func createAppStreamingOutTemplate(_ request: CreateAppStreamingOutTemplateRequest) async throws -> CreateAppStreamingOutTemplateResponse {
146+
var runtime: TeaUtils.RuntimeOptions = TeaUtils.RuntimeOptions([:])
147+
return try await createAppStreamingOutTemplateWithOptions(request as! CreateAppStreamingOutTemplateRequest, runtime as! TeaUtils.RuntimeOptions)
148+
}
149+
111150
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
112151
public func createAutoLiveStreamRuleWithOptions(_ request: CreateAutoLiveStreamRuleRequest, _ runtime: TeaUtils.RuntimeOptions) async throws -> CreateAutoLiveStreamRuleResponse {
113152
try TeaUtils.Client.validateModel(request)
@@ -258,6 +297,45 @@ open class Client : AlibabacloudOpenApi.Client {
258297
return try await createMPULayoutWithOptions(request as! CreateMPULayoutRequest, runtime as! TeaUtils.RuntimeOptions)
259298
}
260299

300+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
301+
public func deleteAppStreamingOutTemplateWithOptions(_ tmpReq: DeleteAppStreamingOutTemplateRequest, _ runtime: TeaUtils.RuntimeOptions) async throws -> DeleteAppStreamingOutTemplateResponse {
302+
try TeaUtils.Client.validateModel(tmpReq)
303+
var request: DeleteAppStreamingOutTemplateShrinkRequest = DeleteAppStreamingOutTemplateShrinkRequest([:])
304+
AlibabaCloudOpenApiUtil.Client.convert(tmpReq, request)
305+
if (!TeaUtils.Client.isUnset(tmpReq.streamingOutTemplate)) {
306+
request.streamingOutTemplateShrink = AlibabaCloudOpenApiUtil.Client.arrayToStringWithSpecifiedStyle(tmpReq.streamingOutTemplate, "StreamingOutTemplate", "json")
307+
}
308+
var query: [String: Any] = [:]
309+
if (!TeaUtils.Client.isUnset(request.appId)) {
310+
query["AppId"] = request.appId ?? "";
311+
}
312+
if (!TeaUtils.Client.isUnset(request.streamingOutTemplateShrink)) {
313+
query["StreamingOutTemplate"] = request.streamingOutTemplateShrink ?? "";
314+
}
315+
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
316+
"query": AlibabaCloudOpenApiUtil.Client.query(query)
317+
])
318+
var params: AlibabacloudOpenApi.Params = AlibabacloudOpenApi.Params([
319+
"action": "DeleteAppStreamingOutTemplate",
320+
"version": "2018-01-11",
321+
"protocol": "HTTPS",
322+
"pathname": "/",
323+
"method": "POST",
324+
"authType": "AK",
325+
"style": "RPC",
326+
"reqBodyType": "formData",
327+
"bodyType": "json"
328+
])
329+
var tmp: [String: Any] = try await callApi(params as! AlibabacloudOpenApi.Params, req as! AlibabacloudOpenApi.OpenApiRequest, runtime as! TeaUtils.RuntimeOptions)
330+
return Tea.TeaConverter.fromMap(DeleteAppStreamingOutTemplateResponse(), tmp)
331+
}
332+
333+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
334+
public func deleteAppStreamingOutTemplate(_ request: DeleteAppStreamingOutTemplateRequest) async throws -> DeleteAppStreamingOutTemplateResponse {
335+
var runtime: TeaUtils.RuntimeOptions = TeaUtils.RuntimeOptions([:])
336+
return try await deleteAppStreamingOutTemplateWithOptions(request as! DeleteAppStreamingOutTemplateRequest, runtime as! TeaUtils.RuntimeOptions)
337+
}
338+
261339
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
262340
public func deleteAutoLiveStreamRuleWithOptions(_ request: DeleteAutoLiveStreamRuleRequest, _ runtime: TeaUtils.RuntimeOptions) async throws -> DeleteAutoLiveStreamRuleResponse {
263341
try TeaUtils.Client.validateModel(request)
@@ -477,6 +555,51 @@ open class Client : AlibabacloudOpenApi.Client {
477555
return try await describeAppKeyWithOptions(request as! DescribeAppKeyRequest, runtime as! TeaUtils.RuntimeOptions)
478556
}
479557

558+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
559+
public func describeAppStreamingOutTemplatesWithOptions(_ tmpReq: DescribeAppStreamingOutTemplatesRequest, _ runtime: TeaUtils.RuntimeOptions) async throws -> DescribeAppStreamingOutTemplatesResponse {
560+
try TeaUtils.Client.validateModel(tmpReq)
561+
var request: DescribeAppStreamingOutTemplatesShrinkRequest = DescribeAppStreamingOutTemplatesShrinkRequest([:])
562+
AlibabaCloudOpenApiUtil.Client.convert(tmpReq, request)
563+
if (!TeaUtils.Client.isUnset(tmpReq.condition)) {
564+
request.conditionShrink = AlibabaCloudOpenApiUtil.Client.arrayToStringWithSpecifiedStyle(tmpReq.condition, "Condition", "json")
565+
}
566+
var query: [String: Any] = [:]
567+
if (!TeaUtils.Client.isUnset(request.appId)) {
568+
query["AppId"] = request.appId ?? "";
569+
}
570+
if (!TeaUtils.Client.isUnset(request.conditionShrink)) {
571+
query["Condition"] = request.conditionShrink ?? "";
572+
}
573+
if (!TeaUtils.Client.isUnset(request.pageNum)) {
574+
query["PageNum"] = request.pageNum!;
575+
}
576+
if (!TeaUtils.Client.isUnset(request.pageSize)) {
577+
query["PageSize"] = request.pageSize!;
578+
}
579+
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
580+
"query": AlibabaCloudOpenApiUtil.Client.query(query)
581+
])
582+
var params: AlibabacloudOpenApi.Params = AlibabacloudOpenApi.Params([
583+
"action": "DescribeAppStreamingOutTemplates",
584+
"version": "2018-01-11",
585+
"protocol": "HTTPS",
586+
"pathname": "/",
587+
"method": "POST",
588+
"authType": "AK",
589+
"style": "RPC",
590+
"reqBodyType": "formData",
591+
"bodyType": "json"
592+
])
593+
var tmp: [String: Any] = try await callApi(params as! AlibabacloudOpenApi.Params, req as! AlibabacloudOpenApi.OpenApiRequest, runtime as! TeaUtils.RuntimeOptions)
594+
return Tea.TeaConverter.fromMap(DescribeAppStreamingOutTemplatesResponse(), tmp)
595+
}
596+
597+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
598+
public func describeAppStreamingOutTemplates(_ request: DescribeAppStreamingOutTemplatesRequest) async throws -> DescribeAppStreamingOutTemplatesResponse {
599+
var runtime: TeaUtils.RuntimeOptions = TeaUtils.RuntimeOptions([:])
600+
return try await describeAppStreamingOutTemplatesWithOptions(request as! DescribeAppStreamingOutTemplatesRequest, runtime as! TeaUtils.RuntimeOptions)
601+
}
602+
480603
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
481604
public func describeAppsWithOptions(_ request: DescribeAppsRequest, _ runtime: TeaUtils.RuntimeOptions) async throws -> DescribeAppsResponse {
482605
try TeaUtils.Client.validateModel(request)
@@ -2182,6 +2305,45 @@ open class Client : AlibabacloudOpenApi.Client {
21822305
return try await modifyAppWithOptions(request as! ModifyAppRequest, runtime as! TeaUtils.RuntimeOptions)
21832306
}
21842307

2308+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
2309+
public func modifyAppStreamingOutTemplateWithOptions(_ tmpReq: ModifyAppStreamingOutTemplateRequest, _ runtime: TeaUtils.RuntimeOptions) async throws -> ModifyAppStreamingOutTemplateResponse {
2310+
try TeaUtils.Client.validateModel(tmpReq)
2311+
var request: ModifyAppStreamingOutTemplateShrinkRequest = ModifyAppStreamingOutTemplateShrinkRequest([:])
2312+
AlibabaCloudOpenApiUtil.Client.convert(tmpReq, request)
2313+
if (!TeaUtils.Client.isUnset(tmpReq.streamingOutTemplate)) {
2314+
request.streamingOutTemplateShrink = AlibabaCloudOpenApiUtil.Client.arrayToStringWithSpecifiedStyle(tmpReq.streamingOutTemplate, "StreamingOutTemplate", "json")
2315+
}
2316+
var query: [String: Any] = [:]
2317+
if (!TeaUtils.Client.isUnset(request.appId)) {
2318+
query["AppId"] = request.appId ?? "";
2319+
}
2320+
if (!TeaUtils.Client.isUnset(request.streamingOutTemplateShrink)) {
2321+
query["StreamingOutTemplate"] = request.streamingOutTemplateShrink ?? "";
2322+
}
2323+
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
2324+
"query": AlibabaCloudOpenApiUtil.Client.query(query)
2325+
])
2326+
var params: AlibabacloudOpenApi.Params = AlibabacloudOpenApi.Params([
2327+
"action": "ModifyAppStreamingOutTemplate",
2328+
"version": "2018-01-11",
2329+
"protocol": "HTTPS",
2330+
"pathname": "/",
2331+
"method": "POST",
2332+
"authType": "AK",
2333+
"style": "RPC",
2334+
"reqBodyType": "formData",
2335+
"bodyType": "json"
2336+
])
2337+
var tmp: [String: Any] = try await callApi(params as! AlibabacloudOpenApi.Params, req as! AlibabacloudOpenApi.OpenApiRequest, runtime as! TeaUtils.RuntimeOptions)
2338+
return Tea.TeaConverter.fromMap(ModifyAppStreamingOutTemplateResponse(), tmp)
2339+
}
2340+
2341+
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
2342+
public func modifyAppStreamingOutTemplate(_ request: ModifyAppStreamingOutTemplateRequest) async throws -> ModifyAppStreamingOutTemplateResponse {
2343+
var runtime: TeaUtils.RuntimeOptions = TeaUtils.RuntimeOptions([:])
2344+
return try await modifyAppStreamingOutTemplateWithOptions(request as! ModifyAppStreamingOutTemplateRequest, runtime as! TeaUtils.RuntimeOptions)
2345+
}
2346+
21852347
@available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
21862348
public func modifyMPULayoutWithOptions(_ request: ModifyMPULayoutRequest, _ runtime: TeaUtils.RuntimeOptions) async throws -> ModifyMPULayoutResponse {
21872349
try TeaUtils.Client.validateModel(request)

0 commit comments

Comments
 (0)