Skip to content

Commit 114a7ff

Browse files
committed
Update API ListServiceInstances: add request parameters MemberType.
1 parent f02aefb commit 114a7ff

File tree

5 files changed

+27
-5
lines changed

5 files changed

+27
-5
lines changed

AlibabacloudEas20210701.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 = "AlibabacloudEas20210701"
4-
spec.version = "7.1.5"
4+
spec.version = "7.1.6"
55
spec.license = "Apache 2.0"
66
spec.summary = "Alibaba Cloud eas (20210701) SDK Library for Swift"
77
spec.homepage = "https://github.com/alibabacloud-sdk-swift/eas-20210701"

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

1919
```ogdl
20-
github "alibabacloud-sdk-swift/eas-20210701" "7.1.5"
20+
github "alibabacloud-sdk-swift/eas-20210701" "7.1.6"
2121
```
2222

2323
### Swift 包管理工具
@@ -26,7 +26,7 @@ github "alibabacloud-sdk-swift/eas-20210701" "7.1.5"
2626

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

1919
```ogdl
20-
github "alibabacloud-sdk-swift/eas-20210701" "7.1.5"
20+
github "alibabacloud-sdk-swift/eas-20210701" "7.1.6"
2121
```
2222

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

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/eas-20210701.git", from: "7.1.5")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/eas-20210701.git", from: "7.1.6")
3030
]
3131
```
3232

Sources/AlibabacloudEas20210701/Client.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2599,6 +2599,9 @@ open class Client : AlibabacloudOpenApi.Client {
25992599
if (!TeaUtils.Client.isUnset(request.isSpot)) {
26002600
query["IsSpot"] = request.isSpot!;
26012601
}
2602+
if (!TeaUtils.Client.isUnset(request.memberType)) {
2603+
query["MemberType"] = request.memberType ?? "";
2604+
}
26022605
if (!TeaUtils.Client.isUnset(request.order)) {
26032606
query["Order"] = request.order ?? "";
26042607
}
@@ -3389,6 +3392,9 @@ open class Client : AlibabacloudOpenApi.Client {
33893392
public func updateServiceWithOptions(_ ClusterId: String, _ ServiceName: String, _ request: UpdateServiceRequest, _ headers: [String: String], _ runtime: TeaUtils.RuntimeOptions) async throws -> UpdateServiceResponse {
33903393
try TeaUtils.Client.validateModel(request)
33913394
var query: [String: Any] = [:]
3395+
if (!TeaUtils.Client.isUnset(request.memberToUpdate)) {
3396+
query["MemberToUpdate"] = request.memberToUpdate ?? "";
3397+
}
33923398
if (!TeaUtils.Client.isUnset(request.updateType)) {
33933399
query["UpdateType"] = request.updateType ?? "";
33943400
}

Sources/AlibabacloudEas20210701/Models.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14159,6 +14159,8 @@ public class ListServiceInstancesRequest : Tea.TeaModel {
1415914159

1416014160
public var isSpot: Bool?
1416114161

14162+
public var memberType: String?
14163+
1416214164
public var order: String?
1416314165

1416414166
public var pageNumber: Int32?
@@ -14206,6 +14208,9 @@ public class ListServiceInstancesRequest : Tea.TeaModel {
1420614208
if self.isSpot != nil {
1420714209
map["IsSpot"] = self.isSpot!
1420814210
}
14211+
if self.memberType != nil {
14212+
map["MemberType"] = self.memberType!
14213+
}
1420914214
if self.order != nil {
1421014215
map["Order"] = self.order!
1421114216
}
@@ -14250,6 +14255,9 @@ public class ListServiceInstancesRequest : Tea.TeaModel {
1425014255
if let value = dict["IsSpot"] as? Bool {
1425114256
self.isSpot = value
1425214257
}
14258+
if let value = dict["MemberType"] as? String {
14259+
self.memberType = value
14260+
}
1425314261
if let value = dict["Order"] as? String {
1425414262
self.order = value
1425514263
}
@@ -17547,6 +17555,8 @@ public class UpdateResourceInstanceLabelResponse : Tea.TeaModel {
1754717555
}
1754817556

1754917557
public class UpdateServiceRequest : Tea.TeaModel {
17558+
public var memberToUpdate: String?
17559+
1755017560
public var updateType: String?
1755117561

1755217562
public var body: String?
@@ -17565,6 +17575,9 @@ public class UpdateServiceRequest : Tea.TeaModel {
1756517575

1756617576
public override func toMap() -> [String : Any] {
1756717577
var map = super.toMap()
17578+
if self.memberToUpdate != nil {
17579+
map["MemberToUpdate"] = self.memberToUpdate!
17580+
}
1756817581
if self.updateType != nil {
1756917582
map["UpdateType"] = self.updateType!
1757017583
}
@@ -17576,6 +17589,9 @@ public class UpdateServiceRequest : Tea.TeaModel {
1757617589

1757717590
public override func fromMap(_ dict: [String: Any?]?) -> Void {
1757817591
guard let dict else { return }
17592+
if let value = dict["MemberToUpdate"] as? String {
17593+
self.memberToUpdate = value
17594+
}
1757917595
if let value = dict["UpdateType"] as? String {
1758017596
self.updateType = value
1758117597
}

0 commit comments

Comments
 (0)