Skip to content

Commit 1041854

Browse files
committed
Support API AttachPolicy2ApprovalProcess.
1 parent a4763b5 commit 1041854

File tree

4 files changed

+61
-5
lines changed

4 files changed

+61
-5
lines changed

AlibabacloudCsas20230120.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 = "AlibabacloudCsas20230120"
4-
spec.version = "1.20.0"
4+
spec.version = "1.21.0"
55
spec.license = "Apache 2.0"
66
spec.summary = "Alibaba Cloud csas (20230120) SDK Library for Swift"
77
spec.homepage = "https://github.com/alibabacloud-sdk-swift/csas-20230120"

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

1919
```ogdl
20-
github "alibabacloud-sdk-swift/csas-20230120" "1.20.0"
20+
github "alibabacloud-sdk-swift/csas-20230120" "1.21.0"
2121
```
2222

2323
### Swift 包管理工具
@@ -26,7 +26,7 @@ github "alibabacloud-sdk-swift/csas-20230120" "1.20.0"
2626

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

1919
```ogdl
20-
github "alibabacloud-sdk-swift/csas-20230120" "1.20.0"
20+
github "alibabacloud-sdk-swift/csas-20230120" "1.21.0"
2121
```
2222

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

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/csas-20230120.git", from: "1.20.0")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/csas-20230120.git", from: "1.21.0")
3030
]
3131
```
3232

Sources/AlibabacloudCsas20230120/Models.swift

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3401,12 +3401,20 @@ public class CreateWmBaseImageResponse : Tea.TeaModel {
34013401

34023402
public class CreateWmEmbedTaskRequest : Tea.TeaModel {
34033403
public class CsvControl : Tea.TeaModel {
3404+
public var embedBitsNumberInEachTime: Int64?
3405+
34043406
public var embedColumn: Int64?
34053407

3408+
public var embedDensity: String?
3409+
34063410
public var embedPrecision: Int64?
34073411

3412+
public var embedTimePosition: String?
3413+
34083414
public var method: String?
34093415

3416+
public var timeFormat: String?
3417+
34103418
public override init() {
34113419
super.init()
34123420
}
@@ -3421,28 +3429,52 @@ public class CreateWmEmbedTaskRequest : Tea.TeaModel {
34213429

34223430
public override func toMap() -> [String : Any] {
34233431
var map = super.toMap()
3432+
if self.embedBitsNumberInEachTime != nil {
3433+
map["EmbedBitsNumberInEachTime"] = self.embedBitsNumberInEachTime!
3434+
}
34243435
if self.embedColumn != nil {
34253436
map["EmbedColumn"] = self.embedColumn!
34263437
}
3438+
if self.embedDensity != nil {
3439+
map["EmbedDensity"] = self.embedDensity!
3440+
}
34273441
if self.embedPrecision != nil {
34283442
map["EmbedPrecision"] = self.embedPrecision!
34293443
}
3444+
if self.embedTimePosition != nil {
3445+
map["EmbedTimePosition"] = self.embedTimePosition!
3446+
}
34303447
if self.method != nil {
34313448
map["Method"] = self.method!
34323449
}
3450+
if self.timeFormat != nil {
3451+
map["TimeFormat"] = self.timeFormat!
3452+
}
34333453
return map
34343454
}
34353455

34363456
public override func fromMap(_ dict: [String: Any]) -> Void {
3457+
if dict.keys.contains("EmbedBitsNumberInEachTime") {
3458+
self.embedBitsNumberInEachTime = dict["EmbedBitsNumberInEachTime"] as! Int64
3459+
}
34373460
if dict.keys.contains("EmbedColumn") {
34383461
self.embedColumn = dict["EmbedColumn"] as! Int64
34393462
}
3463+
if dict.keys.contains("EmbedDensity") {
3464+
self.embedDensity = dict["EmbedDensity"] as! String
3465+
}
34403466
if dict.keys.contains("EmbedPrecision") {
34413467
self.embedPrecision = dict["EmbedPrecision"] as! Int64
34423468
}
3469+
if dict.keys.contains("EmbedTimePosition") {
3470+
self.embedTimePosition = dict["EmbedTimePosition"] as! String
3471+
}
34433472
if dict.keys.contains("Method") {
34443473
self.method = dict["Method"] as! String
34453474
}
3475+
if dict.keys.contains("TimeFormat") {
3476+
self.timeFormat = dict["TimeFormat"] as! String
3477+
}
34463478
}
34473479
}
34483480
public class DocumentControl : Tea.TeaModel {
@@ -4044,12 +4076,18 @@ public class CreateWmEmbedTaskResponse : Tea.TeaModel {
40444076

40454077
public class CreateWmExtractTaskRequest : Tea.TeaModel {
40464078
public class CsvControl : Tea.TeaModel {
4079+
public var embedBitsNumberInEachTime: Int64?
4080+
40474081
public var embedColumn: Int64?
40484082

40494083
public var embedPrecision: Int64?
40504084

4085+
public var embedTimePosition: String?
4086+
40514087
public var method: String?
40524088

4089+
public var timeFormat: String?
4090+
40534091
public override init() {
40544092
super.init()
40554093
}
@@ -4064,28 +4102,46 @@ public class CreateWmExtractTaskRequest : Tea.TeaModel {
40644102

40654103
public override func toMap() -> [String : Any] {
40664104
var map = super.toMap()
4105+
if self.embedBitsNumberInEachTime != nil {
4106+
map["EmbedBitsNumberInEachTime"] = self.embedBitsNumberInEachTime!
4107+
}
40674108
if self.embedColumn != nil {
40684109
map["EmbedColumn"] = self.embedColumn!
40694110
}
40704111
if self.embedPrecision != nil {
40714112
map["EmbedPrecision"] = self.embedPrecision!
40724113
}
4114+
if self.embedTimePosition != nil {
4115+
map["EmbedTimePosition"] = self.embedTimePosition!
4116+
}
40734117
if self.method != nil {
40744118
map["Method"] = self.method!
40754119
}
4120+
if self.timeFormat != nil {
4121+
map["TimeFormat"] = self.timeFormat!
4122+
}
40764123
return map
40774124
}
40784125

40794126
public override func fromMap(_ dict: [String: Any]) -> Void {
4127+
if dict.keys.contains("EmbedBitsNumberInEachTime") {
4128+
self.embedBitsNumberInEachTime = dict["EmbedBitsNumberInEachTime"] as! Int64
4129+
}
40804130
if dict.keys.contains("EmbedColumn") {
40814131
self.embedColumn = dict["EmbedColumn"] as! Int64
40824132
}
40834133
if dict.keys.contains("EmbedPrecision") {
40844134
self.embedPrecision = dict["EmbedPrecision"] as! Int64
40854135
}
4136+
if dict.keys.contains("EmbedTimePosition") {
4137+
self.embedTimePosition = dict["EmbedTimePosition"] as! String
4138+
}
40864139
if dict.keys.contains("Method") {
40874140
self.method = dict["Method"] as! String
40884141
}
4142+
if dict.keys.contains("TimeFormat") {
4143+
self.timeFormat = dict["TimeFormat"] as! String
4144+
}
40894145
}
40904146
}
40914147
public var csvControl: CreateWmExtractTaskRequest.CsvControl?

0 commit comments

Comments
 (0)