SematextCloud 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (345) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/SematextCloud.gemspec +4 -5
  4. data/docs/AlertNotification.md +2 -1
  5. data/docs/AlertNotificationRequest.md +2 -1
  6. data/docs/AlertNotificationsApi.md +30 -28
  7. data/docs/AlertRule.md +2 -1
  8. data/docs/AlertRuleResponse.md +2 -1
  9. data/docs/AlertRuleResponseEntry.md +2 -1
  10. data/docs/AlertRuleScheduleTimeRangeDto.md +2 -1
  11. data/docs/AlertRuleScheduleWeekdayDto.md +2 -1
  12. data/docs/AlertRulesResponse.md +2 -1
  13. data/docs/AlertRulesResponseEntry.md +2 -1
  14. data/docs/AlertsApi.md +55 -53
  15. data/docs/App.md +2 -1
  16. data/docs/AppDescription.md +2 -1
  17. data/docs/AppMetadata.md +2 -1
  18. data/docs/AppResponse.md +2 -1
  19. data/docs/AppResponseEntry.md +2 -1
  20. data/docs/AppTypesResponse.md +2 -1
  21. data/docs/AppTypesResponseEntry.md +2 -1
  22. data/docs/AppsApi.md +85 -80
  23. data/docs/AppsResponse.md +2 -1
  24. data/docs/AppsResponseEntry.md +2 -1
  25. data/docs/AwsSettingsControllerApi.md +10 -8
  26. data/docs/BasicAuthMethodDto.md +2 -1
  27. data/docs/BasicOrganizationDto.md +2 -1
  28. data/docs/BillingApi.md +31 -29
  29. data/docs/BillingInfo.md +2 -1
  30. data/docs/ChargesDetailsResponseDto.md +2 -1
  31. data/docs/CloudWatchSettings.md +2 -1
  32. data/docs/CloudWatchSettingsResponse.md +2 -1
  33. data/docs/CloudWatchSettingsResponseEntry.md +2 -1
  34. data/docs/CreateAppInfo.md +2 -1
  35. data/docs/CreateTokenDto.md +2 -1
  36. data/docs/DailyDto.md +10 -7
  37. data/docs/DayUsageData.md +23 -23
  38. data/docs/Dimension.md +2 -1
  39. data/docs/Error.md +2 -1
  40. data/docs/EventDto.md +2 -1
  41. data/docs/FilterValue.md +2 -1
  42. data/docs/GenericApiResponse.md +2 -1
  43. data/docs/GenericMapBasedApiResponse.md +2 -1
  44. data/docs/Invitation.md +2 -1
  45. data/docs/Invoice.md +2 -1
  46. data/docs/InvoiceResponse.md +2 -1
  47. data/docs/InvoiceResponseEntry.md +2 -1
  48. data/docs/LimitChangeEventDTO.md +2 -1
  49. data/docs/LogsAppApi.md +10 -8
  50. data/docs/LogsUsageApiControllerApi.md +9 -7
  51. data/docs/MailReportResponse.md +2 -1
  52. data/docs/MailReportResponseResponseEntry.md +2 -1
  53. data/docs/MinPeriodFeePeriod.md +17 -14
  54. data/docs/MonitoringAppApi.md +17 -15
  55. data/docs/NotificationIntegration.md +2 -1
  56. data/docs/NotificationsResponse.md +2 -1
  57. data/docs/NotificationsResponseEntry.md +2 -1
  58. data/docs/Plan.md +2 -1
  59. data/docs/PlansResponse.md +2 -1
  60. data/docs/PlansResponseEntry.md +2 -1
  61. data/docs/ReportInfo.md +13 -11
  62. data/docs/ResetPasswordApi.md +10 -8
  63. data/docs/ServiceIntegration.md +2 -1
  64. data/docs/Subscription.md +20 -18
  65. data/docs/SubscriptionDashboardDto.md +2 -1
  66. data/docs/SubscriptionDto.md +17 -15
  67. data/docs/SubscriptionResponse.md +2 -1
  68. data/docs/SubscriptionResponseEntry.md +2 -1
  69. data/docs/SubscriptionsApi.md +102 -99
  70. data/docs/SubscriptionsResponse.md +2 -1
  71. data/docs/SubscriptionsResponseEntry.md +2 -1
  72. data/docs/TagApiControllerApi.md +32 -30
  73. data/docs/TagNamesResponse.md +2 -1
  74. data/docs/TokenDto.md +2 -1
  75. data/docs/TokenResponse.md +2 -1
  76. data/docs/TokenResponseEntry.md +2 -1
  77. data/docs/TokensApiControllerApi.md +62 -60
  78. data/docs/TokensResponse.md +2 -1
  79. data/docs/TokensResponseEntry.md +2 -1
  80. data/docs/UpdateAppInfo.md +2 -1
  81. data/docs/UpdatePlanResponse.md +2 -1
  82. data/docs/UpdatePlanResponseDto.md +2 -1
  83. data/docs/UpdatePlanResponseEntry.md +2 -1
  84. data/docs/UpdateSubscriptionDto.md +2 -1
  85. data/docs/UpdateTokenDto.md +2 -1
  86. data/docs/UsageDto.md +6 -3
  87. data/docs/UsageMultiResponse.md +2 -1
  88. data/docs/UsageMultiResponseEntry.md +2 -1
  89. data/docs/UsageResponse.md +2 -1
  90. data/docs/UsageResponseEntry.md +2 -1
  91. data/docs/UserInfo.md +2 -1
  92. data/docs/UserPermissions.md +2 -1
  93. data/docs/UserRole.md +2 -1
  94. data/lib/SematextCloud/api/alert_notifications_api.rb +42 -37
  95. data/lib/SematextCloud/api/alerts_api.rb +81 -72
  96. data/lib/SematextCloud/api/apps_api.rb +125 -106
  97. data/lib/SematextCloud/api/aws_settings_controller_api.rb +26 -25
  98. data/lib/SematextCloud/api/billing_api.rb +51 -46
  99. data/lib/SematextCloud/api/logs_app_api.rb +21 -20
  100. data/lib/{stcloud → SematextCloud}/api/logs_usage_api_controller_api.rb +2 -2
  101. data/lib/SematextCloud/api/monitoring_app_api.rb +23 -22
  102. data/lib/SematextCloud/api/reset_password_api.rb +21 -20
  103. data/lib/SematextCloud/api/subscriptions_api.rb +203 -172
  104. data/lib/SematextCloud/api/tag_api_controller_api.rb +53 -50
  105. data/lib/SematextCloud/api/tokens_api_controller_api.rb +84 -73
  106. data/lib/SematextCloud/api_client.rb +41 -42
  107. data/lib/SematextCloud/api_error.rb +21 -2
  108. data/lib/SematextCloud/configuration.rb +5 -9
  109. data/lib/{stcloud → SematextCloud}/models/alert_notification.rb +5 -5
  110. data/lib/SematextCloud/models/alert_notification_request.rb +49 -26
  111. data/lib/SematextCloud/models/alert_rule.rb +175 -152
  112. data/lib/{stcloud/models/app_response.rb → SematextCloud/models/alert_rule_response.rb} +6 -6
  113. data/lib/{stcloud → SematextCloud}/models/alert_rule_response_entry.rb +5 -5
  114. data/lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb +44 -21
  115. data/lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb +49 -26
  116. data/lib/SematextCloud/models/alert_rules_response.rb +235 -0
  117. data/lib/{stcloud → SematextCloud}/models/alert_rules_response_entry.rb +5 -5
  118. data/lib/SematextCloud/models/app.rb +163 -93
  119. data/lib/SematextCloud/models/app_description.rb +41 -18
  120. data/lib/SematextCloud/models/app_metadata.rb +60 -37
  121. data/lib/{stcloud/models/alert_rule_response.rb → SematextCloud/models/app_response.rb} +6 -6
  122. data/lib/{stcloud → SematextCloud}/models/app_response_entry.rb +5 -5
  123. data/lib/{stcloud → SematextCloud}/models/app_types_response.rb +5 -5
  124. data/lib/{stcloud → SematextCloud}/models/app_types_response_entry.rb +5 -5
  125. data/lib/{stcloud/models/alert_rules_response.rb → SematextCloud/models/apps_response.rb} +6 -6
  126. data/lib/{stcloud → SematextCloud}/models/apps_response_entry.rb +5 -5
  127. data/lib/SematextCloud/models/basic_auth_method_dto.rb +47 -24
  128. data/lib/SematextCloud/models/basic_organization_dto.rb +51 -28
  129. data/lib/SematextCloud/models/billing_info.rb +48 -25
  130. data/lib/{stcloud → SematextCloud}/models/charges_details_response_dto.rb +5 -5
  131. data/lib/SematextCloud/models/cloud_watch_settings.rb +56 -33
  132. data/lib/SematextCloud/models/cloud_watch_settings_response.rb +235 -0
  133. data/lib/{stcloud → SematextCloud}/models/cloud_watch_settings_response_entry.rb +5 -5
  134. data/lib/SematextCloud/models/create_app_info.rb +53 -31
  135. data/lib/SematextCloud/models/create_token_dto.rb +46 -23
  136. data/lib/{stcloud → SematextCloud}/models/daily_dto.rb +36 -18
  137. data/lib/{stcloud → SematextCloud}/models/day_usage_data.rb +5 -5
  138. data/lib/{stcloud → SematextCloud}/models/dimension.rb +5 -5
  139. data/lib/SematextCloud/models/error.rb +43 -20
  140. data/lib/{stcloud → SematextCloud}/models/event_dto.rb +7 -7
  141. data/lib/SematextCloud/models/filter_value.rb +53 -30
  142. data/lib/SematextCloud/models/generic_api_response.rb +46 -24
  143. data/lib/{stcloud → SematextCloud}/models/generic_map_based_api_response.rb +5 -5
  144. data/lib/SematextCloud/models/invitation.rb +74 -52
  145. data/lib/{stcloud → SematextCloud}/models/invoice.rb +5 -5
  146. data/lib/{stcloud/models/notifications_response.rb → SematextCloud/models/invoice_response.rb} +6 -6
  147. data/lib/{stcloud → SematextCloud}/models/invoice_response_entry.rb +5 -5
  148. data/lib/{stcloud → SematextCloud}/models/limit_change_event_dto.rb +5 -5
  149. data/lib/{stcloud → SematextCloud}/models/mail_report_response.rb +5 -5
  150. data/lib/{stcloud/models/subscription_response_entry.rb → SematextCloud/models/mail_report_response_response_entry.rb} +6 -6
  151. data/lib/{stcloud → SematextCloud}/models/min_period_fee_period.rb +24 -6
  152. data/lib/SematextCloud/models/notification_integration.rb +73 -50
  153. data/lib/SematextCloud/models/notifications_response.rb +235 -0
  154. data/lib/{stcloud → SematextCloud}/models/notifications_response_entry.rb +5 -5
  155. data/lib/SematextCloud/models/plan.rb +80 -57
  156. data/lib/{stcloud → SematextCloud}/models/plans_response.rb +5 -5
  157. data/lib/{stcloud → SematextCloud}/models/plans_response_entry.rb +5 -5
  158. data/lib/SematextCloud/models/report_info.rb +69 -37
  159. data/lib/SematextCloud/models/service_integration.rb +71 -48
  160. data/lib/{stcloud → SematextCloud}/models/subscription.rb +15 -6
  161. data/lib/SematextCloud/models/subscription_dashboard_dto.rb +72 -49
  162. data/lib/SematextCloud/models/subscription_dto.rb +85 -53
  163. data/lib/{stcloud/models/cloud_watch_settings_response.rb → SematextCloud/models/subscription_response.rb} +6 -6
  164. data/lib/{stcloud/models/mail_report_response_response_entry.rb → SematextCloud/models/subscription_response_entry.rb} +6 -6
  165. data/lib/{stcloud → SematextCloud}/models/subscriptions_response.rb +5 -5
  166. data/lib/{stcloud → SematextCloud}/models/subscriptions_response_entry.rb +5 -5
  167. data/lib/{stcloud → SematextCloud}/models/tag_names_response.rb +5 -5
  168. data/lib/{stcloud → SematextCloud}/models/token_dto.rb +5 -5
  169. data/lib/{stcloud → SematextCloud}/models/token_response.rb +5 -5
  170. data/lib/{stcloud → SematextCloud}/models/token_response_entry.rb +5 -5
  171. data/lib/{stcloud/models/subscription_response.rb → SematextCloud/models/tokens_response.rb} +6 -6
  172. data/lib/{stcloud → SematextCloud}/models/tokens_response_entry.rb +5 -5
  173. data/lib/SematextCloud/models/update_app_info.rb +64 -41
  174. data/lib/{stcloud → SematextCloud}/models/update_plan_response.rb +5 -5
  175. data/lib/{stcloud → SematextCloud}/models/update_plan_response_dto.rb +5 -5
  176. data/lib/{stcloud → SematextCloud}/models/update_plan_response_entry.rb +5 -5
  177. data/lib/SematextCloud/models/update_subscription_dto.rb +42 -19
  178. data/lib/SematextCloud/models/update_token_dto.rb +44 -21
  179. data/lib/{stcloud → SematextCloud}/models/usage_dto.rb +39 -21
  180. data/lib/{stcloud → SematextCloud}/models/usage_multi_response.rb +5 -5
  181. data/lib/{stcloud → SematextCloud}/models/usage_multi_response_entry.rb +5 -5
  182. data/lib/{stcloud → SematextCloud}/models/usage_response.rb +5 -5
  183. data/lib/{stcloud → SematextCloud}/models/usage_response_entry.rb +5 -5
  184. data/lib/SematextCloud/models/user_info.rb +42 -19
  185. data/lib/SematextCloud/models/user_permissions.rb +48 -25
  186. data/lib/SematextCloud/models/user_role.rb +53 -30
  187. data/lib/SematextCloud/version.rb +2 -3
  188. data/lib/SematextCloud.rb +57 -7
  189. data/spec/api/alert_notifications_api_spec.rb +8 -8
  190. data/spec/api/alerts_api_spec.rb +8 -8
  191. data/spec/api/apps_api_spec.rb +10 -10
  192. data/spec/api/aws_settings_controller_api_spec.rb +4 -4
  193. data/spec/api/billing_api_spec.rb +6 -6
  194. data/spec/api/logs_app_api_spec.rb +4 -4
  195. data/spec/api/logs_usage_api_controller_api_spec.rb +4 -4
  196. data/spec/api/monitoring_app_api_spec.rb +6 -6
  197. data/spec/api/reset_password_api_spec.rb +4 -4
  198. data/spec/api/subscriptions_api_spec.rb +10 -10
  199. data/spec/api/tag_api_controller_api_spec.rb +6 -6
  200. data/spec/api/tokens_api_controller_api_spec.rb +12 -12
  201. data/spec/api_client_spec.rb +30 -30
  202. data/spec/configuration_spec.rb +4 -4
  203. data/spec/models/alert_notification_request_spec.rb +4 -4
  204. data/spec/models/alert_notification_spec.rb +4 -4
  205. data/spec/models/alert_rule_response_entry_spec.rb +4 -4
  206. data/spec/models/alert_rule_response_spec.rb +4 -4
  207. data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +4 -4
  208. data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +4 -4
  209. data/spec/models/alert_rule_spec.rb +4 -4
  210. data/spec/models/alert_rules_response_entry_spec.rb +4 -4
  211. data/spec/models/alert_rules_response_spec.rb +4 -4
  212. data/spec/models/app_description_spec.rb +4 -4
  213. data/spec/models/app_metadata_spec.rb +4 -4
  214. data/spec/models/app_response_entry_spec.rb +4 -4
  215. data/spec/models/app_response_spec.rb +4 -4
  216. data/spec/models/app_spec.rb +4 -4
  217. data/spec/models/app_types_response_entry_spec.rb +4 -4
  218. data/spec/models/app_types_response_spec.rb +4 -4
  219. data/spec/models/apps_response_entry_spec.rb +4 -4
  220. data/spec/models/apps_response_spec.rb +4 -4
  221. data/spec/models/basic_auth_method_dto_spec.rb +4 -4
  222. data/spec/models/basic_organization_dto_spec.rb +4 -4
  223. data/spec/models/billing_info_spec.rb +4 -4
  224. data/spec/models/charges_details_response_dto_spec.rb +4 -4
  225. data/spec/models/cloud_watch_settings_response_entry_spec.rb +4 -4
  226. data/spec/models/cloud_watch_settings_response_spec.rb +4 -4
  227. data/spec/models/cloud_watch_settings_spec.rb +4 -4
  228. data/spec/models/create_app_info_spec.rb +4 -4
  229. data/spec/models/create_token_dto_spec.rb +4 -4
  230. data/spec/models/daily_dto_spec.rb +18 -6
  231. data/spec/models/day_usage_data_spec.rb +4 -4
  232. data/spec/models/dimension_spec.rb +4 -4
  233. data/spec/models/error_spec.rb +4 -4
  234. data/spec/models/event_dto_spec.rb +5 -5
  235. data/spec/models/filter_value_spec.rb +4 -4
  236. data/spec/models/generic_api_response_spec.rb +4 -4
  237. data/spec/models/generic_map_based_api_response_spec.rb +4 -4
  238. data/spec/models/invitation_spec.rb +4 -4
  239. data/spec/models/invoice_response_entry_spec.rb +4 -4
  240. data/spec/models/invoice_response_spec.rb +4 -4
  241. data/spec/models/invoice_spec.rb +4 -4
  242. data/spec/models/limit_change_event_dto_spec.rb +4 -4
  243. data/spec/models/mail_report_response_response_entry_spec.rb +4 -4
  244. data/spec/models/mail_report_response_spec.rb +4 -4
  245. data/spec/models/min_period_fee_period_spec.rb +16 -4
  246. data/spec/models/notification_integration_spec.rb +4 -4
  247. data/spec/models/notifications_response_entry_spec.rb +4 -4
  248. data/spec/models/notifications_response_spec.rb +4 -4
  249. data/spec/models/plan_spec.rb +5 -5
  250. data/spec/models/plans_response_entry_spec.rb +4 -4
  251. data/spec/models/plans_response_spec.rb +4 -4
  252. data/spec/models/report_info_spec.rb +10 -4
  253. data/spec/models/service_integration_spec.rb +4 -4
  254. data/spec/models/subscription_dashboard_dto_spec.rb +4 -4
  255. data/spec/models/subscription_dto_spec.rb +10 -4
  256. data/spec/models/subscription_response_entry_spec.rb +4 -4
  257. data/spec/models/subscription_response_spec.rb +4 -4
  258. data/spec/models/subscription_spec.rb +10 -4
  259. data/spec/models/subscriptions_response_entry_spec.rb +4 -4
  260. data/spec/models/subscriptions_response_spec.rb +4 -4
  261. data/spec/models/tag_names_response_spec.rb +4 -4
  262. data/spec/models/token_dto_spec.rb +4 -4
  263. data/spec/models/token_response_entry_spec.rb +4 -4
  264. data/spec/models/token_response_spec.rb +4 -4
  265. data/spec/models/tokens_response_entry_spec.rb +4 -4
  266. data/spec/models/tokens_response_spec.rb +4 -4
  267. data/spec/models/update_app_info_spec.rb +4 -4
  268. data/spec/models/update_plan_response_dto_spec.rb +4 -4
  269. data/spec/models/update_plan_response_entry_spec.rb +4 -4
  270. data/spec/models/update_plan_response_spec.rb +4 -4
  271. data/spec/models/update_subscription_dto_spec.rb +4 -4
  272. data/spec/models/update_token_dto_spec.rb +4 -4
  273. data/spec/models/usage_dto_spec.rb +22 -10
  274. data/spec/models/usage_multi_response_entry_spec.rb +4 -4
  275. data/spec/models/usage_multi_response_spec.rb +4 -4
  276. data/spec/models/usage_response_entry_spec.rb +4 -4
  277. data/spec/models/usage_response_spec.rb +4 -4
  278. data/spec/models/user_info_spec.rb +4 -4
  279. data/spec/models/user_permissions_spec.rb +4 -4
  280. data/spec/models/user_role_spec.rb +4 -4
  281. data/spec/spec_helper.rb +2 -2
  282. metadata +55 -121
  283. data/docs/DataSeriesFilter.md +0 -8
  284. data/docs/DataSeriesRequest.md +0 -12
  285. data/docs/MetricsApi.md +0 -227
  286. data/docs/SavedQueriesApi.md +0 -220
  287. data/docs/SavedQuery.md +0 -18
  288. data/lib/SematextCloud/api/metrics_api.rb +0 -247
  289. data/lib/SematextCloud/api/saved_queries_api.rb +0 -237
  290. data/lib/SematextCloud/models/data_series_filter.rb +0 -237
  291. data/lib/SematextCloud/models/data_series_request.rb +0 -283
  292. data/lib/SematextCloud/models/saved_query.rb +0 -291
  293. data/lib/stcloud/api/alert_notifications_api.rb +0 -142
  294. data/lib/stcloud/api/alerts_api.rb +0 -292
  295. data/lib/stcloud/api/apps_api.rb +0 -452
  296. data/lib/stcloud/api/aws_settings_controller_api.rb +0 -84
  297. data/lib/stcloud/api/billing_api.rb +0 -202
  298. data/lib/stcloud/api/logs_app_api.rb +0 -76
  299. data/lib/stcloud/api/monitoring_app_api.rb +0 -76
  300. data/lib/stcloud/api/reset_password_api.rb +0 -76
  301. data/lib/stcloud/api/subscriptions_api.rb +0 -610
  302. data/lib/stcloud/api/tag_api_controller_api.rb +0 -250
  303. data/lib/stcloud/api/tokens_api_controller_api.rb +0 -324
  304. data/lib/stcloud/api_client.rb +0 -388
  305. data/lib/stcloud/api_error.rb +0 -57
  306. data/lib/stcloud/configuration.rb +0 -205
  307. data/lib/stcloud/models/alert_notification_request.rb +0 -235
  308. data/lib/stcloud/models/alert_rule.rb +0 -675
  309. data/lib/stcloud/models/alert_rule_schedule_time_range_dto.rb +0 -215
  310. data/lib/stcloud/models/alert_rule_schedule_weekday_dto.rb +0 -244
  311. data/lib/stcloud/models/app.rb +0 -489
  312. data/lib/stcloud/models/app_description.rb +0 -206
  313. data/lib/stcloud/models/app_metadata.rb +0 -291
  314. data/lib/stcloud/models/apps_response.rb +0 -235
  315. data/lib/stcloud/models/basic_auth_method_dto.rb +0 -249
  316. data/lib/stcloud/models/basic_organization_dto.rb +0 -269
  317. data/lib/stcloud/models/billing_info.rb +0 -224
  318. data/lib/stcloud/models/cloud_watch_settings.rb +0 -279
  319. data/lib/stcloud/models/create_app_info.rb +0 -242
  320. data/lib/stcloud/models/create_token_dto.rb +0 -224
  321. data/lib/stcloud/models/error.rb +0 -215
  322. data/lib/stcloud/models/filter_value.rb +0 -253
  323. data/lib/stcloud/models/generic_api_response.rb +0 -236
  324. data/lib/stcloud/models/invitation.rb +0 -348
  325. data/lib/stcloud/models/invoice_response.rb +0 -235
  326. data/lib/stcloud/models/notification_integration.rb +0 -347
  327. data/lib/stcloud/models/plan.rb +0 -360
  328. data/lib/stcloud/models/report_info.rb +0 -270
  329. data/lib/stcloud/models/service_integration.rb +0 -305
  330. data/lib/stcloud/models/subscription_dashboard_dto.rb +0 -342
  331. data/lib/stcloud/models/subscription_dto.rb +0 -351
  332. data/lib/stcloud/models/tokens_response.rb +0 -235
  333. data/lib/stcloud/models/update_app_info.rb +0 -312
  334. data/lib/stcloud/models/update_subscription_dto.rb +0 -206
  335. data/lib/stcloud/models/update_token_dto.rb +0 -215
  336. data/lib/stcloud/models/user_info.rb +0 -206
  337. data/lib/stcloud/models/user_permissions.rb +0 -224
  338. data/lib/stcloud/models/user_role.rb +0 -270
  339. data/lib/stcloud/version.rb +0 -14
  340. data/lib/stcloud.rb +0 -128
  341. data/spec/api/metrics_api_spec.rb +0 -83
  342. data/spec/api/saved_queries_api_spec.rb +0 -80
  343. data/spec/models/data_series_filter_spec.rb +0 -57
  344. data/spec/models/data_series_request_spec.rb +0 -81
  345. data/spec/models/saved_query_spec.rb +0 -113
