diff --git a/AsposeCellsCloud.podspec b/AsposeCellsCloud.podspec index 57e179a..95f52bb 100644 --- a/AsposeCellsCloud.podspec +++ b/AsposeCellsCloud.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| # s.name = "AsposeCellsCloud" - s.version = "20.4.1" + s.version = "20.8" s.summary = "Aspose.Cells Cloud SDK for Swift." s.swift_version = "4.1" diff --git a/AsposeCellsCloud.xcodeproj/project.pbxproj b/AsposeCellsCloud.xcodeproj/project.pbxproj index 4a25a85..45bac0a 100644 --- a/AsposeCellsCloud.xcodeproj/project.pbxproj +++ b/AsposeCellsCloud.xcodeproj/project.pbxproj @@ -251,6 +251,8 @@ 6B4056DC22FC151600048C14 /* AsposeCellsCloudTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B4056DB22FC151500048C14 /* AsposeCellsCloudTests.swift */; }; 6B4056DE22FC152B00048C14 /* OAuthAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B4056DD22FC152A00048C14 /* OAuthAPITests.swift */; }; 6B4056E022FC169900048C14 /* CellsAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B4056DF22FC169900048C14 /* CellsAPITests.swift */; }; + 6B45767C24EA6F8B00048E17 /* CellsCloudFileInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B45767A24EA6F8B00048E17 /* CellsCloudFileInfo.swift */; }; + 6B45767D24EA6F8B00048E17 /* TextWaterMarkerRequest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B45767B24EA6F8B00048E17 /* TextWaterMarkerRequest.swift */; }; 6B495634231E56E700E78883 /* FilesList.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B495629231E56E700E78883 /* FilesList.swift */; }; 6B495635231E56E700E78883 /* CellsCloudResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B49562A231E56E700E78883 /* CellsCloudResponse.swift */; }; 6B495636231E56E700E78883 /* FileVersions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B49562B231E56E700E78883 /* FileVersions.swift */; }; @@ -553,6 +555,8 @@ 6B4056DB22FC151500048C14 /* AsposeCellsCloudTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AsposeCellsCloudTests.swift; sourceTree = ""; }; 6B4056DD22FC152A00048C14 /* OAuthAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = OAuthAPITests.swift; sourceTree = ""; }; 6B4056DF22FC169900048C14 /* CellsAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CellsAPITests.swift; sourceTree = ""; }; + 6B45767A24EA6F8B00048E17 /* CellsCloudFileInfo.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CellsCloudFileInfo.swift; sourceTree = ""; }; + 6B45767B24EA6F8B00048E17 /* TextWaterMarkerRequest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TextWaterMarkerRequest.swift; sourceTree = ""; }; 6B495629231E56E700E78883 /* FilesList.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FilesList.swift; sourceTree = ""; }; 6B49562A231E56E700E78883 /* CellsCloudResponse.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CellsCloudResponse.swift; sourceTree = ""; }; 6B49562B231E56E700E78883 /* FileVersions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FileVersions.swift; sourceTree = ""; }; @@ -689,6 +693,7 @@ 6B133C9F22C201B500B51B0D /* CellArea.swift */, 6B133BDA22C201B400B51B0D /* CellResponse.swift */, 6B133BC822C201B400B51B0D /* Cells.swift */, + 6B45767A24EA6F8B00048E17 /* CellsCloudFileInfo.swift */, 6B49562A231E56E700E78883 /* CellsCloudResponse.swift */, 6B133BE722C201B400B51B0D /* CellsColor.swift */, 6B133C2A22C201B500B51B0D /* CellsDocumentProperties.swift */, @@ -878,6 +883,7 @@ 6B133C0D22C201B500B51B0D /* TextItemsResponse.swift */, 6B133C3522C201B500B51B0D /* TextOptions.swift */, 6B133C6F22C201B500B51B0D /* TextureFill.swift */, + 6B45767B24EA6F8B00048E17 /* TextWaterMarkerRequest.swift */, 6B133C7122C201B500B51B0D /* ThemeColor.swift */, 6B133C3022C201B500B51B0D /* TilePicOption.swift */, 6B133C3F22C201B500B51B0D /* Title.swift */, @@ -1277,6 +1283,7 @@ 6B133CE622C201B500B51B0D /* GradientFillStop.swift in Sources */, 6B133CB022C201B500B51B0D /* AlamofireImplementations.swift in Sources */, 6B133D7322C201B500B51B0D /* StyleResponse.swift in Sources */, + 6B45767C24EA6F8B00048E17 /* CellsCloudFileInfo.swift in Sources */, 6B133CE922C201B500B51B0D /* SingleValueResponse.swift in Sources */, 6B133D3F22C201B500B51B0D /* Title.swift in Sources */, 6B133D2122C201B500B51B0D /* PasswordRequest.swift in Sources */, @@ -1404,6 +1411,7 @@ 6B133CFD22C201B500B51B0D /* MergedCellsResponse.swift in Sources */, 6B133D5D22C201B500B51B0D /* HorizontalPageBreakResponse.swift in Sources */, 6B133D8D22C201B500B51B0D /* Shapes.swift in Sources */, + 6B45767D24EA6F8B00048E17 /* TextWaterMarkerRequest.swift in Sources */, 6B133D6B22C201B500B51B0D /* ImportCSVDataOption.swift in Sources */, 6B133CC822C201B500B51B0D /* Cells.swift in Sources */, 6B133D8422C201B500B51B0D /* Comments.swift in Sources */, diff --git a/AsposeCellsCloud/Info.plist b/AsposeCellsCloud/Info.plist index 569960d..f39ad4c 100644 --- a/AsposeCellsCloud/Info.plist +++ b/AsposeCellsCloud/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 20.4.1 + 20.8 CFBundleVersion $(CURRENT_PROJECT_VERSION) diff --git a/AsposeCellsCloud/Swaggers/APIs/CellsAPI.swift b/AsposeCellsCloud/Swaggers/APIs/CellsAPI.swift index abd3001..d1ff441 100644 --- a/AsposeCellsCloud/Swaggers/APIs/CellsAPI.swift +++ b/AsposeCellsCloud/Swaggers/APIs/CellsAPI.swift @@ -25,11 +25,11 @@ open class CellsAPI { - parameter minute: (query) (optional, default to 0) - parameter second: (query) (optional, default to 0) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterDeleteWorksheetDateFilter(name: String, sheetName: String, fieldIndex: Int32, dateTimeGroupingType: String, year: Int32? = nil, month: Int32? = nil, day: Int32? = nil, hour: Int32? = nil, minute: Int32? = nil, second: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterDeleteWorksheetDateFilterWithRequestBuilder(name: name, sheetName: sheetName, fieldIndex: fieldIndex, dateTimeGroupingType: dateTimeGroupingType, year: year, month: month, day: day, hour: hour, minute: minute, second: second, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterDeleteWorksheetDateFilter(name: String, sheetName: String, fieldIndex: Int32, dateTimeGroupingType: String, year: Int32? = nil, month: Int32? = nil, day: Int32? = nil, hour: Int32? = nil, minute: Int32? = nil, second: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterDeleteWorksheetDateFilterWithRequestBuilder(name: name, sheetName: sheetName, fieldIndex: fieldIndex, dateTimeGroupingType: dateTimeGroupingType, year: year, month: month, day: day, hour: hour, minute: minute, second: second, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -54,11 +54,11 @@ open class CellsAPI { - parameter minute: (query) (optional, default to 0) - parameter second: (query) (optional, default to 0) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterDeleteWorksheetDateFilterWithRequestBuilder(name: String, sheetName: String, fieldIndex: Int32, dateTimeGroupingType: String, year: Int32? = nil, month: Int32? = nil, day: Int32? = nil, hour: Int32? = nil, minute: Int32? = nil, second: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterDeleteWorksheetDateFilterWithRequestBuilder(name: String, sheetName: String, fieldIndex: Int32, dateTimeGroupingType: String, year: Int32? = nil, month: Int32? = nil, day: Int32? = nil, hour: Int32? = nil, minute: Int32? = nil, second: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/dateFilter" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -80,7 +80,7 @@ open class CellsAPI { "minute": minute?.encodeToJSON(), "second": second?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -96,11 +96,11 @@ open class CellsAPI { - parameter fieldIndex: (query) - parameter criteria: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterDeleteWorksheetFilter(name: String, sheetName: String, fieldIndex: Int32, criteria: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterDeleteWorksheetFilterWithRequestBuilder(name: name, sheetName: sheetName, fieldIndex: fieldIndex, criteria: criteria, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterDeleteWorksheetFilter(name: String, sheetName: String, fieldIndex: Int32, criteria: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterDeleteWorksheetFilterWithRequestBuilder(name: name, sheetName: sheetName, fieldIndex: fieldIndex, criteria: criteria, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -119,11 +119,11 @@ open class CellsAPI { - parameter fieldIndex: (query) - parameter criteria: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterDeleteWorksheetFilterWithRequestBuilder(name: String, sheetName: String, fieldIndex: Int32, criteria: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterDeleteWorksheetFilterWithRequestBuilder(name: String, sheetName: String, fieldIndex: Int32, criteria: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/filter" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -139,7 +139,7 @@ open class CellsAPI { "fieldIndex": fieldIndex.encodeToJSON(), "criteria": criteria, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -153,11 +153,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterGetWorksheetAutoFilter(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: AutoFilterResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterGetWorksheetAutoFilterWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterGetWorksheetAutoFilter(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: AutoFilterResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterGetWorksheetAutoFilterWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -171,11 +171,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterGetWorksheetAutoFilterWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterGetWorksheetAutoFilterWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -189,7 +189,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -202,11 +202,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPostWorksheetAutoFilterRefresh(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPostWorksheetAutoFilterRefreshWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPostWorksheetAutoFilterRefresh(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPostWorksheetAutoFilterRefreshWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -222,11 +222,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPostWorksheetAutoFilterRefreshWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPostWorksheetAutoFilterRefreshWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/refresh" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -240,7 +240,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -255,11 +255,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter fieldIndex: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPostWorksheetMatchBlanks(name: String, sheetName: String, fieldIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPostWorksheetMatchBlanksWithRequestBuilder(name: name, sheetName: sheetName, fieldIndex: fieldIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPostWorksheetMatchBlanks(name: String, sheetName: String, fieldIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPostWorksheetMatchBlanksWithRequestBuilder(name: name, sheetName: sheetName, fieldIndex: fieldIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -277,11 +277,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter fieldIndex: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPostWorksheetMatchBlanksWithRequestBuilder(name: String, sheetName: String, fieldIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPostWorksheetMatchBlanksWithRequestBuilder(name: String, sheetName: String, fieldIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/matchBlanks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -296,7 +296,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "fieldIndex": fieldIndex.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -311,11 +311,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter fieldIndex: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPostWorksheetMatchNonBlanks(name: String, sheetName: String, fieldIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPostWorksheetMatchNonBlanksWithRequestBuilder(name: name, sheetName: sheetName, fieldIndex: fieldIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPostWorksheetMatchNonBlanks(name: String, sheetName: String, fieldIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPostWorksheetMatchNonBlanksWithRequestBuilder(name: name, sheetName: sheetName, fieldIndex: fieldIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -333,11 +333,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter fieldIndex: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPostWorksheetMatchNonBlanksWithRequestBuilder(name: String, sheetName: String, fieldIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPostWorksheetMatchNonBlanksWithRequestBuilder(name: String, sheetName: String, fieldIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/matchNonBlanks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -352,7 +352,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "fieldIndex": fieldIndex.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -370,11 +370,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPutWorksheetColorFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, colorFilter: ColorFilterRequest? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPutWorksheetColorFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, colorFilter: colorFilter, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPutWorksheetColorFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, colorFilter: ColorFilterRequest? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPutWorksheetColorFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, colorFilter: colorFilter, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -395,11 +395,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPutWorksheetColorFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, colorFilter: ColorFilterRequest? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPutWorksheetColorFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, colorFilter: ColorFilterRequest? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/colorFilter" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -417,7 +417,7 @@ open class CellsAPI { "matchBlanks": matchBlanks, "refresh": refresh, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -440,11 +440,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPutWorksheetCustomFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, operatorType1: String, criteria1: String, isAnd: Bool? = nil, operatorType2: String? = nil, criteria2: String? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPutWorksheetCustomFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, operatorType1: operatorType1, criteria1: criteria1, isAnd: isAnd, operatorType2: operatorType2, criteria2: criteria2, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPutWorksheetCustomFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, operatorType1: String, criteria1: String, isAnd: Bool? = nil, operatorType2: String? = nil, criteria2: String? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPutWorksheetCustomFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, operatorType1: operatorType1, criteria1: criteria1, isAnd: isAnd, operatorType2: operatorType2, criteria2: criteria2, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -470,11 +470,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPutWorksheetCustomFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, operatorType1: String, criteria1: String, isAnd: Bool? = nil, operatorType2: String? = nil, criteria2: String? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPutWorksheetCustomFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, operatorType1: String, criteria1: String, isAnd: Bool? = nil, operatorType2: String? = nil, criteria2: String? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/custom" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -497,7 +497,7 @@ open class CellsAPI { "matchBlanks": matchBlanks, "refresh": refresh, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -522,11 +522,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPutWorksheetDateFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, dateTimeGroupingType: String, year: Int32? = nil, month: Int32? = nil, day: Int32? = nil, hour: Int32? = nil, minute: Int32? = nil, second: Int32? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPutWorksheetDateFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, dateTimeGroupingType: dateTimeGroupingType, year: year, month: month, day: day, hour: hour, minute: minute, second: second, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPutWorksheetDateFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, dateTimeGroupingType: String, year: Int32? = nil, month: Int32? = nil, day: Int32? = nil, hour: Int32? = nil, minute: Int32? = nil, second: Int32? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPutWorksheetDateFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, dateTimeGroupingType: dateTimeGroupingType, year: year, month: month, day: day, hour: hour, minute: minute, second: second, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -554,11 +554,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPutWorksheetDateFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, dateTimeGroupingType: String, year: Int32? = nil, month: Int32? = nil, day: Int32? = nil, hour: Int32? = nil, minute: Int32? = nil, second: Int32? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPutWorksheetDateFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, dateTimeGroupingType: String, year: Int32? = nil, month: Int32? = nil, day: Int32? = nil, hour: Int32? = nil, minute: Int32? = nil, second: Int32? = nil, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/dateFilter" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -583,7 +583,7 @@ open class CellsAPI { "matchBlanks": matchBlanks, "refresh": refresh, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -601,11 +601,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPutWorksheetDynamicFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, dynamicFilterType: String, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPutWorksheetDynamicFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, dynamicFilterType: dynamicFilterType, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPutWorksheetDynamicFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, dynamicFilterType: String, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPutWorksheetDynamicFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, dynamicFilterType: dynamicFilterType, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -626,11 +626,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPutWorksheetDynamicFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, dynamicFilterType: String, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPutWorksheetDynamicFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, dynamicFilterType: String, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/dynamicFilter" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -649,7 +649,7 @@ open class CellsAPI { "matchBlanks": matchBlanks, "refresh": refresh, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -668,11 +668,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPutWorksheetFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, criteria: String, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPutWorksheetFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, criteria: criteria, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPutWorksheetFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, criteria: String, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPutWorksheetFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, criteria: criteria, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -694,11 +694,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPutWorksheetFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, criteria: String, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPutWorksheetFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, criteria: String, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/filter" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -717,7 +717,7 @@ open class CellsAPI { "matchBlanks": matchBlanks, "refresh": refresh, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -738,11 +738,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPutWorksheetFilterTop10(name: String, sheetName: String, range: String, fieldIndex: Int32, isTop: Bool, isPercent: Bool, itemCount: Int32, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPutWorksheetFilterTop10WithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, isTop: isTop, isPercent: isPercent, itemCount: itemCount, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPutWorksheetFilterTop10(name: String, sheetName: String, range: String, fieldIndex: Int32, isTop: Bool, isPercent: Bool, itemCount: Int32, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPutWorksheetFilterTop10WithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, isTop: isTop, isPercent: isPercent, itemCount: itemCount, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -766,11 +766,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPutWorksheetFilterTop10WithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, isTop: Bool, isPercent: Bool, itemCount: Int32, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPutWorksheetFilterTop10WithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, isTop: Bool, isPercent: Bool, itemCount: Int32, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/filterTop10" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -791,7 +791,7 @@ open class CellsAPI { "matchBlanks": matchBlanks, "refresh": refresh, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -811,11 +811,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoFilterPutWorksheetIconFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, iconSetType: String, iconId: Int32, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsAutoFilterPutWorksheetIconFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, iconSetType: iconSetType, iconId: iconId, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoFilterPutWorksheetIconFilter(name: String, sheetName: String, range: String, fieldIndex: Int32, iconSetType: String, iconId: Int32, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsAutoFilterPutWorksheetIconFilterWithRequestBuilder(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, iconSetType: iconSetType, iconId: iconId, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -838,11 +838,11 @@ open class CellsAPI { - parameter matchBlanks: (query) (optional) - parameter refresh: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoFilterPutWorksheetIconFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, iconSetType: String, iconId: Int32, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoFilterPutWorksheetIconFilterWithRequestBuilder(name: String, sheetName: String, range: String, fieldIndex: Int32, iconSetType: String, iconId: Int32, matchBlanks: Bool? = nil, refresh: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoFilter/iconFilter" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -862,7 +862,7 @@ open class CellsAPI { "matchBlanks": matchBlanks, "refresh": refresh, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -878,11 +878,11 @@ open class CellsAPI { - parameter autoshapeNumber: (path) The autoshape number. - parameter format: (query) Exported format. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoshapesGetWorksheetAutoshape(name: String, sheetName: String, autoshapeNumber: Int32, format: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { - cellsAutoshapesGetWorksheetAutoshapeWithRequestBuilder(name: name, sheetName: sheetName, autoshapeNumber: autoshapeNumber, format: format, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoshapesGetWorksheetAutoshape(name: String, sheetName: String, autoshapeNumber: Int32, format: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { + cellsAutoshapesGetWorksheetAutoshapeWithRequestBuilder(name: name, sheetName: sheetName, autoshapeNumber: autoshapeNumber, format: format, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -898,11 +898,11 @@ open class CellsAPI { - parameter autoshapeNumber: (path) The autoshape number. - parameter format: (query) Exported format. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoshapesGetWorksheetAutoshapeWithRequestBuilder(name: String, sheetName: String, autoshapeNumber: Int32, format: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoshapesGetWorksheetAutoshapeWithRequestBuilder(name: String, sheetName: String, autoshapeNumber: Int32, format: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoshapes/{autoshapeNumber}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -920,7 +920,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "format": format, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -934,11 +934,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsAutoshapesGetWorksheetAutoshapes(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: AutoShapesResponse?,_ error: Error?) -> Void)) { - cellsAutoshapesGetWorksheetAutoshapesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsAutoshapesGetWorksheetAutoshapes(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: AutoShapesResponse?,_ error: Error?) -> Void)) { + cellsAutoshapesGetWorksheetAutoshapesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -952,11 +952,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsAutoshapesGetWorksheetAutoshapesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsAutoshapesGetWorksheetAutoshapesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autoshapes" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -970,7 +970,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -985,11 +985,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartAreaGetChartArea(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ChartAreaResponse?,_ error: Error?) -> Void)) { - cellsChartAreaGetChartAreaWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartAreaGetChartArea(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ChartAreaResponse?,_ error: Error?) -> Void)) { + cellsChartAreaGetChartAreaWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1004,11 +1004,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartAreaGetChartAreaWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartAreaGetChartAreaWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/chartArea" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1025,7 +1025,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1040,11 +1040,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartAreaGetChartAreaBorder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: LineResponse?,_ error: Error?) -> Void)) { - cellsChartAreaGetChartAreaBorderWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartAreaGetChartAreaBorder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: LineResponse?,_ error: Error?) -> Void)) { + cellsChartAreaGetChartAreaBorderWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1059,11 +1059,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartAreaGetChartAreaBorderWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartAreaGetChartAreaBorderWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/chartArea/border" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1080,7 +1080,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1095,11 +1095,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartAreaGetChartAreaFillFormat(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: FillFormatResponse?,_ error: Error?) -> Void)) { - cellsChartAreaGetChartAreaFillFormatWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartAreaGetChartAreaFillFormat(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: FillFormatResponse?,_ error: Error?) -> Void)) { + cellsChartAreaGetChartAreaFillFormatWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1114,11 +1114,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartAreaGetChartAreaFillFormatWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartAreaGetChartAreaFillFormatWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/chartArea/fillFormat" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1135,7 +1135,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1150,11 +1150,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsDeleteWorksheetChartLegend(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsChartsDeleteWorksheetChartLegendWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsDeleteWorksheetChartLegend(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsChartsDeleteWorksheetChartLegendWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1172,11 +1172,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsDeleteWorksheetChartLegendWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsDeleteWorksheetChartLegendWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1193,7 +1193,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1208,11 +1208,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsDeleteWorksheetChartTitle(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsChartsDeleteWorksheetChartTitleWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsDeleteWorksheetChartTitle(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsChartsDeleteWorksheetChartTitleWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1230,11 +1230,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsDeleteWorksheetChartTitleWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsDeleteWorksheetChartTitleWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1251,7 +1251,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1265,11 +1265,11 @@ open class CellsAPI { - parameter name: (path) Workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsDeleteWorksheetClearCharts(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsChartsDeleteWorksheetClearChartsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsDeleteWorksheetClearCharts(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsChartsDeleteWorksheetClearChartsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1286,11 +1286,11 @@ open class CellsAPI { - parameter name: (path) Workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsDeleteWorksheetClearChartsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsDeleteWorksheetClearChartsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1304,7 +1304,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1319,11 +1319,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsDeleteWorksheetDeleteChart(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ChartsResponse?,_ error: Error?) -> Void)) { - cellsChartsDeleteWorksheetDeleteChartWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsDeleteWorksheetDeleteChart(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ChartsResponse?,_ error: Error?) -> Void)) { + cellsChartsDeleteWorksheetDeleteChartWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1338,11 +1338,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsDeleteWorksheetDeleteChartWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsDeleteWorksheetDeleteChartWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1359,7 +1359,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1375,11 +1375,11 @@ open class CellsAPI { - parameter chartNumber: (path) The chart number. - parameter format: (query) The exported file format. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsGetWorksheetChart(name: String, sheetName: String, chartNumber: Int32, format: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { - cellsChartsGetWorksheetChartWithRequestBuilder(name: name, sheetName: sheetName, chartNumber: chartNumber, format: format, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsGetWorksheetChart(name: String, sheetName: String, chartNumber: Int32, format: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { + cellsChartsGetWorksheetChartWithRequestBuilder(name: name, sheetName: sheetName, chartNumber: chartNumber, format: format, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1395,11 +1395,11 @@ open class CellsAPI { - parameter chartNumber: (path) The chart number. - parameter format: (query) The exported file format. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsGetWorksheetChartWithRequestBuilder(name: String, sheetName: String, chartNumber: Int32, format: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsGetWorksheetChartWithRequestBuilder(name: String, sheetName: String, chartNumber: Int32, format: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartNumber}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1417,7 +1417,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "format": format, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1432,11 +1432,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsGetWorksheetChartLegend(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: LegendResponse?,_ error: Error?) -> Void)) { - cellsChartsGetWorksheetChartLegendWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsGetWorksheetChartLegend(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: LegendResponse?,_ error: Error?) -> Void)) { + cellsChartsGetWorksheetChartLegendWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1451,11 +1451,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsGetWorksheetChartLegendWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsGetWorksheetChartLegendWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1472,7 +1472,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1487,11 +1487,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsGetWorksheetChartTitle(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: TitleResponse?,_ error: Error?) -> Void)) { - cellsChartsGetWorksheetChartTitleWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsGetWorksheetChartTitle(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: TitleResponse?,_ error: Error?) -> Void)) { + cellsChartsGetWorksheetChartTitleWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1506,11 +1506,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsGetWorksheetChartTitleWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsGetWorksheetChartTitleWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1527,7 +1527,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1541,11 +1541,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsGetWorksheetCharts(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ChartsResponse?,_ error: Error?) -> Void)) { - cellsChartsGetWorksheetChartsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsGetWorksheetCharts(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ChartsResponse?,_ error: Error?) -> Void)) { + cellsChartsGetWorksheetChartsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1559,11 +1559,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsGetWorksheetChartsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsGetWorksheetChartsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1577,7 +1577,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1593,11 +1593,11 @@ open class CellsAPI { - parameter chartIndex: (path) - parameter chart: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsPostWorksheetChart(name: String, sheetName: String, chartIndex: Int32, chart: Chart? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsChartsPostWorksheetChartWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, chart: chart, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsPostWorksheetChart(name: String, sheetName: String, chartIndex: Int32, chart: Chart? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsChartsPostWorksheetChartWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, chart: chart, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1616,11 +1616,11 @@ open class CellsAPI { - parameter chartIndex: (path) - parameter chart: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsPostWorksheetChartWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, chart: Chart? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsPostWorksheetChartWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, chart: Chart? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1637,7 +1637,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1653,11 +1653,11 @@ open class CellsAPI { - parameter chartIndex: (path) The chart index. - parameter legend: (body) (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsPostWorksheetChartLegend(name: String, sheetName: String, chartIndex: Int32, legend: Legend? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: LegendResponse?,_ error: Error?) -> Void)) { - cellsChartsPostWorksheetChartLegendWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, legend: legend, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsPostWorksheetChartLegend(name: String, sheetName: String, chartIndex: Int32, legend: Legend? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: LegendResponse?,_ error: Error?) -> Void)) { + cellsChartsPostWorksheetChartLegendWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, legend: legend, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1673,11 +1673,11 @@ open class CellsAPI { - parameter chartIndex: (path) The chart index. - parameter legend: (body) (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsPostWorksheetChartLegendWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, legend: Legend? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsPostWorksheetChartLegendWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, legend: Legend? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1694,7 +1694,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1710,11 +1710,11 @@ open class CellsAPI { - parameter chartIndex: (path) The chart index. - parameter title: (body) Chart title (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsPostWorksheetChartTitle(name: String, sheetName: String, chartIndex: Int32, title: Title? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: TitleResponse?,_ error: Error?) -> Void)) { - cellsChartsPostWorksheetChartTitleWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, title: title, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsPostWorksheetChartTitle(name: String, sheetName: String, chartIndex: Int32, title: Title? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: TitleResponse?,_ error: Error?) -> Void)) { + cellsChartsPostWorksheetChartTitleWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, title: title, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1730,11 +1730,11 @@ open class CellsAPI { - parameter chartIndex: (path) The chart index. - parameter title: (body) Chart title (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsPostWorksheetChartTitleWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, title: Title? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsPostWorksheetChartTitleWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, title: Title? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1751,7 +1751,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1775,11 +1775,11 @@ open class CellsAPI { - parameter isAutoGetSerialName: (query) Specifies whether auto update serial name. (optional, default to true) - parameter title: (query) Specifies chart title name. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsPutWorksheetAddChart(name: String, sheetName: String, chartType: String, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, lowerRightRow: Int32? = nil, lowerRightColumn: Int32? = nil, area: String? = nil, isVertical: Bool? = nil, categoryData: String? = nil, isAutoGetSerialName: Bool? = nil, title: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ChartsResponse?,_ error: Error?) -> Void)) { - cellsChartsPutWorksheetAddChartWithRequestBuilder(name: name, sheetName: sheetName, chartType: chartType, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, lowerRightRow: lowerRightRow, lowerRightColumn: lowerRightColumn, area: area, isVertical: isVertical, categoryData: categoryData, isAutoGetSerialName: isAutoGetSerialName, title: title, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsPutWorksheetAddChart(name: String, sheetName: String, chartType: String, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, lowerRightRow: Int32? = nil, lowerRightColumn: Int32? = nil, area: String? = nil, isVertical: Bool? = nil, categoryData: String? = nil, isAutoGetSerialName: Bool? = nil, title: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ChartsResponse?,_ error: Error?) -> Void)) { + cellsChartsPutWorksheetAddChartWithRequestBuilder(name: name, sheetName: sheetName, chartType: chartType, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, lowerRightRow: lowerRightRow, lowerRightColumn: lowerRightColumn, area: area, isVertical: isVertical, categoryData: categoryData, isAutoGetSerialName: isAutoGetSerialName, title: title, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1803,11 +1803,11 @@ open class CellsAPI { - parameter isAutoGetSerialName: (query) Specifies whether auto update serial name. (optional, default to true) - parameter title: (query) Specifies chart title name. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsPutWorksheetAddChartWithRequestBuilder(name: String, sheetName: String, chartType: String, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, lowerRightRow: Int32? = nil, lowerRightColumn: Int32? = nil, area: String? = nil, isVertical: Bool? = nil, categoryData: String? = nil, isAutoGetSerialName: Bool? = nil, title: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsPutWorksheetAddChartWithRequestBuilder(name: String, sheetName: String, chartType: String, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, lowerRightRow: Int32? = nil, lowerRightColumn: Int32? = nil, area: String? = nil, isVertical: Bool? = nil, categoryData: String? = nil, isAutoGetSerialName: Bool? = nil, title: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1831,7 +1831,7 @@ open class CellsAPI { "isAutoGetSerialName": isAutoGetSerialName, "title": title, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1846,11 +1846,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsPutWorksheetChartLegend(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsChartsPutWorksheetChartLegendWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsPutWorksheetChartLegend(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsChartsPutWorksheetChartLegendWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1868,11 +1868,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter chartIndex: (path) The chart index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsPutWorksheetChartLegendWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsPutWorksheetChartLegendWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1889,7 +1889,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1905,11 +1905,11 @@ open class CellsAPI { - parameter chartIndex: (path) The chart index. - parameter title: (body) Chart title. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsChartsPutWorksheetChartTitle(name: String, sheetName: String, chartIndex: Int32, title: Title? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: TitleResponse?,_ error: Error?) -> Void)) { - cellsChartsPutWorksheetChartTitleWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, title: title, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsChartsPutWorksheetChartTitle(name: String, sheetName: String, chartIndex: Int32, title: Title? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: TitleResponse?,_ error: Error?) -> Void)) { + cellsChartsPutWorksheetChartTitleWithRequestBuilder(name: name, sheetName: sheetName, chartIndex: chartIndex, title: title, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1925,11 +1925,11 @@ open class CellsAPI { - parameter chartIndex: (path) The chart index. - parameter title: (body) Chart title. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsChartsPutWorksheetChartTitleWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, title: Title? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsChartsPutWorksheetChartTitleWithRequestBuilder(name: String, sheetName: String, chartIndex: Int32, title: Title? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -1946,7 +1946,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -1961,11 +1961,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormatting(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsConditionalFormattingsDeleteWorksheetConditionalFormattingWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormatting(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsConditionalFormattingsDeleteWorksheetConditionalFormattingWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -1983,11 +1983,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattingWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattingWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2004,7 +2004,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2022,11 +2022,11 @@ open class CellsAPI { - parameter totalRows: (query) - parameter totalColumns: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattingArea(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsConditionalFormattingsDeleteWorksheetConditionalFormattingAreaWithRequestBuilder(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattingArea(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsConditionalFormattingsDeleteWorksheetConditionalFormattingAreaWithRequestBuilder(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2047,11 +2047,11 @@ open class CellsAPI { - parameter totalRows: (query) - parameter totalColumns: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattingAreaWithRequestBuilder(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattingAreaWithRequestBuilder(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/area" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2069,7 +2069,7 @@ open class CellsAPI { "totalRows": totalRows.encodeToJSON(), "totalColumns": totalColumns.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2083,11 +2083,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattings(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsConditionalFormattingsDeleteWorksheetConditionalFormattingsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattings(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsConditionalFormattingsDeleteWorksheetConditionalFormattingsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2104,11 +2104,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattingsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsConditionalFormattingsDeleteWorksheetConditionalFormattingsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2122,7 +2122,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2137,11 +2137,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsConditionalFormattingsGetWorksheetConditionalFormatting(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ConditionalFormattingResponse?,_ error: Error?) -> Void)) { - cellsConditionalFormattingsGetWorksheetConditionalFormattingWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsConditionalFormattingsGetWorksheetConditionalFormatting(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ConditionalFormattingResponse?,_ error: Error?) -> Void)) { + cellsConditionalFormattingsGetWorksheetConditionalFormattingWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2156,11 +2156,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsConditionalFormattingsGetWorksheetConditionalFormattingWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsConditionalFormattingsGetWorksheetConditionalFormattingWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2177,7 +2177,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2191,11 +2191,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsConditionalFormattingsGetWorksheetConditionalFormattings(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ConditionalFormattingsResponse?,_ error: Error?) -> Void)) { - cellsConditionalFormattingsGetWorksheetConditionalFormattingsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsConditionalFormattingsGetWorksheetConditionalFormattings(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ConditionalFormattingsResponse?,_ error: Error?) -> Void)) { + cellsConditionalFormattingsGetWorksheetConditionalFormattingsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2209,11 +2209,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsConditionalFormattingsGetWorksheetConditionalFormattingsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsConditionalFormattingsGetWorksheetConditionalFormattingsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2227,7 +2227,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2243,11 +2243,11 @@ open class CellsAPI { - parameter cellArea: (query) - parameter formatCondition: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsConditionalFormattingsPutWorksheetConditionalFormatting(name: String, sheetName: String, cellArea: String, formatCondition: FormatCondition? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsConditionalFormattingsPutWorksheetConditionalFormattingWithRequestBuilder(name: name, sheetName: sheetName, cellArea: cellArea, formatCondition: formatCondition, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsConditionalFormattingsPutWorksheetConditionalFormatting(name: String, sheetName: String, cellArea: String, formatCondition: FormatCondition? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsConditionalFormattingsPutWorksheetConditionalFormattingWithRequestBuilder(name: name, sheetName: sheetName, cellArea: cellArea, formatCondition: formatCondition, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2266,11 +2266,11 @@ open class CellsAPI { - parameter cellArea: (query) - parameter formatCondition: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsConditionalFormattingsPutWorksheetConditionalFormattingWithRequestBuilder(name: String, sheetName: String, cellArea: String, formatCondition: FormatCondition? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsConditionalFormattingsPutWorksheetConditionalFormattingWithRequestBuilder(name: String, sheetName: String, cellArea: String, formatCondition: FormatCondition? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2285,7 +2285,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "cellArea": cellArea, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2305,11 +2305,11 @@ open class CellsAPI { - parameter formula1: (query) - parameter formula2: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsConditionalFormattingsPutWorksheetFormatCondition(name: String, sheetName: String, index: Int32, cellArea: String, type: String, operatorType: String, formula1: String, formula2: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsConditionalFormattingsPutWorksheetFormatConditionWithRequestBuilder(name: name, sheetName: sheetName, index: index, cellArea: cellArea, type: type, operatorType: operatorType, formula1: formula1, formula2: formula2, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsConditionalFormattingsPutWorksheetFormatCondition(name: String, sheetName: String, index: Int32, cellArea: String, type: String, operatorType: String, formula1: String, formula2: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsConditionalFormattingsPutWorksheetFormatConditionWithRequestBuilder(name: name, sheetName: sheetName, index: index, cellArea: cellArea, type: type, operatorType: operatorType, formula1: formula1, formula2: formula2, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2332,11 +2332,11 @@ open class CellsAPI { - parameter formula1: (query) - parameter formula2: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsConditionalFormattingsPutWorksheetFormatConditionWithRequestBuilder(name: String, sheetName: String, index: Int32, cellArea: String, type: String, operatorType: String, formula1: String, formula2: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsConditionalFormattingsPutWorksheetFormatConditionWithRequestBuilder(name: String, sheetName: String, index: Int32, cellArea: String, type: String, operatorType: String, formula1: String, formula2: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2358,7 +2358,7 @@ open class CellsAPI { "formula1": formula1, "formula2": formula2, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2374,11 +2374,11 @@ open class CellsAPI { - parameter index: (path) - parameter cellArea: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsConditionalFormattingsPutWorksheetFormatConditionArea(name: String, sheetName: String, index: Int32, cellArea: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsConditionalFormattingsPutWorksheetFormatConditionAreaWithRequestBuilder(name: name, sheetName: sheetName, index: index, cellArea: cellArea, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsConditionalFormattingsPutWorksheetFormatConditionArea(name: String, sheetName: String, index: Int32, cellArea: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsConditionalFormattingsPutWorksheetFormatConditionAreaWithRequestBuilder(name: name, sheetName: sheetName, index: index, cellArea: cellArea, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2397,11 +2397,11 @@ open class CellsAPI { - parameter index: (path) - parameter cellArea: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsConditionalFormattingsPutWorksheetFormatConditionAreaWithRequestBuilder(name: String, sheetName: String, index: Int32, cellArea: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsConditionalFormattingsPutWorksheetFormatConditionAreaWithRequestBuilder(name: String, sheetName: String, index: Int32, cellArea: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}/area" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2419,7 +2419,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "cellArea": cellArea, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2438,11 +2438,11 @@ open class CellsAPI { - parameter formula1: (query) - parameter formula2: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsConditionalFormattingsPutWorksheetFormatConditionCondition(name: String, sheetName: String, index: Int32, type: String, operatorType: String, formula1: String, formula2: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsConditionalFormattingsPutWorksheetFormatConditionConditionWithRequestBuilder(name: name, sheetName: sheetName, index: index, type: type, operatorType: operatorType, formula1: formula1, formula2: formula2, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsConditionalFormattingsPutWorksheetFormatConditionCondition(name: String, sheetName: String, index: Int32, type: String, operatorType: String, formula1: String, formula2: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsConditionalFormattingsPutWorksheetFormatConditionConditionWithRequestBuilder(name: name, sheetName: sheetName, index: index, type: type, operatorType: operatorType, formula1: formula1, formula2: formula2, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2464,11 +2464,11 @@ open class CellsAPI { - parameter formula1: (query) - parameter formula2: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsConditionalFormattingsPutWorksheetFormatConditionConditionWithRequestBuilder(name: String, sheetName: String, index: Int32, type: String, operatorType: String, formula1: String, formula2: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsConditionalFormattingsPutWorksheetFormatConditionConditionWithRequestBuilder(name: String, sheetName: String, index: Int32, type: String, operatorType: String, formula1: String, formula2: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}/condition" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2489,7 +2489,7 @@ open class CellsAPI { "formula1": formula1, "formula2": formula2, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2506,11 +2506,11 @@ open class CellsAPI { - parameter columns: (query) The columns. - parameter updateReference: (query) The update reference. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsDeleteWorksheetColumns(name: String, sheetName: String, columnIndex: Int32, columns: Int32, updateReference: Bool, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ColumnsResponse?,_ error: Error?) -> Void)) { - cellsDeleteWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, columns: columns, updateReference: updateReference, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsDeleteWorksheetColumns(name: String, sheetName: String, columnIndex: Int32, columns: Int32, updateReference: Bool, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ColumnsResponse?,_ error: Error?) -> Void)) { + cellsDeleteWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, columns: columns, updateReference: updateReference, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2527,11 +2527,11 @@ open class CellsAPI { - parameter columns: (query) The columns. - parameter updateReference: (query) The update reference. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsDeleteWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, columns: Int32, updateReference: Bool, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsDeleteWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, columns: Int32, updateReference: Bool, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2550,7 +2550,7 @@ open class CellsAPI { "columns": columns.encodeToJSON(), "updateReference": updateReference, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2565,11 +2565,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet bame. - parameter rowIndex: (path) The row index. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsDeleteWorksheetRow(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsDeleteWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsDeleteWorksheetRow(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsDeleteWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2587,11 +2587,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet bame. - parameter rowIndex: (path) The row index. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsDeleteWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsDeleteWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2608,7 +2608,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2625,11 +2625,11 @@ open class CellsAPI { - parameter totalRows: (query) Number of rows to be operated. (optional, default to 1) - parameter updateReference: (query) Indicates if update references in other worksheets. (optional, default to true) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsDeleteWorksheetRows(name: String, sheetName: String, startrow: Int32, totalRows: Int32? = nil, updateReference: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsDeleteWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, updateReference: updateReference, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsDeleteWorksheetRows(name: String, sheetName: String, startrow: Int32, totalRows: Int32? = nil, updateReference: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsDeleteWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, updateReference: updateReference, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2649,11 +2649,11 @@ open class CellsAPI { - parameter totalRows: (query) Number of rows to be operated. (optional, default to 1) - parameter updateReference: (query) Indicates if update references in other worksheets. (optional, default to true) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsDeleteWorksheetRowsWithRequestBuilder(name: String, sheetName: String, startrow: Int32, totalRows: Int32? = nil, updateReference: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsDeleteWorksheetRowsWithRequestBuilder(name: String, sheetName: String, startrow: Int32, totalRows: Int32? = nil, updateReference: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2670,7 +2670,7 @@ open class CellsAPI { "totalRows": totalRows?.encodeToJSON(), "updateReference": updateReference, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2685,11 +2685,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter cellName: (path) The cell's name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsGetCellHtmlString(name: String, sheetName: String, cellName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: AnyObject?,_ error: Error?) -> Void)) { - cellsGetCellHtmlStringWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsGetCellHtmlString(name: String, sheetName: String, cellName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: AnyObject?,_ error: Error?) -> Void)) { + cellsGetCellHtmlStringWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2704,11 +2704,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter cellName: (path) The cell's name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsGetCellHtmlStringWithRequestBuilder(name: String, sheetName: String, cellName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsGetCellHtmlStringWithRequestBuilder(name: String, sheetName: String, cellName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/htmlstring" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2725,7 +2725,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2740,11 +2740,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter cellOrMethodName: (path) The cell's or method name. (Method name like firstcell, endcell etc.) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsGetWorksheetCell(name: String, sheetName: String, cellOrMethodName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: AnyObject?,_ error: Error?) -> Void)) { - cellsGetWorksheetCellWithRequestBuilder(name: name, sheetName: sheetName, cellOrMethodName: cellOrMethodName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsGetWorksheetCell(name: String, sheetName: String, cellOrMethodName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: AnyObject?,_ error: Error?) -> Void)) { + cellsGetWorksheetCellWithRequestBuilder(name: name, sheetName: sheetName, cellOrMethodName: cellOrMethodName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2759,11 +2759,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter cellOrMethodName: (path) The cell's or method name. (Method name like firstcell, endcell etc.) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsGetWorksheetCellWithRequestBuilder(name: String, sheetName: String, cellOrMethodName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsGetWorksheetCellWithRequestBuilder(name: String, sheetName: String, cellOrMethodName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/{cellOrMethodName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2780,7 +2780,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2795,11 +2795,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter cellName: (path) Cell's name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsGetWorksheetCellStyle(name: String, sheetName: String, cellName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: StyleResponse?,_ error: Error?) -> Void)) { - cellsGetWorksheetCellStyleWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsGetWorksheetCellStyle(name: String, sheetName: String, cellName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: StyleResponse?,_ error: Error?) -> Void)) { + cellsGetWorksheetCellStyleWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2814,11 +2814,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter cellName: (path) Cell's name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsGetWorksheetCellStyleWithRequestBuilder(name: String, sheetName: String, cellName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsGetWorksheetCellStyleWithRequestBuilder(name: String, sheetName: String, cellName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/style" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2835,7 +2835,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2851,11 +2851,11 @@ open class CellsAPI { - parameter offest: (query) Begginig offset. (optional, default to 0) - parameter count: (query) Maximum amount of cells in the response. (optional, default to 0) - parameter folder: (query) Document's folder name. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsGetWorksheetCells(name: String, sheetName: String, offest: Int32? = nil, count: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsResponse?,_ error: Error?) -> Void)) { - cellsGetWorksheetCellsWithRequestBuilder(name: name, sheetName: sheetName, offest: offest, count: count, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsGetWorksheetCells(name: String, sheetName: String, offest: Int32? = nil, count: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsResponse?,_ error: Error?) -> Void)) { + cellsGetWorksheetCellsWithRequestBuilder(name: name, sheetName: sheetName, offest: offest, count: count, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2871,11 +2871,11 @@ open class CellsAPI { - parameter offest: (query) Begginig offset. (optional, default to 0) - parameter count: (query) Maximum amount of cells in the response. (optional, default to 0) - parameter folder: (query) Document's folder name. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsGetWorksheetCellsWithRequestBuilder(name: String, sheetName: String, offest: Int32? = nil, count: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsGetWorksheetCellsWithRequestBuilder(name: String, sheetName: String, offest: Int32? = nil, count: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2891,7 +2891,7 @@ open class CellsAPI { "offest": offest?.encodeToJSON(), "count": count?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2906,11 +2906,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter columnIndex: (path) The column index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsGetWorksheetColumn(name: String, sheetName: String, columnIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ColumnResponse?,_ error: Error?) -> Void)) { - cellsGetWorksheetColumnWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsGetWorksheetColumn(name: String, sheetName: String, columnIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ColumnResponse?,_ error: Error?) -> Void)) { + cellsGetWorksheetColumnWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2925,11 +2925,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter columnIndex: (path) The column index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsGetWorksheetColumnWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsGetWorksheetColumnWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2946,7 +2946,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -2960,11 +2960,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The workdook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsGetWorksheetColumns(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ColumnsResponse?,_ error: Error?) -> Void)) { - cellsGetWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsGetWorksheetColumns(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ColumnsResponse?,_ error: Error?) -> Void)) { + cellsGetWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -2978,11 +2978,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The workdook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsGetWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsGetWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -2996,7 +2996,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3011,11 +3011,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter rowIndex: (path) The row index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsGetWorksheetRow(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: RowResponse?,_ error: Error?) -> Void)) { - cellsGetWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsGetWorksheetRow(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: RowResponse?,_ error: Error?) -> Void)) { + cellsGetWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3030,11 +3030,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter rowIndex: (path) The row index. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsGetWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsGetWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3051,7 +3051,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3065,11 +3065,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The workdook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsGetWorksheetRows(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: RowsResponse?,_ error: Error?) -> Void)) { - cellsGetWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsGetWorksheetRows(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: RowsResponse?,_ error: Error?) -> Void)) { + cellsGetWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3083,11 +3083,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The workdook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsGetWorksheetRowsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsGetWorksheetRowsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3101,7 +3101,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3116,11 +3116,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter hyperlinkIndex: (path) The hyperlink's index. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsHypelinksDeleteWorksheetHyperlink(name: String, sheetName: String, hyperlinkIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsHypelinksDeleteWorksheetHyperlinkWithRequestBuilder(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsHypelinksDeleteWorksheetHyperlink(name: String, sheetName: String, hyperlinkIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsHypelinksDeleteWorksheetHyperlinkWithRequestBuilder(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3138,11 +3138,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter hyperlinkIndex: (path) The hyperlink's index. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsHypelinksDeleteWorksheetHyperlinkWithRequestBuilder(name: String, sheetName: String, hyperlinkIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsHypelinksDeleteWorksheetHyperlinkWithRequestBuilder(name: String, sheetName: String, hyperlinkIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/hyperlinks/{hyperlinkIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3159,7 +3159,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3173,11 +3173,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) Worksheet name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsHypelinksDeleteWorksheetHyperlinks(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsHypelinksDeleteWorksheetHyperlinksWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsHypelinksDeleteWorksheetHyperlinks(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsHypelinksDeleteWorksheetHyperlinksWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3194,11 +3194,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) Worksheet name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsHypelinksDeleteWorksheetHyperlinksWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsHypelinksDeleteWorksheetHyperlinksWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/hyperlinks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3212,7 +3212,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3227,11 +3227,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter hyperlinkIndex: (path) The hyperlink's index. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsHypelinksGetWorksheetHyperlink(name: String, sheetName: String, hyperlinkIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: HyperlinkResponse?,_ error: Error?) -> Void)) { - cellsHypelinksGetWorksheetHyperlinkWithRequestBuilder(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsHypelinksGetWorksheetHyperlink(name: String, sheetName: String, hyperlinkIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: HyperlinkResponse?,_ error: Error?) -> Void)) { + cellsHypelinksGetWorksheetHyperlinkWithRequestBuilder(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3246,11 +3246,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter hyperlinkIndex: (path) The hyperlink's index. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsHypelinksGetWorksheetHyperlinkWithRequestBuilder(name: String, sheetName: String, hyperlinkIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsHypelinksGetWorksheetHyperlinkWithRequestBuilder(name: String, sheetName: String, hyperlinkIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/hyperlinks/{hyperlinkIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3267,7 +3267,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3281,11 +3281,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsHypelinksGetWorksheetHyperlinks(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: HyperlinksResponse?,_ error: Error?) -> Void)) { - cellsHypelinksGetWorksheetHyperlinksWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsHypelinksGetWorksheetHyperlinks(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: HyperlinksResponse?,_ error: Error?) -> Void)) { + cellsHypelinksGetWorksheetHyperlinksWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3299,11 +3299,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsHypelinksGetWorksheetHyperlinksWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsHypelinksGetWorksheetHyperlinksWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/hyperlinks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3317,7 +3317,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3333,11 +3333,11 @@ open class CellsAPI { - parameter hyperlinkIndex: (path) The hyperlink's index. - parameter hyperlink: (body) Hyperlink object (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsHypelinksPostWorksheetHyperlink(name: String, sheetName: String, hyperlinkIndex: Int32, hyperlink: Hyperlink? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: HyperlinkResponse?,_ error: Error?) -> Void)) { - cellsHypelinksPostWorksheetHyperlinkWithRequestBuilder(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, hyperlink: hyperlink, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsHypelinksPostWorksheetHyperlink(name: String, sheetName: String, hyperlinkIndex: Int32, hyperlink: Hyperlink? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: HyperlinkResponse?,_ error: Error?) -> Void)) { + cellsHypelinksPostWorksheetHyperlinkWithRequestBuilder(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, hyperlink: hyperlink, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3353,11 +3353,11 @@ open class CellsAPI { - parameter hyperlinkIndex: (path) The hyperlink's index. - parameter hyperlink: (body) Hyperlink object (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsHypelinksPostWorksheetHyperlinkWithRequestBuilder(name: String, sheetName: String, hyperlinkIndex: Int32, hyperlink: Hyperlink? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsHypelinksPostWorksheetHyperlinkWithRequestBuilder(name: String, sheetName: String, hyperlinkIndex: Int32, hyperlink: Hyperlink? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/hyperlinks/{hyperlinkIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3374,7 +3374,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3393,11 +3393,11 @@ open class CellsAPI { - parameter totalColumns: (query) - parameter address: (query) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsHypelinksPutWorksheetHyperlink(name: String, sheetName: String, firstRow: Int32, firstColumn: Int32, totalRows: Int32, totalColumns: Int32, address: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: HyperlinkResponse?,_ error: Error?) -> Void)) { - cellsHypelinksPutWorksheetHyperlinkWithRequestBuilder(name: name, sheetName: sheetName, firstRow: firstRow, firstColumn: firstColumn, totalRows: totalRows, totalColumns: totalColumns, address: address, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsHypelinksPutWorksheetHyperlink(name: String, sheetName: String, firstRow: Int32, firstColumn: Int32, totalRows: Int32, totalColumns: Int32, address: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: HyperlinkResponse?,_ error: Error?) -> Void)) { + cellsHypelinksPutWorksheetHyperlinkWithRequestBuilder(name: name, sheetName: sheetName, firstRow: firstRow, firstColumn: firstColumn, totalRows: totalRows, totalColumns: totalColumns, address: address, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3416,11 +3416,11 @@ open class CellsAPI { - parameter totalColumns: (query) - parameter address: (query) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsHypelinksPutWorksheetHyperlinkWithRequestBuilder(name: String, sheetName: String, firstRow: Int32, firstColumn: Int32, totalRows: Int32, totalColumns: Int32, address: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsHypelinksPutWorksheetHyperlinkWithRequestBuilder(name: String, sheetName: String, firstRow: Int32, firstColumn: Int32, totalRows: Int32, totalColumns: Int32, address: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/hyperlinks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3439,7 +3439,7 @@ open class CellsAPI { "totalColumns": totalColumns.encodeToJSON(), "address": address, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3454,11 +3454,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter listObjectIndex: (path) List object index - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsListObjectsDeleteWorksheetListObject(name: String, sheetName: String, listObjectIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsListObjectsDeleteWorksheetListObjectWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsListObjectsDeleteWorksheetListObject(name: String, sheetName: String, listObjectIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsListObjectsDeleteWorksheetListObjectWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3476,11 +3476,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter listObjectIndex: (path) List object index - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsListObjectsDeleteWorksheetListObjectWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsListObjectsDeleteWorksheetListObjectWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3497,7 +3497,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3511,11 +3511,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsListObjectsDeleteWorksheetListObjects(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsListObjectsDeleteWorksheetListObjectsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsListObjectsDeleteWorksheetListObjects(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsListObjectsDeleteWorksheetListObjectsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3532,11 +3532,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsListObjectsDeleteWorksheetListObjectsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsListObjectsDeleteWorksheetListObjectsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/listobjects" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3550,7 +3550,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3565,11 +3565,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter listobjectindex: (path) list object index. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsListObjectsGetWorksheetListObject(name: String, sheetName: String, listobjectindex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ListObjectResponse?,_ error: Error?) -> Void)) { - cellsListObjectsGetWorksheetListObjectWithRequestBuilder(name: name, sheetName: sheetName, listobjectindex: listobjectindex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsListObjectsGetWorksheetListObject(name: String, sheetName: String, listobjectindex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ListObjectResponse?,_ error: Error?) -> Void)) { + cellsListObjectsGetWorksheetListObjectWithRequestBuilder(name: name, sheetName: sheetName, listobjectindex: listobjectindex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3584,11 +3584,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter listobjectindex: (path) list object index. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsListObjectsGetWorksheetListObjectWithRequestBuilder(name: String, sheetName: String, listobjectindex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsListObjectsGetWorksheetListObjectWithRequestBuilder(name: String, sheetName: String, listobjectindex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listobjectindex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3605,7 +3605,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3619,11 +3619,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsListObjectsGetWorksheetListObjects(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ListObjectsResponse?,_ error: Error?) -> Void)) { - cellsListObjectsGetWorksheetListObjectsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsListObjectsGetWorksheetListObjects(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ListObjectsResponse?,_ error: Error?) -> Void)) { + cellsListObjectsGetWorksheetListObjectsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3637,11 +3637,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsListObjectsGetWorksheetListObjectsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsListObjectsGetWorksheetListObjectsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/listobjects" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3655,7 +3655,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3671,11 +3671,11 @@ open class CellsAPI { - parameter listObjectIndex: (path) list Object index - parameter listObject: (body) listObject dto in request body. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsListObjectsPostWorksheetListObject(name: String, sheetName: String, listObjectIndex: Int32, listObject: ListObject? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsListObjectsPostWorksheetListObjectWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, listObject: listObject, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsListObjectsPostWorksheetListObject(name: String, sheetName: String, listObjectIndex: Int32, listObject: ListObject? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsListObjectsPostWorksheetListObjectWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, listObject: listObject, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3694,11 +3694,11 @@ open class CellsAPI { - parameter listObjectIndex: (path) list Object index - parameter listObject: (body) listObject dto in request body. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsListObjectsPostWorksheetListObjectWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, listObject: ListObject? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsListObjectsPostWorksheetListObjectWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, listObject: ListObject? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3715,7 +3715,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3729,11 +3729,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter listObjectIndex: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsListObjectsPostWorksheetListObjectConvertToRange(name: String, sheetName: String, listObjectIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsListObjectsPostWorksheetListObjectConvertToRangeWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsListObjectsPostWorksheetListObjectConvertToRange(name: String, sheetName: String, listObjectIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsListObjectsPostWorksheetListObjectConvertToRangeWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3750,11 +3750,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter listObjectIndex: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsListObjectsPostWorksheetListObjectConvertToRangeWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsListObjectsPostWorksheetListObjectConvertToRangeWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}/ConvertToRange" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3771,7 +3771,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3786,11 +3786,11 @@ open class CellsAPI { - parameter listObjectIndex: (path) - parameter dataSorter: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsListObjectsPostWorksheetListObjectSortTable(name: String, sheetName: String, listObjectIndex: Int32, dataSorter: DataSorter? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsListObjectsPostWorksheetListObjectSortTableWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, dataSorter: dataSorter, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsListObjectsPostWorksheetListObjectSortTable(name: String, sheetName: String, listObjectIndex: Int32, dataSorter: DataSorter? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsListObjectsPostWorksheetListObjectSortTableWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, dataSorter: dataSorter, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3808,11 +3808,11 @@ open class CellsAPI { - parameter listObjectIndex: (path) - parameter dataSorter: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsListObjectsPostWorksheetListObjectSortTableWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, dataSorter: DataSorter? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsListObjectsPostWorksheetListObjectSortTableWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, dataSorter: DataSorter? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}/sort" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3829,7 +3829,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3845,11 +3845,11 @@ open class CellsAPI { - parameter destsheetName: (query) - parameter request: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsListObjectsPostWorksheetListObjectSummarizeWithPivotTable(name: String, sheetName: String, listObjectIndex: Int32, destsheetName: String, request: CreatePivotTableRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsListObjectsPostWorksheetListObjectSummarizeWithPivotTableWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, destsheetName: destsheetName, request: request, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsListObjectsPostWorksheetListObjectSummarizeWithPivotTable(name: String, sheetName: String, listObjectIndex: Int32, destsheetName: String, request: CreatePivotTableRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsListObjectsPostWorksheetListObjectSummarizeWithPivotTableWithRequestBuilder(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, destsheetName: destsheetName, request: request, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3868,11 +3868,11 @@ open class CellsAPI { - parameter destsheetName: (query) - parameter request: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsListObjectsPostWorksheetListObjectSummarizeWithPivotTableWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, destsheetName: String, request: CreatePivotTableRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsListObjectsPostWorksheetListObjectSummarizeWithPivotTableWithRequestBuilder(name: String, sheetName: String, listObjectIndex: Int32, destsheetName: String, request: CreatePivotTableRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}/SummarizeWithPivotTable" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3890,7 +3890,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "destsheetName": destsheetName, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3910,11 +3910,11 @@ open class CellsAPI { - parameter hasHeaders: (query) Whether the range has headers. (optional, default to true) - parameter listObject: (body) List Object (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsListObjectsPutWorksheetListObject(name: String, sheetName: String, startRow: Int32, startColumn: Int32, endRow: Int32, endColumn: Int32, hasHeaders: Bool? = nil, listObject: ListObject? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ListObjectResponse?,_ error: Error?) -> Void)) { - cellsListObjectsPutWorksheetListObjectWithRequestBuilder(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, hasHeaders: hasHeaders, listObject: listObject, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsListObjectsPutWorksheetListObject(name: String, sheetName: String, startRow: Int32, startColumn: Int32, endRow: Int32, endColumn: Int32, hasHeaders: Bool? = nil, listObject: ListObject? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ListObjectResponse?,_ error: Error?) -> Void)) { + cellsListObjectsPutWorksheetListObjectWithRequestBuilder(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, hasHeaders: hasHeaders, listObject: listObject, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3934,11 +3934,11 @@ open class CellsAPI { - parameter hasHeaders: (query) Whether the range has headers. (optional, default to true) - parameter listObject: (body) List Object (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsListObjectsPutWorksheetListObjectWithRequestBuilder(name: String, sheetName: String, startRow: Int32, startColumn: Int32, endRow: Int32, endColumn: Int32, hasHeaders: Bool? = nil, listObject: ListObject? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsListObjectsPutWorksheetListObjectWithRequestBuilder(name: String, sheetName: String, startRow: Int32, startColumn: Int32, endRow: Int32, endColumn: Int32, hasHeaders: Bool? = nil, listObject: ListObject? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/listobjects" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -3957,7 +3957,7 @@ open class CellsAPI { "endColumn": endColumn.encodeToJSON(), "hasHeaders": hasHeaders, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -3972,11 +3972,11 @@ open class CellsAPI { - parameter sheetName: (path) The worsheet name. - parameter oleObjectIndex: (path) Ole object index - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsOleObjectsDeleteWorksheetOleObject(name: String, sheetName: String, oleObjectIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsOleObjectsDeleteWorksheetOleObjectWithRequestBuilder(name: name, sheetName: sheetName, oleObjectIndex: oleObjectIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsOleObjectsDeleteWorksheetOleObject(name: String, sheetName: String, oleObjectIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsOleObjectsDeleteWorksheetOleObjectWithRequestBuilder(name: name, sheetName: sheetName, oleObjectIndex: oleObjectIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -3994,11 +3994,11 @@ open class CellsAPI { - parameter sheetName: (path) The worsheet name. - parameter oleObjectIndex: (path) Ole object index - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsOleObjectsDeleteWorksheetOleObjectWithRequestBuilder(name: String, sheetName: String, oleObjectIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsOleObjectsDeleteWorksheetOleObjectWithRequestBuilder(name: String, sheetName: String, oleObjectIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/oleobjects/{oleObjectIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4015,7 +4015,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4029,11 +4029,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter sheetName: (path) The worsheet name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsOleObjectsDeleteWorksheetOleObjects(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsOleObjectsDeleteWorksheetOleObjectsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsOleObjectsDeleteWorksheetOleObjects(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsOleObjectsDeleteWorksheetOleObjectsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4050,11 +4050,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter sheetName: (path) The worsheet name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsOleObjectsDeleteWorksheetOleObjectsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsOleObjectsDeleteWorksheetOleObjectsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/oleobjects" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4068,7 +4068,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4084,11 +4084,11 @@ open class CellsAPI { - parameter objectNumber: (path) The object number. - parameter format: (query) The exported object format. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsOleObjectsGetWorksheetOleObject(name: String, sheetName: String, objectNumber: Int32, format: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { - cellsOleObjectsGetWorksheetOleObjectWithRequestBuilder(name: name, sheetName: sheetName, objectNumber: objectNumber, format: format, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsOleObjectsGetWorksheetOleObject(name: String, sheetName: String, objectNumber: Int32, format: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { + cellsOleObjectsGetWorksheetOleObjectWithRequestBuilder(name: name, sheetName: sheetName, objectNumber: objectNumber, format: format, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4104,11 +4104,11 @@ open class CellsAPI { - parameter objectNumber: (path) The object number. - parameter format: (query) The exported object format. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsOleObjectsGetWorksheetOleObjectWithRequestBuilder(name: String, sheetName: String, objectNumber: Int32, format: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsOleObjectsGetWorksheetOleObjectWithRequestBuilder(name: String, sheetName: String, objectNumber: Int32, format: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/oleobjects/{objectNumber}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4126,7 +4126,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "format": format, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4140,11 +4140,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsOleObjectsGetWorksheetOleObjects(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: OleObjectsResponse?,_ error: Error?) -> Void)) { - cellsOleObjectsGetWorksheetOleObjectsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsOleObjectsGetWorksheetOleObjects(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: OleObjectsResponse?,_ error: Error?) -> Void)) { + cellsOleObjectsGetWorksheetOleObjectsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4158,11 +4158,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsOleObjectsGetWorksheetOleObjectsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsOleObjectsGetWorksheetOleObjectsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/oleobjects" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4176,7 +4176,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4192,11 +4192,11 @@ open class CellsAPI { - parameter oleObjectIndex: (path) Ole object index - parameter ole: (body) Ole Object (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsOleObjectsPostUpdateWorksheetOleObject(name: String, sheetName: String, oleObjectIndex: Int32, ole: OleObject? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsOleObjectsPostUpdateWorksheetOleObjectWithRequestBuilder(name: name, sheetName: sheetName, oleObjectIndex: oleObjectIndex, ole: ole, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsOleObjectsPostUpdateWorksheetOleObject(name: String, sheetName: String, oleObjectIndex: Int32, ole: OleObject? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsOleObjectsPostUpdateWorksheetOleObjectWithRequestBuilder(name: name, sheetName: sheetName, oleObjectIndex: oleObjectIndex, ole: ole, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4215,11 +4215,11 @@ open class CellsAPI { - parameter oleObjectIndex: (path) Ole object index - parameter ole: (body) Ole Object (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsOleObjectsPostUpdateWorksheetOleObjectWithRequestBuilder(name: String, sheetName: String, oleObjectIndex: Int32, ole: OleObject? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsOleObjectsPostUpdateWorksheetOleObjectWithRequestBuilder(name: String, sheetName: String, oleObjectIndex: Int32, ole: OleObject? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/oleobjects/{oleObjectIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4236,7 +4236,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4257,11 +4257,11 @@ open class CellsAPI { - parameter oleFile: (query) OLE filename (optional) - parameter imageFile: (query) Image filename (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsOleObjectsPutWorksheetOleObject(name: String, sheetName: String, oleObject: OleObject? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, height: Int32? = nil, width: Int32? = nil, oleFile: String? = nil, imageFile: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: OleObjectResponse?,_ error: Error?) -> Void)) { - cellsOleObjectsPutWorksheetOleObjectWithRequestBuilder(name: name, sheetName: sheetName, oleObject: oleObject, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, height: height, width: width, oleFile: oleFile, imageFile: imageFile, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsOleObjectsPutWorksheetOleObject(name: String, sheetName: String, oleObject: OleObject? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, height: Int32? = nil, width: Int32? = nil, oleFile: String? = nil, imageFile: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: OleObjectResponse?,_ error: Error?) -> Void)) { + cellsOleObjectsPutWorksheetOleObjectWithRequestBuilder(name: name, sheetName: sheetName, oleObject: oleObject, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, height: height, width: width, oleFile: oleFile, imageFile: imageFile, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4282,11 +4282,11 @@ open class CellsAPI { - parameter oleFile: (query) OLE filename (optional) - parameter imageFile: (query) Image filename (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsOleObjectsPutWorksheetOleObjectWithRequestBuilder(name: String, sheetName: String, oleObject: OleObject? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, height: Int32? = nil, width: Int32? = nil, oleFile: String? = nil, imageFile: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsOleObjectsPutWorksheetOleObjectWithRequestBuilder(name: String, sheetName: String, oleObject: OleObject? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, height: Int32? = nil, width: Int32? = nil, oleFile: String? = nil, imageFile: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/oleobjects" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4306,7 +4306,7 @@ open class CellsAPI { "oleFile": oleFile, "imageFile": imageFile, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4320,11 +4320,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksDeleteHorizontalPageBreak(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksDeleteHorizontalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksDeleteHorizontalPageBreak(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksDeleteHorizontalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4341,11 +4341,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksDeleteHorizontalPageBreakWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksDeleteHorizontalPageBreakWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks/{index}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4362,7 +4362,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4376,11 +4376,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter row: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksDeleteHorizontalPageBreaks(name: String, sheetName: String, row: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksDeleteHorizontalPageBreaksWithRequestBuilder(name: name, sheetName: sheetName, row: row, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksDeleteHorizontalPageBreaks(name: String, sheetName: String, row: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksDeleteHorizontalPageBreaksWithRequestBuilder(name: name, sheetName: sheetName, row: row, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4397,11 +4397,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter row: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksDeleteHorizontalPageBreaksWithRequestBuilder(name: String, sheetName: String, row: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksDeleteHorizontalPageBreaksWithRequestBuilder(name: String, sheetName: String, row: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4416,7 +4416,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "row": row?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4430,11 +4430,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksDeleteVerticalPageBreak(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksDeleteVerticalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksDeleteVerticalPageBreak(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksDeleteVerticalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4451,11 +4451,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksDeleteVerticalPageBreakWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksDeleteVerticalPageBreakWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks/{index}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4472,7 +4472,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4486,11 +4486,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter column: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksDeleteVerticalPageBreaks(name: String, sheetName: String, column: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksDeleteVerticalPageBreaksWithRequestBuilder(name: name, sheetName: sheetName, column: column, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksDeleteVerticalPageBreaks(name: String, sheetName: String, column: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksDeleteVerticalPageBreaksWithRequestBuilder(name: name, sheetName: sheetName, column: column, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4507,11 +4507,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter column: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksDeleteVerticalPageBreaksWithRequestBuilder(name: String, sheetName: String, column: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksDeleteVerticalPageBreaksWithRequestBuilder(name: String, sheetName: String, column: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4526,7 +4526,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "column": column?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4540,11 +4540,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksGetHorizontalPageBreak(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: HorizontalPageBreakResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksGetHorizontalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksGetHorizontalPageBreak(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: HorizontalPageBreakResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksGetHorizontalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4558,11 +4558,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksGetHorizontalPageBreakWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksGetHorizontalPageBreakWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks/{index}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4579,7 +4579,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4592,11 +4592,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksGetHorizontalPageBreaks(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: HorizontalPageBreaksResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksGetHorizontalPageBreaksWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksGetHorizontalPageBreaks(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: HorizontalPageBreaksResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksGetHorizontalPageBreaksWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4609,11 +4609,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksGetHorizontalPageBreaksWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksGetHorizontalPageBreaksWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4627,7 +4627,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4641,11 +4641,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksGetVerticalPageBreak(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: VerticalPageBreakResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksGetVerticalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksGetVerticalPageBreak(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: VerticalPageBreakResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksGetVerticalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4659,11 +4659,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter index: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksGetVerticalPageBreakWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksGetVerticalPageBreakWithRequestBuilder(name: String, sheetName: String, index: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks/{index}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4680,7 +4680,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4693,11 +4693,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksGetVerticalPageBreaks(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: VerticalPageBreaksResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksGetVerticalPageBreaksWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksGetVerticalPageBreaks(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: VerticalPageBreaksResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksGetVerticalPageBreaksWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4710,11 +4710,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksGetVerticalPageBreaksWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksGetVerticalPageBreaksWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4728,7 +4728,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4746,11 +4746,11 @@ open class CellsAPI { - parameter startColumn: (query) (optional) - parameter endColumn: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksPutHorizontalPageBreak(name: String, sheetName: String, cellname: String? = nil, row: Int32? = nil, column: Int32? = nil, startColumn: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksPutHorizontalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, cellname: cellname, row: row, column: column, startColumn: startColumn, endColumn: endColumn, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksPutHorizontalPageBreak(name: String, sheetName: String, cellname: String? = nil, row: Int32? = nil, column: Int32? = nil, startColumn: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksPutHorizontalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, cellname: cellname, row: row, column: column, startColumn: startColumn, endColumn: endColumn, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4771,11 +4771,11 @@ open class CellsAPI { - parameter startColumn: (query) (optional) - parameter endColumn: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksPutHorizontalPageBreakWithRequestBuilder(name: String, sheetName: String, cellname: String? = nil, row: Int32? = nil, column: Int32? = nil, startColumn: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksPutHorizontalPageBreakWithRequestBuilder(name: String, sheetName: String, cellname: String? = nil, row: Int32? = nil, column: Int32? = nil, startColumn: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4794,7 +4794,7 @@ open class CellsAPI { "startColumn": startColumn?.encodeToJSON(), "endColumn": endColumn?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4812,11 +4812,11 @@ open class CellsAPI { - parameter startRow: (query) (optional) - parameter endRow: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageBreaksPutVerticalPageBreak(name: String, sheetName: String, cellname: String? = nil, column: Int32? = nil, row: Int32? = nil, startRow: Int32? = nil, endRow: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageBreaksPutVerticalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, cellname: cellname, column: column, row: row, startRow: startRow, endRow: endRow, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageBreaksPutVerticalPageBreak(name: String, sheetName: String, cellname: String? = nil, column: Int32? = nil, row: Int32? = nil, startRow: Int32? = nil, endRow: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageBreaksPutVerticalPageBreakWithRequestBuilder(name: name, sheetName: sheetName, cellname: cellname, column: column, row: row, startRow: startRow, endRow: endRow, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4837,11 +4837,11 @@ open class CellsAPI { - parameter startRow: (query) (optional) - parameter endRow: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageBreaksPutVerticalPageBreakWithRequestBuilder(name: String, sheetName: String, cellname: String? = nil, column: Int32? = nil, row: Int32? = nil, startRow: Int32? = nil, endRow: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageBreaksPutVerticalPageBreakWithRequestBuilder(name: String, sheetName: String, cellname: String? = nil, column: Int32? = nil, row: Int32? = nil, startRow: Int32? = nil, endRow: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4860,7 +4860,7 @@ open class CellsAPI { "startRow": startRow?.encodeToJSON(), "endRow": endRow?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4874,11 +4874,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageSetupDeleteHeaderFooter(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageSetupDeleteHeaderFooterWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageSetupDeleteHeaderFooter(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageSetupDeleteHeaderFooterWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4895,11 +4895,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageSetupDeleteHeaderFooterWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageSetupDeleteHeaderFooterWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pagesetup/clearheaderfooter" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4913,7 +4913,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4927,11 +4927,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageSetupGetFooter(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PageSectionsResponse?,_ error: Error?) -> Void)) { - cellsPageSetupGetFooterWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageSetupGetFooter(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PageSectionsResponse?,_ error: Error?) -> Void)) { + cellsPageSetupGetFooterWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4945,11 +4945,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageSetupGetFooterWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageSetupGetFooterWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pagesetup/footer" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -4963,7 +4963,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -4977,11 +4977,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageSetupGetHeader(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PageSectionsResponse?,_ error: Error?) -> Void)) { - cellsPageSetupGetHeaderWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageSetupGetHeader(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PageSectionsResponse?,_ error: Error?) -> Void)) { + cellsPageSetupGetHeaderWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -4995,11 +4995,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageSetupGetHeaderWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageSetupGetHeaderWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pagesetup/header" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5013,7 +5013,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5027,11 +5027,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageSetupGetPageSetup(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PageSetupResponse?,_ error: Error?) -> Void)) { - cellsPageSetupGetPageSetupWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageSetupGetPageSetup(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PageSetupResponse?,_ error: Error?) -> Void)) { + cellsPageSetupGetPageSetupWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5045,11 +5045,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageSetupGetPageSetupWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageSetupGetPageSetupWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pagesetup" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5063,7 +5063,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5080,11 +5080,11 @@ open class CellsAPI { - parameter script: (query) - parameter isFirstPage: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageSetupPostFooter(name: String, sheetName: String, section: Int32, script: String, isFirstPage: Bool, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageSetupPostFooterWithRequestBuilder(name: name, sheetName: sheetName, section: section, script: script, isFirstPage: isFirstPage, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageSetupPostFooter(name: String, sheetName: String, section: Int32, script: String, isFirstPage: Bool, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageSetupPostFooterWithRequestBuilder(name: name, sheetName: sheetName, section: section, script: script, isFirstPage: isFirstPage, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5104,11 +5104,11 @@ open class CellsAPI { - parameter script: (query) - parameter isFirstPage: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageSetupPostFooterWithRequestBuilder(name: String, sheetName: String, section: Int32, script: String, isFirstPage: Bool, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageSetupPostFooterWithRequestBuilder(name: String, sheetName: String, section: Int32, script: String, isFirstPage: Bool, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pagesetup/footer" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5125,7 +5125,7 @@ open class CellsAPI { "script": script, "isFirstPage": isFirstPage, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5142,11 +5142,11 @@ open class CellsAPI { - parameter script: (query) - parameter isFirstPage: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageSetupPostHeader(name: String, sheetName: String, section: Int32, script: String, isFirstPage: Bool, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageSetupPostHeaderWithRequestBuilder(name: name, sheetName: sheetName, section: section, script: script, isFirstPage: isFirstPage, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageSetupPostHeader(name: String, sheetName: String, section: Int32, script: String, isFirstPage: Bool, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageSetupPostHeaderWithRequestBuilder(name: name, sheetName: sheetName, section: section, script: script, isFirstPage: isFirstPage, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5166,11 +5166,11 @@ open class CellsAPI { - parameter script: (query) - parameter isFirstPage: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageSetupPostHeaderWithRequestBuilder(name: String, sheetName: String, section: Int32, script: String, isFirstPage: Bool, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageSetupPostHeaderWithRequestBuilder(name: String, sheetName: String, section: Int32, script: String, isFirstPage: Bool, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pagesetup/header" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5187,7 +5187,7 @@ open class CellsAPI { "script": script, "isFirstPage": isFirstPage, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5202,11 +5202,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter pageSetup: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPageSetupPostPageSetup(name: String, sheetName: String, pageSetup: PageSetup? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPageSetupPostPageSetupWithRequestBuilder(name: name, sheetName: sheetName, pageSetup: pageSetup, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPageSetupPostPageSetup(name: String, sheetName: String, pageSetup: PageSetup? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPageSetupPostPageSetupWithRequestBuilder(name: name, sheetName: sheetName, pageSetup: pageSetup, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5224,11 +5224,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter pageSetup: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPageSetupPostPageSetupWithRequestBuilder(name: String, sheetName: String, pageSetup: PageSetup? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPageSetupPostPageSetupWithRequestBuilder(name: String, sheetName: String, pageSetup: PageSetup? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pagesetup" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5242,7 +5242,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5257,11 +5257,11 @@ open class CellsAPI { - parameter sheetName: (path) The worsheet name. - parameter pictureIndex: (path) Picture index - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPicturesDeleteWorksheetPicture(name: String, sheetName: String, pictureIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPicturesDeleteWorksheetPictureWithRequestBuilder(name: name, sheetName: sheetName, pictureIndex: pictureIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPicturesDeleteWorksheetPicture(name: String, sheetName: String, pictureIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPicturesDeleteWorksheetPictureWithRequestBuilder(name: name, sheetName: sheetName, pictureIndex: pictureIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5279,11 +5279,11 @@ open class CellsAPI { - parameter sheetName: (path) The worsheet name. - parameter pictureIndex: (path) Picture index - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPicturesDeleteWorksheetPictureWithRequestBuilder(name: String, sheetName: String, pictureIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPicturesDeleteWorksheetPictureWithRequestBuilder(name: String, sheetName: String, pictureIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5300,7 +5300,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5314,11 +5314,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) Worksheet name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPicturesDeleteWorksheetPictures(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPicturesDeleteWorksheetPicturesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPicturesDeleteWorksheetPictures(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPicturesDeleteWorksheetPicturesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5335,11 +5335,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) Worksheet name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPicturesDeleteWorksheetPicturesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPicturesDeleteWorksheetPicturesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pictures" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5353,7 +5353,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5369,11 +5369,11 @@ open class CellsAPI { - parameter pictureIndex: (path) The picture index. - parameter format: (query) The exported object format. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPicturesGetWorksheetPicture(name: String, sheetName: String, pictureIndex: Int32, format: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { - cellsPicturesGetWorksheetPictureWithRequestBuilder(name: name, sheetName: sheetName, pictureIndex: pictureIndex, format: format, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPicturesGetWorksheetPicture(name: String, sheetName: String, pictureIndex: Int32, format: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { + cellsPicturesGetWorksheetPictureWithRequestBuilder(name: name, sheetName: sheetName, pictureIndex: pictureIndex, format: format, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5389,11 +5389,11 @@ open class CellsAPI { - parameter pictureIndex: (path) The picture index. - parameter format: (query) The exported object format. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPicturesGetWorksheetPictureWithRequestBuilder(name: String, sheetName: String, pictureIndex: Int32, format: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPicturesGetWorksheetPictureWithRequestBuilder(name: String, sheetName: String, pictureIndex: Int32, format: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5411,7 +5411,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "format": format, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5425,11 +5425,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPicturesGetWorksheetPictures(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PicturesResponse?,_ error: Error?) -> Void)) { - cellsPicturesGetWorksheetPicturesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPicturesGetWorksheetPictures(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PicturesResponse?,_ error: Error?) -> Void)) { + cellsPicturesGetWorksheetPicturesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5443,11 +5443,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPicturesGetWorksheetPicturesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPicturesGetWorksheetPicturesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pictures" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5461,7 +5461,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5477,11 +5477,11 @@ open class CellsAPI { - parameter pictureIndex: (path) The picture's index. - parameter picture: (body) Picture object (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPicturesPostWorksheetPicture(name: String, sheetName: String, pictureIndex: Int32, picture: Picture? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PictureResponse?,_ error: Error?) -> Void)) { - cellsPicturesPostWorksheetPictureWithRequestBuilder(name: name, sheetName: sheetName, pictureIndex: pictureIndex, picture: picture, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPicturesPostWorksheetPicture(name: String, sheetName: String, pictureIndex: Int32, picture: Picture? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PictureResponse?,_ error: Error?) -> Void)) { + cellsPicturesPostWorksheetPictureWithRequestBuilder(name: name, sheetName: sheetName, pictureIndex: pictureIndex, picture: picture, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5497,11 +5497,11 @@ open class CellsAPI { - parameter pictureIndex: (path) The picture's index. - parameter picture: (body) Picture object (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPicturesPostWorksheetPictureWithRequestBuilder(name: String, sheetName: String, pictureIndex: Int32, picture: Picture? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPicturesPostWorksheetPictureWithRequestBuilder(name: String, sheetName: String, pictureIndex: Int32, picture: Picture? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5518,7 +5518,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5538,11 +5538,11 @@ open class CellsAPI { - parameter lowerRightColumn: (query) The image low right column. (optional, default to 0) - parameter picturePath: (query) The picture path, if not provided the picture data is inspected in the request body. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPicturesPutWorksheetAddPicture(name: String, sheetName: String, picture: Picture? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, lowerRightRow: Int32? = nil, lowerRightColumn: Int32? = nil, picturePath: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PicturesResponse?,_ error: Error?) -> Void)) { - cellsPicturesPutWorksheetAddPictureWithRequestBuilder(name: name, sheetName: sheetName, picture: picture, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, lowerRightRow: lowerRightRow, lowerRightColumn: lowerRightColumn, picturePath: picturePath, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPicturesPutWorksheetAddPicture(name: String, sheetName: String, picture: Picture? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, lowerRightRow: Int32? = nil, lowerRightColumn: Int32? = nil, picturePath: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PicturesResponse?,_ error: Error?) -> Void)) { + cellsPicturesPutWorksheetAddPictureWithRequestBuilder(name: name, sheetName: sheetName, picture: picture, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, lowerRightRow: lowerRightRow, lowerRightColumn: lowerRightColumn, picturePath: picturePath, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5562,11 +5562,11 @@ open class CellsAPI { - parameter lowerRightColumn: (query) The image low right column. (optional, default to 0) - parameter picturePath: (query) The picture path, if not provided the picture data is inspected in the request body. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPicturesPutWorksheetAddPictureWithRequestBuilder(name: String, sheetName: String, picture: Picture? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, lowerRightRow: Int32? = nil, lowerRightColumn: Int32? = nil, picturePath: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPicturesPutWorksheetAddPictureWithRequestBuilder(name: String, sheetName: String, picture: Picture? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, lowerRightRow: Int32? = nil, lowerRightColumn: Int32? = nil, picturePath: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pictures" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5585,7 +5585,7 @@ open class CellsAPI { "lowerRightColumn": lowerRightColumn?.encodeToJSON(), "picturePath": picturePath, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5602,11 +5602,11 @@ open class CellsAPI { - parameter pivotFieldType: (query) The fields area type. - parameter request: (body) Dto that conrains field indexes (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesDeletePivotTableField(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, request: PivotTableFieldRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesDeletePivotTableFieldWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, request: request, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesDeletePivotTableField(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, request: PivotTableFieldRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesDeletePivotTableFieldWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, request: request, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5626,11 +5626,11 @@ open class CellsAPI { - parameter pivotFieldType: (query) The fields area type. - parameter request: (body) Dto that conrains field indexes (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesDeletePivotTableFieldWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, request: PivotTableFieldRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesDeletePivotTableFieldWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, request: PivotTableFieldRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5648,7 +5648,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "pivotFieldType": pivotFieldType, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5663,11 +5663,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter pivotTableIndex: (path) Pivot table index - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesDeleteWorksheetPivotTable(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesDeleteWorksheetPivotTableWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesDeleteWorksheetPivotTable(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesDeleteWorksheetPivotTableWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5685,11 +5685,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter pivotTableIndex: (path) Pivot table index - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesDeleteWorksheetPivotTableWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesDeleteWorksheetPivotTableWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5706,7 +5706,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5723,11 +5723,11 @@ open class CellsAPI { - parameter fieldIndex: (path) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesDeleteWorksheetPivotTableFilter(name: String, sheetName: String, pivotTableIndex: Int32, fieldIndex: Int32, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesDeleteWorksheetPivotTableFilterWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, fieldIndex: fieldIndex, needReCalculate: needReCalculate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesDeleteWorksheetPivotTableFilter(name: String, sheetName: String, pivotTableIndex: Int32, fieldIndex: Int32, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesDeleteWorksheetPivotTableFilterWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, fieldIndex: fieldIndex, needReCalculate: needReCalculate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5747,11 +5747,11 @@ open class CellsAPI { - parameter fieldIndex: (path) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesDeleteWorksheetPivotTableFilterWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, fieldIndex: Int32, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesDeleteWorksheetPivotTableFilterWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, fieldIndex: Int32, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters/{fieldIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5772,7 +5772,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "needReCalculate": needReCalculate, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5788,11 +5788,11 @@ open class CellsAPI { - parameter pivotTableIndex: (path) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesDeleteWorksheetPivotTableFilters(name: String, sheetName: String, pivotTableIndex: Int32, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesDeleteWorksheetPivotTableFiltersWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, needReCalculate: needReCalculate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesDeleteWorksheetPivotTableFilters(name: String, sheetName: String, pivotTableIndex: Int32, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesDeleteWorksheetPivotTableFiltersWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, needReCalculate: needReCalculate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5811,11 +5811,11 @@ open class CellsAPI { - parameter pivotTableIndex: (path) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesDeleteWorksheetPivotTableFiltersWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesDeleteWorksheetPivotTableFiltersWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5833,7 +5833,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "needReCalculate": needReCalculate, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5847,11 +5847,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesDeleteWorksheetPivotTables(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesDeleteWorksheetPivotTablesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesDeleteWorksheetPivotTables(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesDeleteWorksheetPivotTablesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5868,11 +5868,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesDeleteWorksheetPivotTablesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesDeleteWorksheetPivotTablesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5886,7 +5886,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5903,11 +5903,11 @@ open class CellsAPI { - parameter pivotFieldIndex: (query) The field index in the base fields. - parameter pivotFieldType: (query) The fields area type. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesGetPivotTableField(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldIndex: Int32, pivotFieldType: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PivotFieldResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesGetPivotTableFieldWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldIndex: pivotFieldIndex, pivotFieldType: pivotFieldType, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesGetPivotTableField(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldIndex: Int32, pivotFieldType: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PivotFieldResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesGetPivotTableFieldWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldIndex: pivotFieldIndex, pivotFieldType: pivotFieldType, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5924,11 +5924,11 @@ open class CellsAPI { - parameter pivotFieldIndex: (query) The field index in the base fields. - parameter pivotFieldType: (query) The fields area type. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesGetPivotTableFieldWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldIndex: Int32, pivotFieldType: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesGetPivotTableFieldWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldIndex: Int32, pivotFieldType: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -5947,7 +5947,7 @@ open class CellsAPI { "pivotFieldIndex": pivotFieldIndex.encodeToJSON(), "pivotFieldType": pivotFieldType, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -5962,11 +5962,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter pivottableIndex: (path) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesGetWorksheetPivotTable(name: String, sheetName: String, pivottableIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PivotTableResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesGetWorksheetPivotTableWithRequestBuilder(name: name, sheetName: sheetName, pivottableIndex: pivottableIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesGetWorksheetPivotTable(name: String, sheetName: String, pivottableIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PivotTableResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesGetWorksheetPivotTableWithRequestBuilder(name: name, sheetName: sheetName, pivottableIndex: pivottableIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -5981,11 +5981,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter pivottableIndex: (path) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesGetWorksheetPivotTableWithRequestBuilder(name: String, sheetName: String, pivottableIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesGetWorksheetPivotTableWithRequestBuilder(name: String, sheetName: String, pivottableIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivottableIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6002,7 +6002,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6017,11 +6017,11 @@ open class CellsAPI { - parameter pivotTableIndex: (path) - parameter filterIndex: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesGetWorksheetPivotTableFilter(name: String, sheetName: String, pivotTableIndex: Int32, filterIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PivotFilterResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesGetWorksheetPivotTableFilterWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filterIndex: filterIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesGetWorksheetPivotTableFilter(name: String, sheetName: String, pivotTableIndex: Int32, filterIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PivotFilterResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesGetWorksheetPivotTableFilterWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filterIndex: filterIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6036,11 +6036,11 @@ open class CellsAPI { - parameter pivotTableIndex: (path) - parameter filterIndex: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesGetWorksheetPivotTableFilterWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, filterIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesGetWorksheetPivotTableFilterWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, filterIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters/{filterIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6060,7 +6060,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6074,11 +6074,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter pivotTableIndex: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesGetWorksheetPivotTableFilters(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PivotFiltersResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesGetWorksheetPivotTableFiltersWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesGetWorksheetPivotTableFilters(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PivotFiltersResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesGetWorksheetPivotTableFiltersWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6092,11 +6092,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter pivotTableIndex: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesGetWorksheetPivotTableFiltersWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesGetWorksheetPivotTableFiltersWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6113,7 +6113,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6127,11 +6127,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesGetWorksheetPivotTables(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: PivotTablesResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesGetWorksheetPivotTablesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesGetWorksheetPivotTables(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: PivotTablesResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesGetWorksheetPivotTablesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6145,11 +6145,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesGetWorksheetPivotTablesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesGetWorksheetPivotTablesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6163,7 +6163,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6182,11 +6182,11 @@ open class CellsAPI { - parameter style: (body) Style dto in request body. (optional) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesPostPivotTableCellStyle(name: String, sheetName: String, pivotTableIndex: Int32, column: Int32, row: Int32, style: Style? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesPostPivotTableCellStyleWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, column: column, row: row, style: style, needReCalculate: needReCalculate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesPostPivotTableCellStyle(name: String, sheetName: String, pivotTableIndex: Int32, column: Int32, row: Int32, style: Style? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesPostPivotTableCellStyleWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, column: column, row: row, style: style, needReCalculate: needReCalculate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6208,11 +6208,11 @@ open class CellsAPI { - parameter style: (body) Style dto in request body. (optional) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesPostPivotTableCellStyleWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, column: Int32, row: Int32, style: Style? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesPostPivotTableCellStyleWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, column: Int32, row: Int32, style: Style? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/Format" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6232,7 +6232,7 @@ open class CellsAPI { "row": row.encodeToJSON(), "needReCalculate": needReCalculate, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6251,11 +6251,11 @@ open class CellsAPI { - parameter isHide: (query) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesPostPivotTableFieldHideItem(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, fieldIndex: Int32, itemIndex: Int32, isHide: Bool, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesPostPivotTableFieldHideItemWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, fieldIndex: fieldIndex, itemIndex: itemIndex, isHide: isHide, needReCalculate: needReCalculate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesPostPivotTableFieldHideItem(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, fieldIndex: Int32, itemIndex: Int32, isHide: Bool, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesPostPivotTableFieldHideItemWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, fieldIndex: fieldIndex, itemIndex: itemIndex, isHide: isHide, needReCalculate: needReCalculate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6277,11 +6277,11 @@ open class CellsAPI { - parameter isHide: (query) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesPostPivotTableFieldHideItemWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, fieldIndex: Int32, itemIndex: Int32, isHide: Bool, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesPostPivotTableFieldHideItemWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, fieldIndex: Int32, itemIndex: Int32, isHide: Bool, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField/Hide" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6303,7 +6303,7 @@ open class CellsAPI { "isHide": isHide, "needReCalculate": needReCalculate, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6320,11 +6320,11 @@ open class CellsAPI { - parameter from: (query) - parameter to: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesPostPivotTableFieldMoveTo(name: String, sheetName: String, pivotTableIndex: Int32, fieldIndex: Int32, from: String, to: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesPostPivotTableFieldMoveToWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, fieldIndex: fieldIndex, from: from, to: to, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesPostPivotTableFieldMoveTo(name: String, sheetName: String, pivotTableIndex: Int32, fieldIndex: Int32, from: String, to: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesPostPivotTableFieldMoveToWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, fieldIndex: fieldIndex, from: from, to: to, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6344,11 +6344,11 @@ open class CellsAPI { - parameter from: (query) - parameter to: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesPostPivotTableFieldMoveToWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, fieldIndex: Int32, from: String, to: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesPostPivotTableFieldMoveToWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, fieldIndex: Int32, from: String, to: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField/Move" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6368,7 +6368,7 @@ open class CellsAPI { "from": from, "to": to, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6385,11 +6385,11 @@ open class CellsAPI { - parameter style: (body) Style dto in request body. (optional) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesPostPivotTableStyle(name: String, sheetName: String, pivotTableIndex: Int32, style: Style? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesPostPivotTableStyleWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, style: style, needReCalculate: needReCalculate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesPostPivotTableStyle(name: String, sheetName: String, pivotTableIndex: Int32, style: Style? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesPostPivotTableStyleWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, style: style, needReCalculate: needReCalculate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6409,11 +6409,11 @@ open class CellsAPI { - parameter style: (body) Style dto in request body. (optional) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesPostPivotTableStyleWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, style: Style? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesPostPivotTableStyleWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, style: Style? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/FormatAll" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6431,7 +6431,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "needReCalculate": needReCalculate, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6446,11 +6446,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter pivotTableIndex: (path) Pivot table index - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesPostWorksheetPivotTableCalculate(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesPostWorksheetPivotTableCalculateWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesPostWorksheetPivotTableCalculate(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesPostWorksheetPivotTableCalculateWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6468,11 +6468,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter pivotTableIndex: (path) Pivot table index - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesPostWorksheetPivotTableCalculateWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesPostWorksheetPivotTableCalculateWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/Calculate" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6489,7 +6489,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6506,11 +6506,11 @@ open class CellsAPI { - parameter column: (query) (optional) - parameter destCellName: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesPostWorksheetPivotTableMove(name: String, sheetName: String, pivotTableIndex: Int32, row: Int32? = nil, column: Int32? = nil, destCellName: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesPostWorksheetPivotTableMoveWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, row: row, column: column, destCellName: destCellName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesPostWorksheetPivotTableMove(name: String, sheetName: String, pivotTableIndex: Int32, row: Int32? = nil, column: Int32? = nil, destCellName: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesPostWorksheetPivotTableMoveWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, row: row, column: column, destCellName: destCellName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6530,11 +6530,11 @@ open class CellsAPI { - parameter column: (query) (optional) - parameter destCellName: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesPostWorksheetPivotTableMoveWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, row: Int32? = nil, column: Int32? = nil, destCellName: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesPostWorksheetPivotTableMoveWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, row: Int32? = nil, column: Int32? = nil, destCellName: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/Move" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6554,7 +6554,7 @@ open class CellsAPI { "column": column?.encodeToJSON(), "destCellName": destCellName, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6572,11 +6572,11 @@ open class CellsAPI { - parameter request: (body) Dto that conrains field indexes (optional) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesPutPivotTableField(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, request: PivotTableFieldRequest? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesPutPivotTableFieldWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, request: request, needReCalculate: needReCalculate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesPutPivotTableField(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, request: PivotTableFieldRequest? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesPutPivotTableFieldWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, request: request, needReCalculate: needReCalculate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6597,11 +6597,11 @@ open class CellsAPI { - parameter request: (body) Dto that conrains field indexes (optional) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesPutPivotTableFieldWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, request: PivotTableFieldRequest? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesPutPivotTableFieldWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, pivotFieldType: String, request: PivotTableFieldRequest? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6620,7 +6620,7 @@ open class CellsAPI { "pivotFieldType": pivotFieldType, "needReCalculate": needReCalculate, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6635,15 +6635,15 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter request: (body) CreatePivotTableRequest dto in request body. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter sourceData: (query) The data for the new PivotTable cache. (optional) - parameter destCellName: (query) The cell in the upper-left corner of the PivotTable report's destination range. (optional) - parameter tableName: (query) The name of the new PivotTable report. (optional) - parameter useSameSource: (query) Indicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesPutWorksheetPivotTable(name: String, sheetName: String, request: CreatePivotTableRequest? = nil, folder: String? = nil, storage: String? = nil, sourceData: String? = nil, destCellName: String? = nil, tableName: String? = nil, useSameSource: Bool? = nil, completion: @escaping ((_ data: PivotTableResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesPutWorksheetPivotTableWithRequestBuilder(name: name, sheetName: sheetName, request: request, folder: folder, storage: storage, sourceData: sourceData, destCellName: destCellName, tableName: tableName, useSameSource: useSameSource).execute { (response, error) -> Void in + open class func cellsPivotTablesPutWorksheetPivotTable(name: String, sheetName: String, request: CreatePivotTableRequest? = nil, folder: String? = nil, storageName: String? = nil, sourceData: String? = nil, destCellName: String? = nil, tableName: String? = nil, useSameSource: Bool? = nil, completion: @escaping ((_ data: PivotTableResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesPutWorksheetPivotTableWithRequestBuilder(name: name, sheetName: sheetName, request: request, folder: folder, storageName: storageName, sourceData: sourceData, destCellName: destCellName, tableName: tableName, useSameSource: useSameSource).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6658,7 +6658,7 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter request: (body) CreatePivotTableRequest dto in request body. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter sourceData: (query) The data for the new PivotTable cache. (optional) - parameter destCellName: (query) The cell in the upper-left corner of the PivotTable report's destination range. (optional) - parameter tableName: (query) The name of the new PivotTable report. (optional) @@ -6666,7 +6666,7 @@ open class CellsAPI { - returns: RequestBuilder */ - open class func cellsPivotTablesPutWorksheetPivotTableWithRequestBuilder(name: String, sheetName: String, request: CreatePivotTableRequest? = nil, folder: String? = nil, storage: String? = nil, sourceData: String? = nil, destCellName: String? = nil, tableName: String? = nil, useSameSource: Bool? = nil) -> RequestBuilder { + open class func cellsPivotTablesPutWorksheetPivotTableWithRequestBuilder(name: String, sheetName: String, request: CreatePivotTableRequest? = nil, folder: String? = nil, storageName: String? = nil, sourceData: String? = nil, destCellName: String? = nil, tableName: String? = nil, useSameSource: Bool? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6680,7 +6680,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage, + "storageName": storageName, "sourceData": sourceData, "destCellName": destCellName, "tableName": tableName, @@ -6701,11 +6701,11 @@ open class CellsAPI { - parameter filter: (body) (optional) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPivotTablesPutWorksheetPivotTableFilter(name: String, sheetName: String, pivotTableIndex: Int32, filter: PivotFilter? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPivotTablesPutWorksheetPivotTableFilterWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filter: filter, needReCalculate: needReCalculate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPivotTablesPutWorksheetPivotTableFilter(name: String, sheetName: String, pivotTableIndex: Int32, filter: PivotFilter? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPivotTablesPutWorksheetPivotTableFilterWithRequestBuilder(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filter: filter, needReCalculate: needReCalculate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6725,11 +6725,11 @@ open class CellsAPI { - parameter filter: (body) (optional) - parameter needReCalculate: (query) (optional, default to false) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPivotTablesPutWorksheetPivotTableFilterWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, filter: PivotFilter? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPivotTablesPutWorksheetPivotTableFilterWithRequestBuilder(name: String, sheetName: String, pivotTableIndex: Int32, filter: PivotFilter? = nil, needReCalculate: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6747,7 +6747,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "needReCalculate": needReCalculate, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6763,11 +6763,11 @@ open class CellsAPI { - parameter cellName: (path) - parameter options: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostCellCalculate(name: String, sheetName: String, cellName: String, options: CalculationOptions? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostCellCalculateWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, options: options, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostCellCalculate(name: String, sheetName: String, cellName: String, options: CalculationOptions? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostCellCalculateWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, options: options, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6786,11 +6786,11 @@ open class CellsAPI { - parameter cellName: (path) - parameter options: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostCellCalculateWithRequestBuilder(name: String, sheetName: String, cellName: String, options: CalculationOptions? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostCellCalculateWithRequestBuilder(name: String, sheetName: String, cellName: String, options: CalculationOptions? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/calculate" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6807,7 +6807,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6823,11 +6823,11 @@ open class CellsAPI { - parameter cellName: (path) - parameter options: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostCellCharacters(name: String, sheetName: String, cellName: String, options: [FontSetting]? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostCellCharactersWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, options: options, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostCellCharacters(name: String, sheetName: String, cellName: String, options: [FontSetting]? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostCellCharactersWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, options: options, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6846,11 +6846,11 @@ open class CellsAPI { - parameter cellName: (path) - parameter options: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostCellCharactersWithRequestBuilder(name: String, sheetName: String, cellName: String, options: [FontSetting]? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostCellCharactersWithRequestBuilder(name: String, sheetName: String, cellName: String, options: [FontSetting]? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/characters" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6867,7 +6867,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6886,11 +6886,11 @@ open class CellsAPI { - parameter endRow: (query) The end row. (optional) - parameter endColumn: (query) The end column. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostClearContents(name: String, sheetName: String, range: String? = nil, startRow: Int32? = nil, startColumn: Int32? = nil, endRow: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostClearContentsWithRequestBuilder(name: name, sheetName: sheetName, range: range, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostClearContents(name: String, sheetName: String, range: String? = nil, startRow: Int32? = nil, startColumn: Int32? = nil, endRow: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostClearContentsWithRequestBuilder(name: name, sheetName: sheetName, range: range, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6912,11 +6912,11 @@ open class CellsAPI { - parameter endRow: (query) The end row. (optional) - parameter endColumn: (query) The end column. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostClearContentsWithRequestBuilder(name: String, sheetName: String, range: String? = nil, startRow: Int32? = nil, startColumn: Int32? = nil, endRow: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostClearContentsWithRequestBuilder(name: String, sheetName: String, range: String? = nil, startRow: Int32? = nil, startColumn: Int32? = nil, endRow: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/clearcontents" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -6935,7 +6935,7 @@ open class CellsAPI { "endRow": endRow?.encodeToJSON(), "endColumn": endColumn?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -6954,11 +6954,11 @@ open class CellsAPI { - parameter endRow: (query) The end row. (optional) - parameter endColumn: (query) The end column. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostClearFormats(name: String, sheetName: String, range: String? = nil, startRow: Int32? = nil, startColumn: Int32? = nil, endRow: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostClearFormatsWithRequestBuilder(name: name, sheetName: sheetName, range: range, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostClearFormats(name: String, sheetName: String, range: String? = nil, startRow: Int32? = nil, startColumn: Int32? = nil, endRow: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostClearFormatsWithRequestBuilder(name: name, sheetName: sheetName, range: range, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -6980,11 +6980,11 @@ open class CellsAPI { - parameter endRow: (query) The end row. (optional) - parameter endColumn: (query) The end column. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostClearFormatsWithRequestBuilder(name: String, sheetName: String, range: String? = nil, startRow: Int32? = nil, startColumn: Int32? = nil, endRow: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostClearFormatsWithRequestBuilder(name: String, sheetName: String, range: String? = nil, startRow: Int32? = nil, startColumn: Int32? = nil, endRow: Int32? = nil, endColumn: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/clearformats" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7003,7 +7003,7 @@ open class CellsAPI { "endRow": endRow?.encodeToJSON(), "endColumn": endColumn?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7019,11 +7019,11 @@ open class CellsAPI { - parameter columnIndex: (path) The column index. - parameter style: (body) Style dto (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostColumnStyle(name: String, sheetName: String, columnIndex: Int32, style: Style? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostColumnStyleWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, style: style, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostColumnStyle(name: String, sheetName: String, columnIndex: Int32, style: Style? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostColumnStyleWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, style: style, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7042,11 +7042,11 @@ open class CellsAPI { - parameter columnIndex: (path) The column index. - parameter style: (body) Style dto (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostColumnStyleWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, style: Style? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostColumnStyleWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, style: Style? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}/style" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7063,7 +7063,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7082,11 +7082,11 @@ open class CellsAPI { - parameter row: (query) Source row (optional) - parameter column: (query) Source column (optional) - parameter folder: (query) Folder name (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostCopyCellIntoCell(name: String, destCellName: String, sheetName: String, worksheet: String, cellname: String? = nil, row: Int32? = nil, column: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostCopyCellIntoCellWithRequestBuilder(name: name, destCellName: destCellName, sheetName: sheetName, worksheet: worksheet, cellname: cellname, row: row, column: column, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostCopyCellIntoCell(name: String, destCellName: String, sheetName: String, worksheet: String, cellname: String? = nil, row: Int32? = nil, column: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostCopyCellIntoCellWithRequestBuilder(name: name, destCellName: destCellName, sheetName: sheetName, worksheet: worksheet, cellname: cellname, row: row, column: column, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7108,11 +7108,11 @@ open class CellsAPI { - parameter row: (query) Source row (optional) - parameter column: (query) Source column (optional) - parameter folder: (query) Folder name (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostCopyCellIntoCellWithRequestBuilder(name: String, destCellName: String, sheetName: String, worksheet: String, cellname: String? = nil, row: Int32? = nil, column: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostCopyCellIntoCellWithRequestBuilder(name: String, destCellName: String, sheetName: String, worksheet: String, cellname: String? = nil, row: Int32? = nil, column: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/{destCellName}/copy" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7133,7 +7133,7 @@ open class CellsAPI { "row": row?.encodeToJSON(), "column": column?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7151,11 +7151,11 @@ open class CellsAPI { - parameter columnNumber: (query) The copied column number - parameter worksheet: (query) The Worksheet (optional, default to ) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostCopyWorksheetColumns(name: String, sheetName: String, sourceColumnIndex: Int32, destinationColumnIndex: Int32, columnNumber: Int32, worksheet: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostCopyWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, sourceColumnIndex: sourceColumnIndex, destinationColumnIndex: destinationColumnIndex, columnNumber: columnNumber, worksheet: worksheet, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostCopyWorksheetColumns(name: String, sheetName: String, sourceColumnIndex: Int32, destinationColumnIndex: Int32, columnNumber: Int32, worksheet: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostCopyWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, sourceColumnIndex: sourceColumnIndex, destinationColumnIndex: destinationColumnIndex, columnNumber: columnNumber, worksheet: worksheet, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7176,11 +7176,11 @@ open class CellsAPI { - parameter columnNumber: (query) The copied column number - parameter worksheet: (query) The Worksheet (optional, default to ) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostCopyWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, sourceColumnIndex: Int32, destinationColumnIndex: Int32, columnNumber: Int32, worksheet: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostCopyWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, sourceColumnIndex: Int32, destinationColumnIndex: Int32, columnNumber: Int32, worksheet: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/copy" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7198,7 +7198,7 @@ open class CellsAPI { "columnNumber": columnNumber.encodeToJSON(), "worksheet": worksheet, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7216,11 +7216,11 @@ open class CellsAPI { - parameter rowNumber: (query) The copied row number - parameter worksheet: (query) worksheet (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostCopyWorksheetRows(name: String, sheetName: String, sourceRowIndex: Int32, destinationRowIndex: Int32, rowNumber: Int32, worksheet: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostCopyWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, sourceRowIndex: sourceRowIndex, destinationRowIndex: destinationRowIndex, rowNumber: rowNumber, worksheet: worksheet, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostCopyWorksheetRows(name: String, sheetName: String, sourceRowIndex: Int32, destinationRowIndex: Int32, rowNumber: Int32, worksheet: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostCopyWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, sourceRowIndex: sourceRowIndex, destinationRowIndex: destinationRowIndex, rowNumber: rowNumber, worksheet: worksheet, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7241,11 +7241,11 @@ open class CellsAPI { - parameter rowNumber: (query) The copied row number - parameter worksheet: (query) worksheet (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostCopyWorksheetRowsWithRequestBuilder(name: String, sheetName: String, sourceRowIndex: Int32, destinationRowIndex: Int32, rowNumber: Int32, worksheet: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostCopyWorksheetRowsWithRequestBuilder(name: String, sheetName: String, sourceRowIndex: Int32, destinationRowIndex: Int32, rowNumber: Int32, worksheet: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/copy" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7263,7 +7263,7 @@ open class CellsAPI { "rowNumber": rowNumber.encodeToJSON(), "worksheet": worksheet, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7280,11 +7280,11 @@ open class CellsAPI { - parameter lastIndex: (query) The last column index to be operated. - parameter hide: (query) columns visible state (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostGroupWorksheetColumns(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, hide: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostGroupWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, hide: hide, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostGroupWorksheetColumns(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, hide: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostGroupWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, hide: hide, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7304,11 +7304,11 @@ open class CellsAPI { - parameter lastIndex: (query) The last column index to be operated. - parameter hide: (query) columns visible state (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostGroupWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, hide: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostGroupWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, hide: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/group" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7325,7 +7325,7 @@ open class CellsAPI { "lastIndex": lastIndex.encodeToJSON(), "hide": hide, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7342,11 +7342,11 @@ open class CellsAPI { - parameter lastIndex: (query) The last row index to be operated. - parameter hide: (query) rows visible state (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostGroupWorksheetRows(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, hide: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostGroupWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, hide: hide, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostGroupWorksheetRows(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, hide: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostGroupWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, hide: hide, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7366,11 +7366,11 @@ open class CellsAPI { - parameter lastIndex: (query) The last row index to be operated. - parameter hide: (query) rows visible state (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostGroupWorksheetRowsWithRequestBuilder(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, hide: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostGroupWorksheetRowsWithRequestBuilder(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, hide: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/group" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7387,7 +7387,7 @@ open class CellsAPI { "lastIndex": lastIndex.encodeToJSON(), "hide": hide, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7403,11 +7403,11 @@ open class CellsAPI { - parameter startColumn: (query) The begin column index to be operated. - parameter totalColumns: (query) Number of columns to be operated. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostHideWorksheetColumns(name: String, sheetName: String, startColumn: Int32, totalColumns: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostHideWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, startColumn: startColumn, totalColumns: totalColumns, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostHideWorksheetColumns(name: String, sheetName: String, startColumn: Int32, totalColumns: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostHideWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, startColumn: startColumn, totalColumns: totalColumns, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7426,11 +7426,11 @@ open class CellsAPI { - parameter startColumn: (query) The begin column index to be operated. - parameter totalColumns: (query) Number of columns to be operated. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostHideWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, startColumn: Int32, totalColumns: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostHideWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, startColumn: Int32, totalColumns: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/hide" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7446,7 +7446,7 @@ open class CellsAPI { "startColumn": startColumn.encodeToJSON(), "totalColumns": totalColumns.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7462,11 +7462,11 @@ open class CellsAPI { - parameter startrow: (query) The begin row index to be operated. - parameter totalRows: (query) Number of rows to be operated. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostHideWorksheetRows(name: String, sheetName: String, startrow: Int32, totalRows: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostHideWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostHideWorksheetRows(name: String, sheetName: String, startrow: Int32, totalRows: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostHideWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7485,11 +7485,11 @@ open class CellsAPI { - parameter startrow: (query) The begin row index to be operated. - parameter totalRows: (query) Number of rows to be operated. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostHideWorksheetRowsWithRequestBuilder(name: String, sheetName: String, startrow: Int32, totalRows: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostHideWorksheetRowsWithRequestBuilder(name: String, sheetName: String, startrow: Int32, totalRows: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/hide" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7505,7 +7505,7 @@ open class CellsAPI { "startrow": startrow.encodeToJSON(), "totalRows": totalRows.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7521,11 +7521,11 @@ open class CellsAPI { - parameter rowIndex: (path) The row index. - parameter style: (body) Style dto (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostRowStyle(name: String, sheetName: String, rowIndex: Int32, style: Style? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostRowStyleWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, style: style, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostRowStyle(name: String, sheetName: String, rowIndex: Int32, style: Style? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostRowStyleWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, style: style, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7544,11 +7544,11 @@ open class CellsAPI { - parameter rowIndex: (path) The row index. - parameter style: (body) Style dto (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostRowStyleWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, style: Style? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostRowStyleWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, style: Style? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}/style" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7565,7 +7565,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7581,11 +7581,11 @@ open class CellsAPI { - parameter cellName: (path) The cell name. - parameter htmlString: (body) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostSetCellHtmlString(name: String, sheetName: String, cellName: String, htmlString: NSData, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellResponse?,_ error: Error?) -> Void)) { - cellsPostSetCellHtmlStringWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, htmlString: htmlString, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostSetCellHtmlString(name: String, sheetName: String, cellName: String, htmlString: NSData, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellResponse?,_ error: Error?) -> Void)) { + cellsPostSetCellHtmlStringWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, htmlString: htmlString, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7601,11 +7601,11 @@ open class CellsAPI { - parameter cellName: (path) The cell name. - parameter htmlString: (body) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostSetCellHtmlStringWithRequestBuilder(name: String, sheetName: String, cellName: String, htmlString: NSData, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostSetCellHtmlStringWithRequestBuilder(name: String, sheetName: String, cellName: String, htmlString: NSData, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/htmlstring" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7622,7 +7622,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7639,11 +7639,11 @@ open class CellsAPI { - parameter value: (query) Range value - parameter type: (query) Value data type (like \"int\") - parameter folder: (query) Folder name (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostSetCellRangeValue(name: String, sheetName: String, cellarea: String, value: String, type: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostSetCellRangeValueWithRequestBuilder(name: name, sheetName: sheetName, cellarea: cellarea, value: value, type: type, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostSetCellRangeValue(name: String, sheetName: String, cellarea: String, value: String, type: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostSetCellRangeValueWithRequestBuilder(name: name, sheetName: sheetName, cellarea: cellarea, value: value, type: type, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7663,11 +7663,11 @@ open class CellsAPI { - parameter value: (query) Range value - parameter type: (query) Value data type (like \"int\") - parameter folder: (query) Folder name (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostSetCellRangeValueWithRequestBuilder(name: String, sheetName: String, cellarea: String, value: String, type: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostSetCellRangeValueWithRequestBuilder(name: String, sheetName: String, cellarea: String, value: String, type: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7684,7 +7684,7 @@ open class CellsAPI { "value": value, "type": type, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7700,11 +7700,11 @@ open class CellsAPI { - parameter columnIndex: (path) The column index. - parameter width: (query) The width. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostSetWorksheetColumnWidth(name: String, sheetName: String, columnIndex: Int32, width: Double, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ColumnResponse?,_ error: Error?) -> Void)) { - cellsPostSetWorksheetColumnWidthWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, width: width, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostSetWorksheetColumnWidth(name: String, sheetName: String, columnIndex: Int32, width: Double, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ColumnResponse?,_ error: Error?) -> Void)) { + cellsPostSetWorksheetColumnWidthWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, width: width, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7720,11 +7720,11 @@ open class CellsAPI { - parameter columnIndex: (path) The column index. - parameter width: (query) The width. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostSetWorksheetColumnWidthWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, width: Double, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostSetWorksheetColumnWidthWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, width: Double, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7742,7 +7742,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "width": width, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7758,11 +7758,11 @@ open class CellsAPI { - parameter firstIndex: (query) The first column index to be operated. - parameter lastIndex: (query) The last column index to be operated. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostUngroupWorksheetColumns(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostUngroupWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostUngroupWorksheetColumns(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostUngroupWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7781,11 +7781,11 @@ open class CellsAPI { - parameter firstIndex: (query) The first column index to be operated. - parameter lastIndex: (query) The last column index to be operated. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostUngroupWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostUngroupWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/ungroup" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7801,7 +7801,7 @@ open class CellsAPI { "firstIndex": firstIndex.encodeToJSON(), "lastIndex": lastIndex.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7818,11 +7818,11 @@ open class CellsAPI { - parameter lastIndex: (query) The last row index to be operated. - parameter isAll: (query) Is all row to be operated (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostUngroupWorksheetRows(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, isAll: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostUngroupWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, isAll: isAll, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostUngroupWorksheetRows(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, isAll: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostUngroupWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, isAll: isAll, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7842,11 +7842,11 @@ open class CellsAPI { - parameter lastIndex: (query) The last row index to be operated. - parameter isAll: (query) Is all row to be operated (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostUngroupWorksheetRowsWithRequestBuilder(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, isAll: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostUngroupWorksheetRowsWithRequestBuilder(name: String, sheetName: String, firstIndex: Int32, lastIndex: Int32, isAll: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/ungroup" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7863,7 +7863,7 @@ open class CellsAPI { "lastIndex": lastIndex.encodeToJSON(), "isAll": isAll, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7880,11 +7880,11 @@ open class CellsAPI { - parameter totalColumns: (query) Number of columns to be operated. - parameter width: (query) The new column width. (optional, default to 50.0) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostUnhideWorksheetColumns(name: String, sheetName: String, startcolumn: Int32, totalColumns: Int32, width: Double? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostUnhideWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, startcolumn: startcolumn, totalColumns: totalColumns, width: width, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostUnhideWorksheetColumns(name: String, sheetName: String, startcolumn: Int32, totalColumns: Int32, width: Double? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostUnhideWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, startcolumn: startcolumn, totalColumns: totalColumns, width: width, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7904,11 +7904,11 @@ open class CellsAPI { - parameter totalColumns: (query) Number of columns to be operated. - parameter width: (query) The new column width. (optional, default to 50.0) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostUnhideWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, startcolumn: Int32, totalColumns: Int32, width: Double? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostUnhideWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, startcolumn: Int32, totalColumns: Int32, width: Double? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/unhide" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7925,7 +7925,7 @@ open class CellsAPI { "totalColumns": totalColumns.encodeToJSON(), "width": width, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -7942,11 +7942,11 @@ open class CellsAPI { - parameter totalRows: (query) Number of rows to be operated. - parameter height: (query) The new row height. (optional, default to 15.0) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostUnhideWorksheetRows(name: String, sheetName: String, startrow: Int32, totalRows: Int32, height: Double? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostUnhideWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, height: height, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostUnhideWorksheetRows(name: String, sheetName: String, startrow: Int32, totalRows: Int32, height: Double? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostUnhideWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, height: height, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -7966,11 +7966,11 @@ open class CellsAPI { - parameter totalRows: (query) Number of rows to be operated. - parameter height: (query) The new row height. (optional, default to 15.0) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostUnhideWorksheetRowsWithRequestBuilder(name: String, sheetName: String, startrow: Int32, totalRows: Int32, height: Double? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostUnhideWorksheetRowsWithRequestBuilder(name: String, sheetName: String, startrow: Int32, totalRows: Int32, height: Double? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/unhide" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -7987,7 +7987,7 @@ open class CellsAPI { "totalRows": totalRows.encodeToJSON(), "height": height, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8003,11 +8003,11 @@ open class CellsAPI { - parameter cellName: (path) The cell name. - parameter style: (body) with update style settings. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostUpdateWorksheetCellStyle(name: String, sheetName: String, cellName: String, style: Style? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: StyleResponse?,_ error: Error?) -> Void)) { - cellsPostUpdateWorksheetCellStyleWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, style: style, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostUpdateWorksheetCellStyle(name: String, sheetName: String, cellName: String, style: Style? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: StyleResponse?,_ error: Error?) -> Void)) { + cellsPostUpdateWorksheetCellStyleWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, style: style, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8023,11 +8023,11 @@ open class CellsAPI { - parameter cellName: (path) The cell name. - parameter style: (body) with update style settings. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostUpdateWorksheetCellStyleWithRequestBuilder(name: String, sheetName: String, cellName: String, style: Style? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostUpdateWorksheetCellStyleWithRequestBuilder(name: String, sheetName: String, cellName: String, style: Style? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/style" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8044,7 +8044,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8060,11 +8060,11 @@ open class CellsAPI { - parameter range: (query) The range. - parameter style: (body) with update style settings. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostUpdateWorksheetRangeStyle(name: String, sheetName: String, range: String, style: Style? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostUpdateWorksheetRangeStyleWithRequestBuilder(name: name, sheetName: sheetName, range: range, style: style, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostUpdateWorksheetRangeStyle(name: String, sheetName: String, range: String, style: Style? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostUpdateWorksheetRangeStyleWithRequestBuilder(name: name, sheetName: sheetName, range: range, style: style, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8083,11 +8083,11 @@ open class CellsAPI { - parameter range: (query) The range. - parameter style: (body) with update style settings. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostUpdateWorksheetRangeStyleWithRequestBuilder(name: String, sheetName: String, range: String, style: Style? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostUpdateWorksheetRangeStyleWithRequestBuilder(name: String, sheetName: String, range: String, style: Style? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/style" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8102,7 +8102,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "range": range, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8118,11 +8118,11 @@ open class CellsAPI { - parameter rowIndex: (path) The row index. - parameter height: (query) The new row height. (optional, default to 0.0) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostUpdateWorksheetRow(name: String, sheetName: String, rowIndex: Int32, height: Double? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: RowResponse?,_ error: Error?) -> Void)) { - cellsPostUpdateWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, height: height, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostUpdateWorksheetRow(name: String, sheetName: String, rowIndex: Int32, height: Double? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: RowResponse?,_ error: Error?) -> Void)) { + cellsPostUpdateWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, height: height, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8138,11 +8138,11 @@ open class CellsAPI { - parameter rowIndex: (path) The row index. - parameter height: (query) The new row height. (optional, default to 0.0) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostUpdateWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, height: Double? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostUpdateWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, height: Double? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8160,7 +8160,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "height": height, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8178,11 +8178,11 @@ open class CellsAPI { - parameter type: (query) The value type. (optional) - parameter formula: (query) Formula for cell (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostWorksheetCellSetValue(name: String, sheetName: String, cellName: String, value: String? = nil, type: String? = nil, formula: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellResponse?,_ error: Error?) -> Void)) { - cellsPostWorksheetCellSetValueWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, value: value, type: type, formula: formula, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostWorksheetCellSetValue(name: String, sheetName: String, cellName: String, value: String? = nil, type: String? = nil, formula: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellResponse?,_ error: Error?) -> Void)) { + cellsPostWorksheetCellSetValueWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, value: value, type: type, formula: formula, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8200,11 +8200,11 @@ open class CellsAPI { - parameter type: (query) The value type. (optional) - parameter formula: (query) Formula for cell (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostWorksheetCellSetValueWithRequestBuilder(name: String, sheetName: String, cellName: String, value: String? = nil, type: String? = nil, formula: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostWorksheetCellSetValueWithRequestBuilder(name: String, sheetName: String, cellName: String, value: String? = nil, type: String? = nil, formula: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8224,7 +8224,7 @@ open class CellsAPI { "type": type, "formula": formula, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8242,11 +8242,11 @@ open class CellsAPI { - parameter totalRows: (query) The total rows - parameter totalColumns: (query) The total columns. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostWorksheetMerge(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostWorksheetMergeWithRequestBuilder(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostWorksheetMerge(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostWorksheetMergeWithRequestBuilder(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8267,11 +8267,11 @@ open class CellsAPI { - parameter totalRows: (query) The total rows - parameter totalColumns: (query) The total columns. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostWorksheetMergeWithRequestBuilder(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostWorksheetMergeWithRequestBuilder(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/merge" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8289,7 +8289,7 @@ open class CellsAPI { "totalRows": totalRows.encodeToJSON(), "totalColumns": totalColumns.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8307,11 +8307,11 @@ open class CellsAPI { - parameter totalRows: (query) The total rows - parameter totalColumns: (query) The total columns. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPostWorksheetUnmerge(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPostWorksheetUnmergeWithRequestBuilder(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPostWorksheetUnmerge(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPostWorksheetUnmergeWithRequestBuilder(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8332,11 +8332,11 @@ open class CellsAPI { - parameter totalRows: (query) The total rows - parameter totalColumns: (query) The total columns. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPostWorksheetUnmergeWithRequestBuilder(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPostWorksheetUnmergeWithRequestBuilder(name: String, sheetName: String, startRow: Int32, startColumn: Int32, totalRows: Int32, totalColumns: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/unmerge" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8354,7 +8354,7 @@ open class CellsAPI { "totalRows": totalRows.encodeToJSON(), "totalColumns": totalColumns.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8367,11 +8367,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPropertiesDeleteDocumentProperties(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertiesResponse?,_ error: Error?) -> Void)) { - cellsPropertiesDeleteDocumentPropertiesWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPropertiesDeleteDocumentProperties(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertiesResponse?,_ error: Error?) -> Void)) { + cellsPropertiesDeleteDocumentPropertiesWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8384,11 +8384,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPropertiesDeleteDocumentPropertiesWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPropertiesDeleteDocumentPropertiesWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/documentproperties" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8399,7 +8399,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8413,11 +8413,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter propertyName: (path) The property name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPropertiesDeleteDocumentProperty(name: String, propertyName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertiesResponse?,_ error: Error?) -> Void)) { - cellsPropertiesDeleteDocumentPropertyWithRequestBuilder(name: name, propertyName: propertyName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPropertiesDeleteDocumentProperty(name: String, propertyName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertiesResponse?,_ error: Error?) -> Void)) { + cellsPropertiesDeleteDocumentPropertyWithRequestBuilder(name: name, propertyName: propertyName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8431,11 +8431,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter propertyName: (path) The property name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPropertiesDeleteDocumentPropertyWithRequestBuilder(name: String, propertyName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPropertiesDeleteDocumentPropertyWithRequestBuilder(name: String, propertyName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/documentproperties/{propertyName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8449,7 +8449,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8462,11 +8462,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPropertiesGetDocumentProperties(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertiesResponse?,_ error: Error?) -> Void)) { - cellsPropertiesGetDocumentPropertiesWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPropertiesGetDocumentProperties(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertiesResponse?,_ error: Error?) -> Void)) { + cellsPropertiesGetDocumentPropertiesWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8479,11 +8479,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPropertiesGetDocumentPropertiesWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPropertiesGetDocumentPropertiesWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/documentproperties" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8494,7 +8494,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8508,11 +8508,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter propertyName: (path) The property name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPropertiesGetDocumentProperty(name: String, propertyName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertyResponse?,_ error: Error?) -> Void)) { - cellsPropertiesGetDocumentPropertyWithRequestBuilder(name: name, propertyName: propertyName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPropertiesGetDocumentProperty(name: String, propertyName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertyResponse?,_ error: Error?) -> Void)) { + cellsPropertiesGetDocumentPropertyWithRequestBuilder(name: name, propertyName: propertyName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8526,11 +8526,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter propertyName: (path) The property name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPropertiesGetDocumentPropertyWithRequestBuilder(name: String, propertyName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPropertiesGetDocumentPropertyWithRequestBuilder(name: String, propertyName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/documentproperties/{propertyName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8544,7 +8544,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8559,11 +8559,11 @@ open class CellsAPI { - parameter propertyName: (path) The property name. - parameter property: (body) with new property value. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPropertiesPutDocumentProperty(name: String, propertyName: String, property: CellsDocumentProperty? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertyResponse?,_ error: Error?) -> Void)) { - cellsPropertiesPutDocumentPropertyWithRequestBuilder(name: name, propertyName: propertyName, property: property, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPropertiesPutDocumentProperty(name: String, propertyName: String, property: CellsDocumentProperty? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsDocumentPropertyResponse?,_ error: Error?) -> Void)) { + cellsPropertiesPutDocumentPropertyWithRequestBuilder(name: name, propertyName: propertyName, property: property, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8578,11 +8578,11 @@ open class CellsAPI { - parameter propertyName: (path) The property name. - parameter property: (body) with new property value. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPropertiesPutDocumentPropertyWithRequestBuilder(name: String, propertyName: String, property: CellsDocumentProperty? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPropertiesPutDocumentPropertyWithRequestBuilder(name: String, propertyName: String, property: CellsDocumentProperty? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/documentproperties/{propertyName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8596,7 +8596,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8613,11 +8613,11 @@ open class CellsAPI { - parameter columns: (query) The columns. - parameter updateReference: (query) The update reference. (optional, default to true) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPutInsertWorksheetColumns(name: String, sheetName: String, columnIndex: Int32, columns: Int32, updateReference: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ColumnsResponse?,_ error: Error?) -> Void)) { - cellsPutInsertWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, columns: columns, updateReference: updateReference, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPutInsertWorksheetColumns(name: String, sheetName: String, columnIndex: Int32, columns: Int32, updateReference: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ColumnsResponse?,_ error: Error?) -> Void)) { + cellsPutInsertWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, columnIndex: columnIndex, columns: columns, updateReference: updateReference, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8634,11 +8634,11 @@ open class CellsAPI { - parameter columns: (query) The columns. - parameter updateReference: (query) The update reference. (optional, default to true) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPutInsertWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, columns: Int32, updateReference: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPutInsertWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, columnIndex: Int32, columns: Int32, updateReference: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8657,7 +8657,7 @@ open class CellsAPI { "columns": columns.encodeToJSON(), "updateReference": updateReference, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8672,11 +8672,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter rowIndex: (path) The new row index. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPutInsertWorksheetRow(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: RowResponse?,_ error: Error?) -> Void)) { - cellsPutInsertWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPutInsertWorksheetRow(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: RowResponse?,_ error: Error?) -> Void)) { + cellsPutInsertWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8691,11 +8691,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter rowIndex: (path) The new row index. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPutInsertWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPutInsertWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8712,7 +8712,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8729,11 +8729,11 @@ open class CellsAPI { - parameter totalRows: (query) Number of rows to be operated. (optional, default to 1) - parameter updateReference: (query) Indicates if update references in other worksheets. (optional, default to true) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsPutInsertWorksheetRows(name: String, sheetName: String, startrow: Int32, totalRows: Int32? = nil, updateReference: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsPutInsertWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, updateReference: updateReference, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsPutInsertWorksheetRows(name: String, sheetName: String, startrow: Int32, totalRows: Int32? = nil, updateReference: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsPutInsertWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, updateReference: updateReference, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8753,11 +8753,11 @@ open class CellsAPI { - parameter totalRows: (query) Number of rows to be operated. (optional, default to 1) - parameter updateReference: (query) Indicates if update references in other worksheets. (optional, default to true) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsPutInsertWorksheetRowsWithRequestBuilder(name: String, sheetName: String, startrow: Int32, totalRows: Int32? = nil, updateReference: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsPutInsertWorksheetRowsWithRequestBuilder(name: String, sheetName: String, startrow: Int32, totalRows: Int32? = nil, updateReference: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/cells/rows" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8774,7 +8774,7 @@ open class CellsAPI { "totalRows": totalRows?.encodeToJSON(), "updateReference": updateReference, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8793,11 +8793,11 @@ open class CellsAPI { - parameter rowCount: (query) the count of rows in the range (optional) - parameter columnCount: (query) the count of columns in the range (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesGetWorksheetCellsRangeValue(name: String, sheetName: String, namerange: String? = nil, firstRow: Int32? = nil, firstColumn: Int32? = nil, rowCount: Int32? = nil, columnCount: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: RangeValueResponse?,_ error: Error?) -> Void)) { - cellsRangesGetWorksheetCellsRangeValueWithRequestBuilder(name: name, sheetName: sheetName, namerange: namerange, firstRow: firstRow, firstColumn: firstColumn, rowCount: rowCount, columnCount: columnCount, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesGetWorksheetCellsRangeValue(name: String, sheetName: String, namerange: String? = nil, firstRow: Int32? = nil, firstColumn: Int32? = nil, rowCount: Int32? = nil, columnCount: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: RangeValueResponse?,_ error: Error?) -> Void)) { + cellsRangesGetWorksheetCellsRangeValueWithRequestBuilder(name: name, sheetName: sheetName, namerange: namerange, firstRow: firstRow, firstColumn: firstColumn, rowCount: rowCount, columnCount: columnCount, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8816,11 +8816,11 @@ open class CellsAPI { - parameter rowCount: (query) the count of rows in the range (optional) - parameter columnCount: (query) the count of columns in the range (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesGetWorksheetCellsRangeValueWithRequestBuilder(name: String, sheetName: String, namerange: String? = nil, firstRow: Int32? = nil, firstColumn: Int32? = nil, rowCount: Int32? = nil, columnCount: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesGetWorksheetCellsRangeValueWithRequestBuilder(name: String, sheetName: String, namerange: String? = nil, firstRow: Int32? = nil, firstColumn: Int32? = nil, rowCount: Int32? = nil, columnCount: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges/value" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8839,7 +8839,7 @@ open class CellsAPI { "rowCount": rowCount?.encodeToJSON(), "columnCount": columnCount?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8855,11 +8855,11 @@ open class CellsAPI { - parameter value: (query) - parameter range: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesPostWorksheetCellsRangeColumnWidth(name: String, sheetName: String, value: Double, range: Range? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsRangesPostWorksheetCellsRangeColumnWidthWithRequestBuilder(name: name, sheetName: sheetName, value: value, range: range, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesPostWorksheetCellsRangeColumnWidth(name: String, sheetName: String, value: Double, range: Range? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsRangesPostWorksheetCellsRangeColumnWidthWithRequestBuilder(name: name, sheetName: sheetName, value: value, range: range, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8878,11 +8878,11 @@ open class CellsAPI { - parameter value: (query) - parameter range: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesPostWorksheetCellsRangeColumnWidthWithRequestBuilder(name: String, sheetName: String, value: Double, range: Range? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesPostWorksheetCellsRangeColumnWidthWithRequestBuilder(name: String, sheetName: String, value: Double, range: Range? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges/columnWidth" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8897,7 +8897,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "value": value, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8912,11 +8912,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter range: (body) range in worksheet (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesPostWorksheetCellsRangeMerge(name: String, sheetName: String, range: Range? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsRangesPostWorksheetCellsRangeMergeWithRequestBuilder(name: name, sheetName: sheetName, range: range, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesPostWorksheetCellsRangeMerge(name: String, sheetName: String, range: Range? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsRangesPostWorksheetCellsRangeMergeWithRequestBuilder(name: name, sheetName: sheetName, range: range, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8934,11 +8934,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter range: (body) range in worksheet (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesPostWorksheetCellsRangeMergeWithRequestBuilder(name: String, sheetName: String, range: Range? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesPostWorksheetCellsRangeMergeWithRequestBuilder(name: String, sheetName: String, range: Range? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges/merge" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -8952,7 +8952,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -8969,11 +8969,11 @@ open class CellsAPI { - parameter destColumn: (query) The start column of the dest range. - parameter range: (body) range in worksheet (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesPostWorksheetCellsRangeMoveTo(name: String, sheetName: String, destRow: Int32, destColumn: Int32, range: Range? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsRangesPostWorksheetCellsRangeMoveToWithRequestBuilder(name: name, sheetName: sheetName, destRow: destRow, destColumn: destColumn, range: range, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesPostWorksheetCellsRangeMoveTo(name: String, sheetName: String, destRow: Int32, destColumn: Int32, range: Range? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsRangesPostWorksheetCellsRangeMoveToWithRequestBuilder(name: name, sheetName: sheetName, destRow: destRow, destColumn: destColumn, range: range, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -8993,11 +8993,11 @@ open class CellsAPI { - parameter destColumn: (query) The start column of the dest range. - parameter range: (body) range in worksheet (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesPostWorksheetCellsRangeMoveToWithRequestBuilder(name: String, sheetName: String, destRow: Int32, destColumn: Int32, range: Range? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesPostWorksheetCellsRangeMoveToWithRequestBuilder(name: String, sheetName: String, destRow: Int32, destColumn: Int32, range: Range? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges/moveto" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9013,7 +9013,7 @@ open class CellsAPI { "destRow": destRow.encodeToJSON(), "destColumn": destColumn.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9028,11 +9028,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter rangeOperate: (body) Range Set OutlineBorder Request (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesPostWorksheetCellsRangeOutlineBorder(name: String, sheetName: String, rangeOperate: RangeSetOutlineBorderRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsRangesPostWorksheetCellsRangeOutlineBorderWithRequestBuilder(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesPostWorksheetCellsRangeOutlineBorder(name: String, sheetName: String, rangeOperate: RangeSetOutlineBorderRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsRangesPostWorksheetCellsRangeOutlineBorderWithRequestBuilder(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9050,11 +9050,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter rangeOperate: (body) Range Set OutlineBorder Request (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesPostWorksheetCellsRangeOutlineBorderWithRequestBuilder(name: String, sheetName: String, rangeOperate: RangeSetOutlineBorderRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesPostWorksheetCellsRangeOutlineBorderWithRequestBuilder(name: String, sheetName: String, rangeOperate: RangeSetOutlineBorderRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges/outlineBorder" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9068,7 +9068,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9084,11 +9084,11 @@ open class CellsAPI { - parameter value: (query) - parameter range: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesPostWorksheetCellsRangeRowHeight(name: String, sheetName: String, value: Double, range: Range? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsRangesPostWorksheetCellsRangeRowHeightWithRequestBuilder(name: name, sheetName: sheetName, value: value, range: range, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesPostWorksheetCellsRangeRowHeight(name: String, sheetName: String, value: Double, range: Range? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsRangesPostWorksheetCellsRangeRowHeightWithRequestBuilder(name: name, sheetName: sheetName, value: value, range: range, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9107,11 +9107,11 @@ open class CellsAPI { - parameter value: (query) - parameter range: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesPostWorksheetCellsRangeRowHeightWithRequestBuilder(name: String, sheetName: String, value: Double, range: Range? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesPostWorksheetCellsRangeRowHeightWithRequestBuilder(name: String, sheetName: String, value: Double, range: Range? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges/rowHeight" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9126,7 +9126,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "value": value, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9141,11 +9141,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter rangeOperate: (body) Range Set Style Request (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesPostWorksheetCellsRangeStyle(name: String, sheetName: String, rangeOperate: RangeSetStyleRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsRangesPostWorksheetCellsRangeStyleWithRequestBuilder(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesPostWorksheetCellsRangeStyle(name: String, sheetName: String, rangeOperate: RangeSetStyleRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsRangesPostWorksheetCellsRangeStyleWithRequestBuilder(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9163,11 +9163,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter rangeOperate: (body) Range Set Style Request (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesPostWorksheetCellsRangeStyleWithRequestBuilder(name: String, sheetName: String, rangeOperate: RangeSetStyleRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesPostWorksheetCellsRangeStyleWithRequestBuilder(name: String, sheetName: String, rangeOperate: RangeSetStyleRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges/style" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9181,7 +9181,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9196,11 +9196,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter range: (body) range in worksheet (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesPostWorksheetCellsRangeUnmerge(name: String, sheetName: String, range: Range? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsRangesPostWorksheetCellsRangeUnmergeWithRequestBuilder(name: name, sheetName: sheetName, range: range, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesPostWorksheetCellsRangeUnmerge(name: String, sheetName: String, range: Range? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsRangesPostWorksheetCellsRangeUnmergeWithRequestBuilder(name: name, sheetName: sheetName, range: range, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9218,11 +9218,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter range: (body) range in worksheet (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesPostWorksheetCellsRangeUnmergeWithRequestBuilder(name: String, sheetName: String, range: Range? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesPostWorksheetCellsRangeUnmergeWithRequestBuilder(name: String, sheetName: String, range: Range? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges/unmerge" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9236,7 +9236,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9254,11 +9254,11 @@ open class CellsAPI { - parameter isConverted: (query) True: converted to other data type if appropriate. (optional, default to false) - parameter setStyle: (query) True: set the number format to cell's style when converting to other data type (optional, default to false) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesPostWorksheetCellsRangeValue(name: String, sheetName: String, value: String, range: Range? = nil, isConverted: Bool? = nil, setStyle: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsRangesPostWorksheetCellsRangeValueWithRequestBuilder(name: name, sheetName: sheetName, value: value, range: range, isConverted: isConverted, setStyle: setStyle, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesPostWorksheetCellsRangeValue(name: String, sheetName: String, value: String, range: Range? = nil, isConverted: Bool? = nil, setStyle: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsRangesPostWorksheetCellsRangeValueWithRequestBuilder(name: name, sheetName: sheetName, value: value, range: range, isConverted: isConverted, setStyle: setStyle, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9279,11 +9279,11 @@ open class CellsAPI { - parameter isConverted: (query) True: converted to other data type if appropriate. (optional, default to false) - parameter setStyle: (query) True: set the number format to cell's style when converting to other data type (optional, default to false) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesPostWorksheetCellsRangeValueWithRequestBuilder(name: String, sheetName: String, value: String, range: Range? = nil, isConverted: Bool? = nil, setStyle: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesPostWorksheetCellsRangeValueWithRequestBuilder(name: String, sheetName: String, value: String, range: Range? = nil, isConverted: Bool? = nil, setStyle: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges/value" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9300,7 +9300,7 @@ open class CellsAPI { "isConverted": isConverted, "setStyle": setStyle, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9315,11 +9315,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter rangeOperate: (body) copydata,copystyle,copyto,copyvalue (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsRangesPostWorksheetCellsRanges(name: String, sheetName: String, rangeOperate: RangeCopyRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsRangesPostWorksheetCellsRangesWithRequestBuilder(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsRangesPostWorksheetCellsRanges(name: String, sheetName: String, rangeOperate: RangeCopyRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsRangesPostWorksheetCellsRangesWithRequestBuilder(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9337,11 +9337,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name - parameter rangeOperate: (body) copydata,copystyle,copyto,copyvalue (optional) - parameter folder: (query) Workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsRangesPostWorksheetCellsRangesWithRequestBuilder(name: String, sheetName: String, rangeOperate: RangeCopyRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsRangesPostWorksheetCellsRangesWithRequestBuilder(name: String, sheetName: String, rangeOperate: RangeCopyRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/ranges" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9355,7 +9355,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9372,11 +9372,11 @@ open class CellsAPI { - parameter isAutoFitRows: (query) Autofit rows. (optional, default to false) - parameter isAutoFitColumns: (query) Autofit columns. (optional, default to false) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsSaveAsPostDocumentSaveAs(name: String, saveOptions: SaveOptions? = nil, newfilename: String? = nil, isAutoFitRows: Bool? = nil, isAutoFitColumns: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: SaveResponse?,_ error: Error?) -> Void)) { - cellsSaveAsPostDocumentSaveAsWithRequestBuilder(name: name, saveOptions: saveOptions, newfilename: newfilename, isAutoFitRows: isAutoFitRows, isAutoFitColumns: isAutoFitColumns, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsSaveAsPostDocumentSaveAs(name: String, saveOptions: SaveOptions? = nil, newfilename: String? = nil, isAutoFitRows: Bool? = nil, isAutoFitColumns: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: SaveResponse?,_ error: Error?) -> Void)) { + cellsSaveAsPostDocumentSaveAsWithRequestBuilder(name: name, saveOptions: saveOptions, newfilename: newfilename, isAutoFitRows: isAutoFitRows, isAutoFitColumns: isAutoFitColumns, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9393,11 +9393,11 @@ open class CellsAPI { - parameter isAutoFitRows: (query) Autofit rows. (optional, default to false) - parameter isAutoFitColumns: (query) Autofit columns. (optional, default to false) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsSaveAsPostDocumentSaveAsWithRequestBuilder(name: String, saveOptions: SaveOptions? = nil, newfilename: String? = nil, isAutoFitRows: Bool? = nil, isAutoFitColumns: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsSaveAsPostDocumentSaveAsWithRequestBuilder(name: String, saveOptions: SaveOptions? = nil, newfilename: String? = nil, isAutoFitRows: Bool? = nil, isAutoFitColumns: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/SaveAs" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9411,7 +9411,7 @@ open class CellsAPI { "isAutoFitRows": isAutoFitRows, "isAutoFitColumns": isAutoFitColumns, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9426,11 +9426,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name. - parameter shapeindex: (path) shape index in worksheet shapes. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsShapesDeleteWorksheetShape(name: String, sheetName: String, shapeindex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsShapesDeleteWorksheetShapeWithRequestBuilder(name: name, sheetName: sheetName, shapeindex: shapeindex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsShapesDeleteWorksheetShape(name: String, sheetName: String, shapeindex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsShapesDeleteWorksheetShapeWithRequestBuilder(name: name, sheetName: sheetName, shapeindex: shapeindex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9448,11 +9448,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name. - parameter shapeindex: (path) shape index in worksheet shapes. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsShapesDeleteWorksheetShapeWithRequestBuilder(name: String, sheetName: String, shapeindex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsShapesDeleteWorksheetShapeWithRequestBuilder(name: String, sheetName: String, shapeindex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/shapes/{shapeindex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9469,7 +9469,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9483,11 +9483,11 @@ open class CellsAPI { - parameter name: (path) document name. - parameter sheetName: (path) worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsShapesDeleteWorksheetShapes(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsShapesDeleteWorksheetShapesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsShapesDeleteWorksheetShapes(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsShapesDeleteWorksheetShapesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9504,11 +9504,11 @@ open class CellsAPI { - parameter name: (path) document name. - parameter sheetName: (path) worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsShapesDeleteWorksheetShapesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsShapesDeleteWorksheetShapesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/shapes" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9522,7 +9522,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9537,11 +9537,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name. - parameter shapeindex: (path) shape index in worksheet shapes. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsShapesGetWorksheetShape(name: String, sheetName: String, shapeindex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ShapeResponse?,_ error: Error?) -> Void)) { - cellsShapesGetWorksheetShapeWithRequestBuilder(name: name, sheetName: sheetName, shapeindex: shapeindex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsShapesGetWorksheetShape(name: String, sheetName: String, shapeindex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ShapeResponse?,_ error: Error?) -> Void)) { + cellsShapesGetWorksheetShapeWithRequestBuilder(name: name, sheetName: sheetName, shapeindex: shapeindex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9556,11 +9556,11 @@ open class CellsAPI { - parameter sheetName: (path) worksheet name. - parameter shapeindex: (path) shape index in worksheet shapes. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsShapesGetWorksheetShapeWithRequestBuilder(name: String, sheetName: String, shapeindex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsShapesGetWorksheetShapeWithRequestBuilder(name: String, sheetName: String, shapeindex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/shapes/{shapeindex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9577,7 +9577,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9591,11 +9591,11 @@ open class CellsAPI { - parameter name: (path) document name. - parameter sheetName: (path) worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsShapesGetWorksheetShapes(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ShapesResponse?,_ error: Error?) -> Void)) { - cellsShapesGetWorksheetShapesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsShapesGetWorksheetShapes(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ShapesResponse?,_ error: Error?) -> Void)) { + cellsShapesGetWorksheetShapesWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9609,11 +9609,11 @@ open class CellsAPI { - parameter name: (path) document name. - parameter sheetName: (path) worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsShapesGetWorksheetShapesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsShapesGetWorksheetShapesWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/shapes" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9627,7 +9627,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9643,11 +9643,11 @@ open class CellsAPI { - parameter shapeindex: (path) shape index in worksheet shapes. - parameter dto: (body) (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsShapesPostWorksheetShape(name: String, sheetName: String, shapeindex: Int32, dto: Shape? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsShapesPostWorksheetShapeWithRequestBuilder(name: name, sheetName: sheetName, shapeindex: shapeindex, dto: dto, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsShapesPostWorksheetShape(name: String, sheetName: String, shapeindex: Int32, dto: Shape? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsShapesPostWorksheetShapeWithRequestBuilder(name: name, sheetName: sheetName, shapeindex: shapeindex, dto: dto, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9666,11 +9666,11 @@ open class CellsAPI { - parameter shapeindex: (path) shape index in worksheet shapes. - parameter dto: (body) (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsShapesPostWorksheetShapeWithRequestBuilder(name: String, sheetName: String, shapeindex: Int32, dto: Shape? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsShapesPostWorksheetShapeWithRequestBuilder(name: String, sheetName: String, shapeindex: Int32, dto: Shape? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/shapes/{shapeindex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9687,7 +9687,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9700,19 +9700,20 @@ open class CellsAPI { - parameter name: (path) document name. - parameter sheetName: (path) worksheet name. - - parameter drawingType: (query) shape object type - - parameter upperLeftRow: (query) Upper left row index. - - parameter upperLeftColumn: (query) Upper left column index. - - parameter top: (query) Represents the vertical offset of Spinner from its left row, in unit of pixel. - - parameter _left: (query) Represents the horizontal offset of Spinner from its left column, in unit of pixel. - - parameter width: (query) Represents the height of Spinner, in unit of pixel. - - parameter height: (query) Represents the width of Spinner, in unit of pixel. + - parameter shapeDTO: (body) (optional) + - parameter drawingType: (query) shape object type (optional) + - parameter upperLeftRow: (query) Upper left row index. (optional) + - parameter upperLeftColumn: (query) Upper left column index. (optional) + - parameter top: (query) Represents the vertical offset of Spinner from its left row, in unit of pixel. (optional) + - parameter _left: (query) Represents the horizontal offset of Spinner from its left column, in unit of pixel. (optional) + - parameter width: (query) Represents the height of Spinner, in unit of pixel. (optional) + - parameter height: (query) Represents the width of Spinner, in unit of pixel. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsShapesPutWorksheetShape(name: String, sheetName: String, drawingType: String, upperLeftRow: Int32, upperLeftColumn: Int32, top: Int32, _left: Int32, width: Int32, height: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ShapeResponse?,_ error: Error?) -> Void)) { - cellsShapesPutWorksheetShapeWithRequestBuilder(name: name, sheetName: sheetName, drawingType: drawingType, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, top: top, _left: _left, width: width, height: height, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsShapesPutWorksheetShape(name: String, sheetName: String, shapeDTO: Shape? = nil, drawingType: String? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, top: Int32? = nil, _left: Int32? = nil, width: Int32? = nil, height: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ShapeResponse?,_ error: Error?) -> Void)) { + cellsShapesPutWorksheetShapeWithRequestBuilder(name: name, sheetName: sheetName, shapeDTO: shapeDTO, drawingType: drawingType, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, top: top, _left: _left, width: width, height: height, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9725,19 +9726,20 @@ open class CellsAPI { - parameter name: (path) document name. - parameter sheetName: (path) worksheet name. - - parameter drawingType: (query) shape object type - - parameter upperLeftRow: (query) Upper left row index. - - parameter upperLeftColumn: (query) Upper left column index. - - parameter top: (query) Represents the vertical offset of Spinner from its left row, in unit of pixel. - - parameter _left: (query) Represents the horizontal offset of Spinner from its left column, in unit of pixel. - - parameter width: (query) Represents the height of Spinner, in unit of pixel. - - parameter height: (query) Represents the width of Spinner, in unit of pixel. + - parameter shapeDTO: (body) (optional) + - parameter drawingType: (query) shape object type (optional) + - parameter upperLeftRow: (query) Upper left row index. (optional) + - parameter upperLeftColumn: (query) Upper left column index. (optional) + - parameter top: (query) Represents the vertical offset of Spinner from its left row, in unit of pixel. (optional) + - parameter _left: (query) Represents the horizontal offset of Spinner from its left column, in unit of pixel. (optional) + - parameter width: (query) Represents the height of Spinner, in unit of pixel. (optional) + - parameter height: (query) Represents the width of Spinner, in unit of pixel. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsShapesPutWorksheetShapeWithRequestBuilder(name: String, sheetName: String, drawingType: String, upperLeftRow: Int32, upperLeftColumn: Int32, top: Int32, _left: Int32, width: Int32, height: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsShapesPutWorksheetShapeWithRequestBuilder(name: String, sheetName: String, shapeDTO: Shape? = nil, drawingType: String? = nil, upperLeftRow: Int32? = nil, upperLeftColumn: Int32? = nil, top: Int32? = nil, _left: Int32? = nil, width: Int32? = nil, height: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/shapes" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9746,24 +9748,24 @@ open class CellsAPI { let sheetNamePostEscape = sheetNamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" _path = _path.replacingOccurrences(of: "{sheetName}", with: sheetNamePostEscape, options: .literal, range: nil) let URLString = AsposeCellsCloudAPI.basePath + _path - let parameters: [String:Any]? = nil - + let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: shapeDTO) + var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "DrawingType": drawingType, - "upperLeftRow": upperLeftRow.encodeToJSON(), - "upperLeftColumn": upperLeftColumn.encodeToJSON(), - "top": top.encodeToJSON(), - "left": _left.encodeToJSON(), - "width": width.encodeToJSON(), - "height": height.encodeToJSON(), + "upperLeftRow": upperLeftRow?.encodeToJSON(), + "upperLeftColumn": upperLeftColumn?.encodeToJSON(), + "top": top?.encodeToJSON(), + "left": _left?.encodeToJSON(), + "width": width?.encodeToJSON(), + "height": height?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() - return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false) + return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true) } /** @@ -9806,11 +9808,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter encryption: (body) Encryption settings, only password can be specified. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookDeleteDecryptDocument(name: String, encryption: WorkbookEncryptionRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookDeleteDecryptDocumentWithRequestBuilder(name: name, encryption: encryption, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookDeleteDecryptDocument(name: String, encryption: WorkbookEncryptionRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookDeleteDecryptDocumentWithRequestBuilder(name: name, encryption: encryption, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9827,11 +9829,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter encryption: (body) Encryption settings, only password can be specified. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookDeleteDecryptDocumentWithRequestBuilder(name: String, encryption: WorkbookEncryptionRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookDeleteDecryptDocumentWithRequestBuilder(name: String, encryption: WorkbookEncryptionRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/encryption" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9842,7 +9844,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9855,11 +9857,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookDeleteDocumentUnprotectFromChanges(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookDeleteDocumentUnprotectFromChangesWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookDeleteDocumentUnprotectFromChanges(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookDeleteDocumentUnprotectFromChangesWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9875,11 +9877,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookDeleteDocumentUnprotectFromChangesWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookDeleteDocumentUnprotectFromChangesWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/writeProtection" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9890,7 +9892,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9904,11 +9906,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter protection: (body) Protection settings, only password can be specified. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookDeleteUnprotectDocument(name: String, protection: WorkbookProtectionRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookDeleteUnprotectDocumentWithRequestBuilder(name: name, protection: protection, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookDeleteUnprotectDocument(name: String, protection: WorkbookProtectionRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookDeleteUnprotectDocumentWithRequestBuilder(name: name, protection: protection, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9925,11 +9927,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter protection: (body) Protection settings, only password can be specified. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookDeleteUnprotectDocumentWithRequestBuilder(name: String, protection: WorkbookProtectionRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookDeleteUnprotectDocumentWithRequestBuilder(name: String, protection: WorkbookProtectionRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/protection" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9940,7 +9942,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -9953,11 +9955,11 @@ open class CellsAPI { - parameter name: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookDeleteWorkbookBackground(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookDeleteWorkbookBackgroundWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookDeleteWorkbookBackground(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookDeleteWorkbookBackgroundWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -9973,11 +9975,11 @@ open class CellsAPI { - parameter name: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookDeleteWorkbookBackgroundWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookDeleteWorkbookBackgroundWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/background" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -9988,7 +9990,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10002,11 +10004,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter nameName: (path) The name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookDeleteWorkbookName(name: String, nameName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookDeleteWorkbookNameWithRequestBuilder(name: name, nameName: nameName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookDeleteWorkbookName(name: String, nameName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookDeleteWorkbookNameWithRequestBuilder(name: name, nameName: nameName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10023,11 +10025,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter nameName: (path) The name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookDeleteWorkbookNameWithRequestBuilder(name: String, nameName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookDeleteWorkbookNameWithRequestBuilder(name: String, nameName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/names/{nameName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10041,7 +10043,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10054,11 +10056,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookDeleteWorkbookNames(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookDeleteWorkbookNamesWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookDeleteWorkbookNames(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookDeleteWorkbookNamesWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10074,11 +10076,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookDeleteWorkbookNamesWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookDeleteWorkbookNamesWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/names" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10089,7 +10091,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10106,12 +10108,12 @@ open class CellsAPI { - parameter isAutoFit: (query) Set document rows to be autofit. (optional, default to false) - parameter onlySaveTable: (query) Only save table data. (optional, default to false) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter outPath: (query) The document output folder. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookGetWorkbook(name: String, password: String? = nil, format: String? = nil, isAutoFit: Bool? = nil, onlySaveTable: Bool? = nil, folder: String? = nil, storage: String? = nil, outPath: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { - cellsWorkbookGetWorkbookWithRequestBuilder(name: name, password: password, format: format, isAutoFit: isAutoFit, onlySaveTable: onlySaveTable, folder: folder, storage: storage, outPath: outPath).execute { (response, error) -> Void in + open class func cellsWorkbookGetWorkbook(name: String, password: String? = nil, format: String? = nil, isAutoFit: Bool? = nil, onlySaveTable: Bool? = nil, folder: String? = nil, storageName: String? = nil, outPath: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { + cellsWorkbookGetWorkbookWithRequestBuilder(name: name, password: password, format: format, isAutoFit: isAutoFit, onlySaveTable: onlySaveTable, folder: folder, storageName: storageName, outPath: outPath).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10128,12 +10130,12 @@ open class CellsAPI { - parameter isAutoFit: (query) Set document rows to be autofit. (optional, default to false) - parameter onlySaveTable: (query) Only save table data. (optional, default to false) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter outPath: (query) The document output folder. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookGetWorkbookWithRequestBuilder(name: String, password: String? = nil, format: String? = nil, isAutoFit: Bool? = nil, onlySaveTable: Bool? = nil, folder: String? = nil, storage: String? = nil, outPath: String? = nil) -> RequestBuilder { + open class func cellsWorkbookGetWorkbookWithRequestBuilder(name: String, password: String? = nil, format: String? = nil, isAutoFit: Bool? = nil, onlySaveTable: Bool? = nil, folder: String? = nil, storageName: String? = nil, outPath: String? = nil) -> RequestBuilder { var _path = "/cells/{name}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10148,7 +10150,7 @@ open class CellsAPI { "isAutoFit": isAutoFit, "onlySaveTable": onlySaveTable, "folder": folder, - "storage": storage, + "storageName": storageName, "outPath": outPath ]) @@ -10162,11 +10164,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter folder: (query) The document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookGetWorkbookDefaultStyle(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: StyleResponse?,_ error: Error?) -> Void)) { - cellsWorkbookGetWorkbookDefaultStyleWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookGetWorkbookDefaultStyle(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: StyleResponse?,_ error: Error?) -> Void)) { + cellsWorkbookGetWorkbookDefaultStyleWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10179,11 +10181,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter folder: (query) The document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookGetWorkbookDefaultStyleWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookGetWorkbookDefaultStyleWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/defaultstyle" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10194,7 +10196,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10208,11 +10210,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter nameName: (path) The name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookGetWorkbookName(name: String, nameName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: NameResponse?,_ error: Error?) -> Void)) { - cellsWorkbookGetWorkbookNameWithRequestBuilder(name: name, nameName: nameName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookGetWorkbookName(name: String, nameName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: NameResponse?,_ error: Error?) -> Void)) { + cellsWorkbookGetWorkbookNameWithRequestBuilder(name: name, nameName: nameName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10226,11 +10228,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter nameName: (path) The name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookGetWorkbookNameWithRequestBuilder(name: String, nameName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookGetWorkbookNameWithRequestBuilder(name: String, nameName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/names/{nameName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10244,7 +10246,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10258,11 +10260,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter nameName: (path) The name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookGetWorkbookNameValue(name: String, nameName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: RangeValueResponse?,_ error: Error?) -> Void)) { - cellsWorkbookGetWorkbookNameValueWithRequestBuilder(name: name, nameName: nameName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookGetWorkbookNameValue(name: String, nameName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: RangeValueResponse?,_ error: Error?) -> Void)) { + cellsWorkbookGetWorkbookNameValueWithRequestBuilder(name: name, nameName: nameName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10276,11 +10278,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter nameName: (path) The name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookGetWorkbookNameValueWithRequestBuilder(name: String, nameName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookGetWorkbookNameValueWithRequestBuilder(name: String, nameName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/names/{nameName}/value" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10294,7 +10296,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10307,11 +10309,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookGetWorkbookNames(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: NamesResponse?,_ error: Error?) -> Void)) { - cellsWorkbookGetWorkbookNamesWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookGetWorkbookNames(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: NamesResponse?,_ error: Error?) -> Void)) { + cellsWorkbookGetWorkbookNamesWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10324,11 +10326,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookGetWorkbookNamesWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookGetWorkbookNamesWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/names" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10339,7 +10341,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10352,11 +10354,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookGetWorkbookSettings(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorkbookSettingsResponse?,_ error: Error?) -> Void)) { - cellsWorkbookGetWorkbookSettingsWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookGetWorkbookSettings(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorkbookSettingsResponse?,_ error: Error?) -> Void)) { + cellsWorkbookGetWorkbookSettingsWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10369,11 +10371,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookGetWorkbookSettingsWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookGetWorkbookSettingsWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/settings" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10384,7 +10386,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10397,11 +10399,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookGetWorkbookTextItems(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: TextItemsResponse?,_ error: Error?) -> Void)) { - cellsWorkbookGetWorkbookTextItemsWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookGetWorkbookTextItems(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: TextItemsResponse?,_ error: Error?) -> Void)) { + cellsWorkbookGetWorkbookTextItemsWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10414,11 +10416,11 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookGetWorkbookTextItemsWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookGetWorkbookTextItemsWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/textItems" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10429,7 +10431,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10446,11 +10448,11 @@ open class CellsAPI { - parameter endRow: (query) End row. (optional) - parameter onlyAuto: (query) Only auto. (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostAutofitWorkbookRows(name: String, autoFitterOptions: AutoFitterOptions? = nil, startRow: Int32? = nil, endRow: Int32? = nil, onlyAuto: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostAutofitWorkbookRowsWithRequestBuilder(name: name, autoFitterOptions: autoFitterOptions, startRow: startRow, endRow: endRow, onlyAuto: onlyAuto, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostAutofitWorkbookRows(name: String, autoFitterOptions: AutoFitterOptions? = nil, startRow: Int32? = nil, endRow: Int32? = nil, onlyAuto: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostAutofitWorkbookRowsWithRequestBuilder(name: name, autoFitterOptions: autoFitterOptions, startRow: startRow, endRow: endRow, onlyAuto: onlyAuto, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10470,11 +10472,11 @@ open class CellsAPI { - parameter endRow: (query) End row. (optional) - parameter onlyAuto: (query) Only auto. (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostAutofitWorkbookRowsWithRequestBuilder(name: String, autoFitterOptions: AutoFitterOptions? = nil, startRow: Int32? = nil, endRow: Int32? = nil, onlyAuto: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostAutofitWorkbookRowsWithRequestBuilder(name: String, autoFitterOptions: AutoFitterOptions? = nil, startRow: Int32? = nil, endRow: Int32? = nil, onlyAuto: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/autofitrows" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10488,7 +10490,7 @@ open class CellsAPI { "endRow": endRow?.encodeToJSON(), "onlyAuto": onlyAuto, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10502,11 +10504,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter encryption: (body) Encryption parameters. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostEncryptDocument(name: String, encryption: WorkbookEncryptionRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostEncryptDocumentWithRequestBuilder(name: name, encryption: encryption, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostEncryptDocument(name: String, encryption: WorkbookEncryptionRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostEncryptDocumentWithRequestBuilder(name: name, encryption: encryption, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10523,11 +10525,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter encryption: (body) Encryption parameters. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostEncryptDocumentWithRequestBuilder(name: String, encryption: WorkbookEncryptionRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostEncryptDocumentWithRequestBuilder(name: String, encryption: WorkbookEncryptionRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/encryption" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10538,7 +10540,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10551,11 +10553,11 @@ open class CellsAPI { - parameter name: (path) - parameter importData: (body) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostImportData(name: String, importData: ImportOption, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostImportDataWithRequestBuilder(name: name, importData: importData, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostImportData(name: String, importData: ImportOption, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostImportDataWithRequestBuilder(name: name, importData: importData, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10571,11 +10573,11 @@ open class CellsAPI { - parameter name: (path) - parameter importData: (body) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostImportDataWithRequestBuilder(name: String, importData: ImportOption, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostImportDataWithRequestBuilder(name: String, importData: ImportOption, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/importdata" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10586,7 +10588,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10600,11 +10602,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter protection: (body) The protection settings. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostProtectDocument(name: String, protection: WorkbookProtectionRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostProtectDocumentWithRequestBuilder(name: name, protection: protection, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostProtectDocument(name: String, protection: WorkbookProtectionRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostProtectDocumentWithRequestBuilder(name: name, protection: protection, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10621,11 +10623,11 @@ open class CellsAPI { - parameter name: (path) The document name. - parameter protection: (body) The protection settings. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostProtectDocumentWithRequestBuilder(name: String, protection: WorkbookProtectionRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostProtectDocumentWithRequestBuilder(name: String, protection: WorkbookProtectionRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/protection" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10636,7 +10638,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10651,11 +10653,11 @@ open class CellsAPI { - parameter options: (body) Calculation Options. (optional) - parameter ignoreError: (query) ignore Error. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostWorkbookCalculateFormula(name: String, options: CalculationOptions? = nil, ignoreError: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostWorkbookCalculateFormulaWithRequestBuilder(name: name, options: options, ignoreError: ignoreError, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostWorkbookCalculateFormula(name: String, options: CalculationOptions? = nil, ignoreError: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostWorkbookCalculateFormulaWithRequestBuilder(name: name, options: options, ignoreError: ignoreError, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10673,11 +10675,11 @@ open class CellsAPI { - parameter options: (body) Calculation Options. (optional) - parameter ignoreError: (query) ignore Error. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostWorkbookCalculateFormulaWithRequestBuilder(name: String, options: CalculationOptions? = nil, ignoreError: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostWorkbookCalculateFormulaWithRequestBuilder(name: String, options: CalculationOptions? = nil, ignoreError: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/calculateformula" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10689,7 +10691,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "ignoreError": ignoreError, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10703,12 +10705,12 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter xmlFile: (query) The xml file full path, if empty the data is read from request body. (optional) - parameter folder: (query) The workbook folder full path. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter outPath: (query) Path to save result (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostWorkbookGetSmartMarkerResult(name: String, xmlFile: String? = nil, folder: String? = nil, storage: String? = nil, outPath: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { - cellsWorkbookPostWorkbookGetSmartMarkerResultWithRequestBuilder(name: name, xmlFile: xmlFile, folder: folder, storage: storage, outPath: outPath).execute { (response, error) -> Void in + open class func cellsWorkbookPostWorkbookGetSmartMarkerResult(name: String, xmlFile: String? = nil, folder: String? = nil, storageName: String? = nil, outPath: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { + cellsWorkbookPostWorkbookGetSmartMarkerResultWithRequestBuilder(name: name, xmlFile: xmlFile, folder: folder, storageName: storageName, outPath: outPath).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10722,12 +10724,12 @@ open class CellsAPI { - parameter name: (path) The workbook name. - parameter xmlFile: (query) The xml file full path, if empty the data is read from request body. (optional) - parameter folder: (query) The workbook folder full path. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter outPath: (query) Path to save result (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostWorkbookGetSmartMarkerResultWithRequestBuilder(name: String, xmlFile: String? = nil, folder: String? = nil, storage: String? = nil, outPath: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostWorkbookGetSmartMarkerResultWithRequestBuilder(name: String, xmlFile: String? = nil, folder: String? = nil, storageName: String? = nil, outPath: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/smartmarker" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10739,7 +10741,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "xmlFile": xmlFile, "folder": folder, - "storage": storage, + "storageName": storageName, "outPath": outPath ]) @@ -10754,11 +10756,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter settings: (body) Workbook Setting DTO (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostWorkbookSettings(name: String, settings: WorkbookSettings? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostWorkbookSettingsWithRequestBuilder(name: name, settings: settings, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostWorkbookSettings(name: String, settings: WorkbookSettings? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostWorkbookSettingsWithRequestBuilder(name: name, settings: settings, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10775,11 +10777,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter settings: (body) Workbook Setting DTO (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostWorkbookSettingsWithRequestBuilder(name: String, settings: WorkbookSettings? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostWorkbookSettingsWithRequestBuilder(name: String, settings: WorkbookSettings? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/settings" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10790,7 +10792,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10809,11 +10811,11 @@ open class CellsAPI { - parameter verticalResolution: (query) Image vertical resolution. (optional, default to 0) - parameter folder: (query) The workbook folder. (optional) - parameter outFolder: (query) out Folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostWorkbookSplit(name: String, format: String? = nil, from: Int32? = nil, to: Int32? = nil, horizontalResolution: Int32? = nil, verticalResolution: Int32? = nil, folder: String? = nil, outFolder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: SplitResultResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostWorkbookSplitWithRequestBuilder(name: name, format: format, from: from, to: to, horizontalResolution: horizontalResolution, verticalResolution: verticalResolution, folder: folder, outFolder: outFolder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostWorkbookSplit(name: String, format: String? = nil, from: Int32? = nil, to: Int32? = nil, horizontalResolution: Int32? = nil, verticalResolution: Int32? = nil, folder: String? = nil, outFolder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: SplitResultResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostWorkbookSplitWithRequestBuilder(name: name, format: format, from: from, to: to, horizontalResolution: horizontalResolution, verticalResolution: verticalResolution, folder: folder, outFolder: outFolder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10832,11 +10834,11 @@ open class CellsAPI { - parameter verticalResolution: (query) Image vertical resolution. (optional, default to 0) - parameter folder: (query) The workbook folder. (optional) - parameter outFolder: (query) out Folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostWorkbookSplitWithRequestBuilder(name: String, format: String? = nil, from: Int32? = nil, to: Int32? = nil, horizontalResolution: Int32? = nil, verticalResolution: Int32? = nil, folder: String? = nil, outFolder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostWorkbookSplitWithRequestBuilder(name: String, format: String? = nil, from: Int32? = nil, to: Int32? = nil, horizontalResolution: Int32? = nil, verticalResolution: Int32? = nil, folder: String? = nil, outFolder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/split" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10853,7 +10855,7 @@ open class CellsAPI { "verticalResolution": verticalResolution?.encodeToJSON(), "folder": folder, "outFolder": outFolder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10867,11 +10869,11 @@ open class CellsAPI { - parameter name: (path) Workbook name. - parameter mergeWith: (query) The workbook to merge with. - parameter folder: (query) Source workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostWorkbooksMerge(name: String, mergeWith: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorkbookResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostWorkbooksMergeWithRequestBuilder(name: name, mergeWith: mergeWith, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostWorkbooksMerge(name: String, mergeWith: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorkbookResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostWorkbooksMergeWithRequestBuilder(name: name, mergeWith: mergeWith, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10885,11 +10887,11 @@ open class CellsAPI { - parameter name: (path) Workbook name. - parameter mergeWith: (query) The workbook to merge with. - parameter folder: (query) Source workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostWorkbooksMergeWithRequestBuilder(name: String, mergeWith: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostWorkbooksMergeWithRequestBuilder(name: String, mergeWith: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/merge" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10901,7 +10903,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "mergeWith": mergeWith, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10916,11 +10918,11 @@ open class CellsAPI { - parameter oldValue: (query) The old value. - parameter newValue: (query) The new value. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostWorkbooksTextReplace(name: String, oldValue: String, newValue: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorkbookReplaceResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostWorkbooksTextReplaceWithRequestBuilder(name: name, oldValue: oldValue, newValue: newValue, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostWorkbooksTextReplace(name: String, oldValue: String, newValue: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorkbookReplaceResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostWorkbooksTextReplaceWithRequestBuilder(name: name, oldValue: oldValue, newValue: newValue, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10935,11 +10937,11 @@ open class CellsAPI { - parameter oldValue: (query) The old value. - parameter newValue: (query) The new value. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostWorkbooksTextReplaceWithRequestBuilder(name: String, oldValue: String, newValue: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostWorkbooksTextReplaceWithRequestBuilder(name: String, oldValue: String, newValue: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/replaceText" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -10952,7 +10954,7 @@ open class CellsAPI { "oldValue": oldValue, "newValue": newValue, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -10966,11 +10968,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter text: (query) Text sample. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPostWorkbooksTextSearch(name: String, text: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: TextItemsResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPostWorkbooksTextSearchWithRequestBuilder(name: name, text: text, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPostWorkbooksTextSearch(name: String, text: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: TextItemsResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPostWorkbooksTextSearchWithRequestBuilder(name: name, text: text, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -10984,11 +10986,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter text: (query) Text sample. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPostWorkbooksTextSearchWithRequestBuilder(name: String, text: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPostWorkbooksTextSearchWithRequestBuilder(name: String, text: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/findText" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11000,7 +11002,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "text": text, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11059,11 +11061,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter password: (body) Modification password. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPutDocumentProtectFromChanges(name: String, password: PasswordRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPutDocumentProtectFromChangesWithRequestBuilder(name: name, password: password, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPutDocumentProtectFromChanges(name: String, password: PasswordRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPutDocumentProtectFromChangesWithRequestBuilder(name: name, password: password, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11080,11 +11082,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter password: (body) Modification password. (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPutDocumentProtectFromChangesWithRequestBuilder(name: String, password: PasswordRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPutDocumentProtectFromChangesWithRequestBuilder(name: String, password: PasswordRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/writeProtection" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11095,7 +11097,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11109,11 +11111,11 @@ open class CellsAPI { - parameter name: (path) - parameter png: (body) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPutWorkbookBackground(name: String, png: NSData, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPutWorkbookBackgroundWithRequestBuilder(name: name, png: png, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPutWorkbookBackground(name: String, png: NSData, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPutWorkbookBackgroundWithRequestBuilder(name: name, png: png, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11130,11 +11132,11 @@ open class CellsAPI { - parameter name: (path) - parameter png: (body) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPutWorkbookBackgroundWithRequestBuilder(name: String, png: NSData, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPutWorkbookBackgroundWithRequestBuilder(name: String, png: NSData, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/background" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11145,7 +11147,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11161,11 +11163,11 @@ open class CellsAPI { - parameter dataFile: (query) Smart marker data file, if the data not provided the request content is checked for the data. (optional) - parameter isWriteOver: (query) write over file. (optional) - parameter folder: (query) The new document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorkbookPutWorkbookCreate(name: String, templateFile: String? = nil, dataFile: String? = nil, isWriteOver: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorkbookResponse?,_ error: Error?) -> Void)) { - cellsWorkbookPutWorkbookCreateWithRequestBuilder(name: name, templateFile: templateFile, dataFile: dataFile, isWriteOver: isWriteOver, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorkbookPutWorkbookCreate(name: String, templateFile: String? = nil, dataFile: String? = nil, isWriteOver: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorkbookResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPutWorkbookCreateWithRequestBuilder(name: name, templateFile: templateFile, dataFile: dataFile, isWriteOver: isWriteOver, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11181,11 +11183,11 @@ open class CellsAPI { - parameter dataFile: (query) Smart marker data file, if the data not provided the request content is checked for the data. (optional) - parameter isWriteOver: (query) write over file. (optional) - parameter folder: (query) The new document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorkbookPutWorkbookCreateWithRequestBuilder(name: String, templateFile: String? = nil, dataFile: String? = nil, isWriteOver: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorkbookPutWorkbookCreateWithRequestBuilder(name: String, templateFile: String? = nil, dataFile: String? = nil, isWriteOver: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11199,7 +11201,7 @@ open class CellsAPI { "dataFile": dataFile, "isWriteOver": isWriteOver, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11207,6 +11209,56 @@ open class CellsAPI { return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false) } + /** + Set workbook background image. + + - parameter name: (path) + - parameter folder: (query) (optional) + - parameter storageName: (query) storage name. (optional) + - parameter textWaterMarkerRequest: (body) The text water marker request. (optional) + - parameter completion: completion handler to receive the data and the error objects + */ + open class func cellsWorkbookPutWorkbookWaterMarker(name: String, folder: String? = nil, storageName: String? = nil, textWaterMarkerRequest: TextWaterMarkerRequest? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorkbookPutWorkbookWaterMarkerWithRequestBuilder(name: name, folder: folder, storageName: storageName, textWaterMarkerRequest: textWaterMarkerRequest).execute { (response, error) -> Void in + completion(response?.body, error) + } + } + + + /** + Set workbook background image. + - PUT /cells/{name}/watermarker + - examples: [{contentType=application/json, example={ + "Status" : "Status", + "Code" : 0 +}}] + + - parameter name: (path) + - parameter folder: (query) (optional) + - parameter storageName: (query) storage name. (optional) + - parameter textWaterMarkerRequest: (body) The text water marker request. (optional) + + - returns: RequestBuilder + */ + open class func cellsWorkbookPutWorkbookWaterMarkerWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil, textWaterMarkerRequest: TextWaterMarkerRequest? = nil) -> RequestBuilder { + var _path = "/cells/{name}/watermarker" + let namePreEscape = "\(name)" + let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" + _path = _path.replacingOccurrences(of: "{name}", with: namePostEscape, options: .literal, range: nil) + let URLString = AsposeCellsCloudAPI.basePath + _path + let parameters = JSONEncodingHelper.encodingParameters(forEncodableObject: textWaterMarkerRequest) + + var url = URLComponents(string: URLString) + url?.queryItems = APIHelper.mapValuesToQueryItems([ + "folder": folder, + "storageName": storageName + ]) + + let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() + + return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true) + } + /** Delete worksheet validation by index. @@ -11214,11 +11266,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter validationIndex: (path) The validation index. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetValidationsDeleteWorksheetValidation(name: String, sheetName: String, validationIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ValidationResponse?,_ error: Error?) -> Void)) { - cellsWorksheetValidationsDeleteWorksheetValidationWithRequestBuilder(name: name, sheetName: sheetName, validationIndex: validationIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetValidationsDeleteWorksheetValidation(name: String, sheetName: String, validationIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ValidationResponse?,_ error: Error?) -> Void)) { + cellsWorksheetValidationsDeleteWorksheetValidationWithRequestBuilder(name: name, sheetName: sheetName, validationIndex: validationIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11233,11 +11285,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter validationIndex: (path) The validation index. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetValidationsDeleteWorksheetValidationWithRequestBuilder(name: String, sheetName: String, validationIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetValidationsDeleteWorksheetValidationWithRequestBuilder(name: String, sheetName: String, validationIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/validations/{validationIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11254,7 +11306,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11268,11 +11320,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) Worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetValidationsDeleteWorksheetValidations(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetValidationsDeleteWorksheetValidationsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetValidationsDeleteWorksheetValidations(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetValidationsDeleteWorksheetValidationsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11289,11 +11341,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) Worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetValidationsDeleteWorksheetValidationsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetValidationsDeleteWorksheetValidationsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/validations" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11307,7 +11359,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11322,11 +11374,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter validationIndex: (path) The validation index. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetValidationsGetWorksheetValidation(name: String, sheetName: String, validationIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ValidationResponse?,_ error: Error?) -> Void)) { - cellsWorksheetValidationsGetWorksheetValidationWithRequestBuilder(name: name, sheetName: sheetName, validationIndex: validationIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetValidationsGetWorksheetValidation(name: String, sheetName: String, validationIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ValidationResponse?,_ error: Error?) -> Void)) { + cellsWorksheetValidationsGetWorksheetValidationWithRequestBuilder(name: name, sheetName: sheetName, validationIndex: validationIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11341,11 +11393,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter validationIndex: (path) The validation index. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetValidationsGetWorksheetValidationWithRequestBuilder(name: String, sheetName: String, validationIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetValidationsGetWorksheetValidationWithRequestBuilder(name: String, sheetName: String, validationIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/validations/{validationIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11362,7 +11414,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11376,11 +11428,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) Worksheet name. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetValidationsGetWorksheetValidations(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ValidationsResponse?,_ error: Error?) -> Void)) { - cellsWorksheetValidationsGetWorksheetValidationsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetValidationsGetWorksheetValidations(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ValidationsResponse?,_ error: Error?) -> Void)) { + cellsWorksheetValidationsGetWorksheetValidationsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11394,11 +11446,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) Worksheet name. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetValidationsGetWorksheetValidationsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetValidationsGetWorksheetValidationsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/validations" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11412,7 +11464,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11428,11 +11480,11 @@ open class CellsAPI { - parameter validationIndex: (path) The validation index. - parameter validation: (body) (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetValidationsPostWorksheetValidation(name: String, sheetName: String, validationIndex: Int32, validation: Validation? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ValidationResponse?,_ error: Error?) -> Void)) { - cellsWorksheetValidationsPostWorksheetValidationWithRequestBuilder(name: name, sheetName: sheetName, validationIndex: validationIndex, validation: validation, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetValidationsPostWorksheetValidation(name: String, sheetName: String, validationIndex: Int32, validation: Validation? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ValidationResponse?,_ error: Error?) -> Void)) { + cellsWorksheetValidationsPostWorksheetValidationWithRequestBuilder(name: name, sheetName: sheetName, validationIndex: validationIndex, validation: validation, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11448,11 +11500,11 @@ open class CellsAPI { - parameter validationIndex: (path) The validation index. - parameter validation: (body) (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetValidationsPostWorksheetValidationWithRequestBuilder(name: String, sheetName: String, validationIndex: Int32, validation: Validation? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetValidationsPostWorksheetValidationWithRequestBuilder(name: String, sheetName: String, validationIndex: Int32, validation: Validation? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/validations/{validationIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11469,7 +11521,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11485,11 +11537,11 @@ open class CellsAPI { - parameter range: (query) Specified cells area (optional) - parameter validation: (body) validation (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetValidationsPutWorksheetValidation(name: String, sheetName: String, range: String? = nil, validation: Validation? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: ValidationResponse?,_ error: Error?) -> Void)) { - cellsWorksheetValidationsPutWorksheetValidationWithRequestBuilder(name: name, sheetName: sheetName, range: range, validation: validation, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetValidationsPutWorksheetValidation(name: String, sheetName: String, range: String? = nil, validation: Validation? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: ValidationResponse?,_ error: Error?) -> Void)) { + cellsWorksheetValidationsPutWorksheetValidationWithRequestBuilder(name: name, sheetName: sheetName, range: range, validation: validation, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11505,11 +11557,11 @@ open class CellsAPI { - parameter range: (query) Specified cells area (optional) - parameter validation: (body) validation (optional) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetValidationsPutWorksheetValidationWithRequestBuilder(name: String, sheetName: String, range: String? = nil, validation: Validation? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetValidationsPutWorksheetValidationWithRequestBuilder(name: String, sheetName: String, range: String? = nil, validation: Validation? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/validations" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11524,7 +11576,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "range": range, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11539,11 +11591,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter protectParameter: (body) with protection settings. Only password is used here. (optional) - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsDeleteUnprotectWorksheet(name: String, sheetName: String, protectParameter: ProtectSheetParameter? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorksheetResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsDeleteUnprotectWorksheetWithRequestBuilder(name: name, sheetName: sheetName, protectParameter: protectParameter, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsDeleteUnprotectWorksheet(name: String, sheetName: String, protectParameter: ProtectSheetParameter? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorksheetResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsDeleteUnprotectWorksheetWithRequestBuilder(name: name, sheetName: sheetName, protectParameter: protectParameter, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11558,11 +11610,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter protectParameter: (body) with protection settings. Only password is used here. (optional) - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsDeleteUnprotectWorksheetWithRequestBuilder(name: String, sheetName: String, protectParameter: ProtectSheetParameter? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsDeleteUnprotectWorksheetWithRequestBuilder(name: String, sheetName: String, protectParameter: ProtectSheetParameter? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/protection" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11576,7 +11628,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11590,11 +11642,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsDeleteWorksheet(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorksheetsResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsDeleteWorksheetWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsDeleteWorksheet(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorksheetsResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsDeleteWorksheetWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11608,11 +11660,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsDeleteWorksheetWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsDeleteWorksheetWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11626,7 +11678,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11640,11 +11692,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsDeleteWorksheetBackground(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsDeleteWorksheetBackgroundWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsDeleteWorksheetBackground(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsDeleteWorksheetBackgroundWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11661,11 +11713,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsDeleteWorksheetBackgroundWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsDeleteWorksheetBackgroundWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/background" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11679,7 +11731,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11694,11 +11746,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter cellName: (path) The cell name - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsDeleteWorksheetComment(name: String, sheetName: String, cellName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsDeleteWorksheetCommentWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsDeleteWorksheetComment(name: String, sheetName: String, cellName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsDeleteWorksheetCommentWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11716,11 +11768,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter cellName: (path) The cell name - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsDeleteWorksheetCommentWithRequestBuilder(name: String, sheetName: String, cellName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsDeleteWorksheetCommentWithRequestBuilder(name: String, sheetName: String, cellName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/comments/{cellName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11737,7 +11789,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11751,11 +11803,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsDeleteWorksheetComments(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsDeleteWorksheetCommentsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsDeleteWorksheetComments(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsDeleteWorksheetCommentsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11772,11 +11824,11 @@ open class CellsAPI { - parameter name: (path) - parameter sheetName: (path) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsDeleteWorksheetCommentsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsDeleteWorksheetCommentsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/comments" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11790,7 +11842,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11808,11 +11860,11 @@ open class CellsAPI { - parameter freezedRows: (query) - parameter freezedColumns: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsDeleteWorksheetFreezePanes(name: String, sheetName: String, row: Int32, column: Int32, freezedRows: Int32, freezedColumns: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsDeleteWorksheetFreezePanesWithRequestBuilder(name: name, sheetName: sheetName, row: row, column: column, freezedRows: freezedRows, freezedColumns: freezedColumns, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsDeleteWorksheetFreezePanes(name: String, sheetName: String, row: Int32, column: Int32, freezedRows: Int32, freezedColumns: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsDeleteWorksheetFreezePanesWithRequestBuilder(name: name, sheetName: sheetName, row: row, column: column, freezedRows: freezedRows, freezedColumns: freezedColumns, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11833,11 +11885,11 @@ open class CellsAPI { - parameter freezedRows: (query) - parameter freezedColumns: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsDeleteWorksheetFreezePanesWithRequestBuilder(name: String, sheetName: String, row: Int32, column: Int32, freezedRows: Int32, freezedColumns: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsDeleteWorksheetFreezePanesWithRequestBuilder(name: String, sheetName: String, row: Int32, column: Int32, freezedRows: Int32, freezedColumns: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/freezepanes" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11855,7 +11907,7 @@ open class CellsAPI { "freezedRows": freezedRows.encodeToJSON(), "freezedColumns": freezedColumns.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11868,11 +11920,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsGetNamedRanges(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: RangesResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsGetNamedRangesWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsGetNamedRanges(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: RangesResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsGetNamedRangesWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11885,11 +11937,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsGetNamedRangesWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsGetNamedRangesWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/ranges" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11900,7 +11952,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11919,11 +11971,11 @@ open class CellsAPI { - parameter area: (query) Exported area. (optional) - parameter pageIndex: (query) Exported page index. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsGetWorksheet(name: String, sheetName: String, format: String? = nil, verticalResolution: Int32? = nil, horizontalResolution: Int32? = nil, area: String? = nil, pageIndex: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { - cellsWorksheetsGetWorksheetWithRequestBuilder(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsGetWorksheet(name: String, sheetName: String, format: String? = nil, verticalResolution: Int32? = nil, horizontalResolution: Int32? = nil, area: String? = nil, pageIndex: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: NSData?,_ error: Error?) -> Void)) { + cellsWorksheetsGetWorksheetWithRequestBuilder(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11942,11 +11994,11 @@ open class CellsAPI { - parameter area: (query) Exported area. (optional) - parameter pageIndex: (query) Exported page index. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsGetWorksheetWithRequestBuilder(name: String, sheetName: String, format: String? = nil, verticalResolution: Int32? = nil, horizontalResolution: Int32? = nil, area: String? = nil, pageIndex: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsGetWorksheetWithRequestBuilder(name: String, sheetName: String, format: String? = nil, verticalResolution: Int32? = nil, horizontalResolution: Int32? = nil, area: String? = nil, pageIndex: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -11965,7 +12017,7 @@ open class CellsAPI { "area": area, "pageIndex": pageIndex?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -11980,11 +12032,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter formula: (query) The formula. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsGetWorksheetCalculateFormula(name: String, sheetName: String, formula: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: SingleValueResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsGetWorksheetCalculateFormulaWithRequestBuilder(name: name, sheetName: sheetName, formula: formula, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsGetWorksheetCalculateFormula(name: String, sheetName: String, formula: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: SingleValueResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsGetWorksheetCalculateFormulaWithRequestBuilder(name: name, sheetName: sheetName, formula: formula, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -11999,11 +12051,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter formula: (query) The formula. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsGetWorksheetCalculateFormulaWithRequestBuilder(name: String, sheetName: String, formula: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsGetWorksheetCalculateFormulaWithRequestBuilder(name: String, sheetName: String, formula: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/formulaResult" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12018,7 +12070,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "formula": formula, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12033,11 +12085,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter cellName: (path) The cell name - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsGetWorksheetComment(name: String, sheetName: String, cellName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CommentResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsGetWorksheetCommentWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsGetWorksheetComment(name: String, sheetName: String, cellName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CommentResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsGetWorksheetCommentWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12052,11 +12104,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter cellName: (path) The cell name - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsGetWorksheetCommentWithRequestBuilder(name: String, sheetName: String, cellName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsGetWorksheetCommentWithRequestBuilder(name: String, sheetName: String, cellName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/comments/{cellName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12073,7 +12125,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12087,11 +12139,11 @@ open class CellsAPI { - parameter name: (path) Workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsGetWorksheetComments(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CommentsResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsGetWorksheetCommentsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsGetWorksheetComments(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CommentsResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsGetWorksheetCommentsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12105,11 +12157,11 @@ open class CellsAPI { - parameter name: (path) Workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsGetWorksheetCommentsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsGetWorksheetCommentsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/comments" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12123,7 +12175,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12138,11 +12190,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter mergedCellIndex: (path) Merged cell index. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsGetWorksheetMergedCell(name: String, sheetName: String, mergedCellIndex: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: MergedCellResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsGetWorksheetMergedCellWithRequestBuilder(name: name, sheetName: sheetName, mergedCellIndex: mergedCellIndex, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsGetWorksheetMergedCell(name: String, sheetName: String, mergedCellIndex: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: MergedCellResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsGetWorksheetMergedCellWithRequestBuilder(name: name, sheetName: sheetName, mergedCellIndex: mergedCellIndex, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12157,11 +12209,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter mergedCellIndex: (path) Merged cell index. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsGetWorksheetMergedCellWithRequestBuilder(name: String, sheetName: String, mergedCellIndex: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsGetWorksheetMergedCellWithRequestBuilder(name: String, sheetName: String, mergedCellIndex: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/mergedCells/{mergedCellIndex}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12178,7 +12230,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12192,11 +12244,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The workseet name. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsGetWorksheetMergedCells(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: MergedCellsResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsGetWorksheetMergedCellsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsGetWorksheetMergedCells(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: MergedCellsResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsGetWorksheetMergedCellsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12210,11 +12262,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter sheetName: (path) The workseet name. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsGetWorksheetMergedCellsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsGetWorksheetMergedCellsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/mergedCells" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12228,7 +12280,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12242,11 +12294,11 @@ open class CellsAPI { - parameter name: (path) Workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The workbook's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsGetWorksheetTextItems(name: String, sheetName: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: TextItemsResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsGetWorksheetTextItemsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsGetWorksheetTextItems(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: TextItemsResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsGetWorksheetTextItemsWithRequestBuilder(name: name, sheetName: sheetName, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12260,11 +12312,11 @@ open class CellsAPI { - parameter name: (path) Workbook name. - parameter sheetName: (path) The worksheet name. - parameter folder: (query) The workbook's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsGetWorksheetTextItemsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsGetWorksheetTextItemsWithRequestBuilder(name: String, sheetName: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/textItems" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12278,7 +12330,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12291,11 +12343,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsGetWorksheets(name: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorksheetsResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsGetWorksheetsWithRequestBuilder(name: name, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsGetWorksheets(name: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorksheetsResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsGetWorksheetsWithRequestBuilder(name: name, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12308,11 +12360,11 @@ open class CellsAPI { - parameter name: (path) Document name. - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsGetWorksheetsWithRequestBuilder(name: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsGetWorksheetsWithRequestBuilder(name: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12323,7 +12375,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12341,11 +12393,11 @@ open class CellsAPI { - parameter firstRow: (query) (optional) - parameter lastRow: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostAutofitWorksheetColumns(name: String, sheetName: String, firstColumn: Int32, lastColumn: Int32, autoFitterOptions: AutoFitterOptions? = nil, firstRow: Int32? = nil, lastRow: Int32? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostAutofitWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, firstColumn: firstColumn, lastColumn: lastColumn, autoFitterOptions: autoFitterOptions, firstRow: firstRow, lastRow: lastRow, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostAutofitWorksheetColumns(name: String, sheetName: String, firstColumn: Int32, lastColumn: Int32, autoFitterOptions: AutoFitterOptions? = nil, firstRow: Int32? = nil, lastRow: Int32? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostAutofitWorksheetColumnsWithRequestBuilder(name: name, sheetName: sheetName, firstColumn: firstColumn, lastColumn: lastColumn, autoFitterOptions: autoFitterOptions, firstRow: firstRow, lastRow: lastRow, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12366,11 +12418,11 @@ open class CellsAPI { - parameter firstRow: (query) (optional) - parameter lastRow: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostAutofitWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, firstColumn: Int32, lastColumn: Int32, autoFitterOptions: AutoFitterOptions? = nil, firstRow: Int32? = nil, lastRow: Int32? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostAutofitWorksheetColumnsWithRequestBuilder(name: String, sheetName: String, firstColumn: Int32, lastColumn: Int32, autoFitterOptions: AutoFitterOptions? = nil, firstRow: Int32? = nil, lastRow: Int32? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autofitcolumns" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12388,7 +12440,7 @@ open class CellsAPI { "firstRow": firstRow?.encodeToJSON(), "lastRow": lastRow?.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12405,11 +12457,11 @@ open class CellsAPI { - parameter lastColumn: (query) - parameter autoFitterOptions: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostAutofitWorksheetRow(name: String, sheetName: String, rowIndex: Int32, firstColumn: Int32, lastColumn: Int32, autoFitterOptions: AutoFitterOptions? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostAutofitWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, firstColumn: firstColumn, lastColumn: lastColumn, autoFitterOptions: autoFitterOptions, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostAutofitWorksheetRow(name: String, sheetName: String, rowIndex: Int32, firstColumn: Int32, lastColumn: Int32, autoFitterOptions: AutoFitterOptions? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostAutofitWorksheetRowWithRequestBuilder(name: name, sheetName: sheetName, rowIndex: rowIndex, firstColumn: firstColumn, lastColumn: lastColumn, autoFitterOptions: autoFitterOptions, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12429,11 +12481,11 @@ open class CellsAPI { - parameter lastColumn: (query) - parameter autoFitterOptions: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostAutofitWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, firstColumn: Int32, lastColumn: Int32, autoFitterOptions: AutoFitterOptions? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostAutofitWorksheetRowWithRequestBuilder(name: String, sheetName: String, rowIndex: Int32, firstColumn: Int32, lastColumn: Int32, autoFitterOptions: AutoFitterOptions? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autofitrow" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12450,7 +12502,7 @@ open class CellsAPI { "firstColumn": firstColumn.encodeToJSON(), "lastColumn": lastColumn.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12468,11 +12520,11 @@ open class CellsAPI { - parameter endRow: (query) End row. (optional) - parameter onlyAuto: (query) Only auto. (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostAutofitWorksheetRows(name: String, sheetName: String, autoFitterOptions: AutoFitterOptions? = nil, startRow: Int32? = nil, endRow: Int32? = nil, onlyAuto: Bool? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostAutofitWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, autoFitterOptions: autoFitterOptions, startRow: startRow, endRow: endRow, onlyAuto: onlyAuto, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostAutofitWorksheetRows(name: String, sheetName: String, autoFitterOptions: AutoFitterOptions? = nil, startRow: Int32? = nil, endRow: Int32? = nil, onlyAuto: Bool? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostAutofitWorksheetRowsWithRequestBuilder(name: name, sheetName: sheetName, autoFitterOptions: autoFitterOptions, startRow: startRow, endRow: endRow, onlyAuto: onlyAuto, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12493,11 +12545,11 @@ open class CellsAPI { - parameter endRow: (query) End row. (optional) - parameter onlyAuto: (query) Only auto. (optional, default to false) - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostAutofitWorksheetRowsWithRequestBuilder(name: String, sheetName: String, autoFitterOptions: AutoFitterOptions? = nil, startRow: Int32? = nil, endRow: Int32? = nil, onlyAuto: Bool? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostAutofitWorksheetRowsWithRequestBuilder(name: String, sheetName: String, autoFitterOptions: AutoFitterOptions? = nil, startRow: Int32? = nil, endRow: Int32? = nil, onlyAuto: Bool? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/autofitrows" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12514,7 +12566,7 @@ open class CellsAPI { "endRow": endRow?.encodeToJSON(), "onlyAuto": onlyAuto, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12531,11 +12583,11 @@ open class CellsAPI { - parameter sourceWorkbook: (query) (optional) - parameter sourceFolder: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostCopyWorksheet(name: String, sheetName: String, sourceSheet: String, options: CopyOptions? = nil, sourceWorkbook: String? = nil, sourceFolder: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostCopyWorksheetWithRequestBuilder(name: name, sheetName: sheetName, sourceSheet: sourceSheet, options: options, sourceWorkbook: sourceWorkbook, sourceFolder: sourceFolder, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostCopyWorksheet(name: String, sheetName: String, sourceSheet: String, options: CopyOptions? = nil, sourceWorkbook: String? = nil, sourceFolder: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostCopyWorksheetWithRequestBuilder(name: name, sheetName: sheetName, sourceSheet: sourceSheet, options: options, sourceWorkbook: sourceWorkbook, sourceFolder: sourceFolder, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12555,11 +12607,11 @@ open class CellsAPI { - parameter sourceWorkbook: (query) (optional) - parameter sourceFolder: (query) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostCopyWorksheetWithRequestBuilder(name: String, sheetName: String, sourceSheet: String, options: CopyOptions? = nil, sourceWorkbook: String? = nil, sourceFolder: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostCopyWorksheetWithRequestBuilder(name: String, sheetName: String, sourceSheet: String, options: CopyOptions? = nil, sourceWorkbook: String? = nil, sourceFolder: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/copy" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12576,7 +12628,7 @@ open class CellsAPI { "sourceWorkbook": sourceWorkbook, "sourceFolder": sourceFolder, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12591,11 +12643,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter moving: (body) with moving parameters. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostMoveWorksheet(name: String, sheetName: String, moving: WorksheetMovingRequest? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorksheetsResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostMoveWorksheetWithRequestBuilder(name: name, sheetName: sheetName, moving: moving, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostMoveWorksheet(name: String, sheetName: String, moving: WorksheetMovingRequest? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorksheetsResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostMoveWorksheetWithRequestBuilder(name: name, sheetName: sheetName, moving: moving, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12610,11 +12662,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter moving: (body) with moving parameters. (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostMoveWorksheetWithRequestBuilder(name: String, sheetName: String, moving: WorksheetMovingRequest? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostMoveWorksheetWithRequestBuilder(name: String, sheetName: String, moving: WorksheetMovingRequest? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/position" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12628,7 +12680,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12643,11 +12695,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter newname: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostRenameWorksheet(name: String, sheetName: String, newname: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostRenameWorksheetWithRequestBuilder(name: name, sheetName: sheetName, newname: newname, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostRenameWorksheet(name: String, sheetName: String, newname: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostRenameWorksheetWithRequestBuilder(name: name, sheetName: sheetName, newname: newname, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12665,11 +12717,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter newname: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostRenameWorksheetWithRequestBuilder(name: String, sheetName: String, newname: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostRenameWorksheetWithRequestBuilder(name: String, sheetName: String, newname: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/rename" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12684,7 +12736,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "newname": newname, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12699,11 +12751,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter sheet: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostUpdateWorksheetProperty(name: String, sheetName: String, sheet: Worksheet? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorksheetResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostUpdateWorksheetPropertyWithRequestBuilder(name: name, sheetName: sheetName, sheet: sheet, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostUpdateWorksheetProperty(name: String, sheetName: String, sheet: Worksheet? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorksheetResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostUpdateWorksheetPropertyWithRequestBuilder(name: name, sheetName: sheetName, sheet: sheet, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12718,11 +12770,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter sheet: (body) (optional) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostUpdateWorksheetPropertyWithRequestBuilder(name: String, sheetName: String, sheet: Worksheet? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostUpdateWorksheetPropertyWithRequestBuilder(name: String, sheetName: String, sheet: Worksheet? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12736,7 +12788,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12750,11 +12802,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter value: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostUpdateWorksheetZoom(name: String, sheetName: String, value: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostUpdateWorksheetZoomWithRequestBuilder(name: name, sheetName: sheetName, value: value, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostUpdateWorksheetZoom(name: String, sheetName: String, value: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostUpdateWorksheetZoomWithRequestBuilder(name: name, sheetName: sheetName, value: value, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12771,11 +12823,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter value: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostUpdateWorksheetZoomWithRequestBuilder(name: String, sheetName: String, value: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostUpdateWorksheetZoomWithRequestBuilder(name: String, sheetName: String, value: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/zoom" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12790,7 +12842,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "value": value.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12806,11 +12858,11 @@ open class CellsAPI { - parameter cellName: (path) The cell name - parameter comment: (body) Comment object (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostWorksheetComment(name: String, sheetName: String, cellName: String, comment: Comment? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostWorksheetCommentWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, comment: comment, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostWorksheetComment(name: String, sheetName: String, cellName: String, comment: Comment? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostWorksheetCommentWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, comment: comment, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12829,11 +12881,11 @@ open class CellsAPI { - parameter cellName: (path) The cell name - parameter comment: (body) Comment object (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostWorksheetCommentWithRequestBuilder(name: String, sheetName: String, cellName: String, comment: Comment? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostWorksheetCommentWithRequestBuilder(name: String, sheetName: String, cellName: String, comment: Comment? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/comments/{cellName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12850,7 +12902,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12866,11 +12918,11 @@ open class CellsAPI { - parameter cellArea: (query) The range to sort. - parameter dataSorter: (body) with sorting settings. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostWorksheetRangeSort(name: String, sheetName: String, cellArea: String, dataSorter: DataSorter? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostWorksheetRangeSortWithRequestBuilder(name: name, sheetName: sheetName, cellArea: cellArea, dataSorter: dataSorter, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostWorksheetRangeSort(name: String, sheetName: String, cellArea: String, dataSorter: DataSorter? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostWorksheetRangeSortWithRequestBuilder(name: name, sheetName: sheetName, cellArea: cellArea, dataSorter: dataSorter, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12889,11 +12941,11 @@ open class CellsAPI { - parameter cellArea: (query) The range to sort. - parameter dataSorter: (body) with sorting settings. (optional) - parameter folder: (query) The workbook folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostWorksheetRangeSortWithRequestBuilder(name: String, sheetName: String, cellArea: String, dataSorter: DataSorter? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostWorksheetRangeSortWithRequestBuilder(name: String, sheetName: String, cellArea: String, dataSorter: DataSorter? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/sort" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12908,7 +12960,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "cellArea": cellArea, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12923,11 +12975,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter text: (query) Text to search. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostWorksheetTextSearch(name: String, sheetName: String, text: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: TextItemsResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostWorksheetTextSearchWithRequestBuilder(name: name, sheetName: sheetName, text: text, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostWorksheetTextSearch(name: String, sheetName: String, text: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: TextItemsResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostWorksheetTextSearchWithRequestBuilder(name: name, sheetName: sheetName, text: text, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12942,11 +12994,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter text: (query) Text to search. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostWorksheetTextSearchWithRequestBuilder(name: String, sheetName: String, text: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostWorksheetTextSearchWithRequestBuilder(name: String, sheetName: String, text: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/findText" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -12961,7 +13013,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "text": text, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -12977,11 +13029,11 @@ open class CellsAPI { - parameter oldValue: (query) The old text to replace. - parameter newValue: (query) The new text to replace by. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPostWorsheetTextReplace(name: String, sheetName: String, oldValue: String, newValue: String, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorksheetReplaceResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPostWorsheetTextReplaceWithRequestBuilder(name: name, sheetName: sheetName, oldValue: oldValue, newValue: newValue, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPostWorsheetTextReplace(name: String, sheetName: String, oldValue: String, newValue: String, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorksheetReplaceResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPostWorsheetTextReplaceWithRequestBuilder(name: name, sheetName: sheetName, oldValue: oldValue, newValue: newValue, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -12997,11 +13049,11 @@ open class CellsAPI { - parameter oldValue: (query) The old text to replace. - parameter newValue: (query) The new text to replace by. - parameter folder: (query) Document's folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPostWorsheetTextReplaceWithRequestBuilder(name: String, sheetName: String, oldValue: String, newValue: String, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPostWorsheetTextReplaceWithRequestBuilder(name: String, sheetName: String, oldValue: String, newValue: String, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/replaceText" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -13017,7 +13069,7 @@ open class CellsAPI { "oldValue": oldValue, "newValue": newValue, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -13033,11 +13085,11 @@ open class CellsAPI { - parameter position: (query) The new sheet position. (optional) - parameter sheettype: (query) The new sheet type. (optional) - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPutAddNewWorksheet(name: String, sheetName: String, position: Int32? = nil, sheettype: String? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorksheetsResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPutAddNewWorksheetWithRequestBuilder(name: name, sheetName: sheetName, position: position, sheettype: sheettype, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPutAddNewWorksheet(name: String, sheetName: String, position: Int32? = nil, sheettype: String? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorksheetsResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPutAddNewWorksheetWithRequestBuilder(name: name, sheetName: sheetName, position: position, sheettype: sheettype, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -13053,11 +13105,11 @@ open class CellsAPI { - parameter position: (query) The new sheet position. (optional) - parameter sheettype: (query) The new sheet type. (optional) - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPutAddNewWorksheetWithRequestBuilder(name: String, sheetName: String, position: Int32? = nil, sheettype: String? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPutAddNewWorksheetWithRequestBuilder(name: String, sheetName: String, position: Int32? = nil, sheettype: String? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -13073,7 +13125,7 @@ open class CellsAPI { "position": position?.encodeToJSON(), "sheettype": sheettype, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -13088,11 +13140,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter isVisible: (query) New worksheet visibility value. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPutChangeVisibilityWorksheet(name: String, sheetName: String, isVisible: Bool, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorksheetResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPutChangeVisibilityWorksheetWithRequestBuilder(name: name, sheetName: sheetName, isVisible: isVisible, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPutChangeVisibilityWorksheet(name: String, sheetName: String, isVisible: Bool, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorksheetResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPutChangeVisibilityWorksheetWithRequestBuilder(name: name, sheetName: sheetName, isVisible: isVisible, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -13107,11 +13159,11 @@ open class CellsAPI { - parameter sheetName: (path) Worksheet name. - parameter isVisible: (query) New worksheet visibility value. - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPutChangeVisibilityWorksheetWithRequestBuilder(name: String, sheetName: String, isVisible: Bool, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPutChangeVisibilityWorksheetWithRequestBuilder(name: String, sheetName: String, isVisible: Bool, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/visible" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -13126,7 +13178,7 @@ open class CellsAPI { url?.queryItems = APIHelper.mapValuesToQueryItems([ "isVisible": isVisible, "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -13141,11 +13193,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter protectParameter: (body) with protection settings. (optional) - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPutProtectWorksheet(name: String, sheetName: String, protectParameter: ProtectSheetParameter? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: WorksheetResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPutProtectWorksheetWithRequestBuilder(name: name, sheetName: sheetName, protectParameter: protectParameter, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPutProtectWorksheet(name: String, sheetName: String, protectParameter: ProtectSheetParameter? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: WorksheetResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPutProtectWorksheetWithRequestBuilder(name: name, sheetName: sheetName, protectParameter: protectParameter, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -13160,11 +13212,11 @@ open class CellsAPI { - parameter sheetName: (path) The worksheet name. - parameter protectParameter: (body) with protection settings. (optional) - parameter folder: (query) Document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPutProtectWorksheetWithRequestBuilder(name: String, sheetName: String, protectParameter: ProtectSheetParameter? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPutProtectWorksheetWithRequestBuilder(name: String, sheetName: String, protectParameter: ProtectSheetParameter? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/protection" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -13178,7 +13230,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -13193,11 +13245,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter png: (body) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPutWorksheetBackground(name: String, sheetName: String, png: NSData, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPutWorksheetBackgroundWithRequestBuilder(name: name, sheetName: sheetName, png: png, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPutWorksheetBackground(name: String, sheetName: String, png: NSData, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPutWorksheetBackgroundWithRequestBuilder(name: name, sheetName: sheetName, png: png, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -13215,11 +13267,11 @@ open class CellsAPI { - parameter sheetName: (path) - parameter png: (body) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPutWorksheetBackgroundWithRequestBuilder(name: String, sheetName: String, png: NSData, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPutWorksheetBackgroundWithRequestBuilder(name: String, sheetName: String, png: NSData, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/background" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -13233,7 +13285,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -13249,11 +13301,11 @@ open class CellsAPI { - parameter cellName: (path) The cell name - parameter comment: (body) Comment object (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPutWorksheetComment(name: String, sheetName: String, cellName: String, comment: Comment? = nil, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CommentResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPutWorksheetCommentWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, comment: comment, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPutWorksheetComment(name: String, sheetName: String, cellName: String, comment: Comment? = nil, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CommentResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPutWorksheetCommentWithRequestBuilder(name: name, sheetName: sheetName, cellName: cellName, comment: comment, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -13269,11 +13321,11 @@ open class CellsAPI { - parameter cellName: (path) The cell name - parameter comment: (body) Comment object (optional) - parameter folder: (query) The document folder. (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPutWorksheetCommentWithRequestBuilder(name: String, sheetName: String, cellName: String, comment: Comment? = nil, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPutWorksheetCommentWithRequestBuilder(name: String, sheetName: String, cellName: String, comment: Comment? = nil, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/comments/{cellName}" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -13290,7 +13342,7 @@ open class CellsAPI { var url = URLComponents(string: URLString) url?.queryItems = APIHelper.mapValuesToQueryItems([ "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() @@ -13308,11 +13360,11 @@ open class CellsAPI { - parameter freezedRows: (query) - parameter freezedColumns: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - parameter completion: completion handler to receive the data and the error objects */ - open class func cellsWorksheetsPutWorksheetFreezePanes(name: String, sheetName: String, row: Int32, column: Int32, freezedRows: Int32, freezedColumns: Int32, folder: String? = nil, storage: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { - cellsWorksheetsPutWorksheetFreezePanesWithRequestBuilder(name: name, sheetName: sheetName, row: row, column: column, freezedRows: freezedRows, freezedColumns: freezedColumns, folder: folder, storage: storage).execute { (response, error) -> Void in + open class func cellsWorksheetsPutWorksheetFreezePanes(name: String, sheetName: String, row: Int32, column: Int32, freezedRows: Int32, freezedColumns: Int32, folder: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: CellsCloudResponse?,_ error: Error?) -> Void)) { + cellsWorksheetsPutWorksheetFreezePanesWithRequestBuilder(name: name, sheetName: sheetName, row: row, column: column, freezedRows: freezedRows, freezedColumns: freezedColumns, folder: folder, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } @@ -13333,11 +13385,11 @@ open class CellsAPI { - parameter freezedRows: (query) - parameter freezedColumns: (query) - parameter folder: (query) (optional) - - parameter storage: (query) storage name. (optional) + - parameter storageName: (query) storage name. (optional) - returns: RequestBuilder */ - open class func cellsWorksheetsPutWorksheetFreezePanesWithRequestBuilder(name: String, sheetName: String, row: Int32, column: Int32, freezedRows: Int32, freezedColumns: Int32, folder: String? = nil, storage: String? = nil) -> RequestBuilder { + open class func cellsWorksheetsPutWorksheetFreezePanesWithRequestBuilder(name: String, sheetName: String, row: Int32, column: Int32, freezedRows: Int32, freezedColumns: Int32, folder: String? = nil, storageName: String? = nil) -> RequestBuilder { var _path = "/cells/{name}/worksheets/{sheetName}/freezepanes" let namePreEscape = "\(name)" let namePostEscape = namePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? "" @@ -13355,7 +13407,7 @@ open class CellsAPI { "freezedRows": freezedRows.encodeToJSON(), "freezedColumns": freezedColumns.encodeToJSON(), "folder": folder, - "storage": storage + "storageName": storageName ]) let requestBuilder: RequestBuilder.Type = AsposeCellsCloudAPI.requestBuilderFactory.getBuilder() diff --git a/AsposeCellsCloud/Swaggers/Models/CellsCloudFileInfo.swift b/AsposeCellsCloud/Swaggers/Models/CellsCloudFileInfo.swift new file mode 100644 index 0000000..06b9beb --- /dev/null +++ b/AsposeCellsCloud/Swaggers/Models/CellsCloudFileInfo.swift @@ -0,0 +1,35 @@ +// +// CellsCloudFileInfo.swift +// +// Generated by swagger-codegen +// https://github.com/swagger-api/swagger-codegen +// + +import Foundation + + + +public struct CellsCloudFileInfo: Codable { + + public var name: String? + public var size: Int64 + public var folder: String? + public var storage: String? + +public enum CodingKeys: String, CodingKey { + case name = "Name" + case size = "Size" + case folder = "Folder" + case storage = "Storage" + } + + public init(name: String?, size: Int64, folder: String?, storage: String?) { + self.name = name + self.size = size + self.folder = folder + self.storage = storage + } + + +} + diff --git a/AsposeCellsCloud/Swaggers/Models/SaveResult.swift b/AsposeCellsCloud/Swaggers/Models/SaveResult.swift index 3ad2d56..056b82c 100644 --- a/AsposeCellsCloud/Swaggers/Models/SaveResult.swift +++ b/AsposeCellsCloud/Swaggers/Models/SaveResult.swift @@ -11,20 +11,14 @@ import Foundation public struct SaveResult: Codable { - public var sourceDocument: Link? - public var destDocument: Link? - public var additionalItems: [Link]? + public var documents: [CellsCloudFileInfo]? public enum CodingKeys: String, CodingKey { - case sourceDocument = "SourceDocument" - case destDocument = "DestDocument" - case additionalItems = "AdditionalItems" + case documents = "Documents" } - public init(sourceDocument: Link?, destDocument: Link?, additionalItems: [Link]?) { - self.sourceDocument = sourceDocument - self.destDocument = destDocument - self.additionalItems = additionalItems + public init(documents: [CellsCloudFileInfo]?) { + self.documents = documents } diff --git a/AsposeCellsCloud/Swaggers/Models/SplitResult.swift b/AsposeCellsCloud/Swaggers/Models/SplitResult.swift index 14793f4..cceaca6 100644 --- a/AsposeCellsCloud/Swaggers/Models/SplitResult.swift +++ b/AsposeCellsCloud/Swaggers/Models/SplitResult.swift @@ -11,13 +11,13 @@ import Foundation public struct SplitResult: Codable { - public var documents: [SplitResultDocument]? + public var documents: [CellsCloudFileInfo]? public enum CodingKeys: String, CodingKey { case documents = "Documents" } - public init(documents: [SplitResultDocument]?) { + public init(documents: [CellsCloudFileInfo]?) { self.documents = documents } diff --git a/AsposeCellsCloud/Swaggers/Models/TextWaterMarkerRequest.swift b/AsposeCellsCloud/Swaggers/Models/TextWaterMarkerRequest.swift new file mode 100644 index 0000000..401d109 --- /dev/null +++ b/AsposeCellsCloud/Swaggers/Models/TextWaterMarkerRequest.swift @@ -0,0 +1,44 @@ +// +// TextWaterMarkerRequest.swift +// +// Generated by swagger-codegen +// https://github.com/swagger-api/swagger-codegen +// + +import Foundation + + +/** Used by text water marker requests. */ + +public struct TextWaterMarkerRequest: Codable { + + /** water marker. */ + public var text: String? + /** font name. */ + public var fontName: String? + /** font size. */ + public var fontSize: Int32? + /** height. */ + public var height: Int32? + /** width. */ + public var width: Int32? + +public enum CodingKeys: String, CodingKey { + case text = "Text" + case fontName = "FontName" + case fontSize = "FontSize" + case height = "Height" + case width = "Width" + } + + public init(text: String?, fontName: String?, fontSize: Int32?, height: Int32?, width: Int32?) { + self.text = text + self.fontName = fontName + self.fontSize = fontSize + self.height = height + self.width = width + } + + +} + diff --git a/AsposeCellsCloudTests/AsposeCellsCloudTests.swift b/AsposeCellsCloudTests/AsposeCellsCloudTests.swift index be541f7..af64598 100644 --- a/AsposeCellsCloudTests/AsposeCellsCloudTests.swift +++ b/AsposeCellsCloudTests/AsposeCellsCloudTests.swift @@ -31,9 +31,10 @@ class AsposeCellsCloudTests: XCTestCase { internal let CELLAREA = "A1:C10" internal let RANGE = "A1:C10" //This is only for test, please set your licence here - internal let _appSid = "11111X11-111X-1111-11X1-111111111XX1" - internal let _appKey = "111x11111111xx1111xxxx11xx1x1111" - + //internal let _appSid = "cells.cloud" + //internal let _appKey = "cells.cloud" + internal let _appSid = "8ef344fd-89ac-4684-bc11-b96a9b1f4cd9" + internal let _appKey = "d346c2fd569538e14241e096ae30a988" override func setUp() { super.setUp() @@ -55,7 +56,7 @@ class AsposeCellsCloudTests: XCTestCase { } - internal func uploadFile(name: String, folder: String = "Temp", storage: String? = nil, completion: @escaping ()->Void) { + internal func uploadFile(name: String, folder: String = "Temp", storageName: String? = nil, completion: @escaping ()->Void) { var path = "" if (folder != "") @@ -73,7 +74,7 @@ class AsposeCellsCloudTests: XCTestCase { return } - self.putCreate(path: path, file: url!, versionId: nil, storage: storage) { + self.putCreate(path: path, file: url!, versionId: nil, storageName: storageName) { (response, error) in guard error == nil else { XCTFail("error uploading file \(path)") @@ -89,8 +90,7 @@ class AsposeCellsCloudTests: XCTestCase { } - /* - internal func UpdateDataFileForDropBox(name: String, folder: String = "Temp", storage: String? = nil, completion: @escaping ()->Void) { + internal func UpdateDataFileForDropBox(name: String, folder: String = "Temp", storageName: String? = "DropBox", completion: @escaping ()->Void) { var path = "" if (folder != "") @@ -108,7 +108,7 @@ class AsposeCellsCloudTests: XCTestCase { return } - self.putCreate(path: path, file: url!, versionId: nil, storage: storage) { + self.putCreate(path: path, file: url!, versionId: nil, storageName: storageName) { (response, error) in guard error == nil else { XCTFail("error uploading file \(name)") @@ -123,7 +123,6 @@ class AsposeCellsCloudTests: XCTestCase { } } - */ internal func uploadFiles(names: [String], completion: @escaping ()->Void) { @@ -146,8 +145,8 @@ class AsposeCellsCloudTests: XCTestCase { return bundle.url(forResource: name, withExtension: nil) } - internal func putCreate(path: String, file: URL, versionId: String? = nil, storage: String? = nil, completion: @escaping ((_ data: FilesUploadResult?,_ error: Error?) -> Void)) { - CellsAPI.uploadFileWithRequestBuilder(path: path, file: file, storageName: storage).execute { (response, error) -> Void in + internal func putCreate(path: String, file: URL, versionId: String? = nil, storageName: String? = nil, completion: @escaping ((_ data: FilesUploadResult?,_ error: Error?) -> Void)) { + CellsAPI.uploadFileWithRequestBuilder(path: path, file: file, storageName: storageName).execute { (response, error) -> Void in completion(response?.body, error) } } diff --git a/AsposeCellsCloudTests/CellsAPITests.swift b/AsposeCellsCloudTests/CellsAPITests.swift index 3159027..84e7357 100644 --- a/AsposeCellsCloudTests/CellsAPITests.swift +++ b/AsposeCellsCloudTests/CellsAPITests.swift @@ -43,10 +43,10 @@ class CellsAPITests: AsposeCellsCloudTests { let columns:Int32 = 1 let updateReference:Bool = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsDeleteWorksheetColumns(name: name, sheetName: sheetName, columnIndex: columnIndex, columns: columns, updateReference: updateReference, folder: folder, storage: storage) + CellsAPI.cellsDeleteWorksheetColumns(name: name, sheetName: sheetName, columnIndex: columnIndex, columns: columns, updateReference: updateReference, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -70,10 +70,10 @@ class CellsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let rowIndex:Int32 = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsDeleteWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storage: storage) + CellsAPI.cellsDeleteWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -99,10 +99,10 @@ class CellsAPITests: AsposeCellsCloudTests { let totalRows:Int32 = 2 let updateReference:Bool = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsDeleteWorksheetRows(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, updateReference: updateReference, folder: folder, storage: storage) + CellsAPI.cellsDeleteWorksheetRows(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, updateReference: updateReference, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -126,10 +126,10 @@ class CellsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let cellName:String = CellName let folder:String? = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsGetCellHtmlString(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storage: storage) + CellsAPI.cellsGetCellHtmlString(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -161,10 +161,10 @@ class CellsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let cellOrMethodName:String = "firstcell" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsGetWorksheetCell(name: name, sheetName: sheetName, cellOrMethodName: cellOrMethodName, folder: folder, storage: storage) + CellsAPI.cellsGetWorksheetCell(name: name, sheetName: sheetName, cellOrMethodName: cellOrMethodName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -196,10 +196,10 @@ class CellsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let cellName:String = CellName let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsGetWorksheetCellStyle(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storage: storage) + CellsAPI.cellsGetWorksheetCellStyle(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -224,10 +224,10 @@ class CellsAPITests: AsposeCellsCloudTests { let offest:Int32? = 1 let count:Int32? = 10 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsGetWorksheetCells(name: name, sheetName: sheetName, offest: offest, count: count, folder: folder, storage: storage) + CellsAPI.cellsGetWorksheetCells(name: name, sheetName: sheetName, offest: offest, count: count, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -251,10 +251,10 @@ class CellsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let columnIndex:Int32 = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsGetWorksheetColumn(name: name, sheetName: sheetName, columnIndex: columnIndex, folder: folder, storage: storage) + CellsAPI.cellsGetWorksheetColumn(name: name, sheetName: sheetName, columnIndex: columnIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -277,10 +277,10 @@ class CellsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsGetWorksheetColumns(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsGetWorksheetColumns(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -304,10 +304,10 @@ class CellsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let rowIndex:Int32 = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsGetWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storage: storage) + CellsAPI.cellsGetWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -330,10 +330,10 @@ class CellsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsGetWorksheetRows(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsGetWorksheetRows(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -358,10 +358,10 @@ class CellsAPITests: AsposeCellsCloudTests { let cellName:String = CellName let options:CalculationOptions? = CalculationOptions(precisionStrategy: nil, ignoreError: true, recursive: true, calcStackSize: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostCellCalculate(name: name, sheetName: sheetName, cellName: cellName, options: options, folder: folder, storage: storage) + CellsAPI.cellsPostCellCalculate(name: name, sheetName: sheetName, cellName: cellName, options: options, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -388,10 +388,10 @@ class CellsAPITests: AsposeCellsCloudTests { let fs1 = FontSetting(textOptions: nil, length: 2, font: font1, type: nil, startIndex: 0) let options:[FontSetting]? = [fs1] let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostCellCharacters(name: name, sheetName: sheetName, cellName: cellName, options: options, folder: folder, storage: storage) + CellsAPI.cellsPostCellCharacters(name: name, sheetName: sheetName, cellName: cellName, options: options, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -419,10 +419,10 @@ class CellsAPITests: AsposeCellsCloudTests { let endRow:Int32? = 3 let endColumn:Int32? = 3 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostClearContents(name: name, sheetName: sheetName, range: range, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, folder: folder, storage: storage) + CellsAPI.cellsPostClearContents(name: name, sheetName: sheetName, range: range, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -450,10 +450,10 @@ class CellsAPITests: AsposeCellsCloudTests { let endRow:Int32? = 3 let endColumn:Int32? = 10 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostClearFormats(name: name, sheetName: sheetName, range: range, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, folder: folder, storage: storage) + CellsAPI.cellsPostClearFormats(name: name, sheetName: sheetName, range: range, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -479,10 +479,10 @@ class CellsAPITests: AsposeCellsCloudTests { let font1 = Font(isItalic: nil, name: nil, doubleSize: nil, color: nil, isBold: true, isSubscript: nil, isSuperscript: nil, isStrikeout: nil, underline: nil, size: 16) let style:Style? = Style(link: nil, pattern: nil, textDirection: nil, custom: nil, shrinkToFit: nil, isDateTime: nil, cultureCustom: nil, rotationAngle: nil, indentLevel: nil, isPercent: nil, foregroundColor: nil, name: nil, foregroundThemeColor: nil, borderCollection: nil, isLocked: nil, verticalAlignment: nil, backgroundColor: nil, backgroundThemeColor: nil, isFormulaHidden: nil, isGradient: nil, number: nil, horizontalAlignment: nil, isTextWrapped: nil, font: font1) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostColumnStyle(name: name, sheetName: sheetName, columnIndex: columnIndex, style: style, folder: folder, storage: storage) + CellsAPI.cellsPostColumnStyle(name: name, sheetName: sheetName, columnIndex: columnIndex, style: style, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -510,10 +510,10 @@ class CellsAPITests: AsposeCellsCloudTests { let row:Int32? = 1 let column:Int32? = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostCopyCellIntoCell(name: name, destCellName: destCellName, sheetName: sheetName, worksheet: worksheet, cellname: cellname, row: row, column: column, folder: folder, storage: storage) + CellsAPI.cellsPostCopyCellIntoCell(name: name, destCellName: destCellName, sheetName: sheetName, worksheet: worksheet, cellname: cellname, row: row, column: column, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -540,10 +540,10 @@ class CellsAPITests: AsposeCellsCloudTests { let columnNumber:Int32 = 1 let worksheet:String = SHEET2 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostCopyWorksheetColumns(name: name, sheetName: sheetName, sourceColumnIndex: sourceColumnIndex, destinationColumnIndex: destinationColumnIndex, columnNumber: columnNumber, worksheet: worksheet, folder: folder, storage: storage) + CellsAPI.cellsPostCopyWorksheetColumns(name: name, sheetName: sheetName, sourceColumnIndex: sourceColumnIndex, destinationColumnIndex: destinationColumnIndex, columnNumber: columnNumber, worksheet: worksheet, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -570,10 +570,10 @@ class CellsAPITests: AsposeCellsCloudTests { let rowNumber:Int32 = 1 let worksheet:String = SHEET2 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostCopyWorksheetRows(name: name, sheetName: sheetName, sourceRowIndex: sourceRowIndex, destinationRowIndex: destinationRowIndex, rowNumber: rowNumber, worksheet: worksheet, folder: folder, storage: storage) + CellsAPI.cellsPostCopyWorksheetRows(name: name, sheetName: sheetName, sourceRowIndex: sourceRowIndex, destinationRowIndex: destinationRowIndex, rowNumber: rowNumber, worksheet: worksheet, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -599,10 +599,10 @@ class CellsAPITests: AsposeCellsCloudTests { let lastIndex:Int32 = 1 let hide:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostGroupWorksheetColumns(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, hide: hide, folder: folder, storage: storage) + CellsAPI.cellsPostGroupWorksheetColumns(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, hide: hide, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -628,10 +628,10 @@ class CellsAPITests: AsposeCellsCloudTests { let lastIndex:Int32 = 1 let hide:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostGroupWorksheetRows(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, hide: hide, folder: folder, storage: storage) + CellsAPI.cellsPostGroupWorksheetRows(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, hide: hide, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -656,10 +656,10 @@ class CellsAPITests: AsposeCellsCloudTests { let startColumn:Int32 = 1 let totalColumns:Int32 = 2 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostHideWorksheetColumns(name: name, sheetName: sheetName, startColumn: startColumn, totalColumns: totalColumns, folder: folder, storage: storage) + CellsAPI.cellsPostHideWorksheetColumns(name: name, sheetName: sheetName, startColumn: startColumn, totalColumns: totalColumns, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -684,10 +684,10 @@ class CellsAPITests: AsposeCellsCloudTests { let startrow:Int32 = 1 let totalRows:Int32 = 2 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostHideWorksheetRows(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, folder: folder, storage: storage) + CellsAPI.cellsPostHideWorksheetRows(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -713,10 +713,10 @@ class CellsAPITests: AsposeCellsCloudTests { let font1 = Font(isItalic: nil, name: nil, doubleSize: nil, color: nil, isBold: nil, isSubscript: nil, isSuperscript: nil, isStrikeout: nil, underline: nil, size: 20) let style:Style? = Style(link: nil, pattern: nil, textDirection: nil, custom: nil, shrinkToFit: nil, isDateTime: nil, cultureCustom: nil, rotationAngle: nil, indentLevel: nil, isPercent: nil, foregroundColor: nil, name: nil, foregroundThemeColor: nil, borderCollection: nil, isLocked: nil, verticalAlignment: nil, backgroundColor: nil, backgroundThemeColor: nil, isFormulaHidden: nil, isGradient: nil, number: nil, horizontalAlignment: nil, isTextWrapped: nil, font: font1) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostRowStyle(name: name, sheetName: sheetName, rowIndex: rowIndex, style: style, folder: folder, storage: storage) + CellsAPI.cellsPostRowStyle(name: name, sheetName: sheetName, rowIndex: rowIndex, style: style, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -742,10 +742,10 @@ class CellsAPITests: AsposeCellsCloudTests { let folder:String = TEMPFOLDER let htmlString:String = "https://api.aspose.cloud/v3.0/cells"; let strData:NSData = htmlString.data(using: String.Encoding.utf8)! as NSData - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostSetCellHtmlString(name: name, sheetName: sheetName, cellName: cellName, htmlString: strData, folder: folder, storage: storage) + CellsAPI.cellsPostSetCellHtmlString(name: name, sheetName: sheetName, cellName: cellName, htmlString: strData, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -771,10 +771,10 @@ class CellsAPITests: AsposeCellsCloudTests { let value:String = "2017-10-1" let type:String = "Date" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostSetCellRangeValue(name: name, sheetName: sheetName, cellarea: cellarea, value: value, type: type, folder: folder, storage: storage) + CellsAPI.cellsPostSetCellRangeValue(name: name, sheetName: sheetName, cellarea: cellarea, value: value, type: type, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -799,10 +799,10 @@ class CellsAPITests: AsposeCellsCloudTests { let columnIndex:Int32 = 1 let width:Double = 10 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostSetWorksheetColumnWidth(name: name, sheetName: sheetName, columnIndex: columnIndex, width: width, folder: folder, storage: storage) + CellsAPI.cellsPostSetWorksheetColumnWidth(name: name, sheetName: sheetName, columnIndex: columnIndex, width: width, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -827,10 +827,10 @@ class CellsAPITests: AsposeCellsCloudTests { let firstIndex:Int32 = 1 let lastIndex:Int32 = 5 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostUngroupWorksheetColumns(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, folder: folder, storage: storage) + CellsAPI.cellsPostUngroupWorksheetColumns(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -856,10 +856,10 @@ class CellsAPITests: AsposeCellsCloudTests { let lastIndex:Int32 = 5 let isAll:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostUngroupWorksheetRows(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, isAll: isAll, folder: folder, storage: storage) + CellsAPI.cellsPostUngroupWorksheetRows(name: name, sheetName: sheetName, firstIndex: firstIndex, lastIndex: lastIndex, isAll: isAll, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -885,10 +885,10 @@ class CellsAPITests: AsposeCellsCloudTests { let totalColumns:Int32 = 2 let width:Double = 10 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostUnhideWorksheetColumns(name: name, sheetName: sheetName, startcolumn: startcolumn, totalColumns: totalColumns, width: width, folder: folder, storage: storage) + CellsAPI.cellsPostUnhideWorksheetColumns(name: name, sheetName: sheetName, startcolumn: startcolumn, totalColumns: totalColumns, width: width, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -914,10 +914,10 @@ class CellsAPITests: AsposeCellsCloudTests { let totalRows:Int32 = 8 let height:Double? = 18 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostUnhideWorksheetRows(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, height: height, folder: folder, storage: storage) + CellsAPI.cellsPostUnhideWorksheetRows(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, height: height, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -943,10 +943,10 @@ class CellsAPITests: AsposeCellsCloudTests { let font1 = Font(isItalic: nil, name: nil, doubleSize: nil, color: nil, isBold: nil, isSubscript: nil, isSuperscript: nil, isStrikeout: nil, underline: nil, size: 19) let style:Style? = Style(link: nil, pattern: nil, textDirection: nil, custom: nil, shrinkToFit: nil, isDateTime: nil, cultureCustom: nil, rotationAngle: nil, indentLevel: nil, isPercent: nil, foregroundColor: nil, name: nil, foregroundThemeColor: nil, borderCollection: nil, isLocked: nil, verticalAlignment: nil, backgroundColor: nil, backgroundThemeColor: nil, isFormulaHidden: nil, isGradient: nil, number: nil, horizontalAlignment: nil, isTextWrapped: nil, font: font1) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostUpdateWorksheetCellStyle(name: name, sheetName: sheetName, cellName: cellName, style: style, folder: folder, storage: storage) + CellsAPI.cellsPostUpdateWorksheetCellStyle(name: name, sheetName: sheetName, cellName: cellName, style: style, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -972,10 +972,10 @@ class CellsAPITests: AsposeCellsCloudTests { let font1 = Font(isItalic: nil, name: nil, doubleSize: nil, color: nil, isBold: nil, isSubscript: nil, isSuperscript: nil, isStrikeout: nil, underline: nil, size: 15) let style:Style? = Style(link: nil, pattern: nil, textDirection: nil, custom: nil, shrinkToFit: nil, isDateTime: nil, cultureCustom: nil, rotationAngle: nil, indentLevel: nil, isPercent: nil, foregroundColor: nil, name: nil, foregroundThemeColor: nil, borderCollection: nil, isLocked: nil, verticalAlignment: nil, backgroundColor: nil, backgroundThemeColor: nil, isFormulaHidden: nil, isGradient: nil, number: nil, horizontalAlignment: nil, isTextWrapped: nil, font: font1) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostUpdateWorksheetRangeStyle(name: name, sheetName: sheetName, range: range, style: style, folder: folder, storage: storage) + CellsAPI.cellsPostUpdateWorksheetRangeStyle(name: name, sheetName: sheetName, range: range, style: style, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -1000,10 +1000,10 @@ class CellsAPITests: AsposeCellsCloudTests { let rowIndex:Int32 = 1 let height:Double? = 10.8 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostUpdateWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, height: height, folder: folder, storage: storage) + CellsAPI.cellsPostUpdateWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, height: height, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -1030,10 +1030,10 @@ class CellsAPITests: AsposeCellsCloudTests { let type:String = "DateTime" //"String" let formula:String? = "=Now()" //nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostWorksheetCellSetValue(name: name, sheetName: sheetName, cellName: cellName, value: value, type: type, formula: formula, folder: folder, storage: storage) + CellsAPI.cellsPostWorksheetCellSetValue(name: name, sheetName: sheetName, cellName: cellName, value: value, type: type, formula: formula, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -1060,10 +1060,10 @@ class CellsAPITests: AsposeCellsCloudTests { let totalRows:Int32 = 4 let totalColumns:Int32 = 4 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostWorksheetMerge(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storage: storage) + CellsAPI.cellsPostWorksheetMerge(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -1090,10 +1090,10 @@ class CellsAPITests: AsposeCellsCloudTests { let totalRows:Int32 = 4 let totalColumns:Int32 = 4 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPostWorksheetUnmerge(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storage: storage) + CellsAPI.cellsPostWorksheetUnmerge(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -1119,10 +1119,10 @@ class CellsAPITests: AsposeCellsCloudTests { let columns:Int32 = 1 let updateReference:Bool = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPutInsertWorksheetColumns(name: name, sheetName: sheetName, columnIndex: columnIndex, columns: columns, updateReference: updateReference, folder: folder, storage: storage) + CellsAPI.cellsPutInsertWorksheetColumns(name: name, sheetName: sheetName, columnIndex: columnIndex, columns: columns, updateReference: updateReference, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -1146,10 +1146,10 @@ class CellsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let rowIndex:Int32 = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPutInsertWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storage: storage) + CellsAPI.cellsPutInsertWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -1175,10 +1175,10 @@ class CellsAPITests: AsposeCellsCloudTests { let totalRows:Int32 = 2 let updateReference:Bool = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPutInsertWorksheetRows(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, updateReference: updateReference, folder: folder, storage: storage) + CellsAPI.cellsPutInsertWorksheetRows(name: name, sheetName: sheetName, startrow: startrow, totalRows: totalRows, updateReference: updateReference, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsAutoFilterAPITests.swift b/AsposeCellsCloudTests/CellsAutoFilterAPITests.swift index 7e59d3d..8877fd8 100644 --- a/AsposeCellsCloudTests/CellsAutoFilterAPITests.swift +++ b/AsposeCellsCloudTests/CellsAutoFilterAPITests.swift @@ -48,10 +48,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let minute:Int32? = 1 let second:Int32? = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterDeleteWorksheetDateFilter(name: name, sheetName: sheetName, fieldIndex: fieldIndex, dateTimeGroupingType: dateTimeGroupingType, year: year, month: month, day: day, hour: hour, minute: minute, second: second, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterDeleteWorksheetDateFilter(name: name, sheetName: sheetName, fieldIndex: fieldIndex, dateTimeGroupingType: dateTimeGroupingType, year: year, month: month, day: day, hour: hour, minute: minute, second: second, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -76,10 +76,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let fieldIndex:Int32 = 1 let criteria:String? = "test" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterDeleteWorksheetFilter(name: name, sheetName: sheetName, fieldIndex: fieldIndex, criteria: criteria, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterDeleteWorksheetFilter(name: name, sheetName: sheetName, fieldIndex: fieldIndex, criteria: criteria, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -102,10 +102,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterGetWorksheetAutoFilter(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterGetWorksheetAutoFilter(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -128,10 +128,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPostWorksheetAutoFilterRefresh(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPostWorksheetAutoFilterRefresh(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -155,10 +155,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let fieldIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPostWorksheetMatchBlanks(name: name, sheetName: sheetName, fieldIndex: fieldIndex, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPostWorksheetMatchBlanks(name: name, sheetName: sheetName, fieldIndex: fieldIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -182,10 +182,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let fieldIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPostWorksheetMatchNonBlanks(name: name, sheetName: sheetName, fieldIndex: fieldIndex, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPostWorksheetMatchNonBlanks(name: name, sheetName: sheetName, fieldIndex: fieldIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -223,10 +223,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let matchBlanks:Bool? = true let refresh:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPutWorksheetColorFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, colorFilter: colorFilter, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPutWorksheetColorFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, colorFilter: colorFilter, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -258,10 +258,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let matchBlanks:Bool? = true let refresh:Bool? = false let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPutWorksheetCustomFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, operatorType1: operatorType1, criteria1: criteria1, isAnd: isAnd, operatorType2: operatorType2, criteria2: criteria2, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPutWorksheetCustomFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, operatorType1: operatorType1, criteria1: criteria1, isAnd: isAnd, operatorType2: operatorType2, criteria2: criteria2, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -295,10 +295,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let matchBlanks:Bool? = true let refresh:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPutWorksheetDateFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, dateTimeGroupingType: dateTimeGroupingType, year: year, month: month, day: day, hour: hour, minute: minute, second: second, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPutWorksheetDateFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, dateTimeGroupingType: dateTimeGroupingType, year: year, month: month, day: day, hour: hour, minute: minute, second: second, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -326,10 +326,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let matchBlanks:Bool? = true let refresh:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPutWorksheetDynamicFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, dynamicFilterType: dynamicFilterType, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPutWorksheetDynamicFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, dynamicFilterType: dynamicFilterType, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -357,10 +357,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let matchBlanks:Bool? = true let refresh:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPutWorksheetFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, criteria: criteria, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPutWorksheetFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, criteria: criteria, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -390,10 +390,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let matchBlanks:Bool? = nil let refresh:Bool? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPutWorksheetFilterTop10(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, isTop: isTop, isPercent: isPercent, itemCount: itemCount, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPutWorksheetFilterTop10(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, isTop: isTop, isPercent: isPercent, itemCount: itemCount, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -422,10 +422,10 @@ class CellsAutoFilterAPITests: AsposeCellsCloudTests { let matchBlanks:Bool? = nil let refresh:Bool? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoFilterPutWorksheetIconFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, iconSetType: iconSetType, iconId: iconId, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storage: storage) + CellsAPI.cellsAutoFilterPutWorksheetIconFilter(name: name, sheetName: sheetName, range: range, fieldIndex: fieldIndex, iconSetType: iconSetType, iconId: iconId, matchBlanks: matchBlanks, refresh: refresh, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsAutoshapesAPITests.swift b/AsposeCellsCloudTests/CellsAutoshapesAPITests.swift index 4f166c0..9689ac9 100644 --- a/AsposeCellsCloudTests/CellsAutoshapesAPITests.swift +++ b/AsposeCellsCloudTests/CellsAutoshapesAPITests.swift @@ -42,10 +42,10 @@ class CellsAutoshapesAPITests: AsposeCellsCloudTests { let autoshapeNumber:Int32 = 4 let format:String? = "PNG" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoshapesGetWorksheetAutoshape(name: name, sheetName: sheetName, autoshapeNumber: autoshapeNumber, format: format, folder: folder, storage: storage) + CellsAPI.cellsAutoshapesGetWorksheetAutoshape(name: name, sheetName: sheetName, autoshapeNumber: autoshapeNumber, format: format, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -77,10 +77,10 @@ class CellsAutoshapesAPITests: AsposeCellsCloudTests { let autoshapeNumber:Int32 = 4 let format:String? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoshapesGetWorksheetAutoshape(name: name, sheetName: sheetName, autoshapeNumber: autoshapeNumber, format: format, folder: folder, storage: storage) + CellsAPI.cellsAutoshapesGetWorksheetAutoshape(name: name, sheetName: sheetName, autoshapeNumber: autoshapeNumber, format: format, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -110,10 +110,10 @@ class CellsAutoshapesAPITests: AsposeCellsCloudTests { let name:String = MYDOC let sheetName:String = SHEET2 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsAutoshapesGetWorksheetAutoshapes(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsAutoshapesGetWorksheetAutoshapes(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsChartAreaAPITests.swift b/AsposeCellsCloudTests/CellsChartAreaAPITests.swift index 1b32291..1605f8f 100644 --- a/AsposeCellsCloudTests/CellsChartAreaAPITests.swift +++ b/AsposeCellsCloudTests/CellsChartAreaAPITests.swift @@ -41,10 +41,10 @@ class CellsChartAreaAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET3 let chartIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartAreaGetChartArea(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage) + CellsAPI.cellsChartAreaGetChartArea(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -68,10 +68,10 @@ class CellsChartAreaAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET3 let chartIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartAreaGetChartAreaBorder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage) + CellsAPI.cellsChartAreaGetChartAreaBorder(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -95,10 +95,10 @@ class CellsChartAreaAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET3 let chartIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartAreaGetChartAreaFillFormat(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage) + CellsAPI.cellsChartAreaGetChartAreaFillFormat(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsChartsAPITests.swift b/AsposeCellsCloudTests/CellsChartsAPITests.swift index 34ec70b..67c9abf 100644 --- a/AsposeCellsCloudTests/CellsChartsAPITests.swift +++ b/AsposeCellsCloudTests/CellsChartsAPITests.swift @@ -41,10 +41,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET3 let chartIndex:Int32 = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsDeleteWorksheetChartLegend(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage) + CellsAPI.cellsChartsDeleteWorksheetChartLegend(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -68,10 +68,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET3 let chartIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsDeleteWorksheetChartTitle(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage) + CellsAPI.cellsChartsDeleteWorksheetChartTitle(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -94,10 +94,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let name:String = MYDOC let sheetName:String = SHEET3 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsDeleteWorksheetClearCharts(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsChartsDeleteWorksheetClearCharts(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -121,10 +121,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET3 let chartIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsDeleteWorksheetDeleteChart(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage) + CellsAPI.cellsChartsDeleteWorksheetDeleteChart(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -149,10 +149,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let chartNumber:Int32 = 0 let format:String? = "png" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsGetWorksheetChart(name: name, sheetName: sheetName, chartNumber: chartNumber, format: format, folder: folder, storage: storage) + CellsAPI.cellsChartsGetWorksheetChart(name: name, sheetName: sheetName, chartNumber: chartNumber, format: format, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -182,10 +182,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET3 let chartIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsGetWorksheetChartLegend(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage) + CellsAPI.cellsChartsGetWorksheetChartLegend(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -209,10 +209,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET4 let chartIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsGetWorksheetChartTitle(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage) + CellsAPI.cellsChartsGetWorksheetChartTitle(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -235,10 +235,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let name:String = MYDOC let sheetName:String = SHEET3 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsGetWorksheetCharts(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsChartsGetWorksheetCharts(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -263,10 +263,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let chartIndex:Int32 = 0 let chart:Chart? = Chart(link: nil, firstSliceAngle: nil, floor: nil, plotEmptyCellsType: nil, autoScaling: true, style: nil, seriesAxis: nil, valueAxis: nil, showDataTable: nil, is3D: nil, chartArea: nil, elevation: nil, sideWall: nil, type: nil, title: nil, walls: nil, backWall: nil, chartDataTable: nil, heightPercent: nil, gapWidth: nil, legend: nil, chartObject: nil, isRectangularCornered: nil, secondCategoryAxis: nil, secondValueAxis: nil, placement: nil, name: nil, sizeWithWindow: nil, rightAngleAxes: nil, plotVisibleCells: nil, showLegend: nil, pivotSource: nil, depthPercent: nil, printSize: nil, gapDepth: nil, shapes: nil, wallsAndGridlines2D: nil, nSeries: nil, rotationAngle: nil, plotArea: nil, categoryAxis: nil, perspective: nil, hidePivotFieldButtons: nil, pageSetup: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsPostWorksheetChart(name: name, sheetName: sheetName, chartIndex: chartIndex, chart: chart, folder: folder, storage: storage) + CellsAPI.cellsChartsPostWorksheetChart(name: name, sheetName: sheetName, chartIndex: chartIndex, chart: chart, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -291,10 +291,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let chartIndex:Int32 = 0 let legend:Legend? = Legend(isInnerMode: nil, shapeProperties: nil, autoScaleFont: nil, area: nil, height: nil, width: 10, backgroundMode: nil, isAutomaticSize: nil, Y: nil, X: nil, shadow: nil, font: nil, border: nil, link: nil, legendEntries: nil, position: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsPostWorksheetChartLegend(name: name, sheetName: sheetName, chartIndex: chartIndex, legend: legend, folder: folder, storage: storage) + CellsAPI.cellsChartsPostWorksheetChartLegend(name: name, sheetName: sheetName, chartIndex: chartIndex, legend: legend, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -319,10 +319,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let chartIndex:Int32 = 0 let title:Title? = Title(isInnerMode: nil, shapeProperties: nil, autoScaleFont: nil, area: nil, height: nil, width: nil, backgroundMode: nil, isAutomaticSize: nil, Y: nil, X: nil, shadow: nil, font: nil, border: nil, link: nil, linkedSource: nil, text: "Post title", isVisible: nil, textDirection: nil, rotationAngle: nil, textVerticalAlignment: nil, textHorizontalAlignment: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsPostWorksheetChartTitle(name: name, sheetName: sheetName, chartIndex: chartIndex, title: title, folder: folder, storage: storage) + CellsAPI.cellsChartsPostWorksheetChartTitle(name: name, sheetName: sheetName, chartIndex: chartIndex, title: title, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -355,10 +355,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let isAutoGetSerialName:Bool? = nil let title:String? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsPutWorksheetAddChart(name: name, sheetName: sheetName, chartType: chartType, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, lowerRightRow: lowerRightRow, lowerRightColumn: lowerRightColumn, area: area, isVertical: isVertical, categoryData: categoryData, isAutoGetSerialName: isAutoGetSerialName, title: title, folder: folder, storage: storage) + CellsAPI.cellsChartsPutWorksheetAddChart(name: name, sheetName: sheetName, chartType: chartType, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, lowerRightRow: lowerRightRow, lowerRightColumn: lowerRightColumn, area: area, isVertical: isVertical, categoryData: categoryData, isAutoGetSerialName: isAutoGetSerialName, title: title, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -382,10 +382,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET3 let chartIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsPutWorksheetChartLegend(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storage: storage) + CellsAPI.cellsChartsPutWorksheetChartLegend(name: name, sheetName: sheetName, chartIndex: chartIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -410,10 +410,10 @@ class CellsChartsAPITests: AsposeCellsCloudTests { let chartIndex:Int32 = 0 let title:Title? = Title(isInnerMode: nil, shapeProperties: nil, autoScaleFont: nil, area: nil, height: nil, width: nil, backgroundMode: nil, isAutomaticSize: nil, Y: nil, X: nil, shadow: nil, font: nil, border: nil, link: nil, linkedSource: nil, text: "New title", isVisible: nil, textDirection: nil, rotationAngle: nil, textVerticalAlignment: nil, textHorizontalAlignment: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsChartsPutWorksheetChartTitle(name: name, sheetName: sheetName, chartIndex: chartIndex, title: title, folder: folder, storage: storage) + CellsAPI.cellsChartsPutWorksheetChartTitle(name: name, sheetName: sheetName, chartIndex: chartIndex, title: title, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsConditionalFormattingsAPITests.swift b/AsposeCellsCloudTests/CellsConditionalFormattingsAPITests.swift index 6e93fd4..3fd163d 100644 --- a/AsposeCellsCloudTests/CellsConditionalFormattingsAPITests.swift +++ b/AsposeCellsCloudTests/CellsConditionalFormattingsAPITests.swift @@ -41,10 +41,10 @@ class CellsConditionalFormattingsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let index:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsConditionalFormattingsDeleteWorksheetConditionalFormatting(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage) + CellsAPI.cellsConditionalFormattingsDeleteWorksheetConditionalFormatting(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -71,10 +71,10 @@ class CellsConditionalFormattingsAPITests: AsposeCellsCloudTests { let totalRows:Int32 = 4 let totalColumns:Int32 = 6 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsConditionalFormattingsDeleteWorksheetConditionalFormattingArea(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storage: storage) + CellsAPI.cellsConditionalFormattingsDeleteWorksheetConditionalFormattingArea(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, totalRows: totalRows, totalColumns: totalColumns, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -97,10 +97,10 @@ class CellsConditionalFormattingsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsConditionalFormattingsDeleteWorksheetConditionalFormattings(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsConditionalFormattingsDeleteWorksheetConditionalFormattings(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -124,10 +124,10 @@ class CellsConditionalFormattingsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let index:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsConditionalFormattingsGetWorksheetConditionalFormatting(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage) + CellsAPI.cellsConditionalFormattingsGetWorksheetConditionalFormatting(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -150,10 +150,10 @@ class CellsConditionalFormattingsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsConditionalFormattingsGetWorksheetConditionalFormattings(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsConditionalFormattingsGetWorksheetConditionalFormattings(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -178,10 +178,10 @@ class CellsConditionalFormattingsAPITests: AsposeCellsCloudTests { let cellArea:String = CELLAREA let formatcondition:FormatCondition? = FormatCondition(link: nil, aboveAverage: nil, formula2: "v2", style: nil, formula1: "v1", colorScale: nil, dataBar: nil, text: nil, stopIfTrue: nil, priority: nil, top10: nil, _operator: "Between", iconSet: nil, type: "CellValue", timePeriod: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsConditionalFormattingsPutWorksheetConditionalFormatting(name: name, sheetName: sheetName, cellArea: cellArea, formatCondition: formatcondition, folder: folder, storage: storage) + CellsAPI.cellsConditionalFormattingsPutWorksheetConditionalFormatting(name: name, sheetName: sheetName, cellArea: cellArea, formatCondition: formatcondition, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -210,10 +210,10 @@ class CellsConditionalFormattingsAPITests: AsposeCellsCloudTests { let formula1:String = "v1" let formula2:String = "v2" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsConditionalFormattingsPutWorksheetFormatCondition(name: name, sheetName: sheetName, index: index, cellArea: cellArea, type: type, operatorType: operatorType, formula1: formula1, formula2: formula2, folder: folder, storage: storage) + CellsAPI.cellsConditionalFormattingsPutWorksheetFormatCondition(name: name, sheetName: sheetName, index: index, cellArea: cellArea, type: type, operatorType: operatorType, formula1: formula1, formula2: formula2, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -238,10 +238,10 @@ class CellsConditionalFormattingsAPITests: AsposeCellsCloudTests { let index:Int32 = 0 let cellArea:String = CELLAREA let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsConditionalFormattingsPutWorksheetFormatConditionArea(name: name, sheetName: sheetName, index: index, cellArea: cellArea, folder: folder, storage: storage) + CellsAPI.cellsConditionalFormattingsPutWorksheetFormatConditionArea(name: name, sheetName: sheetName, index: index, cellArea: cellArea, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -269,10 +269,10 @@ class CellsConditionalFormattingsAPITests: AsposeCellsCloudTests { let formula1:String = "v1" let formula2:String = "v2" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsConditionalFormattingsPutWorksheetFormatConditionCondition(name: name, sheetName: sheetName, index: index, type: type, operatorType: operatorType, formula1: formula1, formula2: formula2, folder: folder, storage: storage) + CellsAPI.cellsConditionalFormattingsPutWorksheetFormatConditionCondition(name: name, sheetName: sheetName, index: index, type: type, operatorType: operatorType, formula1: formula1, formula2: formula2, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsHypelinksAPITests.swift b/AsposeCellsCloudTests/CellsHypelinksAPITests.swift index d0b825c..0335351 100644 --- a/AsposeCellsCloudTests/CellsHypelinksAPITests.swift +++ b/AsposeCellsCloudTests/CellsHypelinksAPITests.swift @@ -41,10 +41,10 @@ class CellsHypelinksAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let hyperlinkIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsHypelinksDeleteWorksheetHyperlink(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, folder: folder, storage: storage) + CellsAPI.cellsHypelinksDeleteWorksheetHyperlink(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -67,10 +67,10 @@ class CellsHypelinksAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsHypelinksDeleteWorksheetHyperlinks(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsHypelinksDeleteWorksheetHyperlinks(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -94,10 +94,10 @@ class CellsHypelinksAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let hyperlinkIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsHypelinksGetWorksheetHyperlink(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, folder: folder, storage: storage) + CellsAPI.cellsHypelinksGetWorksheetHyperlink(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -120,10 +120,10 @@ class CellsHypelinksAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsHypelinksGetWorksheetHyperlinks(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsHypelinksGetWorksheetHyperlinks(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -148,10 +148,10 @@ class CellsHypelinksAPITests: AsposeCellsCloudTests { let hyperlinkIndex:Int32 = 0 let hyperlink:Hyperlink? = Hyperlink(link: nil, screenTip: nil, area: nil, textToDisplay: nil, address: "http://www.aspose.com") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsHypelinksPostWorksheetHyperlink(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, hyperlink: hyperlink, folder: folder, storage: storage) + CellsAPI.cellsHypelinksPostWorksheetHyperlink(name: name, sheetName: sheetName, hyperlinkIndex: hyperlinkIndex, hyperlink: hyperlink, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -179,10 +179,10 @@ class CellsHypelinksAPITests: AsposeCellsCloudTests { let totalColumns:Int32 = 3 let address:String = "http://www.aspose.com" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsHypelinksPutWorksheetHyperlink(name: name, sheetName: sheetName, firstRow: firstRow, firstColumn: firstColumn, totalRows: totalRows, totalColumns: totalColumns, address: address, folder: folder, storage: storage) + CellsAPI.cellsHypelinksPutWorksheetHyperlink(name: name, sheetName: sheetName, firstRow: firstRow, firstColumn: firstColumn, totalRows: totalRows, totalColumns: totalColumns, address: address, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsListObjectsAPITests.swift b/AsposeCellsCloudTests/CellsListObjectsAPITests.swift index 34b6916..c5bfb6e 100644 --- a/AsposeCellsCloudTests/CellsListObjectsAPITests.swift +++ b/AsposeCellsCloudTests/CellsListObjectsAPITests.swift @@ -41,10 +41,10 @@ class CellsListObjectsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET7 let listObjectIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsListObjectsDeleteWorksheetListObject(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, folder: folder, storage: storage) + CellsAPI.cellsListObjectsDeleteWorksheetListObject(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -67,10 +67,10 @@ class CellsListObjectsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET7 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsListObjectsDeleteWorksheetListObjects(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsListObjectsDeleteWorksheetListObjects(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -94,10 +94,10 @@ class CellsListObjectsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET7 let listobjectindex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsListObjectsGetWorksheetListObject(name: name, sheetName: sheetName, listobjectindex: listobjectindex, folder: folder, storage: storage) + CellsAPI.cellsListObjectsGetWorksheetListObject(name: name, sheetName: sheetName, listobjectindex: listobjectindex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -120,10 +120,10 @@ class CellsListObjectsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET7 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsListObjectsGetWorksheetListObjects(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsListObjectsGetWorksheetListObjects(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -148,10 +148,10 @@ class CellsListObjectsAPITests: AsposeCellsCloudTests { let listObjectIndex:Int32 = 0 let listObject:ListObject? = ListObject(link: nil, showTotals: nil, tableStyleType: nil, displayName: nil, showHeaderRow: true, startColumn: nil, showTableStyleLastColumn: nil, showTableStyleColumnStripes: nil, showTableStyleFirstColumn: nil, startRow: nil, autoFilter: nil, showTableStyleRowStripes: nil, endColumn: nil, tableStyleName: nil, listColumns: nil, endRow: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsListObjectsPostWorksheetListObject(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, listObject: listObject, folder: folder, storage: storage) + CellsAPI.cellsListObjectsPostWorksheetListObject(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, listObject: listObject, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -175,10 +175,10 @@ class CellsListObjectsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET7 let listObjectIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsListObjectsPostWorksheetListObjectConvertToRange(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, folder: folder, storage: storage) + CellsAPI.cellsListObjectsPostWorksheetListObjectConvertToRange(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -203,10 +203,10 @@ class CellsListObjectsAPITests: AsposeCellsCloudTests { let listObjectIndex:Int32 = 0 let dataSorter:DataSorter? = DataSorter(caseSensitive: true, keyList: nil, hasHeaders: nil, sortLeftToRight: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsListObjectsPostWorksheetListObjectSortTable(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, dataSorter: dataSorter, folder: folder, storage: storage) + CellsAPI.cellsListObjectsPostWorksheetListObjectSortTable(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, dataSorter: dataSorter, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -237,10 +237,10 @@ class CellsListObjectsAPITests: AsposeCellsCloudTests { let request:CreatePivotTableRequest? = CreatePivotTableRequest(pivotFieldColumns: ia1, name: "testp", useSameSource: true, pivotFieldData: ia2, pivotFieldRows: ia3, destCellName: "C1", sourceData: "=Sheet2!A1:E8") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsListObjectsPostWorksheetListObjectSummarizeWithPivotTable(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, destsheetName: destsheetName, request: request, folder: folder, storage: storage) + CellsAPI.cellsListObjectsPostWorksheetListObjectSummarizeWithPivotTable(name: name, sheetName: sheetName, listObjectIndex: listObjectIndex, destsheetName: destsheetName, request: request, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -267,11 +267,11 @@ class CellsListObjectsAPITests: AsposeCellsCloudTests { let endRow:Int32 = 6 let endColumn:Int32 = 6 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil let hasHeaders:Bool? = nil uploadFile(name: name) { - CellsAPI.cellsListObjectsPutWorksheetListObject(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, hasHeaders: hasHeaders, listObject: nil, folder: folder, storage: storage) + CellsAPI.cellsListObjectsPutWorksheetListObject(name: name, sheetName: sheetName, startRow: startRow, startColumn: startColumn, endRow: endRow, endColumn: endColumn, hasHeaders: hasHeaders, listObject: nil, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsOleObjectsAPITests.swift b/AsposeCellsCloudTests/CellsOleObjectsAPITests.swift index fca1afe..31778b1 100644 --- a/AsposeCellsCloudTests/CellsOleObjectsAPITests.swift +++ b/AsposeCellsCloudTests/CellsOleObjectsAPITests.swift @@ -41,10 +41,10 @@ class CellsOleObjectsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET6 let oleObjectIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsOleObjectsDeleteWorksheetOleObject(name: name, sheetName: sheetName, oleObjectIndex: oleObjectIndex, folder: folder, storage: storage) + CellsAPI.cellsOleObjectsDeleteWorksheetOleObject(name: name, sheetName: sheetName, oleObjectIndex: oleObjectIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -67,10 +67,10 @@ class CellsOleObjectsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET6 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsOleObjectsDeleteWorksheetOleObjects(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsOleObjectsDeleteWorksheetOleObjects(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -95,10 +95,10 @@ class CellsOleObjectsAPITests: AsposeCellsCloudTests { let objectNumber:Int32 = 0 let format:String? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsOleObjectsGetWorksheetOleObject(name: name, sheetName: sheetName, objectNumber: objectNumber, format: format, folder: folder, storage: storage) + CellsAPI.cellsOleObjectsGetWorksheetOleObject(name: name, sheetName: sheetName, objectNumber: objectNumber, format: format, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -128,10 +128,10 @@ class CellsOleObjectsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET6 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsOleObjectsGetWorksheetOleObjects(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsOleObjectsGetWorksheetOleObjects(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -156,10 +156,10 @@ class CellsOleObjectsAPITests: AsposeCellsCloudTests { let oleObjectIndex:Int32 = 0 let ole:OleObject? = OleObject(alternativeText: nil, bottom: nil, top: nil, width: 78, htmlText: nil, textVerticalAlignment: nil, autoShapeType: nil, isPrintable: nil, upperLeftColumn: nil, isLockAspectRatio: nil, isGroup: nil, rotationAngle: nil, zOrderPosition: nil, textHorizontalOverflow: nil, msoDrawingType: nil, textOrientationType: nil, placement: nil, name: nil, isWordArt: nil, linkedCell: nil, upperLeftRow: nil, isLocked: nil, lowerRightRow: nil, isTextWrapped: nil, Y: nil, X: nil, isHidden: nil, _left: 10, _right: 10, text: nil, lowerRightColumn: nil, height: 90, textHorizontalAlignment: nil, textVerticalOverflow: nil, link: nil, displayAsIcon: nil, fileFormatType: nil, sourceFullName: nil, isAutoSize: nil, imageSourceFullName: nil, progID: nil, isLink: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsOleObjectsPostUpdateWorksheetOleObject(name: name, sheetName: sheetName, oleObjectIndex: oleObjectIndex, ole: ole, folder: folder, storage: storage) + CellsAPI.cellsOleObjectsPostUpdateWorksheetOleObject(name: name, sheetName: sheetName, oleObjectIndex: oleObjectIndex, ole: ole, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -186,7 +186,7 @@ class CellsOleObjectsAPITests: AsposeCellsCloudTests { let height:Int32? = 100 let width:Int32? = 80 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil let oleFile:String? = "\(folder)/OLEDoc.docx" let imageFile:String? = "\(folder)/word.jpg" let oleObject:OleObject? = nil/*OleObject(alternativeText: nil, bottom: nil, top: nil, width: 80, htmlText: nil, textVerticalAlignment: nil, autoShapeType: nil, isPrintable: nil, upperLeftColumn: 1, isLockAspectRatio: nil, isGroup: nil, rotationAngle: nil, zOrderPosition: nil, textHorizontalOverflow: nil, msoDrawingType: nil, textOrientationType: nil, placement: nil, name: nil, isWordArt: nil, linkedCell: nil, upperLeftRow: 1, isLocked: nil, lowerRightRow: nil, isTextWrapped: nil, Y: nil, X: nil, isHidden: nil, _left: nil, _right: nil, text: nil, lowerRightColumn: nil, height: 100, textHorizontalAlignment: nil, textVerticalOverflow: nil, link: nil, displayAsIcon: nil, fileFormatType: nil, sourceFullName: oleFile, isAutoSize: nil, imageSourceFullName: imageFile, progID: nil, isLink: nil)*/ @@ -194,7 +194,7 @@ class CellsOleObjectsAPITests: AsposeCellsCloudTests { uploadFile(name: name) { self.uploadFile(name: "OLEDoc.docx") { self.uploadFile(name: "word.jpg") { - CellsAPI.cellsOleObjectsPutWorksheetOleObject(name: name, sheetName: sheetName, oleObject: oleObject, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, height: height, width: width, oleFile: oleFile, imageFile: imageFile, folder: folder, storage: storage) + CellsAPI.cellsOleObjectsPutWorksheetOleObject(name: name, sheetName: sheetName, oleObject: oleObject, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, height: height, width: width, oleFile: oleFile, imageFile: imageFile, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsPageBreaksAPITests.swift b/AsposeCellsCloudTests/CellsPageBreaksAPITests.swift index fdb6740..8a038f9 100644 --- a/AsposeCellsCloudTests/CellsPageBreaksAPITests.swift +++ b/AsposeCellsCloudTests/CellsPageBreaksAPITests.swift @@ -41,10 +41,10 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let index:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksDeleteHorizontalPageBreak(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksDeleteHorizontalPageBreak(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -66,15 +66,17 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsPageBreaksDeleteHorizontalPageBreaks") let name:String = BOOK1 let sheetName:String = SHEET1 - let row:Int32? = 1 + let row:Int32? = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksDeleteHorizontalPageBreaks(name: name, sheetName: sheetName, row: row, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksDeleteHorizontalPageBreaks(name: name, sheetName: sheetName, row: row, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { + let errorinfo = self.GetErrorDataInfo(error: error as! ErrorResponse) + print("error info: \(errorinfo!)") XCTFail("error testcellsPageBreaksDeleteHorizontalPageBreaks") return } @@ -95,10 +97,10 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let index:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksDeleteVerticalPageBreak(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksDeleteVerticalPageBreak(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -120,15 +122,17 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsPageBreaksDeleteVerticalPageBreaks") let name:String = BOOK1 let sheetName:String = SHEET1 - let column:Int32? = 1 + let column:Int32? = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksDeleteVerticalPageBreaks(name: name, sheetName: sheetName, column: column, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksDeleteVerticalPageBreaks(name: name, sheetName: sheetName, column: column, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { + let errorinfo = self.GetErrorDataInfo(error: error as! ErrorResponse) + print("error info: \(errorinfo!)") XCTFail("error testcellsPageBreaksDeleteVerticalPageBreaks") return } @@ -149,10 +153,10 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let index:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksGetHorizontalPageBreak(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksGetHorizontalPageBreak(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -175,10 +179,10 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksGetHorizontalPageBreaks(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksGetHorizontalPageBreaks(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -202,10 +206,10 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let index:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksGetVerticalPageBreak(name: name, sheetName: sheetName, index: index, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksGetVerticalPageBreak(name: name, sheetName: sheetName, index: index, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -228,10 +232,10 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksGetVerticalPageBreaks(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksGetVerticalPageBreaks(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -259,10 +263,10 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let startColumn:Int32 = 1 let endColumn:Int32? = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksPutHorizontalPageBreak(name: name, sheetName: sheetName, cellname: cellname, row: row, column: column, startColumn: startColumn, endColumn: endColumn, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksPutHorizontalPageBreak(name: name, sheetName: sheetName, cellname: cellname, row: row, column: column, startColumn: startColumn, endColumn: endColumn, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -290,10 +294,10 @@ class CellsPageBreaksAPITests: AsposeCellsCloudTests { let startRow:Int32 = 1 let endRow:Int32? = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageBreaksPutVerticalPageBreak(name: name, sheetName: sheetName, cellname: cellname, column: column, row: row, startRow: startRow, endRow: endRow, folder: folder, storage: storage) + CellsAPI.cellsPageBreaksPutVerticalPageBreak(name: name, sheetName: sheetName, cellname: cellname, column: column, row: row, startRow: startRow, endRow: endRow, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsPageSetupAPITests.swift b/AsposeCellsCloudTests/CellsPageSetupAPITests.swift index 144974b..eb4de8e 100644 --- a/AsposeCellsCloudTests/CellsPageSetupAPITests.swift +++ b/AsposeCellsCloudTests/CellsPageSetupAPITests.swift @@ -40,10 +40,10 @@ class CellsPageSetupAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageSetupDeleteHeaderFooter(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPageSetupDeleteHeaderFooter(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -66,10 +66,10 @@ class CellsPageSetupAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageSetupGetFooter(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPageSetupGetFooter(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -92,10 +92,10 @@ class CellsPageSetupAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageSetupGetHeader(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPageSetupGetHeader(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -118,10 +118,10 @@ class CellsPageSetupAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageSetupGetPageSetup(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPageSetupGetPageSetup(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -147,10 +147,10 @@ class CellsPageSetupAPITests: AsposeCellsCloudTests { let script:String = "test" let isFirstPage:Bool = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageSetupPostFooter(name: name, sheetName: sheetName, section: section, script: script, isFirstPage: isFirstPage, folder: folder, storage: storage) + CellsAPI.cellsPageSetupPostFooter(name: name, sheetName: sheetName, section: section, script: script, isFirstPage: isFirstPage, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -176,10 +176,10 @@ class CellsPageSetupAPITests: AsposeCellsCloudTests { let script:String = "trst" let isFirstPage:Bool = false let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageSetupPostHeader(name: name, sheetName: sheetName, section: section, script: script, isFirstPage: isFirstPage, folder: folder, storage: storage) + CellsAPI.cellsPageSetupPostHeader(name: name, sheetName: sheetName, section: section, script: script, isFirstPage: isFirstPage, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -203,10 +203,10 @@ class CellsPageSetupAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let pageSetup:PageSetup? = PageSetup(link: nil, isHFDiffFirst: nil, fitToPagesWide: nil, printQuality: nil, printDraft: nil, firstPageNumber: nil, paperSize: nil, printComments: nil, printErrors: nil, centerVertically: nil, isPercentScale: nil, blackAndWhite: true, printTitleColumns: nil, isHFAlignMargins: nil, printArea: nil, footerMargin: nil, leftMargin: nil, centerHorizontally: nil, headerMargin: nil, topMargin: nil, footer: nil, fitToPagesTall: nil, isHFScaleWithDoc: nil, printHeadings: nil, zoom: nil, printTitleRows: nil, order: nil, printCopies: nil, orientation: nil, rightMargin: nil, printGridlines: nil, isAutoFirstPageNumber: nil, header: nil, isHFDiffOddEven: nil, bottomMargin: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPageSetupPostPageSetup(name: name, sheetName: sheetName, pageSetup: pageSetup, folder: folder, storage: storage) + CellsAPI.cellsPageSetupPostPageSetup(name: name, sheetName: sheetName, pageSetup: pageSetup, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsPicturesAPITests.swift b/AsposeCellsCloudTests/CellsPicturesAPITests.swift index 2c6f3bc..74efd36 100644 --- a/AsposeCellsCloudTests/CellsPicturesAPITests.swift +++ b/AsposeCellsCloudTests/CellsPicturesAPITests.swift @@ -41,10 +41,10 @@ class CellsPicturesAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET6 let pictureIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPicturesDeleteWorksheetPicture(name: name, sheetName: sheetName, pictureIndex: pictureIndex, folder: folder, storage: storage) + CellsAPI.cellsPicturesDeleteWorksheetPicture(name: name, sheetName: sheetName, pictureIndex: pictureIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -67,10 +67,10 @@ class CellsPicturesAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET6 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPicturesDeleteWorksheetPictures(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPicturesDeleteWorksheetPictures(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -95,10 +95,10 @@ class CellsPicturesAPITests: AsposeCellsCloudTests { let pictureIndex:Int32 = 0 let format:String? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPicturesGetWorksheetPicture(name: name, sheetName: sheetName, pictureIndex: pictureIndex, format: format, folder: folder, storage: storage) + CellsAPI.cellsPicturesGetWorksheetPicture(name: name, sheetName: sheetName, pictureIndex: pictureIndex, format: format, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -128,10 +128,10 @@ class CellsPicturesAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET6 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPicturesGetWorksheetPictures(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPicturesGetWorksheetPictures(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -156,10 +156,10 @@ class CellsPicturesAPITests: AsposeCellsCloudTests { let pictureIndex:Int32 = 0 let picture:Picture? = Picture(alternativeText: nil, bottom: nil, top: nil, width: nil, htmlText: nil, textVerticalAlignment: nil, autoShapeType: nil, isPrintable: nil, upperLeftColumn: nil, isLockAspectRatio: nil, isGroup: nil, rotationAngle: nil, zOrderPosition: nil, textHorizontalOverflow: nil, msoDrawingType: nil, textOrientationType: nil, placement: nil, name: nil, isWordArt: nil, linkedCell: nil, upperLeftRow: nil, isLocked: nil, lowerRightRow: nil, isTextWrapped: nil, Y: nil, X: nil, isHidden: nil, _left: 10, _right: nil, text: nil, lowerRightColumn: nil, height: nil, textHorizontalAlignment: nil, textVerticalOverflow: nil, link: nil, sourceFullName: nil, borderLineColor: nil, originalHeight: nil, imageFormat: nil, originalWidth: nil, borderWeight: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPicturesPostWorksheetPicture(name: name, sheetName: sheetName, pictureIndex: pictureIndex, picture: picture, folder: folder, storage: storage) + CellsAPI.cellsPicturesPostWorksheetPicture(name: name, sheetName: sheetName, pictureIndex: pictureIndex, picture: picture, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -186,14 +186,14 @@ class CellsPicturesAPITests: AsposeCellsCloudTests { let lowerRightRow:Int32? = 10 let lowerRightColumn:Int32? = 10 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil let picturePath:String? = "\(folder)/WaterMark.png" let picture:Picture? = Picture(alternativeText: nil, bottom: nil, top: nil, width: nil, htmlText: nil, textVerticalAlignment: nil, autoShapeType: nil, isPrintable: nil, upperLeftColumn: 1, isLockAspectRatio: nil, isGroup: nil, rotationAngle: nil, zOrderPosition: nil, textHorizontalOverflow: nil, msoDrawingType: nil, textOrientationType: nil, placement: nil, name: nil, isWordArt: nil, linkedCell: nil, upperLeftRow: 1, isLocked: nil, lowerRightRow: 10, isTextWrapped: nil, Y: nil, X: nil, isHidden: nil, _left: nil, _right: nil, text: nil, lowerRightColumn: 10, height: nil, textHorizontalAlignment: nil, textVerticalOverflow: nil, link: nil, sourceFullName: picturePath, borderLineColor: nil, originalHeight: nil, imageFormat: nil, originalWidth: nil, borderWeight: nil) uploadFile(name: name) { self.uploadFile(name: "WaterMark.png") { - CellsAPI.cellsPicturesPutWorksheetAddPicture(name: name, sheetName: sheetName, picture: picture, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, lowerRightRow: lowerRightRow, lowerRightColumn: lowerRightColumn, picturePath: picturePath, folder: folder, storage: storage) + CellsAPI.cellsPicturesPutWorksheetAddPicture(name: name, sheetName: sheetName, picture: picture, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, lowerRightRow: lowerRightRow, lowerRightColumn: lowerRightColumn, picturePath: picturePath, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsPivotTablesAPITests.swift b/AsposeCellsCloudTests/CellsPivotTablesAPITests.swift index 5f7f488..ef5beb4 100644 --- a/AsposeCellsCloudTests/CellsPivotTablesAPITests.swift +++ b/AsposeCellsCloudTests/CellsPivotTablesAPITests.swift @@ -33,7 +33,7 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { // Put teardown code here. This method is called after the invocation of each test method in the class. super.tearDown() } - + func testcellsPivotTablesDeletePivotTableField() { let expectation = self.expectation(description: "testcellsPivotTablesDeletePivotTableField") @@ -44,10 +44,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let ia1:[Int32]? = [1] let request:PivotTableFieldRequest? = PivotTableFieldRequest(data: ia1) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesDeletePivotTableField(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, request: request, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesDeletePivotTableField(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, request: request, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -71,10 +71,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET4 let pivotTableIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesDeleteWorksheetPivotTable(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesDeleteWorksheetPivotTable(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -91,35 +91,57 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { self.waitForExpectations(timeout: testTimeout, handler: nil) } - func testcellsPivotTablesDeleteWorksheetPivotTableFilter() - { - let expectation = self.expectation(description: "testcellsPivotTablesDeleteWorksheetPivotTableFilter") - let name:String = PivTestFile - let sheetName:String = SHEET4 - let pivotTableIndex:Int32 = 0 - let fieldIndex:Int32 = 0 - let needReCalculate:Bool? = true - let folder:String = TEMPFOLDER - let storage:String? = nil - - uploadFile(name: name) { - CellsAPI.cellsPivotTablesDeleteWorksheetPivotTableFilter(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, fieldIndex: fieldIndex, needReCalculate: needReCalculate, folder: folder, storage: storage) - { - (response, error) in - guard error == nil else { - XCTFail("error testcellsPivotTablesDeleteWorksheetPivotTableFilter") - return - } - - if let response = response { - XCTAssertEqual(response.code, 200) - expectation.fulfill() - } - } - } - self.waitForExpectations(timeout: testTimeout, handler: nil) - } - + func testcellsPivotTablesDeleteWorksheetPivotTableFilter() + { + let expectation = self.expectation(description: "testcellsPivotTablesDeleteWorksheetPivotTableFilter") + let name:String = PivTestFile + let sheetName:String = SHEET4 + let pivotTableIndex:Int32 = 0 + + let fieldIndex:Int32 = 0 + let needReCalculate:Bool? = true + let folder:String = TEMPFOLDER + let storageName:String? = nil + + let top10Filter:Top10Filter = Top10Filter(items: 1, isPercent: false, isTop: true, criteria: nil) + let filterColumn:FilterColumn = FilterColumn(filterType: "Top10", multipleFilters: nil, customFilters: nil, dynamicFilter: nil, colorFilter: nil, fieldIndex: 0, top10Filter: top10Filter, iconFilter: nil, visibledropdown: nil) + let filterColumns: [FilterColumn] = [filterColumn] + let autoFilter: AutoFilter = AutoFilter(link: nil, range: nil, filterColumns: filterColumns, sorter: nil) + let filter:PivotFilter? = PivotFilter(evaluationOrder: nil, name: nil, filterType: "Count", autoFilter: autoFilter, fieldIndex: 1, measureFldIndex: nil, value1: nil, memberPropertyFieldIndex: nil, value2: nil) + + uploadFile(name: name) { + CellsAPI.cellsPivotTablesPutWorksheetPivotTableFilter(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filter: filter, needReCalculate: needReCalculate, folder: folder, storageName: storageName) + { + (response, error) in + guard error == nil else { + XCTFail("error testcellsPivotTablesDeleteWorksheetPivotTableFilter1") + return + } + + if let response = response { + XCTAssertEqual(response.code, 200) + + CellsAPI.cellsPivotTablesDeleteWorksheetPivotTableFilter(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, fieldIndex: fieldIndex, needReCalculate: needReCalculate, folder: folder, storageName: storageName) + { + (response, error) in + guard error == nil else { + XCTFail("error testcellsPivotTablesDeleteWorksheetPivotTableFilter2") + return + } + + if let response = response { + XCTAssertEqual(response.code, 200) + expectation.fulfill() + } + } + + //expectation.fulfill() + } + } + } + self.waitForExpectations(timeout: testTimeout, handler: nil) + } + func testcellsPivotTablesDeleteWorksheetPivotTableFilters() { let expectation = self.expectation(description: "testcellsPivotTablesDeleteWorksheetPivotTableFilters") @@ -128,10 +150,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let pivotTableIndex:Int32 = 0 let needReCalculate:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesDeleteWorksheetPivotTableFilters(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, needReCalculate: needReCalculate, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesDeleteWorksheetPivotTableFilters(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, needReCalculate: needReCalculate, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -154,10 +176,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let name:String = PivTestFile let sheetName:String = SHEET4 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesDeleteWorksheetPivotTables(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesDeleteWorksheetPivotTables(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -183,10 +205,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let pivotFieldIndex:Int32 = 0 let pivotFieldType:String = "Row" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesGetPivotTableField(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldIndex: pivotFieldIndex, pivotFieldType: pivotFieldType, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesGetPivotTableField(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldIndex: pivotFieldIndex, pivotFieldType: pivotFieldType, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -210,10 +232,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET4 let pivottableIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesGetWorksheetPivotTable(name: name, sheetName: sheetName, pivottableIndex: pivottableIndex, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesGetWorksheetPivotTable(name: name, sheetName: sheetName, pivottableIndex: pivottableIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -246,11 +268,11 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let needReCalculate:Bool? = true let filterIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesPutWorksheetPivotTableFilter(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filter: filter, needReCalculate: needReCalculate, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesPutWorksheetPivotTableFilter(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filter: filter, needReCalculate: needReCalculate, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -261,7 +283,7 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { if let response = response { XCTAssertEqual(response.code, 200) - CellsAPI.cellsPivotTablesGetWorksheetPivotTableFilter(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filterIndex: filterIndex, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesGetWorksheetPivotTableFilter(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filterIndex: filterIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -288,10 +310,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET4 let pivotTableIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesGetWorksheetPivotTableFilters(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesGetWorksheetPivotTableFilters(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -314,10 +336,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let name:String = PivTestFile let sheetName:String = SHEET4 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesGetWorksheetPivotTables(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesGetWorksheetPivotTables(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -348,10 +370,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let needReCalculate:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesPostPivotTableCellStyle(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, column: column, row: row, style: style, needReCalculate: needReCalculate, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesPostPivotTableCellStyle(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, column: column, row: row, style: style, needReCalculate: needReCalculate, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -380,10 +402,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let isHide:Bool = true let needReCalculate:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesPostPivotTableFieldHideItem(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, fieldIndex: fieldIndex, itemIndex: itemIndex, isHide: isHide, needReCalculate: needReCalculate, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesPostPivotTableFieldHideItem(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, fieldIndex: fieldIndex, itemIndex: itemIndex, isHide: isHide, needReCalculate: needReCalculate, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -410,10 +432,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let from:String = "Row" let to:String = "Column" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesPostPivotTableFieldMoveTo(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, fieldIndex: fieldIndex, from: from, to: to, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesPostPivotTableFieldMoveTo(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, fieldIndex: fieldIndex, from: from, to: to, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -442,10 +464,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let needReCalculate:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesPostPivotTableStyle(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, style: style, needReCalculate: needReCalculate, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesPostPivotTableStyle(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, style: style, needReCalculate: needReCalculate, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -469,10 +491,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET4 let pivotTableIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesPostWorksheetPivotTableCalculate(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesPostWorksheetPivotTableCalculate(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -499,10 +521,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let column:Int32? = 1 let destCellName:String = "C10" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesPostWorksheetPivotTableMove(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, row: row, column: column, destCellName: destCellName, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesPostWorksheetPivotTableMove(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, row: row, column: column, destCellName: destCellName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -530,10 +552,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let request:PivotTableFieldRequest? = PivotTableFieldRequest(data: data) let needReCalculate:Bool? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesPutPivotTableField(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, request: request, needReCalculate: needReCalculate, folder: folder, storage: storage) + CellsAPI.cellsPivotTablesPutPivotTableField(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, pivotFieldType: pivotFieldType, request: request, needReCalculate: needReCalculate, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -559,14 +581,14 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let _:CreatePivotTableRequest? = CreatePivotTableRequest(pivotFieldColumns: nil, name: "TestPivot", useSameSource: true, pivotFieldData: nil, pivotFieldRows: nil, destCellName: "C1", sourceData: "Sheet1!C6:E13") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil let sourceData:String? = "Sheet1!C6:E13" let destCellName:String = "C1" let tableName:String? = "TestPivot" let useSameSource:Bool? = true uploadFile(name: name) { - CellsAPI.cellsPivotTablesPutWorksheetPivotTable(name: name, sheetName: sheetName, request: nil, folder: folder, storage: storage, sourceData: sourceData, destCellName: destCellName, tableName: tableName, useSameSource: useSameSource) + CellsAPI.cellsPivotTablesPutWorksheetPivotTable(name: name, sheetName: sheetName, request: nil, folder: folder, storageName: storageName, sourceData: sourceData, destCellName: destCellName, tableName: tableName, useSameSource: useSameSource) { (response, error) in guard error == nil else { @@ -595,10 +617,10 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { let request:CreatePivotTableRequest? = CreatePivotTableRequest(pivotFieldColumns: FieldColumns, name: "Test", useSameSource: false, pivotFieldData: FieldData, pivotFieldRows: FieldRows, destCellName: "C1", sourceData: "Sheet2!$A$1:$E$8") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPivotTablesPutWorksheetPivotTable(name: name, sheetName: sheetName, request: request, folder: folder, storage: storage, sourceData: nil, destCellName: nil, tableName: nil, useSameSource: nil) + CellsAPI.cellsPivotTablesPutWorksheetPivotTable(name: name, sheetName: sheetName, request: request, folder: folder, storageName: storageName, sourceData: nil, destCellName: nil, tableName: nil, useSameSource: nil) { (response, error) in guard error == nil else { @@ -614,43 +636,41 @@ class CellsPivotTablesAPITests: AsposeCellsCloudTests { } self.waitForExpectations(timeout: testTimeout, handler: nil) } - - func testcellsPivotTablesPutWorksheetPivotTableFilter() - { - let expectation = self.expectation(description: "testcellsPivotTablesPutWorksheetPivotTableFilter") - let name:String = PivTestFile - let sheetName:String = SHEET4 - let pivotTableIndex:Int32 = 0 + + func testcellsPivotTablesPutWorksheetPivotTableFilter() + { + let expectation = self.expectation(description: "testcellsPivotTablesPutWorksheetPivotTableFilter") + let name:String = PivTestFile + let sheetName:String = SHEET4 + let pivotTableIndex:Int32 = 0 let top10Filter:Top10Filter = Top10Filter(items: 1, isPercent: false, isTop: true, criteria: nil) let filterColumn:FilterColumn = FilterColumn(filterType: "Top10", multipleFilters: nil, customFilters: nil, dynamicFilter: nil, colorFilter: nil, fieldIndex: 0, top10Filter: top10Filter, iconFilter: nil, visibledropdown: nil) let filterColumns: [FilterColumn] = [filterColumn] let autoFilter: AutoFilter = AutoFilter(link: nil, range: nil, filterColumns: filterColumns, sorter: nil) - let filter:PivotFilter? = PivotFilter(evaluationOrder: nil, name: nil, filterType: "Count", autoFilter: autoFilter, fieldIndex: 1, measureFldIndex: nil, value1: nil, memberPropertyFieldIndex: nil, value2: nil) + let filter:PivotFilter? = PivotFilter(evaluationOrder: nil, name: nil, filterType: "Count", autoFilter: autoFilter, fieldIndex: 1, measureFldIndex: nil, value1: nil, memberPropertyFieldIndex: nil, value2: nil) - let needReCalculate:Bool? = true - let folder:String = TEMPFOLDER - let storage:String? = nil - - uploadFile(name: name) { - CellsAPI.cellsPivotTablesPutWorksheetPivotTableFilter(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filter: filter, needReCalculate: needReCalculate, folder: folder, storage: storage) - { - (response, error) in - guard error == nil else { - XCTFail("error testcellsPivotTablesPutWorksheetPivotTableFilter") - return - } - - if let response = response { - XCTAssertEqual(response.code, 200) - expectation.fulfill() - } - } - } - self.waitForExpectations(timeout: testTimeout, handler: nil) - } - - + let needReCalculate:Bool? = true + let folder:String = TEMPFOLDER + let storageName:String? = nil + + uploadFile(name: name) { + CellsAPI.cellsPivotTablesPutWorksheetPivotTableFilter(name: name, sheetName: sheetName, pivotTableIndex: pivotTableIndex, filter: filter, needReCalculate: needReCalculate, folder: folder, storageName: storageName) + { + (response, error) in + guard error == nil else { + XCTFail("error testcellsPivotTablesPutWorksheetPivotTableFilter") + return + } + + if let response = response { + XCTAssertEqual(response.code, 200) + expectation.fulfill() + } + } + } + self.waitForExpectations(timeout: testTimeout, handler: nil) + } } diff --git a/AsposeCellsCloudTests/CellsPropertiesAPITests.swift b/AsposeCellsCloudTests/CellsPropertiesAPITests.swift index 92720be..560c794 100644 --- a/AsposeCellsCloudTests/CellsPropertiesAPITests.swift +++ b/AsposeCellsCloudTests/CellsPropertiesAPITests.swift @@ -39,10 +39,10 @@ class CellsPropertiesAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsPropertiesDeleteDocumentProperties") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPropertiesDeleteDocumentProperties(name: name, folder: folder, storage: storage) + CellsAPI.cellsPropertiesDeleteDocumentProperties(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -65,10 +65,10 @@ class CellsPropertiesAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let propertyName:String = "Author" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPropertiesDeleteDocumentProperty(name: name, propertyName: propertyName, folder: folder, storage: storage) + CellsAPI.cellsPropertiesDeleteDocumentProperty(name: name, propertyName: propertyName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -90,10 +90,10 @@ class CellsPropertiesAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsPropertiesGetDocumentProperties") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPropertiesGetDocumentProperties(name: name, folder: folder, storage: storage) + CellsAPI.cellsPropertiesGetDocumentProperties(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -116,10 +116,10 @@ class CellsPropertiesAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let propertyName:String = "Author" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPropertiesGetDocumentProperty(name: name, propertyName: propertyName, folder: folder, storage: storage) + CellsAPI.cellsPropertiesGetDocumentProperty(name: name, propertyName: propertyName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -143,10 +143,10 @@ class CellsPropertiesAPITests: AsposeCellsCloudTests { let propertyName:String = "Name" let property:CellsDocumentProperty? = CellsDocumentProperty(link: nil, builtIn: nil, name: "Author", value: "Val") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsPropertiesPutDocumentProperty(name: name, propertyName: propertyName, property: property, folder: folder, storage: storage) + CellsAPI.cellsPropertiesPutDocumentProperty(name: name, propertyName: propertyName, property: property, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsRangesAPITests.swift b/AsposeCellsCloudTests/CellsRangesAPITests.swift index 64daef1..ced45f1 100644 --- a/AsposeCellsCloudTests/CellsRangesAPITests.swift +++ b/AsposeCellsCloudTests/CellsRangesAPITests.swift @@ -45,10 +45,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let rowCount:Int32? = 3 let columnCount:Int32? = 2 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesGetWorksheetCellsRangeValue(name: name, sheetName: sheetName, namerange: namerange, firstRow: firstRow, firstColumn: firstColumn, rowCount: rowCount, columnCount: columnCount, folder: folder, storage: storage) + CellsAPI.cellsRangesGetWorksheetCellsRangeValue(name: name, sheetName: sheetName, namerange: namerange, firstRow: firstRow, firstColumn: firstColumn, rowCount: rowCount, columnCount: columnCount, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -63,7 +63,7 @@ class CellsRangesAPITests: AsposeCellsCloudTests { } namerange = "A1:B3" - CellsAPI.cellsRangesGetWorksheetCellsRangeValue(name: name, sheetName: sheetName, namerange: namerange, firstRow: firstRow, firstColumn: firstColumn, rowCount: rowCount, columnCount: columnCount, folder: folder, storage: storage) + CellsAPI.cellsRangesGetWorksheetCellsRangeValue(name: name, sheetName: sheetName, namerange: namerange, firstRow: firstRow, firstColumn: firstColumn, rowCount: rowCount, columnCount: columnCount, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -78,7 +78,7 @@ class CellsRangesAPITests: AsposeCellsCloudTests { } namerange = "Name_2" - CellsAPI.cellsRangesGetWorksheetCellsRangeValue(name: name, sheetName: sheetName, namerange: namerange, firstRow: firstRow, firstColumn: firstColumn, rowCount: rowCount, columnCount: columnCount, folder: folder, storage: storage) + CellsAPI.cellsRangesGetWorksheetCellsRangeValue(name: name, sheetName: sheetName, namerange: namerange, firstRow: firstRow, firstColumn: firstColumn, rowCount: rowCount, columnCount: columnCount, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -104,10 +104,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let value:Double = 10.01 let range:AsposeCellsCloud.Range? = AsposeCellsCloud.Range(columnCount: 1, rowHeight: nil, name: nil, firstColumn: 1, columnWidth: 10.1, refersTo: nil, rowCount: 10, firstRow: 1, worksheet: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesPostWorksheetCellsRangeColumnWidth(name: name, sheetName: sheetName, value: value, range: range, folder: folder, storage: storage) + CellsAPI.cellsRangesPostWorksheetCellsRangeColumnWidth(name: name, sheetName: sheetName, value: value, range: range, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -131,10 +131,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let range:AsposeCellsCloud.Range? = AsposeCellsCloud.Range(columnCount: 1, rowHeight: nil, name: nil, firstColumn: 1, columnWidth: 10.1, refersTo: nil, rowCount: 10, firstRow: 1, worksheet: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesPostWorksheetCellsRangeMerge(name: name, sheetName: sheetName, range: range, folder: folder, storage: storage) + CellsAPI.cellsRangesPostWorksheetCellsRangeMerge(name: name, sheetName: sheetName, range: range, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -160,10 +160,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let destColumn:Int32 = 1 let range:AsposeCellsCloud.Range? = AsposeCellsCloud.Range(columnCount: 1, rowHeight: nil, name: nil, firstColumn: 1, columnWidth: 10.1, refersTo: nil, rowCount: 10, firstRow: 1, worksheet: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesPostWorksheetCellsRangeMoveTo(name: name, sheetName: sheetName, destRow: destRow, destColumn: destColumn, range: range, folder: folder, storage: storage) + CellsAPI.cellsRangesPostWorksheetCellsRangeMoveTo(name: name, sheetName: sheetName, destRow: destRow, destColumn: destColumn, range: range, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -191,10 +191,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let rangeOperate:RangeSetOutlineBorderRequest? = RangeSetOutlineBorderRequest(borderColor: col, range: range, borderStyle: "Dotted", borderEdge: "LeftBorder") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesPostWorksheetCellsRangeOutlineBorder(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storage: storage) + CellsAPI.cellsRangesPostWorksheetCellsRangeOutlineBorder(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -219,10 +219,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let value:Double = 10.99 let range:AsposeCellsCloud.Range? = AsposeCellsCloud.Range(columnCount: 1, rowHeight: nil, name: nil, firstColumn: 1, columnWidth: 10.1, refersTo: nil, rowCount: 10, firstRow: 1, worksheet: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesPostWorksheetCellsRangeRowHeight(name: name, sheetName: sheetName, value: value, range: range, folder: folder, storage: storage) + CellsAPI.cellsRangesPostWorksheetCellsRangeRowHeight(name: name, sheetName: sheetName, value: value, range: range, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -251,10 +251,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let rangeOperate:RangeSetStyleRequest? = RangeSetStyleRequest(range: range, style: style) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesPostWorksheetCellsRangeStyle(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storage: storage) + CellsAPI.cellsRangesPostWorksheetCellsRangeStyle(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -278,10 +278,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let range:AsposeCellsCloud.Range? = AsposeCellsCloud.Range(columnCount: 1, rowHeight: nil, name: nil, firstColumn: 1, columnWidth: 10.1, refersTo: nil, rowCount: 10, firstRow: 1, worksheet: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesPostWorksheetCellsRangeUnmerge(name: name, sheetName: sheetName, range: range, folder: folder, storage: storage) + CellsAPI.cellsRangesPostWorksheetCellsRangeUnmerge(name: name, sheetName: sheetName, range: range, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -308,10 +308,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let isConverted:Bool? = true let setStyle:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesPostWorksheetCellsRangeValue(name: name, sheetName: sheetName, value: value, range: range, isConverted: isConverted, setStyle: setStyle, folder: folder, storage: storage) + CellsAPI.cellsRangesPostWorksheetCellsRangeValue(name: name, sheetName: sheetName, value: value, range: range, isConverted: isConverted, setStyle: setStyle, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -340,10 +340,10 @@ class CellsRangesAPITests: AsposeCellsCloudTests { let rangeOperate:RangeCopyRequest? = RangeCopyRequest(source: range, operate: "copydata", target: range2, pasteOptions: pasteOptions) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsRangesPostWorksheetCellsRanges(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storage: storage) + CellsAPI.cellsRangesPostWorksheetCellsRanges(name: name, sheetName: sheetName, rangeOperate: rangeOperate, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsSaveAsAPITests.swift b/AsposeCellsCloudTests/CellsSaveAsAPITests.swift index 146fa60..582c6f4 100644 --- a/AsposeCellsCloudTests/CellsSaveAsAPITests.swift +++ b/AsposeCellsCloudTests/CellsSaveAsAPITests.swift @@ -43,10 +43,10 @@ class CellsSaveAsAPITests: AsposeCellsCloudTests { let isAutoFitRows:Bool? = true let isAutoFitColumns:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsSaveAsPostDocumentSaveAs(name: name, saveOptions: saveOptions, newfilename: newfilename, isAutoFitRows: isAutoFitRows, isAutoFitColumns: isAutoFitColumns, folder: folder, storage: storage) + CellsAPI.cellsSaveAsPostDocumentSaveAs(name: name, saveOptions: saveOptions, newfilename: newfilename, isAutoFitRows: isAutoFitRows, isAutoFitColumns: isAutoFitColumns, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -74,10 +74,10 @@ class CellsSaveAsAPITests: AsposeCellsCloudTests { let isAutoFitRows:Bool? = true let isAutoFitColumns:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsSaveAsPostDocumentSaveAs(name: name, saveOptions: saveOptions, newfilename: newfilename, isAutoFitRows: isAutoFitRows, isAutoFitColumns: isAutoFitColumns, folder: folder, storage: storage) + CellsAPI.cellsSaveAsPostDocumentSaveAs(name: name, saveOptions: saveOptions, newfilename: newfilename, isAutoFitRows: isAutoFitRows, isAutoFitColumns: isAutoFitColumns, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -103,10 +103,10 @@ class CellsSaveAsAPITests: AsposeCellsCloudTests { let isAutoFitRows:Bool? = true let isAutoFitColumns:Bool? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsSaveAsPostDocumentSaveAs(name: name, saveOptions: saveOptions, newfilename: newfilename, isAutoFitRows: isAutoFitRows, isAutoFitColumns: isAutoFitColumns, folder: folder, storage: storage) + CellsAPI.cellsSaveAsPostDocumentSaveAs(name: name, saveOptions: saveOptions, newfilename: newfilename, isAutoFitRows: isAutoFitRows, isAutoFitColumns: isAutoFitColumns, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsShapesAPITests.swift b/AsposeCellsCloudTests/CellsShapesAPITests.swift index 05746d8..e0f620e 100644 --- a/AsposeCellsCloudTests/CellsShapesAPITests.swift +++ b/AsposeCellsCloudTests/CellsShapesAPITests.swift @@ -41,10 +41,10 @@ class CellsShapesAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let shapeindex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsShapesDeleteWorksheetShape(name: name, sheetName: sheetName, shapeindex: shapeindex, folder: folder, storage: storage) + CellsAPI.cellsShapesDeleteWorksheetShape(name: name, sheetName: sheetName, shapeindex: shapeindex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -67,10 +67,10 @@ class CellsShapesAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsShapesDeleteWorksheetShapes(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsShapesDeleteWorksheetShapes(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -94,10 +94,10 @@ class CellsShapesAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let shapeindex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsShapesGetWorksheetShape(name: name, sheetName: sheetName, shapeindex: shapeindex, folder: folder, storage: storage) + CellsAPI.cellsShapesGetWorksheetShape(name: name, sheetName: sheetName, shapeindex: shapeindex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -120,10 +120,10 @@ class CellsShapesAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsShapesGetWorksheetShapes(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsShapesGetWorksheetShapes(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -148,10 +148,10 @@ class CellsShapesAPITests: AsposeCellsCloudTests { let shapeindex:Int32 = 0 let dto:Shape? = Shape(link: nil, alternativeText: nil, bottom: nil, top: nil, width: nil, htmlText: nil, textVerticalAlignment: nil, autoShapeType: nil, isPrintable: nil, upperLeftColumn: nil, isLockAspectRatio: nil, isGroup: nil, rotationAngle: nil, zOrderPosition: nil, textHorizontalOverflow: nil, msoDrawingType: nil, textOrientationType: nil, placement: nil, name: nil, isWordArt: nil, linkedCell: nil, upperLeftRow: nil, isLocked: nil, lowerRightRow: nil, isTextWrapped: nil, Y: nil, X: nil, isHidden: nil, _left: nil, _right: nil, text: nil, lowerRightColumn: 10, height: nil, textHorizontalAlignment: nil, textVerticalOverflow: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsShapesPostWorksheetShape(name: name, sheetName: sheetName, shapeindex: shapeindex, dto: dto, folder: folder, storage: storage) + CellsAPI.cellsShapesPostWorksheetShape(name: name, sheetName: sheetName, shapeindex: shapeindex, dto: dto, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -173,6 +173,7 @@ class CellsShapesAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsShapesPutWorksheetShape") let name:String = BOOK1 let sheetName:String = SHEET1 + let shapeDTO:Shape? = nil let drawingType:String = "button" let upperLeftRow:Int32 = 1 let upperLeftColumn:Int32 = 1 @@ -181,10 +182,10 @@ class CellsShapesAPITests: AsposeCellsCloudTests { let width:Int32 = 100 let height:Int32 = 90 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsShapesPutWorksheetShape(name: name, sheetName: sheetName, drawingType: drawingType, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, top: top, _left: _left, width: width, height: height, folder: folder, storage: storage) + CellsAPI.cellsShapesPutWorksheetShape(name: name, sheetName: sheetName, shapeDTO: shapeDTO, drawingType: drawingType, upperLeftRow: upperLeftRow, upperLeftColumn: upperLeftColumn, top: top, _left: _left, width: width, height: height, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsWorkbookAPITests.swift b/AsposeCellsCloudTests/CellsWorkbookAPITests.swift index ded4edb..d102b3f 100644 --- a/AsposeCellsCloudTests/CellsWorkbookAPITests.swift +++ b/AsposeCellsCloudTests/CellsWorkbookAPITests.swift @@ -40,10 +40,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let encryption:WorkbookEncryptionRequest? = WorkbookEncryptionRequest(password: "123456", keyLength: 128, encryptionType: "XOR") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookDeleteDecryptDocument(name: name, encryption: encryption, folder: folder, storage: storage) + CellsAPI.cellsWorkbookDeleteDecryptDocument(name: name, encryption: encryption, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -65,10 +65,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsWorkbookDeleteDocumentUnprotectFromChanges") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookDeleteDocumentUnprotectFromChanges(name: name, folder: folder, storage: storage) + CellsAPI.cellsWorkbookDeleteDocumentUnprotectFromChanges(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -91,10 +91,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let protection:WorkbookProtectionRequest? = WorkbookProtectionRequest(password: "123", protectionType: "All") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookDeleteUnprotectDocument(name: name, protection: protection, folder: folder, storage: storage) + CellsAPI.cellsWorkbookDeleteUnprotectDocument(name: name, protection: protection, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -117,10 +117,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let nameName:String = "Name_2" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookDeleteWorkbookName(name: name, nameName: nameName, folder: folder, storage: storage) + CellsAPI.cellsWorkbookDeleteWorkbookName(name: name, nameName: nameName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -142,10 +142,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsWorkbookDeleteWorkbookNames") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookDeleteWorkbookNames(name: name, folder: folder, storage: storage) + CellsAPI.cellsWorkbookDeleteWorkbookNames(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -171,11 +171,11 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let isAutoFit:Bool? = true let onlySaveTable:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil let outPath:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookGetWorkbook(name: name, password: password, format: format, isAutoFit: isAutoFit, onlySaveTable: onlySaveTable, folder: folder, storage: storage, outPath: outPath) + CellsAPI.cellsWorkbookGetWorkbook(name: name, password: password, format: format, isAutoFit: isAutoFit, onlySaveTable: onlySaveTable, folder: folder, storageName: storageName, outPath: outPath) { (response, error) in guard error == nil else { @@ -208,11 +208,11 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let isAutoFit:Bool? = true let onlySaveTable:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil let outPath:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookGetWorkbook(name: name, password: password, format: format, isAutoFit: isAutoFit, onlySaveTable: onlySaveTable, folder: folder, storage: storage, outPath: outPath) + CellsAPI.cellsWorkbookGetWorkbook(name: name, password: password, format: format, isAutoFit: isAutoFit, onlySaveTable: onlySaveTable, folder: folder, storageName: storageName, outPath: outPath) { (response, error) in guard error == nil else { @@ -241,10 +241,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsWorkbookGetWorkbookDefaultStyle") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookGetWorkbookDefaultStyle(name: name, folder: folder, storage: storage) + CellsAPI.cellsWorkbookGetWorkbookDefaultStyle(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -267,10 +267,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let nameName:String = "Name_2" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookGetWorkbookName(name: name, nameName: nameName, folder: folder, storage: storage) + CellsAPI.cellsWorkbookGetWorkbookName(name: name, nameName: nameName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -293,10 +293,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let nameName:String = "Name_2" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookGetWorkbookNameValue(name: name, nameName: nameName, folder: folder, storage: storage) + CellsAPI.cellsWorkbookGetWorkbookNameValue(name: name, nameName: nameName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -318,10 +318,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsWorkbookGetWorkbookNames") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookGetWorkbookNames(name: name, folder: folder, storage: storage) + CellsAPI.cellsWorkbookGetWorkbookNames(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -343,10 +343,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsWorkbookGetWorkbookSettings") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookGetWorkbookSettings(name: name, folder: folder, storage: storage) + CellsAPI.cellsWorkbookGetWorkbookSettings(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -368,10 +368,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsWorkbookGetWorkbookTextItems") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookGetWorkbookTextItems(name: name, folder: folder, storage: storage) + CellsAPI.cellsWorkbookGetWorkbookTextItems(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -397,10 +397,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let endRow:Int32? = 100 let onlyAuto:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPostAutofitWorkbookRows(name: name, autoFitterOptions: autoFitterOptions, startRow: startRow, endRow: endRow, onlyAuto: onlyAuto, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPostAutofitWorkbookRows(name: name, autoFitterOptions: autoFitterOptions, startRow: startRow, endRow: endRow, onlyAuto: onlyAuto, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -423,10 +423,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let encryption:WorkbookEncryptionRequest? = WorkbookEncryptionRequest(password: "123456", keyLength: 128, encryptionType: "XOR") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPostEncryptDocument(name: name, encryption: encryption, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPostEncryptDocument(name: name, encryption: encryption, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -450,10 +450,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let list1:[Int32]? = [1, 2, 3, 4] let importdata:ImportIntArrayOption = ImportIntArrayOption(source: nil, importDataType: "IntArray", destinationWorksheet: SHEET1, isInsert: nil, data: list1, isVertical: true, firstRow: 3, firstColumn: 1) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPostImportData(name: name, importData: importdata, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPostImportData(name: name, importData: importdata, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -476,10 +476,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let protection:WorkbookProtectionRequest? = WorkbookProtectionRequest(password: "123", protectionType: "All") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPostProtectDocument(name: name, protection: protection, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPostProtectDocument(name: name, protection: protection, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -503,10 +503,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let options:CalculationOptions? = CalculationOptions(precisionStrategy: nil, ignoreError: true, recursive: nil, calcStackSize: nil) let ignoreError:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPostWorkbookCalculateFormula(name: name, options: options, ignoreError: ignoreError, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPostWorkbookCalculateFormula(name: name, options: options, ignoreError: ignoreError, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -529,13 +529,13 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let xmlFile:String? = "ReportData.xml" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil let outPath:String? = nil uploadFile(name: name) { self.uploadFile(name: xmlFile!, folder: "") { - CellsAPI.cellsWorkbookPostWorkbookGetSmartMarkerResult(name: name, xmlFile: xmlFile, folder: folder, storage: storage, outPath: outPath) + CellsAPI.cellsWorkbookPostWorkbookGetSmartMarkerResult(name: name, xmlFile: xmlFile, folder: folder, storageName: storageName, outPath: outPath) { (response, error) in guard error == nil else { @@ -566,10 +566,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let settings:WorkbookSettings? = WorkbookSettings(numberGroupSeparator: nil, hidePivotFieldList: nil, isMinimized: nil, calculationId: nil, reCalculateOnOpen: nil, checkExcelRestriction: nil, isHScrollBarVisible: nil, windowHeight: nil, windowLeft: nil, calcStackSize: nil, shared: nil, removePersonalInformation: nil, languageCode: nil, enableMacros: nil, isDefaultEncrypted: nil, recalculateBeforeSave: nil, parsingFormulaOnOpen: nil, windowTop: nil, region: nil, memorySetting: nil, updateAdjacentCellsBorder: nil, crashSave: nil, showTabs: nil, precisionAsDisplayed: nil, calcMode: nil, autoCompressPictures: true, date1904: nil, numberDecimalSeparator: nil, iteration: nil, checkComptiliblity: nil, autoRecover: nil, maxChange: nil, dataExtractLoad: nil, firstVisibleTab: nil, isHidden: nil, recommendReadOnly: nil, displayDrawingObjects: nil, buildVersion: nil, isVScrollBarVisible: nil, windowWidth: nil, createCalcChain: nil, maxIteration: nil, repairLoad: nil, updateLinksType: nil, sheetTabBarWidth: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPostWorkbookSettings(name: name, settings: settings, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPostWorkbookSettings(name: name, settings: settings, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -597,10 +597,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let verticalResolution:Int32? = 90 let folder:String = TEMPFOLDER let outFolder:String? = nil - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPostWorkbookSplit(name: name, format: format, from: from, to: to, horizontalResolution: horizontalResolution, verticalResolution: verticalResolution, folder: folder, outFolder: outFolder, storage: storage) + CellsAPI.cellsWorkbookPostWorkbookSplit(name: name, format: format, from: from, to: to, horizontalResolution: horizontalResolution, verticalResolution: verticalResolution, folder: folder, outFolder: outFolder, storageName: storageName) { (response, error) in guard error == nil else { @@ -623,12 +623,12 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let mergeWith:String = "myDocument.xlsx" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { self.uploadFile(name: mergeWith, folder: "") { - CellsAPI.cellsWorkbookPostWorkbooksMerge(name: name, mergeWith: mergeWith, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPostWorkbooksMerge(name: name, mergeWith: mergeWith, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -653,10 +653,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let oldValue:String = "!22" let newValue:String = "22" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPostWorkbooksTextReplace(name: name, oldValue: oldValue, newValue: newValue, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPostWorkbooksTextReplace(name: name, oldValue: oldValue, newValue: newValue, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -679,10 +679,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let text:String = "test" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPostWorkbooksTextSearch(name: name, text: text, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPostWorkbooksTextSearch(name: name, text: text, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -781,10 +781,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let password:PasswordRequest? = PasswordRequest(password: "123456") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPutDocumentProtectFromChanges(name: name, password: password, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPutDocumentProtectFromChanges(name: name, password: password, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -815,11 +815,11 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let folder:String = TEMPFOLDER let templateFile:String? = "\(TEMPFOLDER)/\(BOOK1)" let dataFile:String? = "\(TEMPFOLDER)/ReportData.xml" - let storage:String? = nil + let storageName:String? = nil self.uploadFile(name: BOOK1) { self.uploadFile(name: "ReportData.xml") { - CellsAPI.cellsWorkbookPutWorkbookCreate(name: name, templateFile: templateFile, dataFile: dataFile, isWriteOver: isWriteOver, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPutWorkbookCreate(name: name, templateFile: templateFile, dataFile: dataFile, isWriteOver: isWriteOver, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -837,17 +837,17 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { self.waitForExpectations(timeout: testTimeout, handler: nil) } - /* + //Only test for DropBox Storage func testcellsWorkbookPostWorkbooksTextSearchTestForDropBox() { let expectation = self.expectation(description: "testcellsWorkbookPostWorkbooksTextSearchTestForDropBox") let name:String = BOOK1 let text:String = "test" let folder:String = TEMPFOLDER - let storage:String? = "DropBox" + let storageName:String? = "DropBox" - UpdateDataFileForDropBox(name: name, folder: folder, storage: storage) { - CellsAPI.cellsWorkbookPostWorkbooksTextSearch(name: name, text: text, folder: folder, storage: storage) + self.uploadFile(name: name, folder: folder, storageName: storageName) { + CellsAPI.cellsWorkbookPostWorkbooksTextSearch(name: name, text: text, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -863,7 +863,32 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { } self.waitForExpectations(timeout: testTimeout, handler: nil) } - */ + //Only test for DropBox Storage + func testcellsWorkbookPostWorkbooksSaveAsTestForDropBox() + { + let expectation = self.expectation(description: "testcellsWorkbookPostWorkbooksSaveAsTestForDropBox") + let name:String = BOOK1 + let saveOptions:SaveOptions = SaveOptions(enableHTTPCompression: nil, saveFormat: "xml", clearData: nil, cachedFileFolder: nil, validateMergedAreas: nil, refreshChartCache: nil, createDirectory: nil, sortNames: nil) + let folder:String = TEMPFOLDER + let storageName:String? = "DropBox" + + self.uploadFile(name: name, folder: folder, storageName: storageName) { + CellsAPI.cellsSaveAsPostDocumentSaveAs(name: name, saveOptions: saveOptions, newfilename: "Book1.xlsx.xml", isAutoFitRows: nil, isAutoFitColumns: nil, folder: folder, storageName: storageName) + { + (response, error) in + guard error == nil else { + XCTFail("error testcellsWorkbookPostWorkbooksSaveAsTestForDropBox") + return + } + + if let response = response { + XCTAssertEqual(response.code, 200) + expectation.fulfill() + } + } + } + self.waitForExpectations(timeout: testTimeout, handler: nil) + } func testcellsWorkbookPutWorkbookBackground() { @@ -875,10 +900,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let imageData = newImage!.pngData() let folder:String? = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookPutWorkbookBackground(name: name, png: imageData! as NSData, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPutWorkbookBackground(name: name, png: imageData! as NSData, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -900,10 +925,10 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsWorkbookDeleteWorkbookBackground") let name:String = BOOK1 let folder:String? = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorkbookDeleteWorkbookBackground(name: name, folder: folder, storage: storage) + CellsAPI.cellsWorkbookDeleteWorkbookBackground(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -934,11 +959,11 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { let folder:String = TEMPFOLDER let templateFile:String? = "\(TEMPFOLDER)/\(BOOK1)" let dataFile:String? = "\(TEMPFOLDER)/ReportData.xml" - let storage:String? = nil + let storageName:String? = nil self.uploadFile(name: BOOK1) { self.uploadFile(name: "ReportData.xml") { - CellsAPI.cellsWorkbookPutWorkbookCreate(name: name, templateFile: templateFile, dataFile: dataFile, isWriteOver: isWriteOver, folder: folder, storage: storage) + CellsAPI.cellsWorkbookPutWorkbookCreate(name: name, templateFile: templateFile, dataFile: dataFile, isWriteOver: isWriteOver, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -956,6 +981,31 @@ class CellsWorkbookAPITests: AsposeCellsCloudTests { self.waitForExpectations(timeout: testTimeout, handler: nil) } + func testcellsWorkbookPutWorkbookWaterMarker() + { + let expectation = self.expectation(description: "testcellsWorkbookPutWorkbookWaterMarker") + let name:String = BOOK1 + let folder:String? = TEMPFOLDER + let storageName:String? = nil + let textWaterMarkerRequest:TextWaterMarkerRequest? = TextWaterMarkerRequest(text: "Aspose.Cells Cloud", fontName: nil, fontSize: 25, height: nil, width: nil) + + uploadFile(name: name) { + CellsAPI.cellsWorkbookPutWorkbookWaterMarker(name: name, folder: folder, storageName: storageName, textWaterMarkerRequest: textWaterMarkerRequest) + { + (response, error) in + guard error == nil else { + XCTFail("error testcellsWorkbookPutWorkbookWaterMarker") + return + } + + if let response = response { + XCTAssertEqual(response.code, 200) + expectation.fulfill() + } + } + } + self.waitForExpectations(timeout: testTimeout, handler: nil) + } } diff --git a/AsposeCellsCloudTests/CellsWorksheetValidationsAPITests.swift b/AsposeCellsCloudTests/CellsWorksheetValidationsAPITests.swift index 8abfdc2..cb562e8 100644 --- a/AsposeCellsCloudTests/CellsWorksheetValidationsAPITests.swift +++ b/AsposeCellsCloudTests/CellsWorksheetValidationsAPITests.swift @@ -41,10 +41,10 @@ class CellsWorksheetValidationsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let validationIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetValidationsDeleteWorksheetValidation(name: name, sheetName: sheetName, validationIndex: validationIndex, folder: folder, storage: storage) + CellsAPI.cellsWorksheetValidationsDeleteWorksheetValidation(name: name, sheetName: sheetName, validationIndex: validationIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -67,10 +67,10 @@ class CellsWorksheetValidationsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String? = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetValidationsDeleteWorksheetValidations(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetValidationsDeleteWorksheetValidations(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -94,10 +94,10 @@ class CellsWorksheetValidationsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let validationIndex:Int32 = 0 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetValidationsGetWorksheetValidation(name: name, sheetName: sheetName, validationIndex: validationIndex, folder: folder, storage: storage) + CellsAPI.cellsWorksheetValidationsGetWorksheetValidation(name: name, sheetName: sheetName, validationIndex: validationIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -120,10 +120,10 @@ class CellsWorksheetValidationsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetValidationsGetWorksheetValidations(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetValidationsGetWorksheetValidations(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -152,11 +152,11 @@ class CellsWorksheetValidationsAPITests: AsposeCellsCloudTests { let validation:Validation? = Validation(link: nil, formula2: nil, formula1: "=(OR(A1=\"Yes\",A1=\"No\"))", showError: nil, errorMessage: nil, inCellDropDown: nil, showInput: nil, alertStyle: nil, inputTitle: nil, ignoreBlank: true, value2: nil, value1: nil, _operator: nil, errorTitle: nil, type: "Custom", inputMessage: nil, areaList: areaList) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: BOOK1) { self.uploadFile(name: name) { - CellsAPI.cellsWorksheetValidationsPostWorksheetValidation(name: name, sheetName: sheetName, validationIndex: validationIndex, validation: validation, folder: folder, storage: storage) + CellsAPI.cellsWorksheetValidationsPostWorksheetValidation(name: name, sheetName: sheetName, validationIndex: validationIndex, validation: validation, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -181,10 +181,10 @@ class CellsWorksheetValidationsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let range:String? = RANGE let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetValidationsPutWorksheetValidation(name: name, sheetName: sheetName, range: range, folder: folder, storage: storage) + CellsAPI.cellsWorksheetValidationsPutWorksheetValidation(name: name, sheetName: sheetName, range: range, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/AsposeCellsCloudTests/CellsWorksheetsAPITests.swift b/AsposeCellsCloudTests/CellsWorksheetsAPITests.swift index 19d617e..37585c8 100644 --- a/AsposeCellsCloudTests/CellsWorksheetsAPITests.swift +++ b/AsposeCellsCloudTests/CellsWorksheetsAPITests.swift @@ -42,10 +42,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let protectParameter:ProtectSheetParameter? = ProtectSheetParameter(allowSelectingUnlockedCell: nil, allowFiltering: nil, allowDeletingColumn: nil, allowSelectingLockedCell: nil, allowUsingPivotTable: nil, allowEditArea: nil, allowInsertingHyperlink: nil, allowFormattingCell: nil, allowFormattingRow: nil, allowInsertingRow: nil, allowFormattingColumn: nil, allowSorting: nil, allowInsertingColumn: nil, password: "12345", allowDeletingRow: nil, protectionType: "All") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsDeleteUnprotectWorksheet(name: name, sheetName: sheetName, protectParameter: protectParameter, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsDeleteUnprotectWorksheet(name: name, sheetName: sheetName, protectParameter: protectParameter, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -68,10 +68,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsDeleteWorksheet(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsDeleteWorksheet(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -94,10 +94,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsDeleteWorksheetBackground(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsDeleteWorksheetBackground(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -121,10 +121,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let cellName:String = "C1" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsDeleteWorksheetComment(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsDeleteWorksheetComment(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -147,10 +147,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsDeleteWorksheetComments(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsDeleteWorksheetComments(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -177,10 +177,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let freezedRows:Int32 = 2 let freezedColumns:Int32 = 2 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsDeleteWorksheetFreezePanes(name: name, sheetName: sheetName, row: row, column: column, freezedRows: freezedRows, freezedColumns: freezedColumns, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsDeleteWorksheetFreezePanes(name: name, sheetName: sheetName, row: row, column: column, freezedRows: freezedRows, freezedColumns: freezedColumns, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -202,10 +202,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsWorksheetsGetNamedRanges") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetNamedRanges(name: name, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetNamedRanges(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -233,10 +233,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let area:String? = nil let pageIndex:Int32? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheet(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheet(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -272,10 +272,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let area:String? = nil let pageIndex:Int32? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheet(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheet(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -307,10 +307,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let formula:String = "=NOW()" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheetCalculateFormula(name: name, sheetName: sheetName, formula: formula, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheetCalculateFormula(name: name, sheetName: sheetName, formula: formula, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -334,10 +334,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let cellName:String = "B3" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheetComment(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheetComment(name: name, sheetName: sheetName, cellName: cellName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -360,10 +360,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheetComments(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheetComments(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -387,10 +387,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let mergedCellIndex:Int32 = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheetMergedCell(name: name, sheetName: sheetName, mergedCellIndex: mergedCellIndex, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheetMergedCell(name: name, sheetName: sheetName, mergedCellIndex: mergedCellIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -413,10 +413,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheetMergedCells(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheetMergedCells(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -439,10 +439,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let name:String = BOOK1 let sheetName:String = SHEET1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheetTextItems(name: name, sheetName: sheetName, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheetTextItems(name: name, sheetName: sheetName, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -464,10 +464,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let expectation = self.expectation(description: "testcellsWorksheetsGetWorksheets") let name:String = BOOK1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheets(name: name, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheets(name: name, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -495,10 +495,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let firstRow:Int32? = 1 let lastRow:Int32? = 19 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostAutofitWorksheetColumns(name: name, sheetName: sheetName, firstColumn: firstColumn, lastColumn: lastColumn, autoFitterOptions: autoFitterOptions, firstRow: firstRow, lastRow: lastRow, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostAutofitWorksheetColumns(name: name, sheetName: sheetName, firstColumn: firstColumn, lastColumn: lastColumn, autoFitterOptions: autoFitterOptions, firstRow: firstRow, lastRow: lastRow, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -525,10 +525,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let lastColumn:Int32 = 10 let autoFitterOptions:AutoFitterOptions? = AutoFitterOptions(ignoreHidden: false, onlyAuto: false, autoFitMergedCells: true) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostAutofitWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, firstColumn: firstColumn, lastColumn: lastColumn, autoFitterOptions: autoFitterOptions, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostAutofitWorksheetRow(name: name, sheetName: sheetName, rowIndex: rowIndex, firstColumn: firstColumn, lastColumn: lastColumn, autoFitterOptions: autoFitterOptions, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -555,10 +555,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let endRow:Int32? = 10 let onlyAuto:Bool? = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostAutofitWorksheetRows(name: name, sheetName: sheetName, autoFitterOptions: autoFitterOptions, startRow: startRow, endRow: endRow, onlyAuto: onlyAuto, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostAutofitWorksheetRows(name: name, sheetName: sheetName, autoFitterOptions: autoFitterOptions, startRow: startRow, endRow: endRow, onlyAuto: onlyAuto, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -585,11 +585,11 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sourceWorkbook:String? = BOOK1 let sourceFolder:String? = TEMPFOLDER let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { self.uploadFile(name: sourceWorkbook!) { - CellsAPI.cellsWorksheetsPostCopyWorksheet(name: name, sheetName: sheetName, sourceSheet: sourceSheet, options: options, sourceWorkbook: sourceWorkbook, sourceFolder: sourceFolder, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostCopyWorksheet(name: name, sheetName: sheetName, sourceSheet: sourceSheet, options: options, sourceWorkbook: sourceWorkbook, sourceFolder: sourceFolder, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -614,10 +614,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let moving:WorksheetMovingRequest? = WorksheetMovingRequest(position: "after", destinationWorksheet: SHEET3) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostMoveWorksheet(name: name, sheetName: sheetName, moving: moving, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostMoveWorksheet(name: name, sheetName: sheetName, moving: moving, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -641,10 +641,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let newname:String = "renametest" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostRenameWorksheet(name: name, sheetName: sheetName, newname: newname, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostRenameWorksheet(name: name, sheetName: sheetName, newname: newname, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -668,10 +668,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let sheet:Worksheet? = Worksheet(index: 0, pictures: nil, charts: nil, comments: nil, hyperlinks: nil, isVisible: nil, viewType: nil, type: nil, isGridlinesVisible: true, isRowColumnHeadersVisible: nil, isPageBreakPreview: nil, displayZeros: nil, transitionEvaluation: nil, displayRightToLeft: nil, firstVisibleColumn: nil, oleObjects: nil, isOutlineShown: nil, name: nil, autoShapes: nil, cells: nil, validations: nil, zoom: nil, conditionalFormattings: nil, isSelected: nil, tabColor: nil, firstVisibleRow: nil, transitionEntry: nil, visibilityType: nil, isRulerVisible: nil, links: nil, isProtected: false, mergedCells: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostUpdateWorksheetProperty(name: name, sheetName: sheetName, sheet: sheet, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostUpdateWorksheetProperty(name: name, sheetName: sheetName, sheet: sheet, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -695,10 +695,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let value:Int32 = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostUpdateWorksheetZoom(name: name, sheetName: sheetName, value: value, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostUpdateWorksheetZoom(name: name, sheetName: sheetName, value: value, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -723,10 +723,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let cellName:String = "B3" let comment:Comment? = Comment(link: nil, autoSize: nil, author: "Roy", isVisible: nil, textOrientationType: nil, height: nil, note: nil, width: nil, textVerticalAlignment: nil, cellName: nil, htmlNote: nil, textHorizontalAlignment: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostWorksheetComment(name: name, sheetName: sheetName, cellName: cellName, comment: comment, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostWorksheetComment(name: name, sheetName: sheetName, cellName: cellName, comment: comment, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -751,10 +751,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let cellArea:String = CELLAREA let dataSorter:DataSorter? = DataSorter(caseSensitive: true, keyList: nil, hasHeaders: nil, sortLeftToRight: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostWorksheetRangeSort(name: name, sheetName: sheetName, cellArea: cellArea, dataSorter: dataSorter, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostWorksheetRangeSort(name: name, sheetName: sheetName, cellArea: cellArea, dataSorter: dataSorter, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -778,10 +778,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let text:String = "123456" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostWorksheetTextSearch(name: name, sheetName: sheetName, text: text, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostWorksheetTextSearch(name: name, sheetName: sheetName, text: text, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -806,10 +806,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let oldValue:String = "1234" let newValue:String = "56678" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPostWorsheetTextReplace(name: name, sheetName: sheetName, oldValue: oldValue, newValue: newValue, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPostWorsheetTextReplace(name: name, sheetName: sheetName, oldValue: oldValue, newValue: newValue, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -834,10 +834,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let position:Int32? = 1 let sheettype:String? = "VB" let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPutAddNewWorksheet(name: name, sheetName: sheetName, position: position, sheettype: sheettype, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPutAddNewWorksheet(name: name, sheetName: sheetName, position: position, sheettype: sheettype, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -861,10 +861,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let isVisible:Bool = true let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPutChangeVisibilityWorksheet(name: name, sheetName: sheetName, isVisible: isVisible, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPutChangeVisibilityWorksheet(name: name, sheetName: sheetName, isVisible: isVisible, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -888,10 +888,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let sheetName:String = SHEET1 let protectParameter:ProtectSheetParameter? = ProtectSheetParameter(allowSelectingUnlockedCell: nil, allowFiltering: nil, allowDeletingColumn: nil, allowSelectingLockedCell: nil, allowUsingPivotTable: nil, allowEditArea: nil, allowInsertingHyperlink: nil, allowFormattingCell: nil, allowFormattingRow: nil, allowInsertingRow: nil, allowFormattingColumn: nil, allowSorting: nil, allowInsertingColumn: nil, password: "123", allowDeletingRow: nil, protectionType: "All") let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPutProtectWorksheet(name: name, sheetName: sheetName, protectParameter: protectParameter, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPutProtectWorksheet(name: name, sheetName: sheetName, protectParameter: protectParameter, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -920,10 +920,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { //let png = NSData(contentsOfFile: url!.path) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPutWorksheetBackground(name: name, sheetName: sheetName, png: imageData! as NSData, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPutWorksheetBackground(name: name, sheetName: sheetName, png: imageData! as NSData, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -948,10 +948,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let cellName:String = "C1" let comment:Comment? = Comment(link: nil, autoSize: nil, author: "Roy", isVisible: nil, textOrientationType: nil, height: nil, note: nil, width: nil, textVerticalAlignment: nil, cellName: nil, htmlNote: nil, textHorizontalAlignment: nil) let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPutWorksheetComment(name: name, sheetName: sheetName, cellName: cellName, comment: comment, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPutWorksheetComment(name: name, sheetName: sheetName, cellName: cellName, comment: comment, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -978,10 +978,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let freezedRows:Int32 = 4 let freezedColumns:Int32 = 5 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsPutWorksheetFreezePanes(name: name, sheetName: sheetName, row: row, column: column, freezedRows: freezedRows, freezedColumns: freezedColumns, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsPutWorksheetFreezePanes(name: name, sheetName: sheetName, row: row, column: column, freezedRows: freezedRows, freezedColumns: freezedColumns, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -1009,10 +1009,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let area:String? = "B3:K8" let pageIndex:Int32? = nil let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheet(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheet(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { @@ -1048,10 +1048,10 @@ class CellsWorksheetsAPITests: AsposeCellsCloudTests { let area:String? = nil let pageIndex:Int32? = 1 let folder:String = TEMPFOLDER - let storage:String? = nil + let storageName:String? = nil uploadFile(name: name) { - CellsAPI.cellsWorksheetsGetWorksheet(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storage: storage) + CellsAPI.cellsWorksheetsGetWorksheet(name: name, sheetName: sheetName, format: format, verticalResolution: verticalResolution, horizontalResolution: horizontalResolution, area: area, pageIndex: pageIndex, folder: folder, storageName: storageName) { (response, error) in guard error == nil else { diff --git a/README.md b/README.md index fad6854..d0459f7 100644 --- a/README.md +++ b/README.md @@ -18,17 +18,20 @@ This Cloud SDK enhances your Swift cloud-based apps to [process & manipulate Mic - Cloud SDK to Read & Process Excel Worksheets. - Leverage the Power of Pivot Tables & Ranges. -## New Features in Version 20.4 +## New Features in Version 20.8 -- Supports to add workbook background. -- Supports to delete workbook background. +- Support to add text water marker. +- Aspose.Cells Cloud API calls are not working with explicit storage name but only default storage. +- Get output file size without downloading during conversion. -## Enhancements in Version 20.4 +## Enhancements in Version 20.8 -- Support for splitting workbook. -- Support for creating workbook. +- Enhancement for workbook convert images in get workbook API. +- Enhancement for Cells object operating in Task API. +- Enhancement for CellsApi constructor. +- Enhancement for CellsShapesPutWorksheetShape API. -For the detailed notes, please visit [Aspose.Cells Cloud 20.4 Release Notes](https://docs.aspose.cloud/display/cellscloud/Aspose.Cells+Cloud+20.4+Release+Notes). +For the detailed notes, please visit [Aspose.Cells Cloud 20.8 Release Notes](https://github.com/aspose-cells-cloud/aspose-cells-cloud-swift/releases/tag/20.8). ## Read & Write Spreadsheet Formats @@ -52,11 +55,11 @@ SXC, FODS Please, add the following cocoapods to your project. -You want to add pod `'AsposeCellsCloud', '~> 20.4'` similar to the following to your Podfile: +You want to add pod `'AsposeCellsCloud', '~> 20.8'` similar to the following to your Podfile: ```console target 'MyApp' do - pod 'AsposeCellsCloud', '~> 20.4' + pod 'AsposeCellsCloud', '~> 20.8' end ```