aspose_cells_cloud 22.11 → 22.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1891,55 +1891,126 @@ module AsposeCellsCloud
1891
1891
  end
1892
1892
  return data, status_code, headers
1893
1893
  end
1894
+ # Get chart Category Axis
1895
+ #
1896
+ # @param name
1897
+ # @param sheet_name
1898
+ # @param chart_index
1899
+ # @param [Hash] opts the optional parameters
1900
+ # @option opts [String] :folder
1901
+ # @option opts [String] :storage_name
1902
+ # @return [AxisResponse]
1903
+ def cells_charts_get_chart_category_axis(name, sheet_name, chart_index, opts = {})
1904
+ data, _status_code, _headers = cells_charts_get_chart_category_axis_with_http_info(name, sheet_name, chart_index, opts)
1905
+ return data
1906
+ end
1894
1907
 
1895
- # Get chart info.
1908
+ # Get chart Category Axis
1896
1909
  #
1897
- # @param name Document name.
1898
- # @param sheet_name Worksheet name.
1899
- # @param chart_number The chart number.
1910
+ # @param name
1911
+ # @param sheet_name
1912
+ # @param chart_index
1900
1913
  # @param [Hash] opts the optional parameters
1901
- # @option opts [String] :format The exported file format.
1902
- # @option opts [String] :folder The document folder.
1903
- # @option opts [String] :storage_name storage name.
1904
- # @return [File]
1905
- def cells_charts_get_worksheet_chart(name, sheet_name, chart_number, opts = {})
1906
- data, _status_code, _headers = cells_charts_get_worksheet_chart_with_http_info(name, sheet_name, chart_number, opts)
1914
+ # @option opts [String] :folder
1915
+ # @option opts [String] :storage_name
1916
+ # @return [Array<(AxisResponse, Fixnum, Hash)>] AxisResponse data, response status code and response headers
1917
+ def cells_charts_get_chart_category_axis_with_http_info(name, sheet_name, chart_index, opts = {})
1918
+ if @api_client.config.debugging
1919
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_category_axis ..."
1920
+ end
1921
+ @api_client.request_token_if_needed
1922
+ # verify the required parameter 'name' is set
1923
+ if @api_client.config.client_side_validation && name.nil?
1924
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_category_axis"
1925
+ end
1926
+ # verify the required parameter 'sheet_name' is set
1927
+ if @api_client.config.client_side_validation && sheet_name.nil?
1928
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_category_axis"
1929
+ end
1930
+ # verify the required parameter 'chart_index' is set
1931
+ if @api_client.config.client_side_validation && chart_index.nil?
1932
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_category_axis"
1933
+ end
1934
+ # resource path
1935
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/categoryaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
1936
+
1937
+ # query parameters
1938
+ query_params = {}
1939
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
1940
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
1941
+
1942
+ # header parameters
1943
+ header_params = {}
1944
+ # HTTP header 'Accept' (if needed)
1945
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1946
+ # HTTP header 'Content-Type'
1947
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1948
+
1949
+ # form parameters
1950
+ form_params = {}
1951
+
1952
+ # http body (model)
1953
+ post_body = nil
1954
+ #auth_names = []
1955
+ auth_names = ['JWT']
1956
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1957
+ :header_params => header_params,
1958
+ :query_params => query_params,
1959
+ :form_params => form_params,
1960
+ :body => post_body,
1961
+ :auth_names => auth_names,
1962
+ :return_type => 'AxisResponse')
1963
+ if @api_client.config.debugging
1964
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_category_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1965
+ end
1966
+ return data, status_code, headers
1967
+ end
1968
+
1969
+ # Get chart second category axis
1970
+ #
1971
+ # @param name
1972
+ # @param sheet_name
1973
+ # @param chart_index
1974
+ # @param [Hash] opts the optional parameters
1975
+ # @option opts [String] :folder
1976
+ # @option opts [String] :storage_name
1977
+ # @return [AxisResponse]
1978
+ def cells_charts_get_chart_second_category_axis(name, sheet_name, chart_index, opts = {})
1979
+ data, _status_code, _headers = cells_charts_get_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, opts)
1907
1980
  return data
1908
1981
  end
1909
1982
 
1910
- # Get chart info.
1983
+ # Get chart second category axis
1911
1984
  #
1912
- # @param name Document name.
1913
- # @param sheet_name Worksheet name.
1914
- # @param chart_number The chart number.
1985
+ # @param name
1986
+ # @param sheet_name
1987
+ # @param chart_index
1915
1988
  # @param [Hash] opts the optional parameters
1916
- # @option opts [String] :format The exported file format.
1917
- # @option opts [String] :folder The document folder.
1918
- # @option opts [String] :storage_name storage name.
1919
- # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
1920
- def cells_charts_get_worksheet_chart_with_http_info(name, sheet_name, chart_number, opts = {})
1989
+ # @option opts [String] :folder
1990
+ # @option opts [String] :storage_name
1991
+ # @return [Array<(AxisResponse, Fixnum, Hash)>] AxisResponse data, response status code and response headers
1992
+ def cells_charts_get_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, opts = {})
1921
1993
  if @api_client.config.debugging
1922
- @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_chart ..."
1994
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_second_category_axis ..."
1923
1995
  end
1924
1996
  @api_client.request_token_if_needed
1925
1997
  # verify the required parameter 'name' is set
1926
1998
  if @api_client.config.client_side_validation && name.nil?
