SematextCloud 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (351) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +70 -0
  3. data/README.md +1 -1
  4. data/SematextCloud.gemspec +4 -5
  5. data/docs/AlertNotification.md +2 -1
  6. data/docs/AlertNotificationRequest.md +2 -1
  7. data/docs/AlertNotificationsApi.md +19 -17
  8. data/docs/AlertRule.md +3 -1
  9. data/docs/AlertRuleResponse.md +2 -1
  10. data/docs/AlertRuleResponseEntry.md +2 -1
  11. data/docs/AlertRuleScheduleTimeRangeDto.md +2 -1
  12. data/docs/AlertRuleScheduleWeekdayDto.md +2 -1
  13. data/docs/AlertRulesResponse.md +2 -1
  14. data/docs/AlertRulesResponseEntry.md +2 -1
  15. data/docs/AlertsApi.md +42 -40
  16. data/docs/App.md +2 -1
  17. data/docs/AppDescription.md +2 -1
  18. data/docs/AppMetadata.md +2 -1
  19. data/docs/AppResponse.md +2 -1
  20. data/docs/AppResponseEntry.md +2 -1
  21. data/docs/AppTypesResponse.md +2 -1
  22. data/docs/AppTypesResponseEntry.md +2 -1
  23. data/docs/AppsApi.md +93 -88
  24. data/docs/AppsResponse.md +2 -1
  25. data/docs/AppsResponseEntry.md +2 -1
  26. data/docs/AwsSettingsControllerApi.md +17 -15
  27. data/docs/BasicAuthMethodDto.md +2 -1
  28. data/docs/BasicOrganizationDto.md +2 -1
  29. data/docs/BillingApi.md +32 -30
  30. data/docs/BillingInfo.md +2 -1
  31. data/docs/ChargesDetailsResponseDto.md +2 -1
  32. data/docs/CloudWatchSettings.md +2 -1
  33. data/docs/CloudWatchSettingsResponse.md +2 -1
  34. data/docs/CloudWatchSettingsResponseEntry.md +2 -1
  35. data/docs/CreateAppInfo.md +2 -1
  36. data/docs/CreateTokenDto.md +2 -1
  37. data/docs/DailyDto.md +10 -7
  38. data/docs/DayUsageData.md +23 -23
  39. data/docs/Dimension.md +2 -1
  40. data/docs/Error.md +2 -1
  41. data/docs/EventDto.md +2 -1
  42. data/docs/FilterValue.md +2 -1
  43. data/docs/GenericApiResponse.md +2 -1
  44. data/docs/GenericMapBasedApiResponse.md +2 -1
  45. data/docs/Invitation.md +2 -1
  46. data/docs/Invoice.md +2 -1
  47. data/docs/InvoiceResponse.md +2 -1
  48. data/docs/InvoiceResponseEntry.md +2 -1
  49. data/docs/LimitChangeEventDTO.md +2 -1
  50. data/docs/LogsAppApi.md +10 -8
  51. data/docs/LogsUsageApiControllerApi.md +9 -7
  52. data/docs/MailReportResponse.md +2 -1
  53. data/docs/MailReportResponseResponseEntry.md +2 -1
  54. data/docs/MinPeriodFeePeriod.md +17 -14
  55. data/docs/MonitoringAppApi.md +10 -8
  56. data/docs/NotificationIntegration.md +2 -1
  57. data/docs/NotificationsResponse.md +2 -1
  58. data/docs/NotificationsResponseEntry.md +2 -1
  59. data/docs/Plan.md +2 -1
  60. data/docs/PlansResponse.md +2 -1
  61. data/docs/PlansResponseEntry.md +2 -1
  62. data/docs/ReportInfo.md +13 -11
  63. data/docs/ResetPasswordApi.md +10 -8
  64. data/docs/ServiceIntegration.md +16 -15
  65. data/docs/Subscription.md +20 -18
  66. data/docs/SubscriptionDashboardDto.md +2 -1
  67. data/docs/SubscriptionDto.md +17 -15
  68. data/docs/SubscriptionResponse.md +2 -1
  69. data/docs/SubscriptionResponseEntry.md +2 -1
  70. data/docs/SubscriptionsApi.md +121 -118
  71. data/docs/SubscriptionsResponse.md +2 -1
  72. data/docs/SubscriptionsResponseEntry.md +2 -1
  73. data/docs/TagApiControllerApi.md +102 -33
  74. data/docs/TagNamesResponse.md +2 -1
  75. data/docs/TagsGrouped.md +8 -0
  76. data/docs/TagsGroupedResponse.md +7 -0
  77. data/docs/TokenDto.md +2 -1
  78. data/docs/TokenResponse.md +2 -1
  79. data/docs/TokenResponseEntry.md +2 -1
  80. data/docs/TokensApiControllerApi.md +51 -49
  81. data/docs/TokensResponse.md +2 -1
  82. data/docs/TokensResponseEntry.md +2 -1
  83. data/docs/UpdateAppInfo.md +2 -1
  84. data/docs/UpdatePlanResponse.md +2 -1
  85. data/docs/UpdatePlanResponseDto.md +2 -1
  86. data/docs/UpdatePlanResponseEntry.md +2 -1
  87. data/docs/UpdateSubscriptionDto.md +2 -1
  88. data/docs/UpdateTokenDto.md +2 -1
  89. data/docs/UsageDto.md +6 -3
  90. data/docs/UsageMultiResponse.md +2 -1
  91. data/docs/UsageMultiResponseEntry.md +2 -1
  92. data/docs/UsageResponse.md +2 -1
  93. data/docs/UsageResponseEntry.md +2 -1
  94. data/docs/UserInfo.md +2 -1
  95. data/docs/UserPermissions.md +7 -6
  96. data/docs/UserRole.md +7 -6
  97. data/lib/SematextCloud/api/alert_notifications_api.rb +47 -42
  98. data/lib/SematextCloud/api/alerts_api.rb +69 -60
  99. data/lib/SematextCloud/api/apps_api.rb +138 -119
  100. data/lib/SematextCloud/api/aws_settings_controller_api.rb +23 -22
  101. data/lib/SematextCloud/api/billing_api.rb +62 -57
  102. data/lib/SematextCloud/api/logs_app_api.rb +21 -20
  103. data/lib/{stcloud → SematextCloud}/api/logs_usage_api_controller_api.rb +2 -2
  104. data/lib/SematextCloud/api/monitoring_app_api.rb +21 -20
  105. data/lib/SematextCloud/api/reset_password_api.rb +21 -20
  106. data/lib/SematextCloud/api/subscriptions_api.rb +194 -163
  107. data/lib/SematextCloud/api/tag_api_controller_api.rb +132 -50
  108. data/lib/SematextCloud/api/tokens_api_controller_api.rb +97 -86
  109. data/lib/SematextCloud/api_client.rb +41 -42
  110. data/lib/SematextCloud/api_error.rb +21 -2
  111. data/lib/SematextCloud/configuration.rb +5 -9
  112. data/lib/{stcloud → SematextCloud}/models/alert_notification.rb +5 -5
  113. data/lib/SematextCloud/models/alert_notification_request.rb +49 -26
  114. data/lib/SematextCloud/models/alert_rule.rb +197 -153
  115. data/lib/{stcloud/models/app_response.rb → SematextCloud/models/alert_rule_response.rb} +6 -6
  116. data/lib/{stcloud → SematextCloud}/models/alert_rule_response_entry.rb +5 -5
  117. data/lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb +44 -21
  118. data/lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb +49 -26
  119. data/lib/SematextCloud/models/alert_rules_response.rb +235 -0
  120. data/lib/{stcloud → SematextCloud}/models/alert_rules_response_entry.rb +5 -5
  121. data/lib/SematextCloud/models/app.rb +163 -93
  122. data/lib/SematextCloud/models/app_description.rb +41 -18
  123. data/lib/SematextCloud/models/app_metadata.rb +60 -37
  124. data/lib/{stcloud/models/alert_rule_response.rb → SematextCloud/models/app_response.rb} +6 -6
  125. data/lib/{stcloud → SematextCloud}/models/app_response_entry.rb +5 -5
  126. data/lib/{stcloud → SematextCloud}/models/app_types_response.rb +5 -5
  127. data/lib/{stcloud → SematextCloud}/models/app_types_response_entry.rb +5 -5
  128. data/lib/{stcloud/models/alert_rules_response.rb → SematextCloud/models/apps_response.rb} +6 -6
  129. data/lib/{stcloud → SematextCloud}/models/apps_response_entry.rb +5 -5
  130. data/lib/SematextCloud/models/basic_auth_method_dto.rb +47 -24
  131. data/lib/SematextCloud/models/basic_organization_dto.rb +51 -28
  132. data/lib/SematextCloud/models/billing_info.rb +48 -25
  133. data/lib/{stcloud → SematextCloud}/models/charges_details_response_dto.rb +5 -5
  134. data/lib/SematextCloud/models/cloud_watch_settings.rb +56 -33
  135. data/lib/SematextCloud/models/cloud_watch_settings_response.rb +235 -0
  136. data/lib/{stcloud → SematextCloud}/models/cloud_watch_settings_response_entry.rb +5 -5
  137. data/lib/SematextCloud/models/create_app_info.rb +53 -31
  138. data/lib/SematextCloud/models/create_token_dto.rb +46 -23
  139. data/lib/{stcloud → SematextCloud}/models/daily_dto.rb +36 -18
  140. data/lib/{stcloud → SematextCloud}/models/day_usage_data.rb +5 -5
  141. data/lib/{stcloud → SematextCloud}/models/dimension.rb +5 -5
  142. data/lib/SematextCloud/models/error.rb +43 -20
  143. data/lib/{stcloud → SematextCloud}/models/event_dto.rb +7 -7
  144. data/lib/SematextCloud/models/filter_value.rb +53 -30
  145. data/lib/SematextCloud/models/generic_api_response.rb +46 -24
  146. data/lib/{stcloud → SematextCloud}/models/generic_map_based_api_response.rb +5 -5
  147. data/lib/SematextCloud/models/invitation.rb +74 -52
  148. data/lib/{stcloud → SematextCloud}/models/invoice.rb +5 -5
  149. data/lib/{stcloud/models/notifications_response.rb → SematextCloud/models/invoice_response.rb} +6 -6
  150. data/lib/{stcloud → SematextCloud}/models/invoice_response_entry.rb +5 -5
  151. data/lib/{stcloud → SematextCloud}/models/limit_change_event_dto.rb +5 -5
  152. data/lib/{stcloud → SematextCloud}/models/mail_report_response.rb +5 -5
  153. data/lib/{stcloud/models/subscription_response_entry.rb → SematextCloud/models/mail_report_response_response_entry.rb} +6 -6
  154. data/lib/{stcloud → SematextCloud}/models/min_period_fee_period.rb +24 -6
  155. data/lib/SematextCloud/models/notification_integration.rb +73 -50
  156. data/lib/SematextCloud/models/notifications_response.rb +235 -0
  157. data/lib/{stcloud → SematextCloud}/models/notifications_response_entry.rb +5 -5
  158. data/lib/SematextCloud/models/plan.rb +80 -57
  159. data/lib/{stcloud → SematextCloud}/models/plans_response.rb +5 -5
  160. data/lib/{stcloud → SematextCloud}/models/plans_response_entry.rb +5 -5
  161. data/lib/SematextCloud/models/report_info.rb +69 -37
  162. data/lib/SematextCloud/models/service_integration.rb +71 -48
  163. data/lib/{stcloud → SematextCloud}/models/subscription.rb +15 -6
  164. data/lib/SematextCloud/models/subscription_dashboard_dto.rb +72 -49
  165. data/lib/SematextCloud/models/subscription_dto.rb +85 -53
  166. data/lib/{stcloud/models/cloud_watch_settings_response.rb → SematextCloud/models/subscription_response.rb} +6 -6
  167. data/lib/{stcloud/models/mail_report_response_response_entry.rb → SematextCloud/models/subscription_response_entry.rb} +6 -6
  168. data/lib/{stcloud → SematextCloud}/models/subscriptions_response.rb +5 -5
  169. data/lib/{stcloud → SematextCloud}/models/subscriptions_response_entry.rb +5 -5
  170. data/lib/{stcloud → SematextCloud}/models/tag_names_response.rb +5 -5
  171. data/lib/SematextCloud/models/tags_grouped.rb +227 -0
  172. data/lib/SematextCloud/models/tags_grouped_response.rb +213 -0
  173. data/lib/{stcloud → SematextCloud}/models/token_dto.rb +5 -5
  174. data/lib/{stcloud → SematextCloud}/models/token_response.rb +5 -5
  175. data/lib/{stcloud → SematextCloud}/models/token_response_entry.rb +5 -5
  176. data/lib/{stcloud/models/subscription_response.rb → SematextCloud/models/tokens_response.rb} +6 -6
  177. data/lib/{stcloud → SematextCloud}/models/tokens_response_entry.rb +5 -5
  178. data/lib/SematextCloud/models/update_app_info.rb +64 -41
  179. data/lib/{stcloud → SematextCloud}/models/update_plan_response.rb +5 -5
  180. data/lib/{stcloud → SematextCloud}/models/update_plan_response_dto.rb +5 -5
  181. data/lib/{stcloud → SematextCloud}/models/update_plan_response_entry.rb +5 -5
  182. data/lib/SematextCloud/models/update_subscription_dto.rb +42 -19
  183. data/lib/SematextCloud/models/update_token_dto.rb +44 -21
  184. data/lib/{stcloud → SematextCloud}/models/usage_dto.rb +39 -21
  185. data/lib/{stcloud → SematextCloud}/models/usage_multi_response.rb +5 -5
  186. data/lib/{stcloud → SematextCloud}/models/usage_multi_response_entry.rb +5 -5
  187. data/lib/{stcloud → SematextCloud}/models/usage_response.rb +5 -5
  188. data/lib/{stcloud → SematextCloud}/models/usage_response_entry.rb +5 -5
  189. data/lib/SematextCloud/models/user_info.rb +42 -19
  190. data/lib/SematextCloud/models/user_permissions.rb +48 -25
  191. data/lib/SematextCloud/models/user_role.rb +53 -30
  192. data/lib/SematextCloud/version.rb +2 -3
  193. data/lib/SematextCloud.rb +59 -7
  194. data/spec/api/alert_notifications_api_spec.rb +4 -4
  195. data/spec/api/alerts_api_spec.rb +4 -4
  196. data/spec/api/apps_api_spec.rb +14 -14
  197. data/spec/api/aws_settings_controller_api_spec.rb +6 -6
  198. data/spec/api/billing_api_spec.rb +6 -6
  199. data/spec/api/logs_app_api_spec.rb +4 -4
  200. data/spec/api/logs_usage_api_controller_api_spec.rb +4 -4
  201. data/spec/api/monitoring_app_api_spec.rb +4 -4
  202. data/spec/api/reset_password_api_spec.rb +4 -4
  203. data/spec/api/subscriptions_api_spec.rb +16 -16
  204. data/spec/api/tag_api_controller_api_spec.rb +24 -6
  205. data/spec/api/tokens_api_controller_api_spec.rb +8 -8
  206. data/spec/api_client_spec.rb +30 -30
  207. data/spec/configuration_spec.rb +4 -4
  208. data/spec/models/alert_notification_request_spec.rb +4 -4
  209. data/spec/models/alert_notification_spec.rb +4 -4
  210. data/spec/models/alert_rule_response_entry_spec.rb +4 -4
  211. data/spec/models/alert_rule_response_spec.rb +4 -4
  212. data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +4 -4
  213. data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +4 -4
  214. data/spec/models/alert_rule_spec.rb +14 -4
  215. data/spec/models/alert_rules_response_entry_spec.rb +4 -4
  216. data/spec/models/alert_rules_response_spec.rb +4 -4
  217. data/spec/models/app_description_spec.rb +4 -4
  218. data/spec/models/app_metadata_spec.rb +4 -4
  219. data/spec/models/app_response_entry_spec.rb +4 -4
  220. data/spec/models/app_response_spec.rb +4 -4
  221. data/spec/models/app_spec.rb +4 -4
  222. data/spec/models/app_types_response_entry_spec.rb +4 -4
  223. data/spec/models/app_types_response_spec.rb +4 -4
  224. data/spec/models/apps_response_entry_spec.rb +4 -4
  225. data/spec/models/apps_response_spec.rb +4 -4
  226. data/spec/models/basic_auth_method_dto_spec.rb +4 -4
  227. data/spec/models/basic_organization_dto_spec.rb +4 -4
  228. data/spec/models/billing_info_spec.rb +4 -4
  229. data/spec/models/charges_details_response_dto_spec.rb +4 -4
  230. data/spec/models/cloud_watch_settings_response_entry_spec.rb +4 -4
  231. data/spec/models/cloud_watch_settings_response_spec.rb +4 -4
  232. data/spec/models/cloud_watch_settings_spec.rb +4 -4
  233. data/spec/models/create_app_info_spec.rb +4 -4
  234. data/spec/models/create_token_dto_spec.rb +4 -4
  235. data/spec/models/daily_dto_spec.rb +18 -6
  236. data/spec/models/day_usage_data_spec.rb +4 -4
  237. data/spec/models/dimension_spec.rb +4 -4
  238. data/spec/models/error_spec.rb +4 -4
  239. data/spec/models/event_dto_spec.rb +5 -5
  240. data/spec/models/filter_value_spec.rb +4 -4
  241. data/spec/models/generic_api_response_spec.rb +4 -4
  242. data/spec/models/generic_map_based_api_response_spec.rb +4 -4
  243. data/spec/models/invitation_spec.rb +4 -4
  244. data/spec/models/invoice_response_entry_spec.rb +4 -4
  245. data/spec/models/invoice_response_spec.rb +4 -4
  246. data/spec/models/invoice_spec.rb +4 -4
  247. data/spec/models/limit_change_event_dto_spec.rb +4 -4
  248. data/spec/models/mail_report_response_response_entry_spec.rb +4 -4
  249. data/spec/models/mail_report_response_spec.rb +4 -4
  250. data/spec/models/min_period_fee_period_spec.rb +16 -4
  251. data/spec/models/notification_integration_spec.rb +4 -4
  252. data/spec/models/notifications_response_entry_spec.rb +4 -4
  253. data/spec/models/notifications_response_spec.rb +4 -4
  254. data/spec/models/plan_spec.rb +5 -5
  255. data/spec/models/plans_response_entry_spec.rb +4 -4
  256. data/spec/models/plans_response_spec.rb +4 -4
  257. data/spec/models/report_info_spec.rb +10 -4
  258. data/spec/models/service_integration_spec.rb +4 -4
  259. data/spec/models/subscription_dashboard_dto_spec.rb +4 -4
  260. data/spec/models/subscription_dto_spec.rb +10 -4
  261. data/spec/models/subscription_response_entry_spec.rb +4 -4
  262. data/spec/models/subscription_response_spec.rb +4 -4
  263. data/spec/models/subscription_spec.rb +10 -4
  264. data/spec/models/subscriptions_response_entry_spec.rb +4 -4
  265. data/spec/models/subscriptions_response_spec.rb +4 -4
  266. data/spec/models/tag_names_response_spec.rb +4 -4
  267. data/spec/models/tags_grouped_response_spec.rb +40 -0
  268. data/spec/models/{data_series_filter_spec.rb → tags_grouped_spec.rb} +9 -20
  269. data/spec/models/token_dto_spec.rb +4 -4
  270. data/spec/models/token_response_entry_spec.rb +4 -4
  271. data/spec/models/token_response_spec.rb +4 -4
  272. data/spec/models/tokens_response_entry_spec.rb +4 -4
  273. data/spec/models/tokens_response_spec.rb +4 -4
  274. data/spec/models/update_app_info_spec.rb +4 -4
  275. data/spec/models/update_plan_response_dto_spec.rb +4 -4
  276. data/spec/models/update_plan_response_entry_spec.rb +4 -4
  277. data/spec/models/update_plan_response_spec.rb +4 -4
  278. data/spec/models/update_subscription_dto_spec.rb +4 -4
  279. data/spec/models/update_token_dto_spec.rb +4 -4
  280. data/spec/models/usage_dto_spec.rb +22 -10
  281. data/spec/models/usage_multi_response_entry_spec.rb +4 -4
  282. data/spec/models/usage_multi_response_spec.rb +4 -4
  283. data/spec/models/usage_response_entry_spec.rb +4 -4
  284. data/spec/models/usage_response_spec.rb +4 -4
  285. data/spec/models/user_info_spec.rb +4 -4
  286. data/spec/models/user_permissions_spec.rb +4 -4
  287. data/spec/models/user_role_spec.rb +4 -4
  288. data/spec/spec_helper.rb +2 -2
  289. metadata +135 -192
  290. data/docs/DataSeriesFilter.md +0 -8
  291. data/docs/DataSeriesRequest.md +0 -12
  292. data/docs/MetricsApi.md +0 -227
  293. data/docs/SavedQueriesApi.md +0 -220
  294. data/docs/SavedQuery.md +0 -18
  295. data/lib/SematextCloud/api/metrics_api.rb +0 -247
  296. data/lib/SematextCloud/api/saved_queries_api.rb +0 -237
  297. data/lib/SematextCloud/models/data_series_filter.rb +0 -237
  298. data/lib/SematextCloud/models/data_series_request.rb +0 -283
  299. data/lib/SematextCloud/models/saved_query.rb +0 -291
  300. data/lib/stcloud/api/alert_notifications_api.rb +0 -142
  301. data/lib/stcloud/api/alerts_api.rb +0 -292
  302. data/lib/stcloud/api/apps_api.rb +0 -452
  303. data/lib/stcloud/api/aws_settings_controller_api.rb +0 -84
  304. data/lib/stcloud/api/billing_api.rb +0 -202
  305. data/lib/stcloud/api/logs_app_api.rb +0 -76
  306. data/lib/stcloud/api/monitoring_app_api.rb +0 -76
  307. data/lib/stcloud/api/reset_password_api.rb +0 -76
  308. data/lib/stcloud/api/subscriptions_api.rb +0 -610
  309. data/lib/stcloud/api/tag_api_controller_api.rb +0 -250
  310. data/lib/stcloud/api/tokens_api_controller_api.rb +0 -324
  311. data/lib/stcloud/api_client.rb +0 -388
  312. data/lib/stcloud/api_error.rb +0 -57
  313. data/lib/stcloud/configuration.rb +0 -205
  314. data/lib/stcloud/models/alert_notification_request.rb +0 -235
  315. data/lib/stcloud/models/alert_rule.rb +0 -675
  316. data/lib/stcloud/models/alert_rule_schedule_time_range_dto.rb +0 -215
  317. data/lib/stcloud/models/alert_rule_schedule_weekday_dto.rb +0 -244
  318. data/lib/stcloud/models/app.rb +0 -489
  319. data/lib/stcloud/models/app_description.rb +0 -206
  320. data/lib/stcloud/models/app_metadata.rb +0 -291
  321. data/lib/stcloud/models/apps_response.rb +0 -235
  322. data/lib/stcloud/models/basic_auth_method_dto.rb +0 -249
  323. data/lib/stcloud/models/basic_organization_dto.rb +0 -269
  324. data/lib/stcloud/models/billing_info.rb +0 -224
  325. data/lib/stcloud/models/cloud_watch_settings.rb +0 -279
  326. data/lib/stcloud/models/create_app_info.rb +0 -242
  327. data/lib/stcloud/models/create_token_dto.rb +0 -224
  328. data/lib/stcloud/models/error.rb +0 -215
  329. data/lib/stcloud/models/filter_value.rb +0 -253
  330. data/lib/stcloud/models/generic_api_response.rb +0 -236
  331. data/lib/stcloud/models/invitation.rb +0 -348
  332. data/lib/stcloud/models/invoice_response.rb +0 -235
  333. data/lib/stcloud/models/notification_integration.rb +0 -347
  334. data/lib/stcloud/models/plan.rb +0 -360
  335. data/lib/stcloud/models/report_info.rb +0 -270
  336. data/lib/stcloud/models/service_integration.rb +0 -305
  337. data/lib/stcloud/models/subscription_dashboard_dto.rb +0 -342
  338. data/lib/stcloud/models/subscription_dto.rb +0 -351
  339. data/lib/stcloud/models/tokens_response.rb +0 -235
  340. data/lib/stcloud/models/update_app_info.rb +0 -312
  341. data/lib/stcloud/models/update_subscription_dto.rb +0 -206
  342. data/lib/stcloud/models/update_token_dto.rb +0 -215
  343. data/lib/stcloud/models/user_info.rb +0 -206
  344. data/lib/stcloud/models/user_permissions.rb +0 -224
  345. data/lib/stcloud/models/user_role.rb +0 -270
  346. data/lib/stcloud/version.rb +0 -14
  347. data/lib/stcloud.rb +0 -128
  348. data/spec/api/metrics_api_spec.rb +0 -83
  349. data/spec/api/saved_queries_api_spec.rb +0 -80
  350. data/spec/models/data_series_request_spec.rb +0 -81
  351. data/spec/models/saved_query_spec.rb +0 -113
