Skip to content

Commit c9a925f

Browse files
committed
Update API CreateDataset: add request parameters body.Edition.
1 parent d976aef commit c9a925f

File tree

5 files changed

+43
-5
lines changed

5 files changed

+43
-5
lines changed

AlibabacloudAIWorkSpace20210204.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 = "AlibabacloudAIWorkSpace20210204"
4-
spec.version = "4.4.1"
4+
spec.version = "4.4.2"
55
spec.license = "Apache 2.0"
66
spec.summary = "Alibaba Cloud AIWorkSpace (20210204) SDK Library for Swift"
77
spec.homepage = "https://github.com/alibabacloud-sdk-swift/aiworkspace-20210204"

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

1919
```ogdl
20-
github "alibabacloud-sdk-swift/aiworkspace-20210204" "4.4.1"
20+
github "alibabacloud-sdk-swift/aiworkspace-20210204" "4.4.2"
2121
```
2222

2323
### Swift 包管理工具
@@ -26,7 +26,7 @@ github "alibabacloud-sdk-swift/aiworkspace-20210204" "4.4.1"
2626

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

1919
```ogdl
20-
github "alibabacloud-sdk-swift/aiworkspace-20210204" "4.4.1"
20+
github "alibabacloud-sdk-swift/aiworkspace-20210204" "4.4.2"
2121
```
2222

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

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/aiworkspace-20210204.git", from: "4.4.1")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/aiworkspace-20210204.git", from: "4.4.2")
3030
]
3131
```
3232

Sources/AlibabacloudAIWorkSpace20210204/Client.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,9 @@ open class Client : AlibabacloudOpenApi.Client {
357357
if (!TeaUtils.Client.isUnset(request.description_)) {
358358
body["Description"] = request.description_ ?? "";
359359
}
360+
if (!TeaUtils.Client.isUnset(request.edition)) {
361+
body["Edition"] = request.edition ?? "";
362+
}
360363
if (!TeaUtils.Client.isUnset(request.importInfo)) {
361364
body["ImportInfo"] = request.importInfo ?? "";
362365
}
@@ -4180,6 +4183,9 @@ open class Client : AlibabacloudOpenApi.Client {
41804183
if (!TeaUtils.Client.isUnset(request.description_)) {
41814184
body["Description"] = request.description_ ?? "";
41824185
}
4186+
if (!TeaUtils.Client.isUnset(request.edition)) {
4187+
body["Edition"] = request.edition ?? "";
4188+
}
41834189
if (!TeaUtils.Client.isUnset(request.mountAccessReadWriteRoleIdList)) {
41844190
body["MountAccessReadWriteRoleIdList"] = request.mountAccessReadWriteRoleIdList ?? [];
41854191
}

Sources/AlibabacloudAIWorkSpace20210204/Models.swift

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,8 @@ public class Dataset : Tea.TeaModel {
450450

451451
public var description_: String?
452452

453+
public var edition: String?
454+
453455
public var gmtCreateTime: String?
454456

455457
public var gmtModifiedTime: String?
@@ -520,6 +522,9 @@ public class Dataset : Tea.TeaModel {
520522
if self.description_ != nil {
521523
map["Description"] = self.description_!
522524
}
525+
if self.edition != nil {
526+
map["Edition"] = self.edition!
527+
}
523528
if self.gmtCreateTime != nil {
524529
map["GmtCreateTime"] = self.gmtCreateTime!
525530
}
@@ -604,6 +609,9 @@ public class Dataset : Tea.TeaModel {
604609
if let value = dict["Description"] as? String {
605610
self.description_ = value
606611
}
612+
if let value = dict["Edition"] as? String {
613+
self.edition = value
614+
}
607615
if let value = dict["GmtCreateTime"] as? String {
608616
self.gmtCreateTime = value
609617
}
@@ -4456,6 +4464,8 @@ public class CreateDatasetRequest : Tea.TeaModel {
44564464

44574465
public var description_: String?
44584466

4467+
public var edition: String?
4468+
44594469
public var importInfo: String?
44604470

44614471
public var labels: [Label]?
@@ -4522,6 +4532,9 @@ public class CreateDatasetRequest : Tea.TeaModel {
45224532
if self.description_ != nil {
45234533
map["Description"] = self.description_!
45244534
}
4535+
if self.edition != nil {
4536+
map["Edition"] = self.edition!
4537+
}
45254538
if self.importInfo != nil {
45264539
map["ImportInfo"] = self.importInfo!
45274540
}
@@ -4604,6 +4617,9 @@ public class CreateDatasetRequest : Tea.TeaModel {
46044617
if let value = dict["Description"] as? String {
46054618
self.description_ = value
46064619
}
4620+
if let value = dict["Edition"] as? String {
4621+
self.edition = value
4622+
}
46074623
if let value = dict["ImportInfo"] as? String {
46084624
self.importInfo = value
46094625
}
@@ -10882,6 +10898,8 @@ public class GetDatasetResponseBody : Tea.TeaModel {
1088210898

1088310899
public var description_: String?
1088410900

10901+
public var edition: String?
10902+
1088510903
public var gmtCreateTime: String?
1088610904

1088710905
public var gmtModifiedTime: String?
@@ -10956,6 +10974,9 @@ public class GetDatasetResponseBody : Tea.TeaModel {
1095610974
if self.description_ != nil {
1095710975
map["Description"] = self.description_!
1095810976
}
10977+
if self.edition != nil {
10978+
map["Edition"] = self.edition!
10979+
}
1095910980
if self.gmtCreateTime != nil {
1096010981
map["GmtCreateTime"] = self.gmtCreateTime!
1096110982
}
@@ -11046,6 +11067,9 @@ public class GetDatasetResponseBody : Tea.TeaModel {
1104611067
if let value = dict["Description"] as? String {
1104711068
self.description_ = value
1104811069
}
11070+
if let value = dict["Edition"] as? String {
11071+
self.edition = value
11072+
}
1104911073
if let value = dict["GmtCreateTime"] as? String {
1105011074
self.gmtCreateTime = value
1105111075
}
@@ -22610,6 +22634,8 @@ public class UpdateConnectionResponse : Tea.TeaModel {
2261022634
public class UpdateDatasetRequest : Tea.TeaModel {
2261122635
public var description_: String?
2261222636

22637+
public var edition: String?
22638+
2261322639
public var mountAccessReadWriteRoleIdList: [String]?
2261422640

2261522641
public var name: String?
@@ -22633,6 +22659,9 @@ public class UpdateDatasetRequest : Tea.TeaModel {
2263322659
if self.description_ != nil {
2263422660
map["Description"] = self.description_!
2263522661
}
22662+
if self.edition != nil {
22663+
map["Edition"] = self.edition!
22664+
}
2263622665
if self.mountAccessReadWriteRoleIdList != nil {
2263722666
map["MountAccessReadWriteRoleIdList"] = self.mountAccessReadWriteRoleIdList!
2263822667
}
@@ -22650,6 +22679,9 @@ public class UpdateDatasetRequest : Tea.TeaModel {
2265022679
if let value = dict["Description"] as? String {
2265122680
self.description_ = value
2265222681
}
22682+
if let value = dict["Edition"] as? String {
22683+
self.edition = value
22684+
}
2265322685
if let value = dict["MountAccessReadWriteRoleIdList"] as? [String] {
2265422686
self.mountAccessReadWriteRoleIdList = value
2265522687
}

0 commit comments

Comments
 (0)