1927
- fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_chart"
1999
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_second_category_axis"
1928
2000
  end
1929
2001
  # verify the required parameter 'sheet_name' is set
1930
2002
  if @api_client.config.client_side_validation && sheet_name.nil?
1931
- fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_chart"
2003
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_second_category_axis"
1932
2004
  end
1933
- # verify the required parameter 'chart_number' is set
1934
- if @api_client.config.client_side_validation && chart_number.nil?
1935
- fail ArgumentError, "Missing the required parameter 'chart_number' when calling CellsApi.cells_charts_get_worksheet_chart"
2005
+ # verify the required parameter 'chart_index' is set
2006
+ if @api_client.config.client_side_validation && chart_index.nil?
2007
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_second_category_axis"
1936
2008
  end
1937
2009
  # resource path
1938
- local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartNumber}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartNumber' + '}', chart_number.to_s)
2010
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondcategoryaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
1939
2011
 
1940
2012
  # query parameters
1941
2013
  query_params = {}
1942
- query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
1943
2014
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
1944
2015
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
1945
2016
 
@@ -1963,55 +2034,55 @@ module AsposeCellsCloud
1963
2034
  :form_params => form_params,
1964
2035
  :body => post_body,
1965
2036
  :auth_names => auth_names,
1966
- :return_type => 'File')
2037
+ :return_type => 'AxisResponse')
1967
2038
  if @api_client.config.debugging
1968
- @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_chart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2039
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_second_category_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1969
2040
  end
1970
2041
  return data, status_code, headers
1971
2042
  end
1972
2043
 
1973
- # Get chart legend
2044
+ # Get chart second value axis
1974
2045
  #
1975
- # @param name Workbook name.
1976
- # @param sheet_name Worksheet name.
1977
- # @param chart_index The chart index.
2046
+ # @param name
2047
+ # @param sheet_name
2048
+ # @param chart_index
1978
2049
  # @param [Hash] opts the optional parameters
1979
- # @option opts [String] :folder The workbook folder.
1980
- # @option opts [String] :storage_name storage name.
1981
- # @return [LegendResponse]
1982
- def cells_charts_get_worksheet_chart_legend(name, sheet_name, chart_index, opts = {})
1983
- data, _status_code, _headers = cells_charts_get_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts)
2050
+ # @option opts [String] :folder
2051
+ # @option opts [String] :storage_name
2052
+ # @return [AxisResponse]
2053
+ def cells_charts_get_chart_second_value_axis(name, sheet_name, chart_index, opts = {})
2054
+ data, _status_code, _headers = cells_charts_get_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, opts)
1984
2055
  return data
1985
2056
  end
1986
2057
 
1987
- # Get chart legend
2058
+ # Get chart second value axis
1988
2059
  #
1989
- # @param name Workbook name.
1990
- # @param sheet_name Worksheet name.
1991
- # @param chart_index The chart index.
2060
+ # @param name
2061
+ # @param sheet_name
2062
+ # @param chart_index
1992
2063
  # @param [Hash] opts the optional parameters
1993
- # @option opts [String] :folder The workbook folder.
1994
- # @option opts [String] :storage_name storage name.
1995
- # @return [Array<(LegendResponse, Fixnum, Hash)>] LegendResponse data, response status code and response headers
1996
- def cells_charts_get_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {})
2064
+ # @option opts [String] :folder
2065
+ # @option opts [String] :storage_name
2066
+ # @return [Array<(AxisResponse, Fixnum, Hash)>] AxisResponse data, response status code and response headers
2067
+ def cells_charts_get_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, opts = {})
1997
2068
  if @api_client.config.debugging
1998
- @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_chart_legend ..."
2069
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_second_value_axis ..."
1999
2070
  end
2000
2071
  @api_client.request_token_if_needed
2001
2072
  # verify the required parameter 'name' is set
2002
2073
  if @api_client.config.client_side_validation && name.nil?
2003
- fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_chart_legend"
2074
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_second_value_axis"
2004
2075
  end
2005
2076
  # verify the required parameter 'sheet_name' is set
2006
2077
  if @api_client.config.client_side_validation && sheet_name.nil?
2007
- fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_chart_legend"
2078
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_second_value_axis"
2008
2079
  end
2009
2080
  # verify the required parameter 'chart_index' is set
2010
2081
  if @api_client.config.client_side_validation && chart_index.nil?
2011
- fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_worksheet_chart_legend"
2082
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_second_value_axis"
2012
2083
  end
2013
2084
  # resource path
2014
- local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2085
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondvalueaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2015
2086
 
2016
2087
  # query parameters
2017
2088
  query_params = {}
@@ -2038,55 +2109,55 @@ module AsposeCellsCloud
2038
2109
  :form_params => form_params,
2039
2110
  :body => post_body,
2040
2111
  :auth_names => auth_names,
2041
- :return_type => 'LegendResponse')
2112
+ :return_type => 'AxisResponse')
2042
2113
  if @api_client.config.debugging
2043
- @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_chart_legend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2114
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_second_value_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2044
2115
  end
2045
2116
  return data, status_code, headers
2046
2117
  end
2047
2118
 
2048
- # Get chart title
2119
+ # Get chart Series Axis
2049
2120
  #
2050
- # @param name Workbook name.
2051
- # @param sheet_name Worksheet name.
2052
- # @param chart_index The chart index.
2121
+ # @param name
2122
+ # @param sheet_name
2123
+ # @param chart_index
2053
2124
  # @param [Hash] opts the optional parameters
