SematextCloud 0.1.5 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (294) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/Gemfile.lock +70 -0
  4. data/README.md +44 -55
  5. data/SematextCloud.gemspec +4 -11
  6. data/docs/AlertNotification.md +13 -0
  7. data/docs/AlertNotificationRequest.md +1 -0
  8. data/docs/AlertNotificationsApi.md +24 -26
  9. data/docs/AlertRule.md +1 -0
  10. data/docs/AlertRuleResponse.md +10 -0
  11. data/docs/AlertRuleResponseEntry.md +7 -0
  12. data/docs/AlertRuleScheduleTimeRangeDto.md +1 -0
  13. data/docs/AlertRuleScheduleWeekdayDto.md +1 -0
  14. data/docs/AlertRulesResponse.md +10 -0
  15. data/docs/AlertRulesResponseEntry.md +7 -0
  16. data/docs/AlertsApi.md +47 -51
  17. data/docs/App.md +2 -0
  18. data/docs/AppDescription.md +1 -0
  19. data/docs/AppMetadata.md +1 -0
  20. data/docs/AppResponse.md +10 -0
  21. data/docs/AppResponseEntry.md +7 -0
  22. data/docs/AppTypesResponse.md +10 -0
  23. data/docs/AppTypesResponseEntry.md +7 -0
  24. data/docs/AppsApi.md +120 -70
  25. data/docs/AppsResponse.md +10 -0
  26. data/docs/AppsResponseEntry.md +7 -0
  27. data/docs/AwsSettingsControllerApi.md +14 -15
  28. data/docs/BasicAuthMethodDto.md +1 -0
  29. data/docs/BasicOrganizationDto.md +1 -0
  30. data/docs/BillingApi.md +30 -35
  31. data/docs/BillingInfo.md +1 -0
  32. data/docs/ChargesDetailsResponseDto.md +13 -0
  33. data/docs/CloudWatchSettings.md +1 -0
  34. data/docs/CloudWatchSettingsResponse.md +10 -0
  35. data/docs/CloudWatchSettingsResponseEntry.md +7 -0
  36. data/docs/CreateAppInfo.md +8 -7
  37. data/docs/CreateTokenDto.md +3 -1
  38. data/docs/DailyDto.md +12 -0
  39. data/docs/DayUsageData.md +26 -0
  40. data/docs/Dimension.md +8 -0
  41. data/docs/Error.md +1 -0
  42. data/docs/EventDto.md +9 -0
  43. data/docs/FilterValue.md +1 -0
  44. data/docs/GenericApiResponse.md +7 -6
  45. data/docs/GenericMapBasedApiResponse.md +10 -0
  46. data/docs/Invitation.md +2 -1
  47. data/docs/Invoice.md +12 -0
  48. data/docs/InvoiceResponse.md +10 -0
  49. data/docs/InvoiceResponseEntry.md +7 -0
  50. data/docs/LimitChangeEventDTO.md +9 -0
  51. data/docs/LogsAppApi.md +12 -12
  52. data/docs/LogsUsageApiControllerApi.md +62 -0
  53. data/docs/MailReportResponse.md +10 -0
  54. data/docs/MailReportResponseResponseEntry.md +7 -0
  55. data/docs/MinPeriodFeePeriod.md +19 -0
  56. data/docs/MonitoringAppApi.md +16 -16
  57. data/docs/NotificationIntegration.md +1 -0
  58. data/docs/NotificationsResponse.md +10 -0
  59. data/docs/NotificationsResponseEntry.md +9 -0
  60. data/docs/Plan.md +16 -15
  61. data/docs/PlansResponse.md +10 -0
  62. data/docs/PlansResponseEntry.md +7 -0
  63. data/docs/ReportInfo.md +12 -10
  64. data/docs/ResetPasswordApi.md +12 -12
  65. data/docs/ServiceIntegration.md +1 -0
  66. data/docs/Subscription.md +22 -0
  67. data/docs/SubscriptionDashboardDto.md +2 -1
  68. data/docs/SubscriptionDto.md +17 -15
  69. data/docs/SubscriptionResponse.md +10 -0
  70. data/docs/SubscriptionResponseEntry.md +7 -0
  71. data/docs/SubscriptionsApi.md +160 -174
  72. data/docs/SubscriptionsResponse.md +10 -0
  73. data/docs/SubscriptionsResponseEntry.md +7 -0
  74. data/docs/TagApiControllerApi.md +28 -35
  75. data/docs/TagNamesResponse.md +7 -0
  76. data/docs/TokenDto.md +13 -0
  77. data/docs/TokenResponse.md +10 -0
  78. data/docs/TokenResponseEntry.md +7 -0
  79. data/docs/TokensApiControllerApi.md +72 -81
  80. data/docs/TokensResponse.md +10 -0
  81. data/docs/TokensResponseEntry.md +7 -0
  82. data/docs/UpdateAppInfo.md +2 -1
  83. data/docs/UpdatePlanResponse.md +10 -0
  84. data/docs/UpdatePlanResponseDto.md +8 -0
  85. data/docs/UpdatePlanResponseEntry.md +7 -0
  86. data/docs/UpdateSubscriptionDto.md +2 -1
  87. data/docs/UpdateTokenDto.md +3 -1
  88. data/docs/UsageDto.md +19 -0
  89. data/docs/UsageMultiResponse.md +10 -0
  90. data/docs/UsageMultiResponseEntry.md +7 -0
  91. data/docs/UsageResponse.md +10 -0
  92. data/docs/UsageResponseEntry.md +7 -0
  93. data/docs/UserInfo.md +1 -0
  94. data/docs/UserPermissions.md +1 -0
  95. data/docs/UserRole.md +1 -0
  96. data/lib/SematextCloud/api/alert_notifications_api.rb +42 -37
  97. data/lib/SematextCloud/api/alerts_api.rb +81 -72
  98. data/lib/SematextCloud/api/apps_api.rb +125 -106
  99. data/lib/SematextCloud/api/aws_settings_controller_api.rb +26 -25
  100. data/lib/SematextCloud/api/billing_api.rb +51 -46
  101. data/lib/SematextCloud/api/logs_app_api.rb +21 -20
  102. data/lib/SematextCloud/api/logs_usage_api_controller_api.rb +86 -0
  103. data/lib/SematextCloud/api/monitoring_app_api.rb +23 -22
  104. data/lib/SematextCloud/api/reset_password_api.rb +21 -20
  105. data/lib/SematextCloud/api/subscriptions_api.rb +203 -172
  106. data/lib/SematextCloud/api/tag_api_controller_api.rb +53 -50
  107. data/lib/SematextCloud/api/tokens_api_controller_api.rb +98 -87
  108. data/lib/SematextCloud/api_client.rb +41 -42
  109. data/lib/SematextCloud/api_error.rb +21 -2
  110. data/lib/SematextCloud/configuration.rb +5 -9
  111. data/lib/SematextCloud/models/alert_notification.rb +260 -0
  112. data/lib/SematextCloud/models/alert_notification_request.rb +49 -26
  113. data/lib/SematextCloud/models/alert_rule.rb +175 -152
  114. data/lib/SematextCloud/models/alert_rule_response.rb +235 -0
  115. data/lib/SematextCloud/models/alert_rule_response_entry.rb +206 -0
  116. data/lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb +44 -21
  117. data/lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb +49 -26
  118. data/lib/SematextCloud/models/alert_rules_response.rb +235 -0
  119. data/lib/SematextCloud/models/alert_rules_response_entry.rb +208 -0
  120. data/lib/SematextCloud/models/app.rb +163 -93
  121. data/lib/SematextCloud/models/app_description.rb +41 -18
  122. data/lib/SematextCloud/models/app_metadata.rb +60 -37
  123. data/lib/SematextCloud/models/app_response.rb +235 -0
  124. data/lib/SematextCloud/models/app_response_entry.rb +206 -0
  125. data/lib/SematextCloud/models/app_types_response.rb +235 -0
  126. data/lib/SematextCloud/models/app_types_response_entry.rb +208 -0
  127. data/lib/SematextCloud/models/apps_response.rb +235 -0
  128. data/lib/SematextCloud/models/apps_response_entry.rb +208 -0
  129. data/lib/SematextCloud/models/basic_auth_method_dto.rb +47 -24
  130. data/lib/SematextCloud/models/basic_organization_dto.rb +51 -28
  131. data/lib/SematextCloud/models/billing_info.rb +48 -25
  132. data/lib/SematextCloud/models/charges_details_response_dto.rb +298 -0
  133. data/lib/SematextCloud/models/cloud_watch_settings.rb +56 -33
  134. data/lib/SematextCloud/models/cloud_watch_settings_response.rb +235 -0
  135. data/lib/SematextCloud/models/cloud_watch_settings_response_entry.rb +206 -0
  136. data/lib/SematextCloud/models/create_app_info.rb +53 -31
  137. data/lib/SematextCloud/models/create_token_dto.rb +54 -22
  138. data/lib/SematextCloud/models/daily_dto.rb +251 -0
  139. data/lib/SematextCloud/models/day_usage_data.rb +411 -0
  140. data/lib/SematextCloud/models/{data_series_filter.rb → dimension.rb} +59 -69
  141. data/lib/SematextCloud/models/error.rb +43 -20
  142. data/lib/SematextCloud/models/{data_series_request.rb → event_dto.rb} +65 -90
  143. data/lib/SematextCloud/models/filter_value.rb +53 -30
  144. data/lib/SematextCloud/models/generic_api_response.rb +46 -24
  145. data/lib/SematextCloud/models/generic_map_based_api_response.rb +236 -0
  146. data/lib/SematextCloud/models/invitation.rb +74 -52
  147. data/lib/SematextCloud/models/invoice.rb +253 -0
  148. data/lib/SematextCloud/models/invoice_response.rb +235 -0
  149. data/lib/SematextCloud/models/invoice_response_entry.rb +206 -0
  150. data/lib/SematextCloud/models/limit_change_event_dto.rb +224 -0
  151. data/lib/SematextCloud/models/mail_report_response.rb +235 -0
  152. data/lib/SematextCloud/models/mail_report_response_response_entry.rb +206 -0
  153. data/lib/SematextCloud/models/min_period_fee_period.rb +314 -0
  154. data/lib/SematextCloud/models/notification_integration.rb +73 -50
  155. data/lib/SematextCloud/models/notifications_response.rb +235 -0
  156. data/lib/SematextCloud/models/notifications_response_entry.rb +226 -0
  157. data/lib/SematextCloud/models/plan.rb +80 -57
  158. data/lib/SematextCloud/models/plans_response.rb +235 -0
  159. data/lib/SematextCloud/models/plans_response_entry.rb +208 -0
  160. data/lib/SematextCloud/models/report_info.rb +69 -37
  161. data/lib/SematextCloud/models/service_integration.rb +71 -48
  162. data/lib/SematextCloud/models/subscription.rb +387 -0
  163. data/lib/SematextCloud/models/subscription_dashboard_dto.rb +72 -49
  164. data/lib/SematextCloud/models/subscription_dto.rb +85 -53
  165. data/lib/SematextCloud/models/subscription_response.rb +235 -0
  166. data/lib/SematextCloud/models/subscription_response_entry.rb +206 -0
  167. data/lib/SematextCloud/models/subscriptions_response.rb +235 -0
  168. data/lib/SematextCloud/models/subscriptions_response_entry.rb +208 -0
  169. data/lib/SematextCloud/models/tag_names_response.rb +213 -0
  170. data/lib/SematextCloud/models/{saved_query.rb → token_dto.rb} +78 -109
  171. data/lib/SematextCloud/models/token_response.rb +235 -0
  172. data/lib/SematextCloud/models/token_response_entry.rb +206 -0
  173. data/lib/SematextCloud/models/tokens_response.rb +235 -0
  174. data/lib/SematextCloud/models/tokens_response_entry.rb +208 -0
  175. data/lib/SematextCloud/models/update_app_info.rb +64 -41
  176. data/lib/SematextCloud/models/update_plan_response.rb +235 -0
  177. data/lib/SematextCloud/models/update_plan_response_dto.rb +217 -0
  178. data/lib/SematextCloud/models/update_plan_response_entry.rb +206 -0
  179. data/lib/SematextCloud/models/update_subscription_dto.rb +42 -19
  180. data/lib/SematextCloud/models/update_token_dto.rb +54 -22
  181. data/lib/SematextCloud/models/usage_dto.rb +320 -0
  182. data/lib/SematextCloud/models/usage_multi_response.rb +235 -0
  183. data/lib/SematextCloud/models/usage_multi_response_entry.rb +206 -0
  184. data/lib/SematextCloud/models/usage_response.rb +235 -0
  185. data/lib/SematextCloud/models/usage_response_entry.rb +206 -0
  186. data/lib/SematextCloud/models/user_info.rb +42 -19
  187. data/lib/SematextCloud/models/user_permissions.rb +48 -25
  188. data/lib/SematextCloud/models/user_role.rb +53 -30
  189. data/lib/SematextCloud/version.rb +2 -3
  190. data/lib/SematextCloud.rb +57 -7
  191. data/spec/api/alert_notifications_api_spec.rb +5 -6
  192. data/spec/api/alerts_api_spec.rb +11 -12
  193. data/spec/api/apps_api_spec.rb +26 -16
  194. data/spec/api/aws_settings_controller_api_spec.rb +6 -7
  195. data/spec/api/billing_api_spec.rb +7 -8
  196. data/spec/api/logs_app_api_spec.rb +3 -4
  197. data/spec/api/logs_usage_api_controller_api_spec.rb +47 -0
  198. data/spec/api/monitoring_app_api_spec.rb +5 -6
  199. data/spec/api/reset_password_api_spec.rb +3 -4
  200. data/spec/api/subscriptions_api_spec.rb +103 -11
  201. data/spec/api/tag_api_controller_api_spec.rb +8 -9
  202. data/spec/api/tokens_api_controller_api_spec.rb +18 -19
  203. data/spec/api_client_spec.rb +1 -2
  204. data/spec/base_object_spec.rb +109 -0
  205. data/spec/configuration_spec.rb +4 -5
  206. data/spec/models/alert_notification_request_spec.rb +4 -5
  207. data/spec/models/alert_notification_spec.rb +76 -0
  208. data/spec/models/alert_rule_response_entry_spec.rb +40 -0
  209. data/spec/models/alert_rule_response_spec.rb +58 -0
  210. data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +4 -5
  211. data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +4 -5
  212. data/spec/models/alert_rule_spec.rb +4 -5
  213. data/spec/models/alert_rules_response_entry_spec.rb +40 -0
  214. data/spec/models/alert_rules_response_spec.rb +58 -0
  215. data/spec/models/app_description_spec.rb +4 -5
  216. data/spec/models/app_metadata_spec.rb +4 -5
  217. data/spec/models/app_response_entry_spec.rb +40 -0
  218. data/spec/models/app_response_spec.rb +58 -0
  219. data/spec/models/app_spec.rb +34 -5
  220. data/spec/models/app_types_response_entry_spec.rb +40 -0
  221. data/spec/models/app_types_response_spec.rb +58 -0
  222. data/spec/models/apps_response_entry_spec.rb +40 -0
  223. data/spec/models/apps_response_spec.rb +58 -0
  224. data/spec/models/basic_auth_method_dto_spec.rb +4 -5
  225. data/spec/models/basic_organization_dto_spec.rb +4 -5
  226. data/spec/models/billing_info_spec.rb +4 -5
  227. data/spec/models/{data_series_request_spec.rb → charges_details_response_dto_spec.rb} +18 -19
  228. data/spec/models/cloud_watch_settings_response_entry_spec.rb +40 -0
  229. data/spec/models/cloud_watch_settings_response_spec.rb +58 -0
  230. data/spec/models/cloud_watch_settings_spec.rb +4 -5
  231. data/spec/models/create_app_info_spec.rb +4 -5
  232. data/spec/models/create_token_dto_spec.rb +10 -5
  233. data/spec/models/daily_dto_spec.rb +70 -0
  234. data/spec/models/day_usage_data_spec.rb +158 -0
  235. data/spec/models/dimension_spec.rb +46 -0
  236. data/spec/models/error_spec.rb +4 -5
  237. data/spec/models/{data_series_filter_spec.rb → event_dto_spec.rb} +14 -15
  238. data/spec/models/filter_value_spec.rb +4 -5
  239. data/spec/models/generic_api_response_spec.rb +4 -5
  240. data/spec/models/generic_map_based_api_response_spec.rb +58 -0
  241. data/spec/models/invitation_spec.rb +4 -5
  242. data/spec/models/invoice_response_entry_spec.rb +40 -0
  243. data/spec/models/invoice_response_spec.rb +58 -0
  244. data/spec/models/invoice_spec.rb +70 -0
  245. data/spec/models/limit_change_event_dto_spec.rb +52 -0
  246. data/spec/models/mail_report_response_response_entry_spec.rb +40 -0
  247. data/spec/models/mail_report_response_spec.rb +58 -0
  248. data/spec/models/min_period_fee_period_spec.rb +112 -0
  249. data/spec/models/notification_integration_spec.rb +4 -5
  250. data/spec/models/notifications_response_entry_spec.rb +52 -0
  251. data/spec/models/notifications_response_spec.rb +58 -0
  252. data/spec/models/plan_spec.rb +5 -6
  253. data/spec/models/plans_response_entry_spec.rb +40 -0
  254. data/spec/models/plans_response_spec.rb +58 -0
  255. data/spec/models/report_info_spec.rb +10 -5
  256. data/spec/models/service_integration_spec.rb +4 -5
  257. data/spec/models/subscription_dashboard_dto_spec.rb +4 -5
  258. data/spec/models/subscription_dto_spec.rb +10 -5
  259. data/spec/models/subscription_response_entry_spec.rb +40 -0
  260. data/spec/models/subscription_response_spec.rb +58 -0
  261. data/spec/models/subscription_spec.rb +138 -0
  262. data/spec/models/subscriptions_response_entry_spec.rb +40 -0
  263. data/spec/models/subscriptions_response_spec.rb +58 -0
  264. data/spec/models/tag_names_response_spec.rb +40 -0
  265. data/spec/models/token_dto_spec.rb +76 -0
  266. data/spec/models/token_response_entry_spec.rb +40 -0
  267. data/spec/models/token_response_spec.rb +58 -0
  268. data/spec/models/tokens_response_entry_spec.rb +40 -0
  269. data/spec/models/tokens_response_spec.rb +58 -0
  270. data/spec/models/update_app_info_spec.rb +4 -5
  271. data/spec/models/update_plan_response_dto_spec.rb +46 -0
  272. data/spec/models/update_plan_response_entry_spec.rb +40 -0
  273. data/spec/models/update_plan_response_spec.rb +58 -0
  274. data/spec/models/update_subscription_dto_spec.rb +4 -5
  275. data/spec/models/update_token_dto_spec.rb +10 -5
  276. data/spec/models/{saved_query_spec.rb → usage_dto_spec.rb} +20 -21
  277. data/spec/models/usage_multi_response_entry_spec.rb +40 -0
  278. data/spec/models/usage_multi_response_spec.rb +58 -0
  279. data/spec/models/usage_response_entry_spec.rb +40 -0
  280. data/spec/models/usage_response_spec.rb +58 -0
  281. data/spec/models/user_info_spec.rb +4 -5
  282. data/spec/models/user_permissions_spec.rb +4 -5
  283. data/spec/models/user_role_spec.rb +4 -5
  284. data/spec/spec_helper.rb +1 -2
  285. metadata +235 -173
  286. data/docs/DataSeriesFilter.md +0 -8
  287. data/docs/DataSeriesRequest.md +0 -12
  288. data/docs/MetricsApi.md +0 -227
  289. data/docs/SavedQueriesApi.md +0 -220
  290. data/docs/SavedQuery.md +0 -18
  291. data/lib/SematextCloud/api/metrics_api.rb +0 -247
  292. data/lib/SematextCloud/api/saved_queries_api.rb +0 -237
  293. data/spec/api/metrics_api_spec.rb +0 -83
  294. data/spec/api/saved_queries_api_spec.rb +0 -80