data/docs/Subscription.md CHANGED
@@ -1,20 +1,22 @@
1
- # stcloud::Subscription
1
+ # SematextCloud::Subscription
2
2
 
3
3
  ## Properties
4
- | Name | Type | Description | Notes |
5
- | -------------------- | ----------------------------------------- | ----------- | ---------- |
6
- | **addresses** | **String** | | [optional] |
7
- | **created_by** | **String** | | [optional] |
8
- | **dashboard_id** | **Integer** | | [optional] |
9
- | **dashboard_name** | **String** | | [optional] |
10
- | **enabled** | **BOOLEAN** | | [optional] |
11
- | **filters** | **String** | | [optional] |
12
- | **frequency** | **String** | | [optional] |
13
- | **id** | **Integer** | | [optional] |
14
- | **next_send_date** | **DateTime** | | [optional] |
15
- | **subject** | **String** | | [optional] |
16
- | **system_id** | **Integer** | | [optional] |
17
- | **system_name** | **String** | | [optional] |
18
- | **text** | **String** | | [optional] |
19
- | **time_range** | **String** | | [optional] |
20
- | **user_permissions** | [**UserPermissions**](UserPermissions.md) | | [optional] |
4
+
5
+ | Name | Type | Description | Notes |
6
+ | --------------------- | ----------------------------------------- | ----------- | ---------- |
7
+ | **additional_params** | **String** | | [optional] |
8
+ | **addresses** | **String** | | [optional] |
9
+ | **created_by** | **String** | | [optional] |
10
+ | **dashboard_id** | **Integer** | | [optional] |
11
+ | **dashboard_name** | **String** | | [optional] |
12
+ | **enabled** | **BOOLEAN** | | [optional] |
13
+ | **filters** | **String** | | [optional] |
14
+ | **frequency** | **String** | | [optional] |
15
+ | **id** | **Integer** | | [optional] |
16
+ | **next_send_date** | **DateTime** | | [optional] |
17
+ | **subject** | **String** | | [optional] |
18
+ | **system_id** | **Integer** | | [optional] |
19
+ | **system_name** | **String** | | [optional] |
20
+ | **text** | **String** | | [optional] |
21
+ | **time_range** | **String** | | [optional] |
22
+ | **user_permissions** | [**UserPermissions**](UserPermissions.md) | | [optional] |
@@ -1,6 +1,7 @@
1
- # stcloud::SubscriptionDashboardDto
1
+ # SematextCloud::SubscriptionDashboardDto
2
2
 