2054
- # @option opts [String] :folder The workbook folder.
2055
- # @option opts [String] :storage_name storage name.
2056
- # @return [TitleResponse]
2057
- def cells_charts_get_worksheet_chart_title(name, sheet_name, chart_index, opts = {})
2058
- data, _status_code, _headers = cells_charts_get_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts)
2125
+ # @option opts [String] :folder
2126
+ # @option opts [String] :storage_name
2127
+ # @return [AxisResponse]
2128
+ def cells_charts_get_chart_series_axis(name, sheet_name, chart_index, opts = {})
2129
+ data, _status_code, _headers = cells_charts_get_chart_series_axis_with_http_info(name, sheet_name, chart_index, opts)
2059
2130
  return data
2060
2131
  end
2061
2132
 
2062
- # Get chart title
2133
+ # Get chart Series Axis
2063
2134
  #
2064
- # @param name Workbook name.
2065
- # @param sheet_name Worksheet name.
2066
- # @param chart_index The chart index.
2135
+ # @param name
2136
+ # @param sheet_name
2137
+ # @param chart_index
2067
2138
  # @param [Hash] opts the optional parameters
2068
- # @option opts [String] :folder The workbook folder.
2069
- # @option opts [String] :storage_name storage name.
2070
- # @return [Array<(TitleResponse, Fixnum, Hash)>] TitleResponse data, response status code and response headers
2071
- def cells_charts_get_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {})
2139
+ # @option opts [String] :folder
2140
+ # @option opts [String] :storage_name
2141
+ # @return [Array<(AxisResponse, Fixnum, Hash)>] AxisResponse data, response status code and response headers
2142
+ def cells_charts_get_chart_series_axis_with_http_info(name, sheet_name, chart_index, opts = {})
2072
2143
  if @api_client.config.debugging
2073
- @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_chart_title ..."
2144
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_series_axis ..."
2074
2145
  end
2075
2146
  @api_client.request_token_if_needed
2076
2147
  # verify the required parameter 'name' is set
2077
2148
  if @api_client.config.client_side_validation && name.nil?
2078
- fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_chart_title"
2149
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_series_axis"
2079
2150
  end
2080
2151
  # verify the required parameter 'sheet_name' is set
2081
2152
  if @api_client.config.client_side_validation && sheet_name.nil?
2082
- fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_chart_title"
2153
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_series_axis"
2083
2154
  end
2084
2155
  # verify the required parameter 'chart_index' is set
2085
2156
  if @api_client.config.client_side_validation && chart_index.nil?
2086
- fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_worksheet_chart_title"
2157
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_series_axis"
2087
2158
  end
2088
2159
  # resource path
2089
- local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2160
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/seriesaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2090
2161
 
2091
2162
  # query parameters
2092
2163
  query_params = {}
@@ -2113,49 +2184,55 @@ module AsposeCellsCloud
2113
2184
  :form_params => form_params,
2114
2185
  :body => post_body,
2115
2186
  :auth_names => auth_names,
2116
- :return_type => 'TitleResponse')
2187
+ :return_type => 'AxisResponse')
2117
2188
  if @api_client.config.debugging
2118
- @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_chart_title\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2189
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_series_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2119
2190
  end
2120
2191
  return data, status_code, headers
2121
2192
  end
2122
2193
 
2123
- # Get worksheet charts info.
2194
+ # Get chart Value Axis
2124
2195
  #
2125
- # @param name Document name.
2126
- # @param sheet_name The worksheet name.
2196
+ # @param name
2197
+ # @param sheet_name
2198
+ # @param chart_index
2127
2199
  # @param [Hash] opts the optional parameters
2128
- # @option opts [String] :folder Document&#39;s folder.
2129
- # @option opts [String] :storage_name storage name.
2130
- # @return [ChartsResponse]
2131
- def cells_charts_get_worksheet_charts(name, sheet_name, opts = {})
2132
- data, _status_code, _headers = cells_charts_get_worksheet_charts_with_http_info(name, sheet_name, opts)
2200
+ # @option opts [String] :folder
2201
+ # @option opts [String] :storage_name
2202
+ # @return [AxisResponse]
2203
+ def cells_charts_get_chart_value_axis(name, sheet_name, chart_index, opts = {})
2204
+ data, _status_code, _headers = cells_charts_get_chart_value_axis_with_http_info(name, sheet_name, chart_index, opts)
2133
2205
  return data
2134
2206
  end
2135
2207
 
2136
- # Get worksheet charts info.
2208
+ # Get chart Value Axis
2137
2209
  #
2138
- # @param name Document name.
2139
- # @param sheet_name The worksheet name.
2210
+ # @param name
2211
+ # @param sheet_name
2212
+ # @param chart_index
2140
2213
  # @param [Hash] opts the optional parameters
2141
- # @option opts [String] :folder Document&#39;s folder.
2142
- # @option opts [String] :storage_name storage name.
2143
- # @return [Array<(ChartsResponse, Fixnum, Hash)>] ChartsResponse data, response status code and response headers
2144
- def cells_charts_get_worksheet_charts_with_http_info(name, sheet_name, opts = {})
2214
+ # @option opts [String] :folder
2215
+ # @option opts [String] :storage_name
2216
+ # @return [Array<(AxisResponse, Fixnum, Hash)>] AxisResponse data, response status code and response headers
2217
+ def cells_charts_get_chart_value_axis_with_http_info(name, sheet_name, chart_index, opts = {})
2145
2218
  if @api_client.config.debugging
