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
@@ -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.30
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.30
11
10
  =end
12
11
 
13
12
  module SematextCloud
14
- VERSION = '0.3.1'
13
+ VERSION = '0.4.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.30
11
10
  =end
12
11
 
13
12
  # Common files
@@ -17,30 +16,81 @@ 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/token_dto'
79
+ require 'SematextCloud/models/token_response'
80
+ require 'SematextCloud/models/token_response_entry'
81
+ require 'SematextCloud/models/tokens_response'
82
+ require 'SematextCloud/models/tokens_response_entry'
43
83
  require 'SematextCloud/models/update_app_info'
84
+ require 'SematextCloud/models/update_plan_response'
85
+ require 'SematextCloud/models/update_plan_response_dto'
86
+ require 'SematextCloud/models/update_plan_response_entry'
87
+ require 'SematextCloud/models/update_subscription_dto'
88
+ require 'SematextCloud/models/update_token_dto'
89
+ require 'SematextCloud/models/usage_dto'
90
+ require 'SematextCloud/models/usage_multi_response'
91
+ require 'SematextCloud/models/usage_multi_response_entry'
92
+ require 'SematextCloud/models/usage_response'
93
+ require 'SematextCloud/models/usage_response_entry'
44
94
  require 'SematextCloud/models/user_info'
45
95
  require 'SematextCloud/models/user_permissions'
46
96
  require 'SematextCloud/models/user_role'
@@ -52,12 +102,12 @@ require 'SematextCloud/api/apps_api'
52
102
  require 'SematextCloud/api/aws_settings_controller_api'
53
103
  require 'SematextCloud/api/billing_api'
54
104
  require 'SematextCloud/api/logs_app_api'
55
- require 'SematextCloud/api/metrics_api'
105
+ require 'SematextCloud/api/logs_usage_api_controller_api'
56
106
  require 'SematextCloud/api/monitoring_app_api'
57
107
  require 'SematextCloud/api/reset_password_api'
58
- require 'SematextCloud/api/saved_queries_api'
59
108
  require 'SematextCloud/api/subscriptions_api'
60
109
  require 'SematextCloud/api/tag_api_controller_api'
110
+ require 'SematextCloud/api/tokens_api_controller_api'
61
111
 
62
112
  module SematextCloud
63
113
  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.30
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,30 +27,30 @@ 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
 
34
- # unit tests for get_alert_notifications_for_app_using_post1
34
+ # unit tests for get_alert_notifications_for_app_using_post
35
35
  # Get alert notifications for an app
36
36
  # Default value of interval is 1d
37
37
  # @param body Time Interval
38
38
  # @param app_id appId
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [NotificationsResponse]
41
- describe 'get_alert_notifications_for_app_using_post1 test' do
41
+ describe 'get_alert_notifications_for_app_using_post 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
45
45
  end
46
46
 
47
- # unit tests for get_alert_notifications_for_user_using_post1
47
+ # unit tests for get_alert_notifications_for_user_using_post
48
48
  # Get alert notifications for a user
49
49
  # Default value of interval is 1d
50
50
  # @param body Time Interval
51
51
  # @param [Hash] opts the optional parameters
52
52
  # @return [NotificationsResponse]
53
- describe 'get_alert_notifications_for_user_using_post1 test' do
53
+ describe 'get_alert_notifications_for_user_using_post test' do
54
54
  it 'should work' do
55
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
56
  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.30
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
 
@@ -42,12 +42,12 @@ describe 'AlertsApi' do
42
42
  end
43
43
  end
44
44
 
45
- # unit tests for delete_alert_rule_using_delete
45
+ # unit tests for delete_alert_rule_using_delete1
46
46
  # Delete alert rule
47
47
  # @param updateable_alert_id updateableAlertId
48
48
  # @param [Hash] opts the optional parameters
49
49
  # @return [GenericMapBasedApiResponse]
50
- describe 'delete_alert_rule_using_delete test' do
50
+ describe 'delete_alert_rule_using_delete1 test' do
51
51
  it 'should work' do
52
52
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
53
  end
@@ -75,12 +75,12 @@ describe 'AlertsApi' do
75
75
  end
76
76
  end
77
77
 
78
- # unit tests for get_alert_rules_for_app_using_get
78
+ # unit tests for get_alert_rules_for_app_using_get1
79
79
  # Get alert rules for an app
80
80
  # @param app_id appId
81
81
  # @param [Hash] opts the optional parameters
82
82
  # @return [AlertRulesResponse]
83
- describe 'get_alert_rules_for_app_using_get test' do
83
+ describe 'get_alert_rules_for_app_using_get1 test' do
84
84
  it 'should work' do
85
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
86
  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.30
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
@@ -74,11 +74,11 @@ describe 'AppsApi' do
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
@@ -107,14 +107,14 @@ describe 'AppsApi' do
107
107
  end
108
108
  end
109
109
 
110
- # unit tests for update_using_put3
110
+ # unit tests for update_using_put2
111
111
  # Update app
112
112
  # App can be in any state
113
113
  # @param body dto
114
114
  # @param any_state_app_id App Id
115
115
  # @param [Hash] opts the optional parameters
116
116
  # @return [AppResponse]
117
- describe 'update_using_put3 test' do
117
+ describe 'update_using_put2 test' do
118
118
  it 'should work' do
119
119
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
120
  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.30
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,7 +27,7 @@ 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
 
@@ -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.30
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,7 +27,7 @@ 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
 
@@ -56,13 +56,13 @@ describe 'BillingApi' do
56
56
  end
57
57
  end
58
58
 
59
- # unit tests for update_plan_using_put1
59
+ # unit tests for update_plan_using_put
60
60
  # Update plan for an app
61
61
  # @param body dto
62
62
  # @param app_id appId
63
63
  # @param [Hash] opts the optional parameters
64
64
  # @return [UpdatePlanResponse]
65
- describe 'update_plan_using_put1 test' do
65
+ describe 'update_plan_using_put test' do
66
66
  it 'should work' do
67
67
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
68
  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.30
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.30
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