3
3
  ## Properties
4
+
4
5
  | Name | Type | Description | Notes |
5
6
  | ---------------- | ------------ | ----------- | ---------- |
6
7
  | **addresses** | **String** | | [optional] |
@@ -1,17 +1,19 @@
1
- # stcloud::SubscriptionDto
1
+ # SematextCloud::SubscriptionDto
2
2
 
3
3
  ## Properties
4
- | Name | Type | Description | Notes |
5
- | -------------------- | ----------------------------------------- | ----------- | ---------- |
6
- | **addresses** | **String** | | [optional] |
7
- | **enable** | **BOOLEAN** | | [optional] |
8
- | **filters** | **String** | | [optional] |
9
- | **frequency** | **String** | | [optional] |
10
- | **id** | **Integer** | | [optional] |
11
- | **report_name** | **String** | | [optional] |
12
- | **send_time** | **DateTime** | | [optional] |
13
- | **subject** | **String** | | [optional] |
14
- | **system_id** | **Integer** | | [optional] |
15
- | **text** | **String** | | [optional] |
16
- | **time_range** | **String** | | [optional] |
17
- | **user_permissions** | [**UserPermissions**](UserPermissions.md) | | [optional] |
4
+
5
+ | Name | Type | Description | Notes |
6
+ | --------------------- | ----------------------------------------- | ----------- | ---------- |
7
+ | **additional_params** | **String** | | [optional] |
8
+ | **addresses** | **String** | | [optional] |
9
+ | **enable** | **BOOLEAN** | | [optional] |
10
+ | **filters** | **String** | | [optional] |
11
+ | **frequency** | **String** | | [optional] |
12
+ | **id** | **Integer** | | [optional] |
13
+ | **report_name** | **String** | | [optional] |
14
+ | **send_time** | **DateTime** | | [optional] |
15
+ | **subject** | **String** | | [optional] |
16
+ | **system_id** | **Integer** | | [optional] |
17
+ | **text** | **String** | | [optional] |
18
+ | **time_range** | **String** | | [optional] |
19
+ | **user_permissions** | [**UserPermissions**](UserPermissions.md) | | [optional] |
@@ -1,6 +1,7 @@
1
- # stcloud::SubscriptionResponse
1
+ # SematextCloud::SubscriptionResponse
2
2
 