@@ -6,8 +6,7 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
10
-
9
+ Swagger Codegen version: 3.0.34
11
10
  =end
12
11
 
13
12
  require 'date'
@@ -52,32 +51,45 @@ module SematextCloud
52
51
  end
53
52
 
54
53
  # Attribute type mapping.
55
- def self.swagger_types
54
+ def self.openapi_types
56
55
  {
57
- :'role' => :'String',
58
- :'role_status' => :'String',
59
- :'user_email' => :'String'
56
+ :'role' => :'Object',
57
+ :'role_status' => :'Object',
58
+ :'user_email' => :'Object'
60
59
  }
61
60
  end
62
61
 
62
+ # List of attributes with nullable: true
63
+ def self.openapi_nullable
64
+ Set.new([
65
+ ])
66
+ end
67
+
63
68
  # Initializes the object
64
69
  # @param [Hash] attributes Model attributes in the form of hash
65
70
  def initialize(attributes = {})
66
- return unless attributes.is_a?(Hash)
71
+ if (!attributes.is_a?(Hash))
72
+ fail ArgumentError, "The input argument (attributes) must be a hash in `SematextCloud::UserRole` initialize method"
73
+ end
67
74
 
68
- # convert string to symbol for hash key
69
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
75
+ # check to see if the attribute exists and convert string to symbol for hash key
76
+ attributes = attributes.each_with_object({}) { |(k, v), h|
77
+ if (!self.class.attribute_map.key?(k.to_sym))
78
+ fail ArgumentError, "`#{k}` is not a valid attribute in `SematextCloud::UserRole`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
79
+ end
80
+ h[k.to_sym] = v
81
+ }
70
82
 
