@@ -14533,6 +14533,69 @@ def cells_workbook_delete_workbook_names_with_http_info(name, opts = {})
1453314533 return data, status_code, headers
1453414534 end
1453514535
14536+ # Get page count for workbook.
14537+ #
14538+ # @param name Document name.
14539+ # @param [Hash] opts the optional parameters
14540+ # @option opts [String] :folder Document's folder.
14541+ # @option opts [String] :storage_name storage name.
14542+ # @return [Object]
14543+ def cells_workbook_get_page_count(name, opts = {})
14544+ data, _status_code, _headers = cells_workbook_get_page_count_with_http_info(name, opts)
14545+ return data
14546+ end
14547+
14548+ # Get page count for workbook.
14549+ #
14550+ # @param name Document name.
14551+ # @param [Hash] opts the optional parameters
14552+ # @option opts [String] :folder Document's folder.
14553+ # @option opts [String] :storage_name storage name.
14554+ # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
14555+ def cells_workbook_get_page_count_with_http_info(name, opts = {})
14556+ if @api_client.config.debugging
14557+ @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_page_count ..."
14558+ end
14559+ @api_client.request_token_if_needed
14560+ # verify the required parameter 'name' is set
14561+ if @api_client.config.client_side_validation && name.nil?
14562+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_page_count"
14563+ end
14564+ # resource path
14565+ local_var_path = "/cells/{name}/pagecount".sub('{' + 'name' + '}', name.to_s)
14566+
14567+ # query parameters
14568+ query_params = {}
14569+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
14570+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
14571+
14572+ # header parameters
14573+ header_params = {}
14574+ # HTTP header 'Accept' (if needed)
14575+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
14576+ # HTTP header 'Content-Type'
14577+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
14578+
14579+ # form parameters
14580+ form_params = {}
14581+
14582+ # http body (model)
14583+ post_body = nil
14584+ #auth_names = []
14585+ auth_names = ['JWT']
14586+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
14587+ :header_params => header_params,
14588+ :query_params => query_params,
14589+ :form_params => form_params,
14590+ :body => post_body,
14591+ :auth_names => auth_names,
14592+ :return_type => 'Object')
14593+ if @api_client.config.debugging
14594+ @api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_page_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
14595+ end
14596+ return data, status_code, headers
14597+ end
14598+
1453614599 # Read workbook info or export.
1453714600 #
1453814601 # @param name The document name.
@@ -16700,7 +16763,7 @@ def cells_worksheets_delete_unprotect_worksheet_with_http_info(name, sheet_name,
1670016763 # @param [Hash] opts the optional parameters
1670116764 # @option opts [String] :folder Document's folder.
1670216765 # @option opts [String] :storage_name storage name.
16703- # @return [WorksheetsResponse ]
16766+ # @return [CellsCloudResponse ]
1670416767 def cells_worksheets_delete_worksheet(name, sheet_name, opts = {})
1670516768 data, _status_code, _headers = cells_worksheets_delete_worksheet_with_http_info(name, sheet_name, opts)
1670616769 return data
@@ -16713,7 +16776,7 @@ def cells_worksheets_delete_worksheet(name, sheet_name, opts = {})
1671316776 # @param [Hash] opts the optional parameters
1671416777 # @option opts [String] :folder Document's folder.
1671516778 # @option opts [String] :storage_name storage name.
16716- # @return [Array<(WorksheetsResponse , Fixnum, Hash)>] WorksheetsResponse data, response status code and response headers
16779+ # @return [Array<(CellsCloudResponse , Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
1671716780 def cells_worksheets_delete_worksheet_with_http_info(name, sheet_name, opts = {})
1671816781 if @api_client.config.debugging
1671916782 @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheet ..."
@@ -16755,7 +16818,7 @@ def cells_worksheets_delete_worksheet_with_http_info(name, sheet_name, opts = {}
1675516818 :form_params => form_params,
1675616819 :body => post_body,
1675716820 :auth_names => auth_names,
16758- :return_type => 'WorksheetsResponse ')
16821+ :return_type => 'CellsCloudResponse ')
1675916822 if @api_client.config.debugging
1676016823 @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1676116824 end
@@ -17204,6 +17267,75 @@ def cells_worksheets_get_named_ranges_with_http_info(name, opts = {})
1720417267 return data, status_code, headers
1720517268 end
1720617269
17270+ # Get page count for worksheet.
17271+ #
17272+ # @param name Document name.
17273+ # @param sheet_name The worksheet name.
17274+ # @param [Hash] opts the optional parameters
17275+ # @option opts [String] :folder Document's folder.
17276+ # @option opts [String] :storage_name storage name.
17277+ # @return [Object]
17278+ def cells_worksheets_get_page_count(name, sheet_name, opts = {})
17279+ data, _status_code, _headers = cells_worksheets_get_page_count_with_http_info(name, sheet_name, opts)
17280+ return data
17281+ end
17282+
17283+ # Get page count for worksheet.
17284+ #
17285+ # @param name Document name.
17286+ # @param sheet_name The worksheet name.
17287+ # @param [Hash] opts the optional parameters
17288+ # @option opts [String] :folder Document's folder.
17289+ # @option opts [String] :storage_name storage name.
17290+ # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
17291+ def cells_worksheets_get_page_count_with_http_info(name, sheet_name, opts = {})
17292+ if @api_client.config.debugging
17293+ @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_page_count ..."
17294+ end
17295+ @api_client.request_token_if_needed
17296+ # verify the required parameter 'name' is set
17297+ if @api_client.config.client_side_validation && name.nil?
17298+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_page_count"
17299+ end
17300+ # verify the required parameter 'sheet_name' is set
17301+ if @api_client.config.client_side_validation && sheet_name.nil?
17302+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_page_count"
17303+ end
17304+ # resource path
17305+ local_var_path = "/cells/{name}/worksheets/{sheetName}/pagecount".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
17306+
17307+ # query parameters
17308+ query_params = {}
17309+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
17310+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
17311+
17312+ # header parameters
17313+ header_params = {}
17314+ # HTTP header 'Accept' (if needed)
17315+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
17316+ # HTTP header 'Content-Type'
17317+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
17318+
17319+ # form parameters
17320+ form_params = {}
17321+
17322+ # http body (model)
17323+ post_body = nil
17324+ #auth_names = []
17325+ auth_names = ['JWT']
17326+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
17327+ :header_params => header_params,
17328+ :query_params => query_params,
17329+ :form_params => form_params,
17330+ :body => post_body,
17331+ :auth_names => auth_names,
17332+ :return_type => 'Object')
17333+ if @api_client.config.debugging
17334+ @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_page_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
17335+ end
17336+ return data, status_code, headers
17337+ end
17338+
1720717339 # Read worksheet info or export.
1720817340 #
1720917341 # @param name The document name.
@@ -18139,7 +18271,7 @@ def cells_worksheets_post_copy_worksheet_with_http_info(name, sheet_name, source
1813918271 # @option opts [WorksheetMovingRequest] :moving with moving parameters.
1814018272 # @option opts [String] :folder The document folder.
1814118273 # @option opts [String] :storage_name storage name.
18142- # @return [WorksheetsResponse ]
18274+ # @return [CellsCloudResponse ]
1814318275 def cells_worksheets_post_move_worksheet(name, sheet_name, opts = {})
1814418276 data, _status_code, _headers = cells_worksheets_post_move_worksheet_with_http_info(name, sheet_name, opts)
1814518277 return data
@@ -18153,7 +18285,7 @@ def cells_worksheets_post_move_worksheet(name, sheet_name, opts = {})
1815318285 # @option opts [WorksheetMovingRequest] :moving with moving parameters.
1815418286 # @option opts [String] :folder The document folder.
1815518287 # @option opts [String] :storage_name storage name.
18156- # @return [Array<(WorksheetsResponse , Fixnum, Hash)>] WorksheetsResponse data, response status code and response headers
18288+ # @return [Array<(CellsCloudResponse , Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
1815718289 def cells_worksheets_post_move_worksheet_with_http_info(name, sheet_name, opts = {})
1815818290 if @api_client.config.debugging
1815918291 @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_move_worksheet ..."
@@ -18195,7 +18327,7 @@ def cells_worksheets_post_move_worksheet_with_http_info(name, sheet_name, opts =
1819518327 :form_params => form_params,
1819618328 :body => post_body,
1819718329 :auth_names => auth_names,
18198- :return_type => 'WorksheetsResponse ')
18330+ :return_type => 'CellsCloudResponse ')
1819918331 if @api_client.config.debugging
1820018332 @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_move_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1820118333 end
@@ -18748,7 +18880,7 @@ def cells_worksheets_post_worsheet_text_replace_with_http_info(name, sheet_name,
1874818880 # @option opts [String] :sheettype The new sheet type.
1874918881 # @option opts [String] :folder Document folder.
1875018882 # @option opts [String] :storage_name storage name.
18751- # @return [WorksheetsResponse ]
18883+ # @return [CellsCloudResponse ]
1875218884 def cells_worksheets_put_add_new_worksheet(name, sheet_name, opts = {})
1875318885 data, _status_code, _headers = cells_worksheets_put_add_new_worksheet_with_http_info(name, sheet_name, opts)
1875418886 return data
@@ -18763,7 +18895,7 @@ def cells_worksheets_put_add_new_worksheet(name, sheet_name, opts = {})
1876318895 # @option opts [String] :sheettype The new sheet type.
1876418896 # @option opts [String] :folder Document folder.
1876518897 # @option opts [String] :storage_name storage name.
18766- # @return [Array<(WorksheetsResponse , Fixnum, Hash)>] WorksheetsResponse data, response status code and response headers
18898+ # @return [Array<(CellsCloudResponse , Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
1876718899 def cells_worksheets_put_add_new_worksheet_with_http_info(name, sheet_name, opts = {})
1876818900 if @api_client.config.debugging
1876918901 @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_add_new_worksheet ..."
@@ -18807,7 +18939,7 @@ def cells_worksheets_put_add_new_worksheet_with_http_info(name, sheet_name, opts
1880718939 :form_params => form_params,
1880818940 :body => post_body,
1880918941 :auth_names => auth_names,
18810- :return_type => 'WorksheetsResponse ')
18942+ :return_type => 'CellsCloudResponse ')
1881118943 if @api_client.config.debugging
1881218944 @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_add_new_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1881318945 end
@@ -18822,7 +18954,7 @@ def cells_worksheets_put_add_new_worksheet_with_http_info(name, sheet_name, opts
1882218954 # @param [Hash] opts the optional parameters
1882318955 # @option opts [String] :folder The document folder.
1882418956 # @option opts [String] :storage_name storage name.
18825- # @return [WorksheetResponse ]
18957+ # @return [CellsCloudResponse ]
1882618958 def cells_worksheets_put_change_visibility_worksheet(name, sheet_name, is_visible, opts = {})
1882718959 data, _status_code, _headers = cells_worksheets_put_change_visibility_worksheet_with_http_info(name, sheet_name, is_visible, opts)
1882818960 return data
@@ -18836,7 +18968,7 @@ def cells_worksheets_put_change_visibility_worksheet(name, sheet_name, is_visibl
1883618968 # @param [Hash] opts the optional parameters
1883718969 # @option opts [String] :folder The document folder.
1883818970 # @option opts [String] :storage_name storage name.
18839- # @return [Array<(WorksheetResponse , Fixnum, Hash)>] WorksheetResponse data, response status code and response headers
18971+ # @return [Array<(CellsCloudResponse , Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
1884018972 def cells_worksheets_put_change_visibility_worksheet_with_http_info(name, sheet_name, is_visible, opts = {})
1884118973 if @api_client.config.debugging
1884218974 @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_change_visibility_worksheet ..."
@@ -18883,7 +19015,7 @@ def cells_worksheets_put_change_visibility_worksheet_with_http_info(name, sheet_
1888319015 :form_params => form_params,
1888419016 :body => post_body,
1888519017 :auth_names => auth_names,
18886- :return_type => 'WorksheetResponse ')
19018+ :return_type => 'CellsCloudResponse ')
1888719019 if @api_client.config.debugging
1888819020 @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_change_visibility_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1888919021 end
0 commit comments