2146
- @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_charts ..."
2219
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_value_axis ..."
2147
2220
  end
2148
2221
  @api_client.request_token_if_needed
2149
2222
  # verify the required parameter 'name' is set
2150
2223
  if @api_client.config.client_side_validation && name.nil?
2151
- fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_charts"
2224
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_value_axis"
2152
2225
  end
2153
2226
  # verify the required parameter 'sheet_name' is set
2154
2227
  if @api_client.config.client_side_validation && sheet_name.nil?
2155
- fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_charts"
2228
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_value_axis"
2229
+ end
2230
+ # verify the required parameter 'chart_index' is set
2231
+ if @api_client.config.client_side_validation && chart_index.nil?
2232
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_value_axis"
2156
2233
  end
2157
2234
  # resource path
2158
- local_var_path = "/cells/{name}/worksheets/{sheetName}/charts".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
2235
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/valueaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2159
2236
 
2160
2237
  # query parameters
2161
2238
  query_params = {}
@@ -2182,9 +2259,710 @@ module AsposeCellsCloud
2182
2259
  :form_params => form_params,
2183
2260
  :body => post_body,
2184
2261
  :auth_names => auth_names,
2185
- :return_type => 'ChartsResponse')
2262
+ :return_type => 'AxisResponse')
2186
2263
  if @api_client.config.debugging