71
- if attributes.has_key?(:'role')
83
+ if attributes.key?(:'role')
72
84
  self.role = attributes[:'role']
73
85
  end
74
86
 
75
- if attributes.has_key?(:'roleStatus')
76
- self.role_status = attributes[:'roleStatus']
87
+ if attributes.key?(:'role_status')
88
+ self.role_status = attributes[:'role_status']
77
89
  end
78
90
 
79
- if attributes.has_key?(:'userEmail')
80
- self.user_email = attributes[:'userEmail']
91
+ if attributes.key?(:'user_email')
92
+ self.user_email = attributes[:'user_email']
81
93
  end
82
94
  end
83
95
 
@@ -91,9 +103,9 @@ module SematextCloud
91
103
  # Check to see if the all the properties in the model are valid
92
104
  # @return true if the model is valid
93
105
  def valid?
94
- role_validator = EnumAttributeValidator.new('String', ['SUPER_USER', 'OWNER', 'ADMIN', 'USER', 'DEMO', 'ANONYMOUS'])
106
+ role_validator = EnumAttributeValidator.new('Object', ['SUPER_USER', 'OWNER', 'ADMIN', 'USER', 'DEMO', 'ANONYMOUS'])
95
107
  return false unless role_validator.valid?(@role)
96
- role_status_validator = EnumAttributeValidator.new('String', ['INACTIVE', 'ACTIVE'])
108
+ role_status_validator = EnumAttributeValidator.new('Object', ['INACTIVE', 'ACTIVE'])
97
109
  return false unless role_status_validator.valid?(@role_status)