3
3
  ## Properties
4
+
4
5
  | Name | Type | Description | Notes |
5
6
  | ----------- | ------------------------------------------------------------- | ----------- | ---------- |
6
7
  | **data** | [**SubscriptionResponseEntry**](SubscriptionResponseEntry.md) | | [optional] |
@@ -1,6 +1,7 @@
1
- # stcloud::SubscriptionResponseEntry
1
+ # SematextCloud::SubscriptionResponseEntry
2
2
 
3
3
  ## Properties
4
+
4
5
  | Name | Type | Description | Notes |
5
6
  | ---------------- | ----------------------------------- | ----------- | ---------- |
6
7
  | **subscription** | [**Subscription**](Subscription.md) | | [optional] |
@@ -1,48 +1,50 @@
1
- # stcloud::SubscriptionsApi
1
+ # SematextCloud::SubscriptionsApi
2
2
 
3
3
  All URIs are relative to */*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- | ---------------------------------------- |
7
- | [**create_for_app_using_post1**](SubscriptionsApi.md#create_for_app_using_post1) | **POST** /users-web/api/v3/apps/{appId}/subscription | Create App subscription |
7
+ | [**create_for_app_using_post**](SubscriptionsApi.md#create_for_app_using_post) | **POST** /users-web/api/v3/apps/{appId}/subscription | Create App subscription |
8
8
  | [**create_for_dash_using_post1**](SubscriptionsApi.md#create_for_dash_using_post1) | **POST** /users-web/api/v3/dashboards/{dashId}/subscription | Create dashboard subscription |
9
- | [**delete_using_delete3**](SubscriptionsApi.md#delete_using_delete3) | **DELETE** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Delete subscription |
9
+ | [**delete_using_delete2**](SubscriptionsApi.md#delete_using_delete2) | **DELETE** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Delete subscription |
10
10
  | [**list_using_get3**](SubscriptionsApi.md#list_using_get3) | **GET** /users-web/api/v3/apps/{appId}/subscriptions | Get subscriptions for an App |
11
11
  | [**list_using_get5**](SubscriptionsApi.md#list_using_get5) | **GET** /users-web/api/v3/subscriptions | Get current account's subscriptions |
12
12
  | [**send_app_report_using_post**](SubscriptionsApi.md#send_app_report_using_post) | **POST** /users-web/api/v3/apps/{appId}/report/send | Email an App report |
13
13
  | [**send_dash_report_using_post**](SubscriptionsApi.md#send_dash_report_using_post) | **POST** /users-web/api/v3/dashboards/{dashId}/report/send | Email a dashboard report |
14
14
  | [**toggle_enabled_using_put1**](SubscriptionsApi.md#toggle_enabled_using_put1) | **PUT** /users-web/api/v3/subscriptions/{updateableSubscriptionId} | Toggle subscription status |
15
- | [**update_for_app_using_put1**](SubscriptionsApi.md#update_for_app_using_put1) | **PUT** /users-web/api/v3/apps/{appId}/subscription | Update App subscription |
15
+ | [**update_for_app_using_put**](SubscriptionsApi.md#update_for_app_using_put) | **PUT** /users-web/api/v3/apps/{appId}/subscription | Update App subscription |
16
16
  | [**update_for_dash_using_put1**](SubscriptionsApi.md#update_for_dash_using_put1) | **PUT** /users-web/api/v3/dashboards/{dashId}/subscription | Update dashboard subscription |
17
17
 
18
- # **create_for_app_using_post1**
19
- > SubscriptionResponse create_for_app_using_post1(bodyapp_id)
18
+ # **create_for_app_using_post**
19
+
20
+ > SubscriptionResponse create_for_app_using_post(bodyapp_id)
20
21
 
21
22
  Create App subscription
22
23
 
23
24
  ### Example
25
+
24
26
  ```ruby
25
27
  # load the gem
26
- require 'stcloud'
28
+ require 'SematextCloud'
27
29
  # setup authorization
28
- stcloud.configure do |config|
30
+ SematextCloud.configure do |config|
29
31
  # Configure API key authorization: api_key
30
32
  config.api_key['Authorization'] = 'YOUR API KEY'
31
33
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
34
  #config.api_key_prefix['Authorization'] = 'Bearer'
33
35
  end
34
36
 
35
- api_instance = stcloud::SubscriptionsApi.new
36
- body = stcloud::SubscriptionDto.new # SubscriptionDto | subscription
37
+ api_instance = SematextCloud::SubscriptionsApi.new
38
+ body = SematextCloud::SubscriptionDto.new # SubscriptionDto | subscription
37
39
  app_id = 789 # Integer | appId
38
40
 
39
41
 
40
42
  begin
41
43
  #Create App subscription
42
- result = api_instance.create_for_app_using_post1(bodyapp_id)
44
+ result = api_instance.create_for_app_using_post(bodyapp_id)
43
45
  p result
44
- rescue stcloud::ApiError => e
45
- puts "Exception when calling SubscriptionsApi->create_for_app_using_post1: #{e}"
46
+ rescue SematextCloud::ApiError => e
47
+ puts "Exception when calling SubscriptionsApi->create_for_app_using_post: #{e}"
46
48
  end
47
49
  ```
48
50
 
@@ -63,30 +65,30 @@ end
63
65
 
64
66
  ### HTTP request headers
65
67
 
66
- - **Content-Type**: application/json
67
- - **Accept**: application/json
68
-
69
-
68
+ - **Content-Type**: application/json
69
+ - **Accept**: application/json
70
70
 
71
71
  # **create_for_dash_using_post1**
72
+
72
73
  > SubscriptionResponse create_for_dash_using_post1(bodydash_id)
73
74
 
74
75
  Create dashboard subscription
75
76
 
76
77
  ### Example
78
+
77
79
  ```ruby
78
80
  # load the gem
79
- require 'stcloud'
81
+ require 'SematextCloud'
80
82
  # setup authorization
81
- stcloud.configure do |config|
83
+ SematextCloud.configure do |config|
82
84
  # Configure API key authorization: api_key
83
85
  config.api_key['Authorization'] = 'YOUR API KEY'
84
86
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
85
87
  #config.api_key_prefix['Authorization'] = 'Bearer'
86
88
  end
87
89
 
88
- api_instance = stcloud::SubscriptionsApi.new
89
- body = stcloud::SubscriptionDashboardDto.new # SubscriptionDashboardDto | subscription
90
+ api_instance = SematextCloud::SubscriptionsApi.new
91
+ body = SematextCloud::SubscriptionDashboardDto.new # SubscriptionDashboardDto | subscription
90
92
  dash_id = 789 # Integer | dashId
91
93
 
92
94
 
@@ -94,7 +96,7 @@ begin
94
96
  #Create dashboard subscription
95
97
  result = api_instance.create_for_dash_using_post1(bodydash_id)
96
98
  p result
97
- rescue stcloud::ApiError => e
99
+ rescue SematextCloud::ApiError => e
98
100
  puts "Exception when calling SubscriptionsApi->create_for_dash_using_post1: #{e}"
99
101
  end
100
102
  ```
@@ -116,38 +118,38 @@ end
116
118
 
117
119
  ### HTTP request headers
118
120
 
119
- - **Content-Type**: application/json
120
- - **Accept**: application/json
121
-
121
+ - **Content-Type**: application/json
122
+ - **Accept**: application/json
122
123
 
124
+ # **delete_using_delete2**
123
125
 
124
- # **delete_using_delete3**
125
- > GenericMapBasedApiResponse delete_using_delete3(updateable_subscription_id)
126
+ > GenericMapBasedApiResponse delete_using_delete2(updateable_subscription_id)
126
127
 
127
128
  Delete subscription
128
129
 
129
130
  ### Example
131
+
130
132
  ```ruby
131
133
  # load the gem
132
- require 'stcloud'
134
+ require 'SematextCloud'
133
135
  # setup authorization
134
- stcloud.configure do |config|
136
+ SematextCloud.configure do |config|
135
137
  # Configure API key authorization: api_key
136
138
  config.api_key['Authorization'] = 'YOUR API KEY'
137
139
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
138
140
  #config.api_key_prefix['Authorization'] = 'Bearer'
139
141
  end
140
142
 
141
- api_instance = stcloud::SubscriptionsApi.new
143
+ api_instance = SematextCloud::SubscriptionsApi.new
142
144
  updateable_subscription_id = 789 # Integer | updateableSubscriptionId
143
145
 
144
146
 
145
147
  begin
146
148
  #Delete subscription
147
- result = api_instance.delete_using_delete3(updateable_subscription_id)
149
+ result = api_instance.delete_using_delete2(updateable_subscription_id)
148
150
  p result
149
- rescue stcloud::ApiError => e
150
- puts "Exception when calling SubscriptionsApi->delete_using_delete3: #{e}"
151
+ rescue SematextCloud::ApiError => e
152
+ puts "Exception when calling SubscriptionsApi->delete_using_delete2: #{e}"
151
153
  end
152
154
  ```
153
155
 
@@ -167,29 +169,29 @@ end
167
169
 
168
170
  ### HTTP request headers
169
171
 
170
- - **Content-Type**: Not defined
171
- - **Accept**: application/json
172
-
173
-
172
+ - **Content-Type**: Not defined
173
+ - **Accept**: application/json
174
174
 
175
175
  # **list_using_get3**
176
+
176
177
  > SubscriptionsResponse list_using_get3(app_id)
177
178
 
178
179
  Get subscriptions for an App
179
180
 
180
181
  ### Example
182
+
181
183
  ```ruby
182
184
  # load the gem
183
- require 'stcloud'
185
+ require 'SematextCloud'
184
186
  # setup authorization
185
- stcloud.configure do |config|
187
+ SematextCloud.configure do |config|
186
188
  # Configure API key authorization: api_key
187
189
  config.api_key['Authorization'] = 'YOUR API KEY'
188
190
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
189
191
  #config.api_key_prefix['Authorization'] = 'Bearer'
190
192
  end
191
193
 
192
- api_instance = stcloud::SubscriptionsApi.new
194
+ api_instance = SematextCloud::SubscriptionsApi.new
193
195
  app_id = 789 # Integer | appId
194
196
 
195
197
 
@@ -197,7 +199,7 @@ begin
197
199
  #Get subscriptions for an App
198
200
  result = api_instance.list_using_get3(app_id)
199
201
  p result
200
- rescue stcloud::ApiError => e
202
+ rescue SematextCloud::ApiError => e
201
203
  puts "Exception when calling SubscriptionsApi->list_using_get3: #{e}"
202
204
  end
203
205
  ```
@@ -218,40 +220,41 @@ end
218
220
 
219
221
  ### HTTP request headers
220
222
 
221
- - **Content-Type**: Not defined
222
- - **Accept**: application/json
223
-
224
-
223
+ - **Content-Type**: Not defined
224
+ - **Accept**: application/json
225
225
 
226
226
  # **list_using_get5**
227
+
227
228
  > SubscriptionsResponse list_using_get5
228
229
 
229
230
  Get current account's subscriptions
230
231
 
231
232
  ### Example
233
+
232
234
  ```ruby
233
235
  # load the gem
234
- require 'stcloud'
236
+ require 'SematextCloud'
235
237
  # setup authorization
236
- stcloud.configure do |config|
238
+ SematextCloud.configure do |config|
237
239
  # Configure API key authorization: api_key
238
240
  config.api_key['Authorization'] = 'YOUR API KEY'
239
241
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
240
242
  #config.api_key_prefix['Authorization'] = 'Bearer'
241
243
  end
242
244
 
243
- api_instance = stcloud::SubscriptionsApi.new
245
+ api_instance = SematextCloud::SubscriptionsApi.new
244
246
 
245
247
  begin
246
248
  #Get current account's subscriptions
247
249
  result = api_instance.list_using_get5
248
250
  p result
249
- rescue stcloud::ApiError => e
251
+ rescue SematextCloud::ApiError => e
250
252
  puts "Exception when calling SubscriptionsApi->list_using_get5: #{e}"
251
253
  end
252
254
  ```
253
255
 
254
256
  ### Parameters
257
+
255
258
  This endpoint does not need any parameter.
256
259
 
257
260
  ### Return type
@@ -264,30 +267,30 @@ This endpoint does not need any parameter.
264
267
 
265
268
  ### HTTP request headers
266
269
 
267
- - **Content-Type**: Not defined
268
- - **Accept**: application/json
269
-
270
-
270
+ - **Content-Type**: Not defined
271
+ - **Accept**: application/json
271
272
 
272
273
  # **send_app_report_using_post**
274
+
273
275
  > MailReportResponse send_app_report_using_post(bodyapp_id)
274
276
 
275
277
  Email an App report
276
278
 
277
279
  ### Example
280
+
278
281
  ```ruby
279
282
  # load the gem
280
- require 'stcloud'
283
+ require 'SematextCloud'
281
284
  # setup authorization
282
- stcloud.configure do |config|
285
+ SematextCloud.configure do |config|
283
286
  # Configure API key authorization: api_key
284
287
  config.api_key['Authorization'] = 'YOUR API KEY'
285
288
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
286
289
  #config.api_key_prefix['Authorization'] = 'Bearer'
287
290
  end
288
291
 
289
- api_instance = stcloud::SubscriptionsApi.new
290
- body = stcloud::ReportInfo.new # ReportInfo | emailDto
292
+ api_instance = SematextCloud::SubscriptionsApi.new
293
+ body = SematextCloud::ReportInfo.new # ReportInfo | emailDto
291
294
  app_id = 789 # Integer | appId
292
295
 
293
296
 
@@ -295,7 +298,7 @@ begin
295
298
  #Email an App report
296
299
  result = api_instance.send_app_report_using_post(bodyapp_id)
297
300
  p result
298
- rescue stcloud::ApiError => e
301
+ rescue SematextCloud::ApiError => e
299
302
  puts "Exception when calling SubscriptionsApi->send_app_report_using_post: #{e}"
300
303
  end
301
304
  ```
@@ -317,30 +320,30 @@ end
317
320
 
318
321
  ### HTTP request headers
319
322
 
320
- - **Content-Type**: application/json
321
- - **Accept**: application/json
322
-
323
-
323
+ - **Content-Type**: application/json
324
+ - **Accept**: application/json
324
325
 
325
326
  # **send_dash_report_using_post**
327
+
326
328
  > MailReportResponse send_dash_report_using_post(bodydash_id)
327
329
 
328
330
  Email a dashboard report
329
331
 
330
332
  ### Example
333
+
331
334
  ```ruby
332
335
  # load the gem
333
- require 'stcloud'
336
+ require 'SematextCloud'
334
337
  # setup authorization
335
- stcloud.configure do |config|
338
+ SematextCloud.configure do |config|
336
339
  # Configure API key authorization: api_key
337
340
  config.api_key['Authorization'] = 'YOUR API KEY'
338
341
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
339
342
  #config.api_key_prefix['Authorization'] = 'Bearer'
340
343
  end
341
344
 
342
- api_instance = stcloud::SubscriptionsApi.new
343
- body = stcloud::ReportInfo.new # ReportInfo | emailDto
345
+ api_instance = SematextCloud::SubscriptionsApi.new
346
+ body = SematextCloud::ReportInfo.new # ReportInfo | emailDto
344
347
  dash_id = 789 # Integer | dashId
345
348
 
346
349
 
@@ -348,7 +351,7 @@ begin
348
351
  #Email a dashboard report
349
352
  result = api_instance.send_dash_report_using_post(bodydash_id)
350
353
  p result
351
- rescue stcloud::ApiError => e
354
+ rescue SematextCloud::ApiError => e
352
355
  puts "Exception when calling SubscriptionsApi->send_dash_report_using_post: #{e}"
353
356
  end
354
357
  ```
@@ -370,30 +373,30 @@ end
370
373
 
371
374
  ### HTTP request headers
372
375
 
373
- - **Content-Type**: application/json
374
- - **Accept**: application/json
375
-
376
-
376
+ - **Content-Type**: application/json
377
+ - **Accept**: application/json
377
378
 
378
379
  # **toggle_enabled_using_put1**
380
+
379
381
  > SubscriptionResponse toggle_enabled_using_put1(bodyupdateable_subscription_id)
380
382
 
381
383
  Toggle subscription status
382
384
 
383
385
  ### Example
386
+
384
387
  ```ruby
385
388
  # load the gem
386
- require 'stcloud'
389
+ require 'SematextCloud'
387
390
  # setup authorization
388
- stcloud.configure do |config|
391
+ SematextCloud.configure do |config|
389
392
  # Configure API key authorization: api_key
390
393
  config.api_key['Authorization'] = 'YOUR API KEY'
391
394
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
392
395
  #config.api_key_prefix['Authorization'] = 'Bearer'
393
396
  end
394
397
 
395
- api_instance = stcloud::SubscriptionsApi.new
396
- body = stcloud::UpdateSubscriptionDto.new # UpdateSubscriptionDto | dto
398
+ api_instance = SematextCloud::SubscriptionsApi.new
399
+ body = SematextCloud::UpdateSubscriptionDto.new # UpdateSubscriptionDto | dto
397
400
  updateable_subscription_id = 789 # Integer | updateableSubscriptionId
398
401
 
399
402
 
@@ -401,7 +404,7 @@ begin
401
404
  #Toggle subscription status
402
405
  result = api_instance.toggle_enabled_using_put1(bodyupdateable_subscription_id)
403
406
  p result
404
- rescue stcloud::ApiError => e
407
+ rescue SematextCloud::ApiError => e
405
408
  puts "Exception when calling SubscriptionsApi->toggle_enabled_using_put1: #{e}"
406
409
  end
407
410
  ```
@@ -423,39 +426,39 @@ end
423
426
 
424
427
  ### HTTP request headers
425
428
 
426
- - **Content-Type**: application/json
427
- - **Accept**: application/json
429
+ - **Content-Type**: application/json
430
+ - **Accept**: application/json
428
431
 
432
+ # **update_for_app_using_put**
429
433
 
430
-
431
- # **update_for_app_using_put1**
432
- > SubscriptionResponse update_for_app_using_put1(bodyapp_id)
434
+ > SubscriptionResponse update_for_app_using_put(bodyapp_id)
433
435
 
434
436
  Update App subscription
435
437
 
436
438
  ### Example
439
+
437
440
  ```ruby
438
441
  # load the gem
439
- require 'stcloud'
442
+ require 'SematextCloud'
440
443
  # setup authorization
441
- stcloud.configure do |config|
444
+ SematextCloud.configure do |config|
442
445
  # Configure API key authorization: api_key
443
446
  config.api_key['Authorization'] = 'YOUR API KEY'
444
447
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
445
448
  #config.api_key_prefix['Authorization'] = 'Bearer'
446
449
  end
447
450
 
448
- api_instance = stcloud::SubscriptionsApi.new
449
- body = stcloud::SubscriptionDto.new # SubscriptionDto | subscription
451
+ api_instance = SematextCloud::SubscriptionsApi.new
452
+ body = SematextCloud::SubscriptionDto.new # SubscriptionDto | subscription
450
453
  app_id = 789 # Integer | appId
451
454
 
452
455
 
453
456
  begin
454
457
  #Update App subscription
455
- result = api_instance.update_for_app_using_put1(bodyapp_id)
458
+ result = api_instance.update_for_app_using_put(bodyapp_id)
456
459
  p result
457
- rescue stcloud::ApiError => e
458
- puts "Exception when calling SubscriptionsApi->update_for_app_using_put1: #{e}"
460
+ rescue SematextCloud::ApiError => e
461
+ puts "Exception when calling SubscriptionsApi->update_for_app_using_put: #{e}"
459
462
  end
460
463
  ```
461
464
 
@@ -476,30 +479,30 @@ end
476
479
 
477
480
  ### HTTP request headers
478
481
 
479
- - **Content-Type**: application/json
480
- - **Accept**: application/json
481
-
482
-
482
+ - **Content-Type**: application/json
483
+ - **Accept**: application/json
483
484
 
484
485
  # **update_for_dash_using_put1**
486
+
485
487
  > SubscriptionResponse update_for_dash_using_put1(bodydash_id)
486
488
 
487
489
  Update dashboard subscription
488
490
 
489
491
  ### Example
492
+
490
493
  ```ruby
491
494
  # load the gem
492
- require 'stcloud'
495
+ require 'SematextCloud'
493
496
  # setup authorization
494
- stcloud.configure do |config|
497
+ SematextCloud.configure do |config|
495
498
  # Configure API key authorization: api_key
496
499
  config.api_key['Authorization'] = 'YOUR API KEY'
497
500
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
498
501
  #config.api_key_prefix['Authorization'] = 'Bearer'
499
502
  end
500
503
 
501
- api_instance = stcloud::SubscriptionsApi.new
502
- body = stcloud::SubscriptionDashboardDto.new # SubscriptionDashboardDto | subscription
504
+ api_instance = SematextCloud::SubscriptionsApi.new
505
+ body = SematextCloud::SubscriptionDashboardDto.new # SubscriptionDashboardDto | subscription
503
506
  dash_id = 789 # Integer | dashId
504
507
 
505
508
 
@@ -507,7 +510,7 @@ begin
507
510
  #Update dashboard subscription
508
511
  result = api_instance.update_for_dash_using_put1(bodydash_id)
509
512
  p result
510
- rescue stcloud::ApiError => e
513
+ rescue SematextCloud::ApiError => e
511
514
  puts "Exception when calling SubscriptionsApi->update_for_dash_using_put1: #{e}"
512
515
  end
513
516
  ```
@@ -529,5 +532,5 @@ end
529
532
 
530
533
  ### HTTP request headers
531
534
 
532
- - **Content-Type**: application/json
533
- - **Accept**: application/json
535
+ - **Content-Type**: application/json
536
+ - **Accept**: application/json
@@ -1,6 +1,7 @@
1
- # stcloud::SubscriptionsResponse
1
+ # SematextCloud::SubscriptionsResponse
2
2
 
3
3
  ## Properties
4
+
4
5
  | Name | Type | Description | Notes |
5
6
  | ----------- | --------------------------------------------------------------- | ----------- | ---------- |
6
7
  | **data** | [**SubscriptionsResponseEntry**](SubscriptionsResponseEntry.md) | | [optional] |
@@ -1,6 +1,7 @@
1
- # stcloud::SubscriptionsResponseEntry
1
+ # SematextCloud::SubscriptionsResponseEntry
2
2
 
3
3
  ## Properties
4
+
4
5
  | Name | Type | Description | Notes |
5
6
  | ----------------- | ------------------------------------------------ | ----------- | ---------- |
6
7
  | **subscriptions** | [**Array<Subscription>**](Subscription.md) | | [optional] |