data/docs/AppsApi.md CHANGED
@@ -1,24 +1,77 @@
1
1
  # SematextCloud::AppsApi
2
2
 
3
- All URIs are relative to *https://localhost*
3
+ All URIs are relative to */*
4
4
 
5
- | Method | HTTP request | Description |
6
- | --------------------------------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------ |
7
- | [**get_app_types_using_get**](AppsApi.md#get_app_types_using_get) | **GET** /users-web/api/v3/apps/types | Get all App types supported for the account identified with apiKey |
8
- | [**get_using_get**](AppsApi.md#get_using_get) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App |
9
- | [**invite_app_guests_using_post**](AppsApi.md#invite_app_guests_using_post) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app |
10
- | [**list_apps_users_using_get**](AppsApi.md#list_apps_users_using_get) | **GET** /users-web/api/v3/apps/users | Get all users of apps accessible to this account |
11
- | [**list_using_get**](AppsApi.md#list_using_get) | **GET** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey |
12
- | [**update_description_using_put**](AppsApi.md#update_description_using_put) | **PUT** /users-web/api/v3/apps/{anyStateAppId}/description | Update description of the app |
13
- | [**update_using_put1**](AppsApi.md#update_using_put1) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app |
5
+ | Method | HTTP request | Description |
6
+ | ----------------------------------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------ |
7
+ | [**delete_using_delete**](AppsApi.md#delete_using_delete) | **DELETE** /users-web/api/v3/apps/{anyStateAppId} | delete |
8
+ | [**get_app_types_using_get**](AppsApi.md#get_app_types_using_get) | **GET** /users-web/api/v3/apps/types | Get all App types supported for the account identified with apiKey |
9
+ | [**get_using_get**](AppsApi.md#get_using_get) | **GET** /users-web/api/v3/apps/{anyStateAppId} | Gets defails for one particular App |
10
+ | [**invite_app_guests_using_post**](AppsApi.md#invite_app_guests_using_post) | **POST** /users-web/api/v3/apps/guests | Invite guests to an app |
11
+ | [**list_apps_users_using_get**](AppsApi.md#list_apps_users_using_get) | **GET** /users-web/api/v3/apps/users | Get all users of apps accessible to this account |
12
+ | [**list_using_get**](AppsApi.md#list_using_get) | **GET** /users-web/api/v3/apps | Get all apps accessible by account identified with apiKey |
13
+ | [**update_description_using_put1**](AppsApi.md#update_description_using_put1) | **PUT** /users-web/api/v3/apps/{anyStateAppId}/description | Update description of the app |
14
+ | [**update_using_put2**](AppsApi.md#update_using_put2) | **PUT** /users-web/api/v3/apps/{anyStateAppId} | Update app |
14
15
 
16
+ # **delete_using_delete**
17
+
18
+ > GenericMapBasedApiResponse delete_using_delete(any_state_app_id)
19
+
20
+ delete
21
+
22
+ ### Example
23
+
24
+ ```ruby
25
+ # load the gem
26
+ require 'SematextCloud'
27
+ # setup authorization
28
+ SematextCloud.configure do |config|
29
+ # Configure API key authorization: api_key
30
+ config.api_key['Authorization'] = 'YOUR API KEY'
31
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
32
+ #config.api_key_prefix['Authorization'] = 'Bearer'
33
+ end
34
+
35
+ api_instance = SematextCloud::AppsApi.new
36
+ any_state_app_id = 789 # Integer | anyStateAppId
37
+
38
+
39
+ begin
40
+ #delete
41
+ result = api_instance.delete_using_delete(any_state_app_id)
42
+ p result
43
+ rescue SematextCloud::ApiError => e
44
+ puts "Exception when calling AppsApi->delete_using_delete: #{e}"
45
+ end
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+ | Name | Type | Description | Notes |
51
+ | -------------------- | ----------- | ------------- | ----- |
52
+ | **any_state_app_id** | **Integer** | anyStateAppId |
53
+
54
+ ### Return type
55
+
56
+ [**GenericMapBasedApiResponse**](GenericMapBasedApiResponse.md)
57
+
58
+ ### Authorization
59
+
60
+ [api_key](../README.md#api_key)
61
+
62
+ ### HTTP request headers
63
+
64
+ - **Content-Type**: Not defined
65
+ - **Accept**: application/json
15
66
 
16
67
  # **get_app_types_using_get**
17
- > GenericApiResponse get_app_types_using_get
68
+
69
+ > AppTypesResponse get_app_types_using_get
18
70
 
19
71
  Get all App types supported for the account identified with apiKey
20
72
 
21
73
  ### Example
74
+
22
75
  ```ruby
23
76
  # load the gem
24
77
  require 'SematextCloud'
@@ -42,11 +95,12 @@ end
42
95
  ```
43
96
 
44
97
  ### Parameters
98
+
45
99
  This endpoint does not need any parameter.
46
100
 
47
101
  ### Return type
48
102
 
49
- [**GenericApiResponse**](GenericApiResponse.md)
103
+ [**AppTypesResponse**](AppTypesResponse.md)
50
104
 
51
105
  ### Authorization
52
106
 
@@ -54,17 +108,17 @@ This endpoint does not need any parameter.
54
108
 
55
109
  ### HTTP request headers
56
110
 
57
- - **Content-Type**: application/json
58
- - **Accept**: application/json
59
-
60
-
111
+ - **Content-Type**: Not defined
112
+ - **Accept**: application/json
61
113
 
62
114
  # **get_using_get**
63
- > GenericApiResponse get_using_get(any_state_app_id)
115
+
116
+ > AppResponse get_using_get(any_state_app_id)
64
117
 
65
118
  Gets defails for one particular App
66
119
 
67
120
  ### Example
121
+
68
122
  ```ruby
69
123
  # load the gem
70
124
  require 'SematextCloud'
@@ -77,7 +131,6 @@ SematextCloud.configure do |config|
77
131
  end
78
132
 
79
133
  api_instance = SematextCloud::AppsApi.new
80
-
81
134
  any_state_app_id = 789 # Integer | anyStateAppId
82
135
 
83
136
 
@@ -98,7 +151,7 @@ end
98
151
 
99
152
  ### Return type
100
153
 
101
- [**GenericApiResponse**](GenericApiResponse.md)
154
+ [**AppResponse**](AppResponse.md)
102
155
 
103
156
  ### Authorization
104
157
 
@@ -106,17 +159,17 @@ end
106
159
 
107
160
  ### HTTP request headers
108
161
 
109
- - **Content-Type**: application/json
110
- - **Accept**: application/json
111
-
112
-
162
+ - **Content-Type**: Not defined
163
+ - **Accept**: application/json
113
164
 
114
165
  # **invite_app_guests_using_post**
115
- > GenericApiResponse invite_app_guests_using_post(invitation)
166
+
167
+ > GenericMapBasedApiResponse invite_app_guests_using_post(body)
116
168
 
117
169
  Invite guests to an app
118
170
 
119
171
  ### Example
172
+
120
173
  ```ruby
121
174
  # load the gem
122
175
  require 'SematextCloud'
@@ -129,13 +182,12 @@ SematextCloud.configure do |config|
129
182
  end
130
183
 
131
184
  api_instance = SematextCloud::AppsApi.new
132
-
133
- invitation = SematextCloud::Invitation.new # Invitation | For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values
185
+ body = SematextCloud::Invitation.new # Invitation | For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values
134
186
 
135
187
 
136
188
  begin
137
189
  #Invite guests to an app
138
- result = api_instance.invite_app_guests_using_post(invitation)
190
+ result = api_instance.invite_app_guests_using_post(body)
139
191
  p result
140
192
  rescue SematextCloud::ApiError => e
141
193
  puts "Exception when calling AppsApi->invite_app_guests_using_post: #{e}"
@@ -144,13 +196,13 @@ end
144
196
 
145
197
  ### Parameters
146
198
 
147
- | Name | Type | Description | Notes |
148
- | -------------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
149
- | **invitation** | [**Invitation**](Invitation.md) | For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values |
199
+ | Name | Type | Description | Notes |
200
+ | -------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
201
+ | **body** | [**Invitation**](Invitation.md) | For `app` and `apps` fields only `id` needs to be populated.Other fields can be left empty or with default values |
150
202
 
151
203
  ### Return type
152
204
 
153
- [**GenericApiResponse**](GenericApiResponse.md)
205
+ [**GenericMapBasedApiResponse**](GenericMapBasedApiResponse.md)
154
206
 
155
207
  ### Authorization
156
208
 
@@ -158,17 +210,17 @@ end
158
210
 
159
211
  ### HTTP request headers
160
212
 
161
- - **Content-Type**: application/json
162
- - **Accept**: application/json
163
-
164
-
213
+ - **Content-Type**: application/json
214
+ - **Accept**: application/json
165
215
 
166
216
  # **list_apps_users_using_get**
167
- > GenericApiResponse list_apps_users_using_get
217
+
218
+ > AppsResponse list_apps_users_using_get
168
219
 
169
220
  Get all users of apps accessible to this account
170
221
 
171
222
  ### Example
223
+
172
224
  ```ruby
173
225
  # load the gem
174
226
  require 'SematextCloud'
@@ -192,11 +244,12 @@ end
192
244
  ```
193
245
 
194
246
  ### Parameters
247
+
195
248
  This endpoint does not need any parameter.
196
249
 
197
250
  ### Return type
198
251
 
199
- [**GenericApiResponse**](GenericApiResponse.md)
252
+ [**AppsResponse**](AppsResponse.md)
200
253
 
201
254
  ### Authorization
202
255
 
@@ -204,17 +257,17 @@ This endpoint does not need any parameter.
204
257
 
205
258
  ### HTTP request headers
206
259
 
207
- - **Content-Type**: application/json
208
- - **Accept**: application/json
209
-
210
-
260
+ - **Content-Type**: Not defined
261
+ - **Accept**: application/json
211
262
 
212
263
  # **list_using_get**
213
- > GenericApiResponse list_using_get
264
+
265
+ > AppsResponse list_using_get
214
266
 
215
267
  Get all apps accessible by account identified with apiKey
216
268
 
217
269
  ### Example
270
+
218
271
  ```ruby
219
272
  # load the gem
220
273
  require 'SematextCloud'
@@ -238,11 +291,12 @@ end
238
291
  ```
239
292
 
240
293
  ### Parameters
294
+
241
295
  This endpoint does not need any parameter.
242
296
 
243
297
  ### Return type
244
298
 
245
- [**GenericApiResponse**](GenericApiResponse.md)
299
+ [**AppsResponse**](AppsResponse.md)
246
300
 
247
301
  ### Authorization
248
302
 
@@ -250,19 +304,19 @@ This endpoint does not need any parameter.
250
304
 
251
305
  ### HTTP request headers
252
306
 
253
- - **Content-Type**: application/json
254
- - **Accept**: application/json
255
-
307
+ - **Content-Type**: Not defined
308
+ - **Accept**: application/json
256
309
 
310
+ # **update_description_using_put1**
257
311
 
258
- # **update_description_using_put**
259
- > GenericApiResponse update_description_using_put(any_state_app_id, opts)
312
+ > AppResponse update_description_using_put1(any_state_app_id, opts)
260
313
 
261
314
  Update description of the app
262
315
 
263
316
  App can be in any state
264
317
 
265
318
  ### Example
319
+
266
320
  ```ruby
267
321
  # load the gem
268
322
  require 'SematextCloud'
@@ -275,19 +329,17 @@ SematextCloud.configure do |config|
275
329
  end
276
330
 
277
331
  api_instance = SematextCloud::AppsApi.new
278
-
279
332
  any_state_app_id = 789 # Integer | App Id
280
-
281
- opts = {
282
- update_details: SematextCloud::AppDescription.new # AppDescription | Update Details
333
+ opts = {
334
+ body: SematextCloud::AppDescription.new # AppDescription | Update Details
283
335
  }
284
336
 
285
337
  begin
286
338
  #Update description of the app
287
- result = api_instance.update_description_using_put(any_state_app_id, opts)
339
+ result = api_instance.update_description_using_put1(any_state_app_id, opts)
288
340
  p result
289
341
  rescue SematextCloud::ApiError => e
290
- puts "Exception when calling AppsApi->update_description_using_put: #{e}"
342
+ puts "Exception when calling AppsApi->update_description_using_put1: #{e}"
291
343
  end
292
344
  ```
293
345
 
@@ -296,11 +348,11 @@ end
296
348
  | Name | Type | Description | Notes |
297
349
  | -------------------- | --------------------------------------- | -------------- | ---------- |
298
350
  | **any_state_app_id** | **Integer** | App Id |
299
- | **update_details** | [**AppDescription**](AppDescription.md) | Update Details | [optional] |
351
+ | **body** | [**AppDescription**](AppDescription.md) | Update Details | [optional] |
300
352
 
301
353
  ### Return type
302
354
 
303
- [**GenericApiResponse**](GenericApiResponse.md)
355
+ [**AppResponse**](AppResponse.md)
304
356
 
305
357
  ### Authorization
306
358
 
@@ -308,19 +360,19 @@ end
308
360
 
309
361
  ### HTTP request headers
310
362
 
311
- - **Content-Type**: application/json
312
- - **Accept**: application/json
363
+ - **Content-Type**: application/json
364
+ - **Accept**: application/json
313
365
 
366
+ # **update_using_put2**
314
367
 
315
-
316
- # **update_using_put1**
317
- > GenericApiResponse update_using_put1(dto, any_state_app_id)
368
+ > AppResponse update_using_put2(bodyany_state_app_id)
318
369
 
319
370
  Update app
320
371
 
321
372
  App can be in any state
322
373
 
323
374
  ### Example
375
+
324
376
  ```ruby
325
377
  # load the gem
326
378
  require 'SematextCloud'
@@ -333,18 +385,16 @@ SematextCloud.configure do |config|
333
385
  end
334
386
 
335
387
  api_instance = SematextCloud::AppsApi.new
336
-
337
- dto = SematextCloud::UpdateAppInfo.new # UpdateAppInfo | dto
338
-
388
+ body = SematextCloud::UpdateAppInfo.new # UpdateAppInfo | dto
339
389
  any_state_app_id = 789 # Integer | App Id
340
390
 
341
391
 
342
392
  begin
343
393
  #Update app
344
- result = api_instance.update_using_put1(dto, any_state_app_id)
394
+ result = api_instance.update_using_put2(bodyany_state_app_id)
345
395
  p result
346
396
  rescue SematextCloud::ApiError => e
347
- puts "Exception when calling AppsApi->update_using_put1: #{e}"
397
+ puts "Exception when calling AppsApi->update_using_put2: #{e}"
348
398
  end
349
399
  ```
350
400
 
@@ -352,12 +402,12 @@ end
352
402
 
353
403
  | Name | Type | Description | Notes |
354
404
  | -------------------- | ------------------------------------- | ----------- | ----- |
355
- | **dto** | [**UpdateAppInfo**](UpdateAppInfo.md) | dto |
405
+ | **body** | [**UpdateAppInfo**](UpdateAppInfo.md) | dto |
356
406
  | **any_state_app_id** | **Integer** | App Id |
357
407
 
358
408
  ### Return type
359
409
 
360
- [**GenericApiResponse**](GenericApiResponse.md)
410
+ [**AppResponse**](AppResponse.md)
361
411
 
362
412
  ### Authorization
363
413
 
@@ -365,5 +415,5 @@ end
365
415
 
366
416
  ### HTTP request headers
367
417
 
368
- - **Content-Type**: application/json
369
- - **Accept**: application/json
418
+ - **Content-Type**: application/json
419
+ - **Accept**: application/json
@@ -0,0 +1,10 @@
1
+ # SematextCloud::AppsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ----------- | --------------------------------------------- | ----------- | ---------- |
7
+ | **data** | [**AppsResponseEntry**](AppsResponseEntry.md) | | [optional] |
8
+ | **errors** | [**Array<Error>**](Error.md) | | [optional] |
9
+ | **message** | **String** | | [optional] |
10
+ | **success** | **BOOLEAN** | | [optional] |
@@ -0,0 +1,7 @@
1
+ # SematextCloud::AppsResponseEntry
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | -------- | ------------------------------ | ----------- | ---------- |
7
+ | **apps** | [**Array<App>**](App.md) | | [optional] |
@@ -1,20 +1,21 @@
1
1
  # SematextCloud::AwsSettingsControllerApi
2
2
 
3
- All URIs are relative to *https://localhost*
3
+ All URIs are relative to */*
4
4
 