98
110
  true
99
111
  end
@@ -101,9 +113,9 @@ module SematextCloud
101
113
  # Custom attribute writer method checking allowed values (enum).
102
114
  # @param [Object] role Object to be assigned
103
115
  def role=(role)
104
- validator = EnumAttributeValidator.new('String', ['SUPER_USER', 'OWNER', 'ADMIN', 'USER', 'DEMO', 'ANONYMOUS'])
116
+ validator = EnumAttributeValidator.new('Object', ['SUPER_USER', 'OWNER', 'ADMIN', 'USER', 'DEMO', 'ANONYMOUS'])
105
117
  unless validator.valid?(role)
106
- fail ArgumentError, 'invalid value for "role", must be one of #{validator.allowable_values}.'
118
+ fail ArgumentError, "invalid value for \"role\", must be one of #{validator.allowable_values}."
107
119
  end
108
120
  @role = role
109
121
  end
@@ -111,9 +123,9 @@ module SematextCloud
111
123
  # Custom attribute writer method checking allowed values (enum).
112
124
  # @param [Object] role_status Object to be assigned
113
125
  def role_status=(role_status)
114
- validator = EnumAttributeValidator.new('String', ['INACTIVE', 'ACTIVE'])
126
+ validator = EnumAttributeValidator.new('Object', ['INACTIVE', 'ACTIVE'])
115
127
  unless validator.valid?(role_status)