2187
- @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_charts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2264
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_value_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2265
+ end
2266
+ return data, status_code, headers
2267
+ end
2268
+
2269
+ # Get chart info.
2270
+ #
2271
+ # @param name Document name.
2272
+ # @param sheet_name Worksheet name.
2273
+ # @param chart_number The chart number.
2274
+ # @param [Hash] opts the optional parameters
2275
+ # @option opts [String] :format The exported file format.
2276
+ # @option opts [String] :folder The document folder.
2277
+ # @option opts [String] :storage_name storage name.
2278
+ # @return [File]
2279
+ def cells_charts_get_worksheet_chart(name, sheet_name, chart_number, opts = {})
2280
+ data, _status_code, _headers = cells_charts_get_worksheet_chart_with_http_info(name, sheet_name, chart_number, opts)
2281
+ return data
2282
+ end
2283
+
2284
+ # Get chart info.
2285
+ #
2286
+ # @param name Document name.
2287
+ # @param sheet_name Worksheet name.
2288
+ # @param chart_number The chart number.
2289
+ # @param [Hash] opts the optional parameters
2290
+ # @option opts [String] :format The exported file format.
2291
+ # @option opts [String] :folder The document folder.
2292
+ # @option opts [String] :storage_name storage name.
2293
+ # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
2294
+ def cells_charts_get_worksheet_chart_with_http_info(name, sheet_name, chart_number, opts = {})
2295
+ if @api_client.config.debugging
2296
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_chart ..."
2297
+ end
2298
+ @api_client.request_token_if_needed
2299
+ # verify the required parameter 'name' is set
2300
+ if @api_client.config.client_side_validation && name.nil?
2301
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_chart"
2302
+ end
2303
+ # verify the required parameter 'sheet_name' is set
2304
+ if @api_client.config.client_side_validation && sheet_name.nil?
2305
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_chart"
2306
+ end
2307
+ # verify the required parameter 'chart_number' is set
2308
+ if @api_client.config.client_side_validation && chart_number.nil?
2309
+ fail ArgumentError, "Missing the required parameter 'chart_number' when calling CellsApi.cells_charts_get_worksheet_chart"
2310
+ end
2311
+ # resource path
2312
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartNumber}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartNumber' + '}', chart_number.to_s)
2313
+
2314
+ # query parameters
2315
+ query_params = {}
2316
+ query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
2317
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2318
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2319
+
2320
+ # header parameters
2321
+ header_params = {}
2322
+ # HTTP header 'Accept' (if needed)
2323
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2324
+ # HTTP header 'Content-Type'
2325
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2326
+
2327
+ # form parameters
2328
+ form_params = {}
2329
+
2330
+ # http body (model)
2331
+ post_body = nil
2332
+ #auth_names = []
2333
+ auth_names = ['JWT']
2334
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2335
+ :header_params => header_params,
2336
+ :query_params => query_params,
2337
+ :form_params => form_params,
2338
+ :body => post_body,
2339
+ :auth_names => auth_names,
2340
+ :return_type => 'File')
2341
+ if @api_client.config.debugging
2342
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_chart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2343
+ end
2344
+ return data, status_code, headers
2345
+ end
2346
+
2347
+ # Get chart legend
2348
+ #
2349
+ # @param name Workbook name.
2350
+ # @param sheet_name Worksheet name.
2351
+ # @param chart_index The chart index.
2352
+ # @param [Hash] opts the optional parameters
2353
+ # @option opts [String] :folder The workbook folder.
2354
+ # @option opts [String] :storage_name storage name.
2355
+ # @return [LegendResponse]
2356
+ def cells_charts_get_worksheet_chart_legend(name, sheet_name, chart_index, opts = {})
2357
+ data, _status_code, _headers = cells_charts_get_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts)
2358
+ return data
2359
+ end
2360
+
2361
+ # Get chart legend
2362
+ #
2363
+ # @param name Workbook name.
2364
+ # @param sheet_name Worksheet name.
2365
+ # @param chart_index The chart index.
2366
+ # @param [Hash] opts the optional parameters
2367
+ # @option opts [String] :folder The workbook folder.
2368
+ # @option opts [String] :storage_name storage name.
2369
+ # @return [Array<(LegendResponse, Fixnum, Hash)>] LegendResponse data, response status code and response headers
2370
+ def cells_charts_get_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {})
2371
+ if @api_client.config.debugging
2372
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_chart_legend ..."
2373
+ end
2374
+ @api_client.request_token_if_needed
2375
+ # verify the required parameter 'name' is set
2376
+ if @api_client.config.client_side_validation && name.nil?
2377
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_chart_legend"
2378
+ end
2379
+ # verify the required parameter 'sheet_name' is set
2380
+ if @api_client.config.client_side_validation && sheet_name.nil?
2381
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_chart_legend"
2382
+ end
2383
+ # verify the required parameter 'chart_index' is set
2384
+ if @api_client.config.client_side_validation && chart_index.nil?
2385
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_worksheet_chart_legend"
2386
+ end
2387
+ # resource path
2388
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2389
+
2390
+ # query parameters
2391
+ query_params = {}
2392
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2393
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2394
+
2395
+ # header parameters
2396
+ header_params = {}
2397
+ # HTTP header 'Accept' (if needed)
2398
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2399
+ # HTTP header 'Content-Type'
2400
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2401
+
2402
+ # form parameters
2403
+ form_params = {}
2404
+
2405
+ # http body (model)
2406
+ post_body = nil
2407
+ #auth_names = []
2408
+ auth_names = ['JWT']
2409
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2410
+ :header_params => header_params,
2411
+ :query_params => query_params,
2412
+ :form_params => form_params,
2413
+ :body => post_body,
2414
+ :auth_names => auth_names,
2415
+ :return_type => 'LegendResponse')
2416
+ if @api_client.config.debugging
2417
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_chart_legend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2418
+ end
2419
+ return data, status_code, headers
2420
+ end
2421
+
2422
+ # Get chart title
2423
+ #
2424
+ # @param name Workbook name.
2425
+ # @param sheet_name Worksheet name.
2426
+ # @param chart_index The chart index.
2427
+ # @param [Hash] opts the optional parameters
2428
+ # @option opts [String] :folder The workbook folder.
2429
+ # @option opts [String] :storage_name storage name.
2430
+ # @return [TitleResponse]
2431
+ def cells_charts_get_worksheet_chart_title(name, sheet_name, chart_index, opts = {})
2432
+ data, _status_code, _headers = cells_charts_get_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts)
2433
+ return data
2434
+ end
2435
+
2436
+ # Get chart title
2437
+ #
2438
+ # @param name Workbook name.
2439
+ # @param sheet_name Worksheet name.
2440
+ # @param chart_index The chart index.
2441
+ # @param [Hash] opts the optional parameters
2442
+ # @option opts [String] :folder The workbook folder.
2443
+ # @option opts [String] :storage_name storage name.
2444
+ # @return [Array<(TitleResponse, Fixnum, Hash)>] TitleResponse data, response status code and response headers
2445
+ def cells_charts_get_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {})
2446
+ if @api_client.config.debugging
2447
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_chart_title ..."
2448
+ end
2449
+ @api_client.request_token_if_needed
2450
+ # verify the required parameter 'name' is set
2451
+ if @api_client.config.client_side_validation && name.nil?
2452
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_chart_title"
2453
+ end
2454
+ # verify the required parameter 'sheet_name' is set
2455
+ if @api_client.config.client_side_validation && sheet_name.nil?
2456
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_chart_title"
2457
+ end
2458
+ # verify the required parameter 'chart_index' is set
2459
+ if @api_client.config.client_side_validation && chart_index.nil?
2460
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_worksheet_chart_title"
2461
+ end
2462
+ # resource path
2463
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2464
+
2465
+ # query parameters
2466
+ query_params = {}
2467
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2468
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2469
+
2470
+ # header parameters
2471
+ header_params = {}
2472
+ # HTTP header 'Accept' (if needed)
2473
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2474
+ # HTTP header 'Content-Type'
2475
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2476
+
2477
+ # form parameters
2478
+ form_params = {}
2479
+
2480
+ # http body (model)
2481
+ post_body = nil
2482
+ #auth_names = []
2483
+ auth_names = ['JWT']
2484
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2485
+ :header_params => header_params,
2486
+ :query_params => query_params,
2487
+ :form_params => form_params,
2488
+ :body => post_body,
2489
+ :auth_names => auth_names,
2490
+ :return_type => 'TitleResponse')
2491
+ if @api_client.config.debugging
2492
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_chart_title\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2493
+ end
2494
+ return data, status_code, headers
2495
+ end
2496
+
2497
+ # Get worksheet charts info.
2498
+ #
2499
+ # @param name Document name.
2500
+ # @param sheet_name The worksheet name.
2501
+ # @param [Hash] opts the optional parameters
2502
+ # @option opts [String] :folder Document&#39;s folder.
2503
+ # @option opts [String] :storage_name storage name.
2504
+ # @return [ChartsResponse]
2505
+ def cells_charts_get_worksheet_charts(name, sheet_name, opts = {})
2506
+ data, _status_code, _headers = cells_charts_get_worksheet_charts_with_http_info(name, sheet_name, opts)
2507
+ return data
2508
+ end
2509
+
2510
+ # Get worksheet charts info.
2511
+ #
2512
+ # @param name Document name.
2513
+ # @param sheet_name The worksheet name.
2514
+ # @param [Hash] opts the optional parameters
2515
+ # @option opts [String] :folder Document&#39;s folder.
2516
+ # @option opts [String] :storage_name storage name.
2517
+ # @return [Array<(ChartsResponse, Fixnum, Hash)>] ChartsResponse data, response status code and response headers
2518
+ def cells_charts_get_worksheet_charts_with_http_info(name, sheet_name, opts = {})
2519
+ if @api_client.config.debugging
2520
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_charts ..."
2521
+ end
2522
+ @api_client.request_token_if_needed
2523
+ # verify the required parameter 'name' is set
2524
+ if @api_client.config.client_side_validation && name.nil?
2525
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_charts"
2526
+ end
2527
+ # verify the required parameter 'sheet_name' is set
2528
+ if @api_client.config.client_side_validation && sheet_name.nil?
2529
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_charts"
2530
+ end
2531
+ # resource path
2532
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
2533
+
2534
+ # query parameters
2535
+ query_params = {}
2536
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2537
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2538
+
2539
+ # header parameters
2540
+ header_params = {}
2541
+ # HTTP header 'Accept' (if needed)
2542
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2543
+ # HTTP header 'Content-Type'
2544
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2545
+
2546
+ # form parameters
2547
+ form_params = {}
2548
+
2549
+ # http body (model)
2550
+ post_body = nil
2551
+ #auth_names = []
2552
+ auth_names = ['JWT']
2553
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2554
+ :header_params => header_params,
2555
+ :query_params => query_params,
2556
+ :form_params => form_params,
2557
+ :body => post_body,
2558
+ :auth_names => auth_names,
2559
+ :return_type => 'ChartsResponse')
2560
+ if @api_client.config.debugging
2561
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_charts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2562
+ end
2563
+ return data, status_code, headers
2564
+ end
2565
+ # Update chart Category Axis
2566
+ #
2567
+ # @param name
2568
+ # @param sheet_name
2569
+ # @param chart_index
2570
+ # @param axis
2571
+ # @param [Hash] opts the optional parameters
2572
+ # @option opts [String] :folder
2573
+ # @option opts [String] :storage_name
2574
+ # @return [CellsCloudResponse]
2575
+ def cells_charts_post_chart_category_axis(name, sheet_name, chart_index, axis, opts = {})
2576
+ data, _status_code, _headers = cells_charts_post_chart_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
2577
+ return data
2578
+ end
2579
+
2580
+ # Update chart Category Axis
2581
+ #
2582
+ # @param name
2583
+ # @param sheet_name
2584
+ # @param chart_index
2585
+ # @param axis
2586
+ # @param [Hash] opts the optional parameters
2587
+ # @option opts [String] :folder
2588
+ # @option opts [String] :storage_name
2589
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
2590
+ def cells_charts_post_chart_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
2591
+ if @api_client.config.debugging
2592
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_category_axis ..."
2593
+ end
2594
+ @api_client.request_token_if_needed
2595
+ # verify the required parameter 'name' is set
2596
+ if @api_client.config.client_side_validation && name.nil?
2597
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_category_axis"
2598
+ end
2599
+ # verify the required parameter 'sheet_name' is set
2600
+ if @api_client.config.client_side_validation && sheet_name.nil?
2601
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_category_axis"
2602
+ end
2603
+ # verify the required parameter 'chart_index' is set
2604
+ if @api_client.config.client_side_validation && chart_index.nil?
2605
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_category_axis"
2606
+ end
2607
+ # verify the required parameter 'axis' is set
2608
+ if @api_client.config.client_side_validation && axis.nil?
2609
+ fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_category_axis"
2610
+ end
2611
+ # resource path
2612
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/categoryaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2613
+
2614
+ # query parameters
2615
+ query_params = {}
2616
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2617
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2618
+
2619
+ # header parameters
2620
+ header_params = {}
2621
+ # HTTP header 'Accept' (if needed)
2622
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2623
+ # HTTP header 'Content-Type'
2624
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2625
+
2626
+ # form parameters
2627
+ form_params = {}
2628
+
2629
+ # http body (model)
2630
+ post_body = @api_client.object_to_http_body(axis)
2631
+ #auth_names = []
2632
+ auth_names = ['JWT']
2633
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2634
+ :header_params => header_params,
2635
+ :query_params => query_params,
2636
+ :form_params => form_params,
2637
+ :body => post_body,
2638
+ :auth_names => auth_names,
2639
+ :return_type => 'CellsCloudResponse')
2640
+ if @api_client.config.debugging
2641
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_category_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2642
+ end
2643
+ return data, status_code, headers
2644
+ end
2645
+
2646
+ # Update chart second category axis
2647
+ #
2648
+ # @param name
2649
+ # @param sheet_name
2650
+ # @param chart_index
2651
+ # @param axis
2652
+ # @param [Hash] opts the optional parameters
2653
+ # @option opts [String] :folder
2654
+ # @option opts [String] :storage_name
2655
+ # @return [CellsCloudResponse]
2656
+ def cells_charts_post_chart_second_category_axis(name, sheet_name, chart_index, axis, opts = {})
2657
+ data, _status_code, _headers = cells_charts_post_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
2658
+ return data
2659
+ end
2660
+
2661
+ # Update chart second category axis
2662
+ #
2663
+ # @param name
2664
+ # @param sheet_name
2665
+ # @param chart_index
2666
+ # @param axis
2667
+ # @param [Hash] opts the optional parameters
2668
+ # @option opts [String] :folder
2669
+ # @option opts [String] :storage_name
2670
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
2671
+ def cells_charts_post_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
2672
+ if @api_client.config.debugging
2673
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_second_category_axis ..."
2674
+ end
2675
+ @api_client.request_token_if_needed
2676
+ # verify the required parameter 'name' is set
2677
+ if @api_client.config.client_side_validation && name.nil?
2678
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_second_category_axis"
2679
+ end
2680
+ # verify the required parameter 'sheet_name' is set
2681
+ if @api_client.config.client_side_validation && sheet_name.nil?
2682
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_second_category_axis"
2683
+ end
2684
+ # verify the required parameter 'chart_index' is set
2685
+ if @api_client.config.client_side_validation && chart_index.nil?
2686
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_second_category_axis"
2687
+ end
2688
+ # verify the required parameter 'axis' is set
2689
+ if @api_client.config.client_side_validation && axis.nil?
2690
+ fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_second_category_axis"
2691
+ end
2692
+ # resource path
2693
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondcategoryaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2694
+
2695
+ # query parameters
2696
+ query_params = {}
2697
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2698
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2699
+
2700
+ # header parameters
2701
+ header_params = {}
2702
+ # HTTP header 'Accept' (if needed)
2703
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2704
+ # HTTP header 'Content-Type'
2705
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2706
+
2707
+ # form parameters
2708
+ form_params = {}
2709
+
2710
+ # http body (model)
2711
+ post_body = @api_client.object_to_http_body(axis)
2712
+ #auth_names = []
2713
+ auth_names = ['JWT']
2714
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2715
+ :header_params => header_params,
2716
+ :query_params => query_params,
2717
+ :form_params => form_params,
2718
+ :body => post_body,
2719
+ :auth_names => auth_names,
2720
+ :return_type => 'CellsCloudResponse')
2721
+ if @api_client.config.debugging
2722
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_second_category_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2723
+ end
2724
+ return data, status_code, headers
2725
+ end
2726
+
2727
+ # Update chart second value axis
2728
+ #
2729
+ # @param name
2730
+ # @param sheet_name
2731
+ # @param chart_index
2732
+ # @param axis
2733
+ # @param [Hash] opts the optional parameters
2734
+ # @option opts [String] :folder
2735
+ # @option opts [String] :storage_name
2736
+ # @return [CellsCloudResponse]
2737
+ def cells_charts_post_chart_second_value_axis(name, sheet_name, chart_index, axis, opts = {})
2738
+ data, _status_code, _headers = cells_charts_post_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
2739
+ return data
2740
+ end
2741
+
2742
+ # Update chart second value axis
2743
+ #
2744
+ # @param name
2745
+ # @param sheet_name
2746
+ # @param chart_index
2747
+ # @param axis
2748
+ # @param [Hash] opts the optional parameters
2749
+ # @option opts [String] :folder
2750
+ # @option opts [String] :storage_name
2751
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
2752
+ def cells_charts_post_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
2753
+ if @api_client.config.debugging
2754
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_second_value_axis ..."
2755
+ end
2756
+ @api_client.request_token_if_needed
2757
+ # verify the required parameter 'name' is set
2758
+ if @api_client.config.client_side_validation && name.nil?
2759
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_second_value_axis"
2760
+ end
2761
+ # verify the required parameter 'sheet_name' is set
2762
+ if @api_client.config.client_side_validation && sheet_name.nil?
2763
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_second_value_axis"
2764
+ end
2765
+ # verify the required parameter 'chart_index' is set
2766
+ if @api_client.config.client_side_validation && chart_index.nil?
2767
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_second_value_axis"
2768
+ end
2769
+ # verify the required parameter 'axis' is set
2770
+ if @api_client.config.client_side_validation && axis.nil?
2771
+ fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_second_value_axis"
2772
+ end
2773
+ # resource path
2774
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondvalueaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2775
+
2776
+ # query parameters
2777
+ query_params = {}
2778
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2779
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2780
+
2781
+ # header parameters
2782
+ header_params = {}
2783
+ # HTTP header 'Accept' (if needed)
2784
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2785
+ # HTTP header 'Content-Type'
2786
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2787
+
2788
+ # form parameters
2789
+ form_params = {}
2790
+
2791
+ # http body (model)
2792
+ post_body = @api_client.object_to_http_body(axis)
2793
+ #auth_names = []
2794
+ auth_names = ['JWT']
2795
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2796
+ :header_params => header_params,
2797
+ :query_params => query_params,
2798
+ :form_params => form_params,
2799
+ :body => post_body,
2800
+ :auth_names => auth_names,
2801
+ :return_type => 'CellsCloudResponse')
2802
+ if @api_client.config.debugging
2803
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_second_value_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2804
+ end
2805
+ return data, status_code, headers
2806
+ end
2807
+
2808
+ # Update chart Series Axis
2809
+ #
2810
+ # @param name
2811
+ # @param sheet_name
2812
+ # @param chart_index
2813
+ # @param axis
2814
+ # @param [Hash] opts the optional parameters
2815
+ # @option opts [String] :folder
2816
+ # @option opts [String] :storage_name
2817
+ # @return [CellsCloudResponse]
2818
+ def cells_charts_post_chart_series_axis(name, sheet_name, chart_index, axis, opts = {})
2819
+ data, _status_code, _headers = cells_charts_post_chart_series_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
2820
+ return data
2821
+ end
2822
+
2823
+ # Update chart Series Axis
2824
+ #
2825
+ # @param name
2826
+ # @param sheet_name
2827
+ # @param chart_index
2828
+ # @param axis
2829
+ # @param [Hash] opts the optional parameters
2830
+ # @option opts [String] :folder
2831
+ # @option opts [String] :storage_name
2832
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
2833
+ def cells_charts_post_chart_series_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
2834
+ if @api_client.config.debugging
2835
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_series_axis ..."
2836
+ end
2837
+ @api_client.request_token_if_needed
2838
+ # verify the required parameter 'name' is set
2839
+ if @api_client.config.client_side_validation && name.nil?
2840
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_series_axis"
2841
+ end
2842
+ # verify the required parameter 'sheet_name' is set
2843
+ if @api_client.config.client_side_validation && sheet_name.nil?
2844
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_series_axis"
2845
+ end
2846
+ # verify the required parameter 'chart_index' is set
2847
+ if @api_client.config.client_side_validation && chart_index.nil?
2848
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_series_axis"
2849
+ end
2850
+ # verify the required parameter 'axis' is set
2851
+ if @api_client.config.client_side_validation && axis.nil?
2852
+ fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_series_axis"
2853
+ end
2854
+ # resource path
2855
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/seriesaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2856
+
2857
+ # query parameters
2858
+ query_params = {}
2859
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2860
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2861
+
2862
+ # header parameters
2863
+ header_params = {}
2864
+ # HTTP header 'Accept' (if needed)
2865
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2866
+ # HTTP header 'Content-Type'
2867
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2868
+
2869
+ # form parameters
2870
+ form_params = {}
2871
+
2872
+ # http body (model)
2873
+ post_body = @api_client.object_to_http_body(axis)
2874
+ #auth_names = []
2875
+ auth_names = ['JWT']
2876
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2877
+ :header_params => header_params,
2878
+ :query_params => query_params,
2879
+ :form_params => form_params,
2880
+ :body => post_body,
2881
+ :auth_names => auth_names,
2882
+ :return_type => 'CellsCloudResponse')
2883
+ if @api_client.config.debugging
2884
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_series_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2885
+ end
2886
+ return data, status_code, headers
2887
+ end
2888
+
2889
+ # Update chart value axis
2890
+ #
2891
+ # @param name
2892
+ # @param sheet_name
2893
+ # @param chart_index
2894
+ # @param axis
2895
+ # @param [Hash] opts the optional parameters
2896
+ # @option opts [String] :folder
2897
+ # @option opts [String] :storage_name
2898
+ # @return [CellsCloudResponse]
2899
+ def cells_charts_post_chart_value_axis(name, sheet_name, chart_index, axis, opts = {})
2900
+ data, _status_code, _headers = cells_charts_post_chart_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
2901
+ return data
2902
+ end
2903
+
2904
+ # Update chart value axis
2905
+ #
2906
+ # @param name
2907
+ # @param sheet_name
2908
+ # @param chart_index
2909
+ # @param axis
2910
+ # @param [Hash] opts the optional parameters
2911
+ # @option opts [String] :folder
2912
+ # @option opts [String] :storage_name
2913
+ # @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
2914
+ def cells_charts_post_chart_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
2915
+ if @api_client.config.debugging
2916
+ @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_value_axis ..."
2917
+ end
2918
+ @api_client.request_token_if_needed
2919
+ # verify the required parameter 'name' is set
2920
+ if @api_client.config.client_side_validation && name.nil?
2921
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_value_axis"
2922
+ end
2923
+ # verify the required parameter 'sheet_name' is set
2924
+ if @api_client.config.client_side_validation && sheet_name.nil?
2925
+ fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_value_axis"
2926
+ end
2927
+ # verify the required parameter 'chart_index' is set
2928
+ if @api_client.config.client_side_validation && chart_index.nil?
2929
+ fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_value_axis"
2930
+ end
2931
+ # verify the required parameter 'axis' is set
2932
+ if @api_client.config.client_side_validation && axis.nil?
2933
+ fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_value_axis"
2934
+ end
2935
+ # resource path
2936
+ local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/valueaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)
2937
+
2938
+ # query parameters
2939
+ query_params = {}
2940
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
2941
+ query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
2942
+
2943
+ # header parameters
2944
+ header_params = {}
2945
+ # HTTP header 'Accept' (if needed)
2946
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2947
+ # HTTP header 'Content-Type'
2948
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2949
+
2950
+ # form parameters
2951
+ form_params = {}
2952
+
2953
+ # http body (model)
2954
+ post_body = @api_client.object_to_http_body(axis)
2955
+ #auth_names = []
2956
+ auth_names = ['JWT']
2957
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2958
+ :header_params => header_params,
2959
+ :query_params => query_params,
2960
+ :form_params => form_params,
2961
+ :body => post_body,
2962
+ :auth_names => auth_names,
2963
+ :return_type => 'CellsCloudResponse')
2964
+ if @api_client.config.debugging
2965
+ @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_value_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2188
2966
  end
2189
2967
  return data, status_code, headers
2190
2968
  end