Skip to content

Commit 449fca9

Browse files
committed
Update API AddUserToDesktopGroup: add param UserOuPath.
1 parent 524e6e3 commit 449fca9

File tree

5 files changed

+54
-5
lines changed

5 files changed

+54
-5
lines changed

AlibabacloudEcd20200930.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 = "AlibabacloudEcd20200930"
4-
spec.version = "3.1.25"
4+
spec.version = "3.1.26"
55
spec.license = "Apache 2.0"
66
spec.summary = "Alibaba Cloud ecd (20200930) SDK Library for Swift"
77
spec.homepage = "https://github.com/alibabacloud-sdk-swift/ecd-20200930"

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)`AlibabacloudEcd20200930` 集成到你的 Xcode 项目中,需要在 `Cartfile` 中定义以下内容:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/ecd-20200930" "3.1.25"
20+
github "alibabacloud-sdk-swift/ecd-20200930" "3.1.26"
2121
```
2222

2323
### Swift 包管理工具
@@ -26,7 +26,7 @@ github "alibabacloud-sdk-swift/ecd-20200930" "3.1.25"
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/ecd-20200930.git", from: "3.1.25")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/ecd-20200930.git", from: "3.1.26")
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 `AlibabacloudEcd20200930` into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), specify it in your `Cartfile`:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/ecd-20200930" "3.1.25"
20+
github "alibabacloud-sdk-swift/ecd-20200930" "3.1.26"
2121
```
2222

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

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/ecd-20200930.git", from: "3.1.25")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/ecd-20200930.git", from: "3.1.26")
3030
]
3131
```
3232

Sources/AlibabacloudEcd20200930/Client.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ open class Client : AlibabacloudOpenApi.Client {
232232
if (!TeaUtils.Client.isUnset(request.regionId)) {
233233
query["RegionId"] = request.regionId ?? "";
234234
}
235+
if (!TeaUtils.Client.isUnset(request.userOuPath)) {
236+
query["UserOuPath"] = request.userOuPath ?? "";
237+
}
235238
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
236239
"query": AlibabaCloudOpenApiUtil.Client.query(query)
237240
])
@@ -2039,6 +2042,9 @@ open class Client : AlibabacloudOpenApi.Client {
20392042
if (!TeaUtils.Client.isUnset(request.timerGroupId)) {
20402043
query["TimerGroupId"] = request.timerGroupId ?? "";
20412044
}
2045+
if (!TeaUtils.Client.isUnset(request.userOuPath)) {
2046+
query["UserOuPath"] = request.userOuPath ?? "";
2047+
}
20422048
if (!TeaUtils.Client.isUnset(request.volumeEncryptionEnabled)) {
20432049
query["VolumeEncryptionEnabled"] = request.volumeEncryptionEnabled!;
20442050
}
@@ -10489,6 +10495,9 @@ open class Client : AlibabacloudOpenApi.Client {
1048910495
if (!TeaUtils.Client.isUnset(request.regionId)) {
1049010496
query["RegionId"] = request.regionId ?? "";
1049110497
}
10498+
if (!TeaUtils.Client.isUnset(request.userOuPath)) {
10499+
query["UserOuPath"] = request.userOuPath ?? "";
10500+
}
1049210501
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
1049310502
"query": AlibabaCloudOpenApiUtil.Client.query(query)
1049410503
])

Sources/AlibabacloudEcd20200930/Models.swift

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,8 @@ public class AddUserToDesktopGroupRequest : Tea.TeaModel {
12461246

12471247
public var regionId: String?
12481248

1249+
public var userOuPath: String?
1250+
12491251
public override init() {
12501252
super.init()
12511253
}
@@ -1275,6 +1277,9 @@ public class AddUserToDesktopGroupRequest : Tea.TeaModel {
12751277
if self.regionId != nil {
12761278
map["RegionId"] = self.regionId!
12771279
}
1280+
if self.userOuPath != nil {
1281+
map["UserOuPath"] = self.userOuPath!
1282+
}
12781283
return map
12791284
}
12801285

@@ -1294,6 +1299,9 @@ public class AddUserToDesktopGroupRequest : Tea.TeaModel {
12941299
if dict.keys.contains("RegionId") {
12951300
self.regionId = dict["RegionId"] as! String
12961301
}
1302+
if dict.keys.contains("UserOuPath") {
1303+
self.userOuPath = dict["UserOuPath"] as! String
1304+
}
12971305
}
12981306
}
12991307

@@ -7040,6 +7048,8 @@ public class CreateDesktopGroupRequest : Tea.TeaModel {
70407048

70417049
public var timerGroupId: String?
70427050

7051+
public var userOuPath: String?
7052+
70437053
public var volumeEncryptionEnabled: Bool?
70447054

70457055
public var volumeEncryptionKey: String?
@@ -7223,6 +7233,9 @@ public class CreateDesktopGroupRequest : Tea.TeaModel {
72237233
if self.timerGroupId != nil {
72247234
map["TimerGroupId"] = self.timerGroupId!
72257235
}
7236+
if self.userOuPath != nil {
7237+
map["UserOuPath"] = self.userOuPath!
7238+
}
72267239
if self.volumeEncryptionEnabled != nil {
72277240
map["VolumeEncryptionEnabled"] = self.volumeEncryptionEnabled!
72287241
}
@@ -7403,6 +7416,9 @@ public class CreateDesktopGroupRequest : Tea.TeaModel {
74037416
if dict.keys.contains("TimerGroupId") {
74047417
self.timerGroupId = dict["TimerGroupId"] as! String
74057418
}
7419+
if dict.keys.contains("UserOuPath") {
7420+
self.userOuPath = dict["UserOuPath"] as! String
7421+
}
74067422
if dict.keys.contains("VolumeEncryptionEnabled") {
74077423
self.volumeEncryptionEnabled = dict["VolumeEncryptionEnabled"] as! Bool
74087424
}
@@ -17931,6 +17947,8 @@ public class DescribeDesktopGroupsResponseBody : Tea.TeaModel {
1793117947

1793217948
public var tags: [DescribeDesktopGroupsResponseBody.DesktopGroups.Tags]?
1793317949

17950+
public var userOuPath: String?
17951+
1793417952
public var version: Int32?
1793517953

1793617954
public var volumeEncryptionEnabled: Bool?
@@ -18094,6 +18112,9 @@ public class DescribeDesktopGroupsResponseBody : Tea.TeaModel {
1809418112
}
1809518113
map["Tags"] = tmp
1809618114
}
18115+
if self.userOuPath != nil {
18116+
map["UserOuPath"] = self.userOuPath!
18117+
}
1809718118
if self.version != nil {
1809818119
map["Version"] = self.version!
1809918120
}
@@ -18258,6 +18279,9 @@ public class DescribeDesktopGroupsResponseBody : Tea.TeaModel {
1825818279
}
1825918280
self.tags = tmp
1826018281
}
18282+
if dict.keys.contains("UserOuPath") {
18283+
self.userOuPath = dict["UserOuPath"] as! String
18284+
}
1826118285
if dict.keys.contains("Version") {
1826218286
self.version = dict["Version"] as! Int32
1826318287
}
@@ -34169,6 +34193,8 @@ public class DescribeUsersInGroupResponseBody : Tea.TeaModel {
3416934193

3417034194
public var requestId: String?
3417134195

34196+
public var userOuPath: String?
34197+
3417234198
public var usersCount: Int32?
3417334199

3417434200
public override init() {
@@ -34201,6 +34227,9 @@ public class DescribeUsersInGroupResponseBody : Tea.TeaModel {
3420134227
if self.requestId != nil {
3420234228
map["RequestId"] = self.requestId!
3420334229
}
34230+
if self.userOuPath != nil {
34231+
map["UserOuPath"] = self.userOuPath!
34232+
}
3420434233
if self.usersCount != nil {
3420534234
map["UsersCount"] = self.usersCount!
3420634235
}
@@ -34228,6 +34257,9 @@ public class DescribeUsersInGroupResponseBody : Tea.TeaModel {
3422834257
if dict.keys.contains("RequestId") {
3422934258
self.requestId = dict["RequestId"] as! String
3423034259
}
34260+
if dict.keys.contains("UserOuPath") {
34261+
self.userOuPath = dict["UserOuPath"] as! String
34262+
}
3423134263
if dict.keys.contains("UsersCount") {
3423234264
self.usersCount = dict["UsersCount"] as! Int32
3423334265
}
@@ -48853,6 +48885,8 @@ public class RemoveUserFromDesktopGroupRequest : Tea.TeaModel {
4885348885

4885448886
public var regionId: String?
4885548887

48888+
public var userOuPath: String?
48889+
4885648890
public override init() {
4885748891
super.init()
4885848892
}
@@ -48879,6 +48913,9 @@ public class RemoveUserFromDesktopGroupRequest : Tea.TeaModel {
4887948913
if self.regionId != nil {
4888048914
map["RegionId"] = self.regionId!
4888148915
}
48916+
if self.userOuPath != nil {
48917+
map["UserOuPath"] = self.userOuPath!
48918+
}
4888248919
return map
4888348920
}
4888448921

@@ -48895,6 +48932,9 @@ public class RemoveUserFromDesktopGroupRequest : Tea.TeaModel {
4889548932
if dict.keys.contains("RegionId") {
4889648933
self.regionId = dict["RegionId"] as! String
4889748934
}
48935+
if dict.keys.contains("UserOuPath") {
48936+
self.userOuPath = dict["UserOuPath"] as! String
48937+
}
4889848938
}
4889948939
}
4890048940

0 commit comments

Comments
 (0)