116
- fail ArgumentError, 'invalid value for "role_status", must be one of #{validator.allowable_values}.'
128
+ fail ArgumentError, "invalid value for \"role_status\", must be one of #{validator.allowable_values}."
117
129
  end
118
130
  @role_status = role_status
119
131
  end
@@ -135,26 +147,35 @@ module SematextCloud
135
147
  end
136
148
 
137
149
  # Calculates hash code according to all attributes.
138
- # @return [Fixnum] Hash code
150
+ # @return [Integer] Hash code
139
151
  def hash
140
152
  [role, role_status, user_email].hash
141
153
  end
142
154
 
155
+ # Builds the object from hash
156
+ # @param [Hash] attributes Model attributes in the form of hash
157
+ # @return [Object] Returns the model itself
158
+ def self.build_from_hash(attributes)
159
+ new.build_from_hash(attributes)
160
+ end
161
+
143
162
  # Builds the object from hash
144
163
  # @param [Hash] attributes Model attributes in the form of hash
145
164
  # @return [Object] Returns the model itself
146
165
  def build_from_hash(attributes)
147
166
  return nil unless attributes.is_a?(Hash)
148
- self.class.swagger_types.each_pair do |key, type|
167
+ self.class.openapi_types.each_pair do |key, type|
149
168
  if type =~ /\AArray<(.*)>/i
150
- # check to ensure the input is an array given that the the attribute
169
+ # check to ensure the input is an array given that the attribute
151
170
  # is documented as an array but the input is not
152
171
  if attributes[self.class.attribute_map[key]].is_a?(Array)
153
172
  self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
154
173
  end
155
174
  elsif !attributes[self.class.attribute_map[key]].nil?
156
175
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
157
- end # or else data not found in attributes(hash), not an issue as the data can be optional
176
+ elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
177
+ self.send("#{key}=", nil)
178
+ end
158
179
  end
159
180
 
160
181
  self
@@ -176,7 +197,7 @@ module SematextCloud
176
197
  value.to_i
177
198
  when :Float
178
199
  value.to_f
179
- when :BOOLEAN
200
+ when :Boolean
180
201
  if value.to_s =~ /\A(true|t|yes|y|1)\z/i
181
202
  true
182
203
  else
@@ -197,8 +218,7 @@ module SematextCloud
197
218
  end
198
219
  end
199
220
  else # model
