Class: GroupDocsPlatformCloud::AppStatisticsApi
- Inherits:
-
Object
- Object
- GroupDocsPlatformCloud::AppStatisticsApi
- Defined in:
- lib/groupdocs_platform_cloud/api/app_statistics_api.rb
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#app_statistics_get_statistics(opts = {}) ⇒ File
Get service statistics in HTML form.
-
#app_statistics_get_statistics_api(opts = {}) ⇒ File
Get API calls statistics.
-
#app_statistics_get_statistics_api_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get API calls statistics.
-
#app_statistics_get_statistics_by_hours(start_date, opts = {}) ⇒ File
Get statistics for specific dates by hours.
-
#app_statistics_get_statistics_by_hours_for_last30_days(opts = {}) ⇒ File
Get statistics for last 30 days by hours.
-
#app_statistics_get_statistics_by_hours_for_last30_days_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get statistics for last 30 days by hours.
-
#app_statistics_get_statistics_by_hours_with_http_info(start_date, opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get statistics for specific dates by hours.
-
#app_statistics_get_statistics_current_users(opts = {}) ⇒ File
Get clients with overdraft statistics.
-
#app_statistics_get_statistics_current_users_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get clients with overdraft statistics.
-
#app_statistics_get_statistics_errors(opts = {}) ⇒ File
Get last errors statistics.
-
#app_statistics_get_statistics_errors_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get last errors statistics.
-
#app_statistics_get_statistics_free(opts = {}) ⇒ File
Get free users statistics.
-
#app_statistics_get_statistics_free_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get free users statistics.
-
#app_statistics_get_statistics_like_gd(opts = {}) ⇒ File
Get service statistics in HTML form like GroupDocs.
-
#app_statistics_get_statistics_like_gd_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get service statistics in HTML form like GroupDocs.
-
#app_statistics_get_statistics_overdraft(opts = {}) ⇒ File
Get clients with overdraft statistics.
-
#app_statistics_get_statistics_overdraft_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get clients with overdraft statistics.
-
#app_statistics_get_statistics_paid(opts = {}) ⇒ File
Get paid clients statistics.
-
#app_statistics_get_statistics_paid_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get paid clients statistics.
-
#app_statistics_get_statistics_plans(opts = {}) ⇒ File
Get users with plans statistics.
-
#app_statistics_get_statistics_plans_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get users with plans statistics.
-
#app_statistics_get_statistics_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get service statistics in HTML form.
-
#initialize(api_client = ApiClient.default) ⇒ AppStatisticsApi
constructor
A new instance of AppStatisticsApi.
Constructor Details
#initialize(api_client = ApiClient.default) ⇒ AppStatisticsApi
Returns a new instance of AppStatisticsApi.
19 20 21 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 19 def initialize(api_client = ApiClient.default) @api_client = api_client end |
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
17 18 19 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 17 def api_client @api_client end |
Instance Method Details
#app_statistics_get_statistics(opts = {}) ⇒ File
Get service statistics in HTML form.
27 28 29 30 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 27 def app_statistics_get_statistics(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_with_http_info(opts) return data end |
#app_statistics_get_statistics_api(opts = {}) ⇒ File
Get API calls statistics.
76 77 78 79 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 76 def app_statistics_get_statistics_api(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_api_with_http_info(opts) return data end |
#app_statistics_get_statistics_api_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get API calls statistics.
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 85 def app_statistics_get_statistics_api_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_api ..." end # resource path local_var_path = "/statistics/calls" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_api\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_by_hours(start_date, opts = {}) ⇒ File
Get statistics for specific dates by hours.
127 128 129 130 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 127 def app_statistics_get_statistics_by_hours(start_date, opts = {}) data, _status_code, _headers = app_statistics_get_statistics_by_hours_with_http_info(start_date, opts) return data end |
#app_statistics_get_statistics_by_hours_for_last30_days(opts = {}) ⇒ File
Get statistics for last 30 days by hours.
184 185 186 187 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 184 def app_statistics_get_statistics_by_hours_for_last30_days(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_by_hours_for_last30_days_with_http_info(opts) return data end |
#app_statistics_get_statistics_by_hours_for_last30_days_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get statistics for last 30 days by hours.
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 193 def app_statistics_get_statistics_by_hours_for_last30_days_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_by_hours_for_last30_days ..." end # resource path local_var_path = "/statistics/hours/last30Days" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_by_hours_for_last30_days\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_by_hours_with_http_info(start_date, opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get statistics for specific dates by hours.
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 138 def app_statistics_get_statistics_by_hours_with_http_info(start_date, opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_by_hours ..." end # verify the required parameter 'start_date' is set if @api_client.config.client_side_validation && start_date.nil? fail ArgumentError, "Missing the required parameter 'start_date' when calling AppStatisticsApi.app_statistics_get_statistics_by_hours" end # resource path local_var_path = "/statistics/hours" # query parameters query_params = {} query_params[:'startDate'] = start_date query_params[:'endDate'] = opts[:'end_date'] if !opts[:'end_date'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_by_hours\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_current_users(opts = {}) ⇒ File
Get clients with overdraft statistics.
233 234 235 236 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 233 def app_statistics_get_statistics_current_users(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_current_users_with_http_info(opts) return data end |
#app_statistics_get_statistics_current_users_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get clients with overdraft statistics.
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 242 def app_statistics_get_statistics_current_users_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_current_users ..." end # resource path local_var_path = "/statistics/currentUsers" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_current_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_errors(opts = {}) ⇒ File
Get last errors statistics.
282 283 284 285 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 282 def app_statistics_get_statistics_errors(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_errors_with_http_info(opts) return data end |
#app_statistics_get_statistics_errors_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get last errors statistics.
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 291 def app_statistics_get_statistics_errors_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_errors ..." end # resource path local_var_path = "/statistics/errors" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_errors\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_free(opts = {}) ⇒ File
Get free users statistics.
331 332 333 334 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 331 def app_statistics_get_statistics_free(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_free_with_http_info(opts) return data end |
#app_statistics_get_statistics_free_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get free users statistics.
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 340 def app_statistics_get_statistics_free_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_free ..." end # resource path local_var_path = "/statistics/free" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_free\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_like_gd(opts = {}) ⇒ File
Get service statistics in HTML form like GroupDocs.
380 381 382 383 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 380 def app_statistics_get_statistics_like_gd(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_like_gd_with_http_info(opts) return data end |
#app_statistics_get_statistics_like_gd_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get service statistics in HTML form like GroupDocs.
389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 389 def app_statistics_get_statistics_like_gd_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_like_gd ..." end # resource path local_var_path = "/statistics/likeGD" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_like_gd\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_overdraft(opts = {}) ⇒ File
Get clients with overdraft statistics.
429 430 431 432 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 429 def app_statistics_get_statistics_overdraft(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_overdraft_with_http_info(opts) return data end |
#app_statistics_get_statistics_overdraft_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get clients with overdraft statistics.
438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 438 def app_statistics_get_statistics_overdraft_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_overdraft ..." end # resource path local_var_path = "/statistics/overdrafts" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_overdraft\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_paid(opts = {}) ⇒ File
Get paid clients statistics.
478 479 480 481 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 478 def app_statistics_get_statistics_paid(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_paid_with_http_info(opts) return data end |
#app_statistics_get_statistics_paid_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get paid clients statistics.
487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 487 def app_statistics_get_statistics_paid_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_paid ..." end # resource path local_var_path = "/statistics/paid" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_paid\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_plans(opts = {}) ⇒ File
Get users with plans statistics.
527 528 529 530 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 527 def app_statistics_get_statistics_plans(opts = {}) data, _status_code, _headers = app_statistics_get_statistics_plans_with_http_info(opts) return data end |
#app_statistics_get_statistics_plans_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get users with plans statistics.
536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 536 def app_statistics_get_statistics_plans_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics_plans ..." end # resource path local_var_path = "/statistics/plans" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics_plans\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |
#app_statistics_get_statistics_with_http_info(opts = {}) ⇒ Array<(File, Fixnum, Hash)>
Get service statistics in HTML form.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/groupdocs_platform_cloud/api/app_statistics_api.rb', line 36 def app_statistics_get_statistics_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: AppStatisticsApi.app_statistics_get_statistics ..." end # resource path local_var_path = "/statistics" # query parameters query_params = {} # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/json']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = [] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'File') if @api_client.config.debugging @api_client.config.logger.debug "API called: AppStatisticsApi#app_statistics_get_statistics\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |