Skip to content

Commit 5b05602

Browse files
Merge remote-tracking branch 'origin/master' into release
2 parents ab06588 + 2f69c5a commit 5b05602

File tree

242 files changed

+2627
-1910
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

242 files changed

+2627
-1910
lines changed

AsposeWordsCloud.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'AsposeWordsCloud'
3-
s.version = '21.8'
3+
s.version = '21.9'
44
s.summary = 'Aspose Words for Cloud.'
55
s.homepage = 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git'
66
s.license = { :type => 'MIT', :file => 'LICENSE' }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Add link to this repository as dependency to your Package.swift:
158158

159159
dependencies: [
160160
// Dependencies declare other packages that this package depends on.
161-
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "21.8"),
161+
.package(url: "https://github.com/aspose-words-cloud/aspose-words-cloud-swift", from: "21.9"),
162162
],
163163
targets: [
164164
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -176,7 +176,7 @@ targets: [
176176
Add link to git repository as dependency to your Podfile:
177177

178178
```ruby
179-
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '21.8'
179+
pod 'AsposeWordsCloud', :git => 'https://github.com/aspose-words-cloud/aspose-words-cloud-swift.git', :tag => '21.9'
180180
```
181181

182182
## Getting Started

Sources/AsposeWordsCloud/Api/Configuration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ public class Configuration : Codable {
117117

118118
// Returns SDK version for using in statistics headers
119119
public func getSdkVersion() -> String {
120-
return "21.8";
120+
return "21.9";
121121
}
122122
}

Sources/AsposeWordsCloud/Model/ApiError.swift

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@ import Foundation
3030
// Api error.
3131
public class ApiError : Codable, WordsApiModel {
3232
// Field of code. Api error.
33-
private var code : String?;
33+
public var code : String?;
3434

3535
// Field of dateTime. Api error.
36-
private var dateTime : Date?;
36+
public var dateTime : Date?;
3737

3838
// Field of description. Api error.
39-
private var description : String?;
39+
public var description : String?;
4040

4141
// Field of innerError. Api error.
42-
private var innerError : ApiError?;
42+
public var innerError : ApiError?;
4343

4444
// Field of message. Api error.
45-
private var message : String?;
45+
public var message : String?;
4646

4747
private enum CodingKeys: String, CodingKey {
4848
case code = "Code";
@@ -90,8 +90,9 @@ public class ApiError : Codable, WordsApiModel {
9090
}
9191

9292
// Sets code. Gets or sets the API error code.
93-
public func setCode(code : String?) {
93+
public func setCode(code : String?) -> ApiError {
9494
self.code = code;
95+
return self;
9596
}
9697

9798
// Gets code. Gets or sets the API error code.
@@ -100,8 +101,9 @@ public class ApiError : Codable, WordsApiModel {
100101
}
101102

102103
// Sets dateTime. Gets or sets the server DateTime.
103-
public func setDateTime(dateTime : Date?) {
104+
public func setDateTime(dateTime : Date?) -> ApiError {
104105
self.dateTime = dateTime;
106+
return self;
105107
}
106108

107109
// Gets dateTime. Gets or sets the server DateTime.
@@ -110,8 +112,9 @@ public class ApiError : Codable, WordsApiModel {
110112
}
111113

112114
// Sets description. Gets or sets the error description.
113-
public func setDescription(description : String?) {
115+
public func setDescription(description : String?) -> ApiError {
114116
self.description = description;
117+
return self;
115118
}
116119

117120
// Gets description. Gets or sets the error description.
@@ -120,8 +123,9 @@ public class ApiError : Codable, WordsApiModel {
120123
}
121124

122125
// Sets innerError. Gets or sets the inner error.
123-
public func setInnerError(innerError : ApiError?) {
126+
public func setInnerError(innerError : ApiError?) -> ApiError {
124127
self.innerError = innerError;
128+
return self;
125129
}
126130

127131
// Gets innerError. Gets or sets the inner error.
@@ -130,8 +134,9 @@ public class ApiError : Codable, WordsApiModel {
130134
}
131135

132136
// Sets message. Gets or sets the error message.
133-
public func setMessage(message : String?) {
137+
public func setMessage(message : String?) -> ApiError {
134138
self.message = message;
139+
return self;
135140
}
136141

137142
// Gets message. Gets or sets the error message.

Sources/AsposeWordsCloud/Model/AvailableFontsResponse.swift

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ import Foundation
3030
// The REST response with data on system, additional and custom fonts, available for document processing.
3131
public class AvailableFontsResponse : WordsResponse {
3232
// Field of additionalFonts. The REST response with data on system, additional and custom fonts, available for document processing.
33-
private var additionalFonts : [FontInfo]?;
33+
public var additionalFonts : [FontInfo]?;
3434

3535
// Field of customFonts. The REST response with data on system, additional and custom fonts, available for document processing.
36-
private var customFonts : [FontInfo]?;
36+
public var customFonts : [FontInfo]?;
3737

3838
// Field of systemFonts. The REST response with data on system, additional and custom fonts, available for document processing.
39-
private var systemFonts : [FontInfo]?;
39+
public var systemFonts : [FontInfo]?;
4040

4141
private enum CodingKeys: String, CodingKey {
4242
case additionalFonts = "AdditionalFonts";
@@ -72,8 +72,9 @@ public class AvailableFontsResponse : WordsResponse {
7272
}
7373

7474
// Sets additionalFonts. Gets or sets the list of additional fonts, provided by Aspose team.
75-
public func setAdditionalFonts(additionalFonts : [FontInfo]?) {
75+
public func setAdditionalFonts(additionalFonts : [FontInfo]?) -> AvailableFontsResponse {
7676
self.additionalFonts = additionalFonts;
77+
return self;
7778
}
7879

7980
// Gets additionalFonts. Gets or sets the list of additional fonts, provided by Aspose team.
@@ -82,8 +83,9 @@ public class AvailableFontsResponse : WordsResponse {
8283
}
8384

8485
// Sets customFonts. Gets or sets the list of custom user fonts from user cloud storage. To use them, you should specify "fontsLocation" parameter in any request.
85-
public func setCustomFonts(customFonts : [FontInfo]?) {
86+
public func setCustomFonts(customFonts : [FontInfo]?) -> AvailableFontsResponse {
8687
self.customFonts = customFonts;
88+
return self;
8789
}
8890

8991
// Gets customFonts. Gets or sets the list of custom user fonts from user cloud storage. To use them, you should specify "fontsLocation" parameter in any request.
@@ -92,8 +94,9 @@ public class AvailableFontsResponse : WordsResponse {
9294
}
9395

9496
// Sets systemFonts. Gets or sets the list of system fonts, available on the server.
95-
public func setSystemFonts(systemFonts : [FontInfo]?) {
97+
public func setSystemFonts(systemFonts : [FontInfo]?) -> AvailableFontsResponse {
9698
self.systemFonts = systemFonts;
99+
return self;
97100
}
98101

99102
// Gets systemFonts. Gets or sets the list of system fonts, available on the server.

Sources/AsposeWordsCloud/Model/Bookmark.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ import Foundation
3030
// Represents a single bookmark.
3131
public class Bookmark : LinkElement {
3232
// Field of name. Represents a single bookmark.
33-
private var name : String?;
33+
public var name : String?;
3434

3535
// Field of text. Represents a single bookmark.
36-
private var text : String?;
36+
public var text : String?;
3737

3838
private enum CodingKeys: String, CodingKey {
3939
case name = "Name";
@@ -64,8 +64,9 @@ public class Bookmark : LinkElement {
6464
}
6565

6666
// Sets name. Gets or sets the name of the bookmark.
67-
public func setName(name : String?) {
67+
public func setName(name : String?) -> Bookmark {
6868
self.name = name;
69+
return self;
6970
}
7071

7172
// Gets name. Gets or sets the name of the bookmark.
@@ -74,8 +75,9 @@ public class Bookmark : LinkElement {
7475
}
7576

7677
// Sets text. Gets or sets text, enclosed in the bookmark.
77-
public func setText(text : String?) {
78+
public func setText(text : String?) -> Bookmark {
7879
self.text = text;
80+
return self;
7981
}
8082

8183
// Gets text. Gets or sets text, enclosed in the bookmark.

Sources/AsposeWordsCloud/Model/BookmarkData.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ import Foundation
3030
// DTO for bookmark updating.
3131
public class BookmarkData : Codable, WordsApiModel {
3232
// Field of name. DTO for bookmark updating.
33-
private var name : String?;
33+
public var name : String?;
3434

3535
// Field of text. DTO for bookmark updating.
36-
private var text : String?;
36+
public var text : String?;
3737

3838
private enum CodingKeys: String, CodingKey {
3939
case name = "Name";
@@ -61,8 +61,9 @@ public class BookmarkData : Codable, WordsApiModel {
6161
}
6262

6363
// Sets name. Gets or sets the name of the bookmark.
64-
public func setName(name : String?) {
64+
public func setName(name : String?) -> BookmarkData {
6565
self.name = name;
66+
return self;
6667
}
6768

6869
// Gets name. Gets or sets the name of the bookmark.
@@ -71,8 +72,9 @@ public class BookmarkData : Codable, WordsApiModel {
7172
}
7273

7374
// Sets text. Gets or sets text, enclosed in the bookmark.
74-
public func setText(text : String?) {
75+
public func setText(text : String?) -> BookmarkData {
7576
self.text = text;
77+
return self;
7678
}
7779

7880
// Gets text. Gets or sets text, enclosed in the bookmark.

Sources/AsposeWordsCloud/Model/BookmarkResponse.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import Foundation
3030
// The REST response with a bookmark.
3131
public class BookmarkResponse : WordsResponse {
3232
// Field of bookmark. The REST response with a bookmark.
33-
private var bookmark : Bookmark?;
33+
public var bookmark : Bookmark?;
3434

3535
private enum CodingKeys: String, CodingKey {
3636
case bookmark = "Bookmark";
@@ -56,8 +56,9 @@ public class BookmarkResponse : WordsResponse {
5656
}
5757

5858
// Sets bookmark. Gets or sets the bookmark.
59-
public func setBookmark(bookmark : Bookmark?) {
59+
public func setBookmark(bookmark : Bookmark?) -> BookmarkResponse {
6060
self.bookmark = bookmark;
61+
return self;
6162
}
6263

6364
// Gets bookmark. Gets or sets the bookmark.

Sources/AsposeWordsCloud/Model/Bookmarks.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import Foundation
3030
// Represents an array of bookmarks.
3131
public class Bookmarks : LinkElement {
3232
// Field of bookmarkList. Represents an array of bookmarks.
33-
private var bookmarkList : [Bookmark]?;
33+
public var bookmarkList : [Bookmark]?;
3434

3535
private enum CodingKeys: String, CodingKey {
3636
case bookmarkList = "BookmarkList";
@@ -56,8 +56,9 @@ public class Bookmarks : LinkElement {
5656
}
5757

5858
// Sets bookmarkList. Gets or sets the array of bookmarks.
59-
public func setBookmarkList(bookmarkList : [Bookmark]?) {
59+
public func setBookmarkList(bookmarkList : [Bookmark]?) -> Bookmarks {
6060
self.bookmarkList = bookmarkList;
61+
return self;
6162
}
6263

6364
// Gets bookmarkList. Gets or sets the array of bookmarks.

Sources/AsposeWordsCloud/Model/BookmarksOutlineLevelData.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ import Foundation
3030
// Container class for individual bookmarks outline level.
3131
public class BookmarksOutlineLevelData : Codable, WordsApiModel {
3232
// Field of bookmarksOutlineLevel. Container class for individual bookmarks outline level.
33-
private var bookmarksOutlineLevel : Int?;
33+
public var bookmarksOutlineLevel : Int?;
3434

3535
// Field of name. Container class for individual bookmarks outline level.
36-
private var name : String?;
36+
public var name : String?;
3737

3838
private enum CodingKeys: String, CodingKey {
3939
case bookmarksOutlineLevel = "BookmarksOutlineLevel";
@@ -61,8 +61,9 @@ public class BookmarksOutlineLevelData : Codable, WordsApiModel {
6161
}
6262

6363
// Sets bookmarksOutlineLevel. Gets or sets the bookmark's level.
64-
public func setBookmarksOutlineLevel(bookmarksOutlineLevel : Int?) {
64+
public func setBookmarksOutlineLevel(bookmarksOutlineLevel : Int?) -> BookmarksOutlineLevelData {
6565
self.bookmarksOutlineLevel = bookmarksOutlineLevel;
66+
return self;
6667
}
6768

6869
// Gets bookmarksOutlineLevel. Gets or sets the bookmark's level.
@@ -71,8 +72,9 @@ public class BookmarksOutlineLevelData : Codable, WordsApiModel {
7172
}
7273

7374
// Sets name. Gets or sets the bookmark's name.
74-
public func setName(name : String?) {
75+
public func setName(name : String?) -> BookmarksOutlineLevelData {
7576
self.name = name;
77+
return self;
7678
}
7779

7880
// Gets name. Gets or sets the bookmark's name.

0 commit comments

Comments
 (0)