200
- temp_model = SematextCloud.const_get(type).new
201
- temp_model.build_from_hash(value)
221
+ SematextCloud.const_get(type).build_from_hash(value)
202
222
  end
203
223
  end
204
224
 
@@ -220,7 +240,11 @@ module SematextCloud
220
240
  hash = {}
221
241
  self.class.attribute_map.each_pair do |attr, param|
222
242
  value = self.send(attr)
223
- next if value.nil?
243
+ if value.nil?
244
+ is_nullable = self.class.openapi_nullable.include?(attr)
245
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
246
+ end
247
+
224
248
  hash[param] = _to_hash(value)
225
249
  end
226
250
  hash
@@ -242,6 +266,5 @@ module SematextCloud
242
266
  else
243
267
  value
244
268
  end
245
- end
246
- end
269
+ end end
247
270
  end
@@ -6,10 +6,9 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
10
-
9
+ Swagger Codegen version: 3.0.34
11
10
  =end
12
11
 
13
12
  module SematextCloud
14
- VERSION = '0.3.0'
13
+ VERSION = '0.5.0'
15
14
  end
data/lib/SematextCloud.rb CHANGED
@@ -6,8 +6,7 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.12
10
-
9
+ Swagger Codegen version: 3.0.34
11
10
  =end
12
11
 
13
12
  # Common files
@@ -17,30 +16,83 @@ require 'SematextCloud/version'
17
16
  require 'SematextCloud/configuration'
18
17
 
19
18
  # Models
19
+ require 'SematextCloud/models/alert_notification'
20
20
  require 'SematextCloud/models/alert_notification_request'
21
21
  require 'SematextCloud/models/alert_rule'
22
+ require 'SematextCloud/models/alert_rule_response'
23
+ require 'SematextCloud/models/alert_rule_response_entry'
22
24
  require 'SematextCloud/models/alert_rule_schedule_time_range_dto'
23
25
  require 'SematextCloud/models/alert_rule_schedule_weekday_dto'
26
+ require 'SematextCloud/models/alert_rules_response'
27
+ require 'SematextCloud/models/alert_rules_response_entry'
24
28
  require 'SematextCloud/models/app'
25
29
  require 'SematextCloud/models/app_description'
26
30
  require 'SematextCloud/models/app_metadata'
31
+ require 'SematextCloud/models/app_response'
32
+ require 'SematextCloud/models/app_response_entry'
33
+ require 'SematextCloud/models/app_types_response'
34
+ require 'SematextCloud/models/app_types_response_entry'
35
+ require 'SematextCloud/models/apps_response'
36
+ require 'SematextCloud/models/apps_response_entry'
27
37
  require 'SematextCloud/models/basic_auth_method_dto'
28
38
  require 'SematextCloud/models/basic_organization_dto'
29
39
  require 'SematextCloud/models/billing_info'
40
+ require 'SematextCloud/models/charges_details_response_dto'
30
41
  require 'SematextCloud/models/cloud_watch_settings'
42
+ require 'SematextCloud/models/cloud_watch_settings_response'
43
+ require 'SematextCloud/models/cloud_watch_settings_response_entry'
31
44
  require 'SematextCloud/models/create_app_info'
32
- require 'SematextCloud/models/data_series_filter'
33
- require 'SematextCloud/models/data_series_request'
45
+ require 'SematextCloud/models/create_token_dto'
46
+ require 'SematextCloud/models/daily_dto'
47
+ require 'SematextCloud/models/day_usage_data'
48
+ require 'SematextCloud/models/dimension'
34
49
  require 'SematextCloud/models/error'
50
+ require 'SematextCloud/models/event_dto'
35
51
  require 'SematextCloud/models/filter_value'
36
52
  require 'SematextCloud/models/generic_api_response'
53
+ require 'SematextCloud/models/generic_map_based_api_response'
37
54
  require 'SematextCloud/models/invitation'
55
+ require 'SematextCloud/models/invoice'
56
+ require 'SematextCloud/models/invoice_response'
57
+ require 'SematextCloud/models/invoice_response_entry'
58
+ require 'SematextCloud/models/limit_change_event_dto'
59
+ require 'SematextCloud/models/mail_report_response'
60
+ require 'SematextCloud/models/mail_report_response_response_entry'
61
+ require 'SematextCloud/models/min_period_fee_period'
38
62
  require 'SematextCloud/models/notification_integration'
63
+ require 'SematextCloud/models/notifications_response'
64
+ require 'SematextCloud/models/notifications_response_entry'
39
65
  require 'SematextCloud/models/plan'
66
+ require 'SematextCloud/models/plans_response'
67
+ require 'SematextCloud/models/plans_response_entry'
40
68
  require 'SematextCloud/models/report_info'
41
- require 'SematextCloud/models/saved_query'
42
69
  require 'SematextCloud/models/service_integration'
70
+ require 'SematextCloud/models/subscription'
71
+ require 'SematextCloud/models/subscription_dashboard_dto'
72
+ require 'SematextCloud/models/subscription_dto'
73
+ require 'SematextCloud/models/subscription_response'
74
+ require 'SematextCloud/models/subscription_response_entry'
75
+ require 'SematextCloud/models/subscriptions_response'
76
+ require 'SematextCloud/models/subscriptions_response_entry'
77
+ require 'SematextCloud/models/tag_names_response'
78
+ require 'SematextCloud/models/tags_grouped'
79
+ require 'SematextCloud/models/tags_grouped_response'
80
+ require 'SematextCloud/models/token_dto'
81
+ require 'SematextCloud/models/token_response'
82
+ require 'SematextCloud/models/token_response_entry'
83
+ require 'SematextCloud/models/tokens_response'
84
+ require 'SematextCloud/models/tokens_response_entry'
43
85
  require 'SematextCloud/models/update_app_info'
86
+ require 'SematextCloud/models/update_plan_response'
87
+ require 'SematextCloud/models/update_plan_response_dto'
88
+ require 'SematextCloud/models/update_plan_response_entry'
89
+ require 'SematextCloud/models/update_subscription_dto'
90
+ require 'SematextCloud/models/update_token_dto'
91
+ require 'SematextCloud/models/usage_dto'
92
+ require 'SematextCloud/models/usage_multi_response'
93
+ require 'SematextCloud/models/usage_multi_response_entry'
94
+ require 'SematextCloud/models/usage_response'
95
+ require 'SematextCloud/models/usage_response_entry'
44
96
  require 'SematextCloud/models/user_info'
45
97
  require 'SematextCloud/models/user_permissions'