5
- | Method | HTTP request | Description |
6
- | -------------------------------------------------------------------- | ------------------------------------------ | ---------------------------------------- |
7
- | [**update_using_put**](AwsSettingsControllerApi.md#update_using_put) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings |
5
+ | Method | HTTP request | Description |
6
+ | ---------------------------------------------------------------------- | ------------------------------------------ | ----------------------------------------- |
7
+ | [**update_using_put1**](AwsSettingsControllerApi.md#update_using_put1) | **PUT** /users-web/api/v3/apps/{appId}/aws | Update App's AWS CloudWatch settings |
8
8
 
9
+ # **update_using_put1**
9
10
 
10
- # **update_using_put**
11
- > GenericApiResponse update_using_put(app_id, dto)
11
+ > CloudWatchSettingsResponse update_using_put1(bodyapp_id)
12
12
 
13
13
  Update App's AWS CloudWatch settings
14
14
 
15
15
  Applicable only for AWS Apps
16
16
 
17
17
  ### Example
18
+
18
19
  ```ruby
19
20
  # load the gem
20
21
  require 'SematextCloud'
@@ -27,18 +28,16 @@ SematextCloud.configure do |config|
27
28
  end
28
29
 
29
30
  api_instance = SematextCloud::AwsSettingsControllerApi.new
30
-
31
+ body = SematextCloud::CloudWatchSettings.new # CloudWatchSettings | dto
31
32
  app_id = 789 # Integer | appId
32
33
 
33
- dto = SematextCloud::CloudWatchSettings.new # CloudWatchSettings | dto
34
-
35
34
 
36
35
  begin
37
36
  #Update App's AWS CloudWatch settings
38
- result = api_instance.update_using_put(app_id, dto)
37
+ result = api_instance.update_using_put1(bodyapp_id)
39
38
  p result
40
39
  rescue SematextCloud::ApiError => e
41
- puts "Exception when calling AwsSettingsControllerApi->update_using_put: #{e}"
40
+ puts "Exception when calling AwsSettingsControllerApi->update_using_put1: #{e}"
42
41
  end
43
42
  ```
44
43
 
@@ -46,12 +45,12 @@ end
46
45
 
47
46
  | Name | Type | Description | Notes |
48
47
  | ---------- | ----------------------------------------------- | ----------- | ----- |
48
+ | **body** | [**CloudWatchSettings**](CloudWatchSettings.md) | dto |
49
49
  | **app_id** | **Integer** | appId |
50
- | **dto** | [**CloudWatchSettings**](CloudWatchSettings.md) | dto |
51
50
 
52
51
  ### Return type
53
52
 
54
- [**GenericApiResponse**](GenericApiResponse.md)
53
+ [**CloudWatchSettingsResponse**](CloudWatchSettingsResponse.md)
55
54
 
56
55
  ### Authorization
57
56
 
@@ -59,5 +58,5 @@ end
59
58
 
60
59
  ### HTTP request headers
61
60
 
62
- - **Content-Type**: application/json
63
- - **Accept**: application/json
61
+ - **Content-Type**: application/json
62
+ - **Accept**: application/json
@@ -1,6 +1,7 @@
1
1
  # SematextCloud::BasicAuthMethodDto
2
2
 
3
3
  ## Properties
4
+
4
5
  | Name | Type | Description | Notes |
5
6
  | ------------- | ---------- | ----------- | ---------- |
6
7
  | **auth_type** | **String** | | [optional] |
@@ -1,6 +1,7 @@
1
1
  # SematextCloud::BasicOrganizationDto
2
2
 
3
3
  ## Properties
4
+
4
5
  | Name | Type | Description | Notes |
5
6
  | ---------------- | ------------------------------------------------------------ | ----------- | ---------- |
6
7
  | **auth_methods** | [**Array<BasicAuthMethodDto>**](BasicAuthMethodDto.md) | | [optional] |
data/docs/BillingApi.md CHANGED
@@ -1,20 +1,21 @@
1
1
  # SematextCloud::BillingApi
2
2
 
3
- All URIs are relative to *https://localhost*
4
-
5
- | Method | HTTP request | Description |
6
- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------ | ---------------------- |
7
- | [**get_detailed_invoice_using_get**](BillingApi.md#get_detailed_invoice_using_get) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details |
8
- | [**list_available_plans_using_get**](BillingApi.md#list_available_plans_using_get) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans |
9
- | [**update_plan_using_put**](BillingApi.md#update_plan_using_put) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app |
3
+ All URIs are relative to */*
10
4
 
5
+ | Method | HTTP request | Description |
6
+ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------ | ---------------------- |
7
+ | [**get_detailed_invoice_using_get**](BillingApi.md#get_detailed_invoice_using_get) | **GET** /users-web/api/v3/billing/invoice/{service}/{year}/{month} | Get invoice details |
8
+ | [**list_available_plans_using_get1**](BillingApi.md#list_available_plans_using_get1) | **GET** /users-web/api/v3/billing/availablePlans | Get available plans |
9
+ | [**update_plan_using_put**](BillingApi.md#update_plan_using_put) | **PUT** /users-web/api/v3/billing/info/{appId} | Update plan for an app |
11
10
 
12
11
  # **get_detailed_invoice_using_get**
13
- > GenericApiResponse get_detailed_invoice_using_get(service, year, month)
12
+
13
+ > InvoiceResponse get_detailed_invoice_using_get(service, year, month)
14
14
 
15
15
  Get invoice details
16
16
 
17
17
  ### Example
18
+
18
19
  ```ruby
19
20
  # load the gem
20
21
  require 'SematextCloud'
@@ -27,11 +28,8 @@ SematextCloud.configure do |config|
27
28
  end
28
29
 
29
30
  api_instance = SematextCloud::BillingApi.new
30
-
31
31
  service = 'service_example' # String | service
32
-
33
32
  year = 56 # Integer | year
34
-
35
33
  month = 56 # Integer | month
36
34
 
37
35
 
@@ -54,7 +52,7 @@ end
54
52
 
55
53
  ### Return type
56
54
 
57
- [**GenericApiResponse**](GenericApiResponse.md)
55
+ [**InvoiceResponse**](InvoiceResponse.md)
58
56
 
59
57
  ### Authorization
60
58
 
@@ -62,17 +60,17 @@ end
62
60
 
63
61
  ### HTTP request headers
64
62
 
65
- - **Content-Type**: application/json
66
- - **Accept**: application/json
63
+ - **Content-Type**: Not defined
64
+ - **Accept**: application/json
67
65
 
66
+ # **list_available_plans_using_get1**
68
67
 
69
-
70
- # **list_available_plans_using_get**
71
- > GenericApiResponse list_available_plans_using_get(opts)
68
+ > PlansResponse list_available_plans_using_get1(opts)
72
69
 
73
70
  Get available plans
74
71
 
75
72
  ### Example
73
+
76
74
  ```ruby
77
75
  # load the gem
78
76
  require 'SematextCloud'
@@ -85,18 +83,17 @@ SematextCloud.configure do |config|
85
83
  end
86
84
 
87
85
  api_instance = SematextCloud::BillingApi.new
88
-
89
- opts = {
86
+ opts = {
90
87
  integration_id: 789, # Integer | integrationId
91
88
  app_type: 'app_type_example' # String | appType
92
89
  }
93
90
 
94
91
  begin
95
92
  #Get available plans
96
- result = api_instance.list_available_plans_using_get(opts)
93
+ result = api_instance.list_available_plans_using_get1(opts)
97
94
  p result
98
95
  rescue SematextCloud::ApiError => e
99
- puts "Exception when calling BillingApi->list_available_plans_using_get: #{e}"
96
+ puts "Exception when calling BillingApi->list_available_plans_using_get1: #{e}"
100
97
  end
101
98
  ```
102
99
 
@@ -109,7 +106,7 @@ end
109
106
 
110
107
  ### Return type
111
108
 
112
- [**GenericApiResponse**](GenericApiResponse.md)
109
+ [**PlansResponse**](PlansResponse.md)
113
110
 
114
111
  ### Authorization
115
112
 
@@ -117,17 +114,17 @@ end
117
114
 
118
115
  ### HTTP request headers
119
116
 
120
- - **Content-Type**: application/json
121
- - **Accept**: application/json
122
-
123
-
117
+ - **Content-Type**: Not defined
118
+ - **Accept**: application/json
124
119
 
125
120
  # **update_plan_using_put**
126
- > GenericApiResponse update_plan_using_put(app_id, dto)
121
+
122
+ > UpdatePlanResponse update_plan_using_put(bodyapp_id)
127
123
 
128
124
  Update plan for an app
129
125
 
130
126
  ### Example
127
+
131
128
  ```ruby
132
129
  # load the gem
133
130
  require 'SematextCloud'
@@ -140,15 +137,13 @@ SematextCloud.configure do |config|
140
137
  end
141
138
 
142
139
  api_instance = SematextCloud::BillingApi.new
143
-
140
+ body = SematextCloud::BillingInfo.new # BillingInfo | dto
144
141
  app_id = 789 # Integer | appId
145
142
 
146
- dto = SematextCloud::BillingInfo.new # BillingInfo | dto
147
-
148
143
 
149
144
  begin
150
145
  #Update plan for an app
151
- result = api_instance.update_plan_using_put(app_id, dto)
146
+ result = api_instance.update_plan_using_put(bodyapp_id)
152
147
  p result
153
148
  rescue SematextCloud::ApiError => e
154
149
  puts "Exception when calling BillingApi->update_plan_using_put: #{e}"
@@ -159,12 +154,12 @@ end
159
154
 
160
155
  | Name | Type | Description | Notes |
161
156
  | ---------- | --------------------------------- | ----------- | ----- |
157
+ | **body** | [**BillingInfo**](BillingInfo.md) | dto |
162
158
  | **app_id** | **Integer** | appId |
163
- | **dto** | [**BillingInfo**](BillingInfo.md) | dto |
164
159
 
165
160
  ### Return type
166
161
 
167
- [**GenericApiResponse**](GenericApiResponse.md)
162
+ [**UpdatePlanResponse**](UpdatePlanResponse.md)
168
163
 
169
164
  ### Authorization
170
165
 
@@ -172,5 +167,5 @@ end
172
167
 
173
168
  ### HTTP request headers
174
169
 
175
- - **Content-Type**: application/json
176
- - **Accept**: application/json
170
+ - **Content-Type**: application/json
171
+ - **Accept**: application/json