46
98
  require 'SematextCloud/models/user_role'
@@ -52,12 +104,12 @@ require 'SematextCloud/api/apps_api'
52
104
  require 'SematextCloud/api/aws_settings_controller_api'
53
105
  require 'SematextCloud/api/billing_api'
54
106
  require 'SematextCloud/api/logs_app_api'
55
- require 'SematextCloud/api/metrics_api'
107
+ require 'SematextCloud/api/logs_usage_api_controller_api'
56
108
  require 'SematextCloud/api/monitoring_app_api'
57
109
  require 'SematextCloud/api/reset_password_api'
58
- require 'SematextCloud/api/saved_queries_api'
59
110
  require 'SematextCloud/api/subscriptions_api'
60
111
  require 'SematextCloud/api/tag_api_controller_api'
112
+ require 'SematextCloud/api/tokens_api_controller_api'
61
113
 
62
114
  module SematextCloud
63
115
  class << self
@@ -6,19 +6,19 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.25
9
+ Swagger Codegen version: 3.0.34
10
10
  =end
11
11
 
12
12
  require 'spec_helper'
13
13
  require 'json'
14
14
 
15
- # Unit tests for stcloud::AlertNotificationsApi
15
+ # Unit tests for SematextCloud::AlertNotificationsApi
16
16
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
17
  # Please update as you see appropriate
18
18
  describe 'AlertNotificationsApi' do
19
19
  before do
20
20
  # run before each test
21
- @instance = stcloud::AlertNotificationsApi.new
21
+ @instance = SematextCloud::AlertNotificationsApi.new
22
22
  end
23
23
 
24
24
  after do
@@ -27,7 +27,7 @@ describe 'AlertNotificationsApi' do
27
27
 
28
28
  describe 'test an instance of AlertNotificationsApi' do
29
29
  it 'should create an instance of AlertNotificationsApi' do
30
- expect(@instance).to be_instance_of(stcloud::AlertNotificationsApi)
30
+ expect(@instance).to be_instance_of(SematextCloud::AlertNotificationsApi)
31
31
  end
32
32
  end
33
33
 
@@ -6,19 +6,19 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.25
9
+ Swagger Codegen version: 3.0.34
10
10
  =end
11
11
 
12
12
  require 'spec_helper'
13
13
  require 'json'
14
14
 
15
- # Unit tests for stcloud::AlertsApi
15
+ # Unit tests for SematextCloud::AlertsApi
16
16
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
17
  # Please update as you see appropriate
18
18
  describe 'AlertsApi' do
19
19
  before do
20
20
  # run before each test
21
- @instance = stcloud::AlertsApi.new
21
+ @instance = SematextCloud::AlertsApi.new
22
22
  end
23
23
 
24
24
  after do
@@ -27,7 +27,7 @@ describe 'AlertsApi' do
27
27
 
28
28
  describe 'test an instance of AlertsApi' do
29
29
  it 'should create an instance of AlertsApi' do
30
- expect(@instance).to be_instance_of(stcloud::AlertsApi)
30
+ expect(@instance).to be_instance_of(SematextCloud::AlertsApi)
31
31
  end
32
32
  end
33
33
 
@@ -6,19 +6,19 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.25
9
+ Swagger Codegen version: 3.0.34
10
10
  =end
11
11
 
12
12
  require 'spec_helper'
13
13
  require 'json'
14
14
 
15
- # Unit tests for stcloud::AppsApi
15
+ # Unit tests for SematextCloud::AppsApi
16
16
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
17
  # Please update as you see appropriate
18
18
  describe 'AppsApi' do
19
19
  before do
20
20
  # run before each test
21
- @instance = stcloud::AppsApi.new
21
+ @instance = SematextCloud::AppsApi.new
22
22
  end
23
23
 
24
24
  after do
@@ -27,16 +27,16 @@ describe 'AppsApi' do
27
27
 
28
28
  describe 'test an instance of AppsApi' do
29
29
  it 'should create an instance of AppsApi' do
30
- expect(@instance).to be_instance_of(stcloud::AppsApi)
30
+ expect(@instance).to be_instance_of(SematextCloud::AppsApi)
31
31
  end
32
32
  end
33
33
 
34
- # unit tests for delete_using_delete1
34
+ # unit tests for delete_using_delete
35
35
  # delete
36
36
  # @param any_state_app_id anyStateAppId
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [GenericMapBasedApiResponse]
39
- describe 'delete_using_delete1 test' do
39
+ describe 'delete_using_delete test' do
40
40
  it 'should work' do
41
41
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
42
  end
@@ -52,43 +52,43 @@ describe 'AppsApi' do
52
52
  end
53
53
  end
54
54
 
55
- # unit tests for get_using_get
55
+ # unit tests for get_using_get1
56
56
  # Gets defails for one particular App
57
57
  # @param any_state_app_id anyStateAppId
58
58
  # @param [Hash] opts the optional parameters
59
59
  # @return [AppResponse]
60
- describe 'get_using_get test' do
60
+ describe 'get_using_get1 test' do
61
61
  it 'should work' do
62
62
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
63
63
  end
64
64
  end
65
65
 
66
- # unit tests for invite_app_guests_using_post
66
+ # unit tests for invite_app_guests_using_post1
67
67
  # Invite guests to an app
68
68
  # @param body For &#x60;app&#x60; and &#x60;apps&#x60; fields only &#x60;id&#x60; needs to be populated.Other fields can be left empty or with default values
69
69
  # @param [Hash] opts the optional parameters
70
70
  # @return [GenericMapBasedApiResponse]
71
- describe 'invite_app_guests_using_post test' do
71
+ describe 'invite_app_guests_using_post1 test' do
72
72
  it 'should work' do
73
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
74
  end
75
75
  end
76
76
 
77
- # unit tests for list_apps_users_using_get1
77
+ # unit tests for list_apps_users_using_get
78
78
  # Get all users of apps accessible to this account
79
79
  # @param [Hash] opts the optional parameters
80
80
  # @return [AppsResponse]
81
- describe 'list_apps_users_using_get1 test' do
81
+ describe 'list_apps_users_using_get test' do
82
82
  it 'should work' do
83
83
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
84
84
  end
85
85
  end
86
86
 
87
- # unit tests for list_using_get
87
+ # unit tests for list_using_get1
88
88
  # Get all apps accessible by account identified with apiKey
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AppsResponse]
91
- describe 'list_using_get test' do
91
+ describe 'list_using_get1 test' do
92
92
  it 'should work' do
93
93
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
94
94
  end
@@ -6,19 +6,19 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.25
9
+ Swagger Codegen version: 3.0.34
10
10
  =end
11
11
 
12
12
  require 'spec_helper'
13
13
  require 'json'
14
14
 
15
- # Unit tests for stcloud::AwsSettingsControllerApi
15
+ # Unit tests for SematextCloud::AwsSettingsControllerApi
16
16
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
17
  # Please update as you see appropriate
18
18
  describe 'AwsSettingsControllerApi' do
19
19
  before do
20
20
  # run before each test
21
- @instance = stcloud::AwsSettingsControllerApi.new
21
+ @instance = SematextCloud::AwsSettingsControllerApi.new
22
22
  end
23
23
 
24
24
  after do
@@ -27,18 +27,18 @@ describe 'AwsSettingsControllerApi' do
27
27
 
28
28
  describe 'test an instance of AwsSettingsControllerApi' do
29
29
  it 'should create an instance of AwsSettingsControllerApi' do
30
- expect(@instance).to be_instance_of(stcloud::AwsSettingsControllerApi)
30
+ expect(@instance).to be_instance_of(SematextCloud::AwsSettingsControllerApi)
31
31
  end
32
32
  end
33
33
 
34
- # unit tests for update_using_put1
34
+ # unit tests for update_using_put
35
35
  # Update App&#x27;s AWS CloudWatch settings
36
36
  # Applicable only for AWS Apps
37
37
  # @param body dto
38
38
  # @param app_id appId
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [CloudWatchSettingsResponse]
41
- describe 'update_using_put1 test' do
41
+ describe 'update_using_put test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -6,19 +6,19 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.25
9
+ Swagger Codegen version: 3.0.34
10
10
  =end
11
11
 
12
12
  require 'spec_helper'
13
13
  require 'json'
14
14
 
15
- # Unit tests for stcloud::BillingApi
15
+ # Unit tests for SematextCloud::BillingApi
16
16
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
17
  # Please update as you see appropriate
18
18
  describe 'BillingApi' do
19
19
  before do
20
20
  # run before each test
21
- @instance = stcloud::BillingApi.new
21
+ @instance = SematextCloud::BillingApi.new
22
22
  end
23
23
 
24
24
  after do
@@ -27,18 +27,18 @@ describe 'BillingApi' do
27
27
 
28
28
  describe 'test an instance of BillingApi' do
29
29
  it 'should create an instance of BillingApi' do
30
- expect(@instance).to be_instance_of(stcloud::BillingApi)
30
+ expect(@instance).to be_instance_of(SematextCloud::BillingApi)
31
31
  end
32
32
  end
33
33
 
34
- # unit tests for get_detailed_invoice_using_get
34
+ # unit tests for get_detailed_invoice_using_get1
35
35
  # Get invoice details
36
36
  # @param service service
37
37
  # @param year year
38
38
  # @param month month
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [InvoiceResponse]
41
- describe 'get_detailed_invoice_using_get test' do
41
+ describe 'get_detailed_invoice_using_get1 test' do
42
42
  it 'should work' do
43
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
44
  end
@@ -6,19 +6,19 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.25
9
+ Swagger Codegen version: 3.0.34
10
10
  =end
11
11
 
12
12
  require 'spec_helper'
13
13
  require 'json'
14
14
 
15
- # Unit tests for stcloud::LogsAppApi
15
+ # Unit tests for SematextCloud::LogsAppApi
16
16
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
17
  # Please update as you see appropriate
18
18
  describe 'LogsAppApi' do
19
19
  before do
20
20
  # run before each test
21
- @instance = stcloud::LogsAppApi.new
21
+ @instance = SematextCloud::LogsAppApi.new
22
22
  end
23
23
 
24
24
  after do
@@ -27,7 +27,7 @@ describe 'LogsAppApi' do
27
27
 
28
28
  describe 'test an instance of LogsAppApi' do
29
29
  it 'should create an instance of LogsAppApi' do
30
- expect(@instance).to be_instance_of(stcloud::LogsAppApi)
30
+ expect(@instance).to be_instance_of(SematextCloud::LogsAppApi)
31
31
  end
32
32
  end
33
33
 
@@ -6,19 +6,19 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.25
9
+ Swagger Codegen version: 3.0.34
10
10
  =end
11
11
 
12
12
  require 'spec_helper'
13
13
  require 'json'
14
14
 
15
- # Unit tests for stcloud::LogsUsageApiControllerApi
15
+ # Unit tests for SematextCloud::LogsUsageApiControllerApi
16
16
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
17
  # Please update as you see appropriate
18
18
  describe 'LogsUsageApiControllerApi' do
19
19
  before do
20
20
  # run before each test
21
- @instance = stcloud::LogsUsageApiControllerApi.new
21
+ @instance = SematextCloud::LogsUsageApiControllerApi.new
22
22
  end
23
23
 
24
24
  after do
@@ -27,7 +27,7 @@ describe 'LogsUsageApiControllerApi' do
27
27
 
28
28
  describe 'test an instance of LogsUsageApiControllerApi' do
29
29
  it 'should create an instance of LogsUsageApiControllerApi' do
30
- expect(@instance).to be_instance_of(stcloud::LogsUsageApiControllerApi)
30
+ expect(@instance).to be_instance_of(SematextCloud::LogsUsageApiControllerApi)
31
31
  end
32
32
  end
33
33
 
@@ -6,19 +6,19 @@
6
6
  OpenAPI spec version: v3
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 3.0.25
9
+ Swagger Codegen version: 3.0.34
10
10
  =end
11
11
 
12
12
  require 'spec_helper'
13
13
  require 'json'
14
14
 
15
- # Unit tests for stcloud::MonitoringAppApi
15
+ # Unit tests for SematextCloud::MonitoringAppApi
16
16
  # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
17
  # Please update as you see appropriate
18
18
  describe 'MonitoringAppApi' do
19
19
  before do
20
20
  # run before each test
21
- @instance = stcloud::MonitoringAppApi.new
21
+ @instance = SematextCloud::MonitoringAppApi.new
22
22
  end
23
23
 
24
24
  after do
@@ -27,7 +27,7 @@ describe 'MonitoringAppApi' do
27
27
 
28
28
  describe 'test an instance of MonitoringAppApi' do
29
29
  it 'should create an instance of MonitoringAppApi' do
30
- expect(@instance).to be_instance_of(stcloud::MonitoringAppApi)
30
+ expect(@instance).to be_instance_of(SematextCloud::MonitoringAppApi)
31
31
  end
32
32
  end
33
33