SematextCloud 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/AlertNotificationsApi.md +12 -12
- data/docs/AlertRule.md +1 -0
- data/docs/AlertsApi.md +15 -15
- data/docs/AppsApi.md +20 -20
- data/docs/AwsSettingsControllerApi.md +7 -7
- data/docs/BillingApi.md +10 -10
- data/docs/MonitoringAppApi.md +7 -7
- data/docs/PlansResponseEntry.md +1 -1
- data/docs/ServiceIntegration.md +14 -14
- data/docs/SubscriptionsApi.md +40 -40
- data/docs/TagApiControllerApi.md +72 -5
- data/docs/TagsGrouped.md +8 -0
- data/docs/TagsGroupedResponse.md +7 -0
- data/docs/TokensApiControllerApi.md +15 -15
- data/docs/UserPermissions.md +5 -5
- data/docs/UserRole.md +5 -5
- data/lib/SematextCloud/api/alert_notifications_api.rb +14 -14
- data/lib/SematextCloud/api/alerts_api.rb +13 -13
- data/lib/SematextCloud/api/apps_api.rb +25 -25
- data/lib/SematextCloud/api/aws_settings_controller_api.rb +8 -8
- data/lib/SematextCloud/api/billing_api.rb +16 -16
- data/lib/SematextCloud/api/logs_app_api.rb +1 -1
- data/lib/SematextCloud/api/logs_usage_api_controller_api.rb +1 -1
- data/lib/SematextCloud/api/monitoring_app_api.rb +7 -7
- data/lib/SematextCloud/api/reset_password_api.rb +1 -1
- data/lib/SematextCloud/api/subscriptions_api.rb +48 -48
- data/lib/SematextCloud/api/tag_api_controller_api.rb +80 -1
- data/lib/SematextCloud/api/tokens_api_controller_api.rb +14 -14
- data/lib/SematextCloud/api_client.rb +1 -1
- data/lib/SematextCloud/api_error.rb +1 -1
- data/lib/SematextCloud/configuration.rb +1 -1
- data/lib/SematextCloud/models/alert_notification.rb +1 -1
- data/lib/SematextCloud/models/alert_notification_request.rb +1 -1
- data/lib/SematextCloud/models/alert_rule.rb +23 -2
- data/lib/SematextCloud/models/alert_rule_response.rb +1 -1
- data/lib/SematextCloud/models/alert_rule_response_entry.rb +1 -1
- data/lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb +1 -1
- data/lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb +1 -1
- data/lib/SematextCloud/models/alert_rules_response.rb +1 -1
- data/lib/SematextCloud/models/alert_rules_response_entry.rb +1 -1
- data/lib/SematextCloud/models/app.rb +1 -1
- data/lib/SematextCloud/models/app_description.rb +1 -1
- data/lib/SematextCloud/models/app_metadata.rb +1 -1
- data/lib/SematextCloud/models/app_response.rb +1 -1
- data/lib/SematextCloud/models/app_response_entry.rb +1 -1
- data/lib/SematextCloud/models/app_types_response.rb +1 -1
- data/lib/SematextCloud/models/app_types_response_entry.rb +1 -1
- data/lib/SematextCloud/models/apps_response.rb +1 -1
- data/lib/SematextCloud/models/apps_response_entry.rb +1 -1
- data/lib/SematextCloud/models/basic_auth_method_dto.rb +1 -1
- data/lib/SematextCloud/models/basic_organization_dto.rb +1 -1
- data/lib/SematextCloud/models/billing_info.rb +1 -1
- data/lib/SematextCloud/models/charges_details_response_dto.rb +1 -1
- data/lib/SematextCloud/models/cloud_watch_settings.rb +1 -1
- data/lib/SematextCloud/models/cloud_watch_settings_response.rb +1 -1
- data/lib/SematextCloud/models/cloud_watch_settings_response_entry.rb +1 -1
- data/lib/SematextCloud/models/create_app_info.rb +1 -1
- data/lib/SematextCloud/models/create_token_dto.rb +1 -1
- data/lib/SematextCloud/models/daily_dto.rb +1 -1
- data/lib/SematextCloud/models/day_usage_data.rb +1 -1
- data/lib/SematextCloud/models/dimension.rb +1 -1
- data/lib/SematextCloud/models/error.rb +1 -1
- data/lib/SematextCloud/models/event_dto.rb +1 -1
- data/lib/SematextCloud/models/filter_value.rb +1 -1
- data/lib/SematextCloud/models/generic_api_response.rb +1 -1
- data/lib/SematextCloud/models/generic_map_based_api_response.rb +1 -1
- data/lib/SematextCloud/models/invitation.rb +1 -1
- data/lib/SematextCloud/models/invoice.rb +1 -1
- data/lib/SematextCloud/models/invoice_response.rb +1 -1
- data/lib/SematextCloud/models/invoice_response_entry.rb +1 -1
- data/lib/SematextCloud/models/limit_change_event_dto.rb +1 -1
- data/lib/SematextCloud/models/mail_report_response.rb +1 -1
- data/lib/SematextCloud/models/mail_report_response_response_entry.rb +1 -1
- data/lib/SematextCloud/models/min_period_fee_period.rb +1 -1
- data/lib/SematextCloud/models/notification_integration.rb +1 -1
- data/lib/SematextCloud/models/notifications_response.rb +1 -1
- data/lib/SematextCloud/models/notifications_response_entry.rb +1 -1
- data/lib/SematextCloud/models/plan.rb +1 -1
- data/lib/SematextCloud/models/plans_response.rb +1 -1
- data/lib/SematextCloud/models/plans_response_entry.rb +1 -1
- data/lib/SematextCloud/models/report_info.rb +1 -1
- data/lib/SematextCloud/models/service_integration.rb +1 -1
- data/lib/SematextCloud/models/subscription.rb +1 -1
- data/lib/SematextCloud/models/subscription_dashboard_dto.rb +1 -1
- data/lib/SematextCloud/models/subscription_dto.rb +1 -1
- data/lib/SematextCloud/models/subscription_response.rb +1 -1
- data/lib/SematextCloud/models/subscription_response_entry.rb +1 -1
- data/lib/SematextCloud/models/subscriptions_response.rb +1 -1
- data/lib/SematextCloud/models/subscriptions_response_entry.rb +1 -1
- data/lib/SematextCloud/models/tag_names_response.rb +1 -1
- data/lib/SematextCloud/models/tags_grouped.rb +227 -0
- data/lib/SematextCloud/models/tags_grouped_response.rb +213 -0
- data/lib/SematextCloud/models/token_dto.rb +1 -1
- data/lib/SematextCloud/models/token_response.rb +1 -1
- data/lib/SematextCloud/models/token_response_entry.rb +1 -1
- data/lib/SematextCloud/models/tokens_response.rb +1 -1
- data/lib/SematextCloud/models/tokens_response_entry.rb +1 -1
- data/lib/SematextCloud/models/update_app_info.rb +1 -1
- data/lib/SematextCloud/models/update_plan_response.rb +1 -1
- data/lib/SematextCloud/models/update_plan_response_dto.rb +1 -1
- data/lib/SematextCloud/models/update_plan_response_entry.rb +1 -1
- data/lib/SematextCloud/models/update_subscription_dto.rb +1 -1
- data/lib/SematextCloud/models/update_token_dto.rb +1 -1
- data/lib/SematextCloud/models/usage_dto.rb +1 -1
- data/lib/SematextCloud/models/usage_multi_response.rb +1 -1
- data/lib/SematextCloud/models/usage_multi_response_entry.rb +1 -1
- data/lib/SematextCloud/models/usage_response.rb +1 -1
- data/lib/SematextCloud/models/usage_response_entry.rb +1 -1
- data/lib/SematextCloud/models/user_info.rb +1 -1
- data/lib/SematextCloud/models/user_permissions.rb +1 -1
- data/lib/SematextCloud/models/user_role.rb +1 -1
- data/lib/SematextCloud/version.rb +2 -2
- data/lib/SematextCloud.rb +3 -1
- data/spec/api/alert_notifications_api_spec.rb +5 -5
- data/spec/api/alerts_api_spec.rb +5 -5
- data/spec/api/apps_api_spec.rb +9 -9
- data/spec/api/aws_settings_controller_api_spec.rb +3 -3
- data/spec/api/billing_api_spec.rb +5 -5
- data/spec/api/logs_app_api_spec.rb +1 -1
- data/spec/api/logs_usage_api_controller_api_spec.rb +1 -1
- data/spec/api/monitoring_app_api_spec.rb +3 -3
- data/spec/api/reset_password_api_spec.rb +1 -1
- data/spec/api/subscriptions_api_spec.rb +15 -15
- data/spec/api/tag_api_controller_api_spec.rb +19 -1
- data/spec/api/tokens_api_controller_api_spec.rb +5 -5
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/alert_notification_request_spec.rb +1 -1
- data/spec/models/alert_notification_spec.rb +1 -1
- data/spec/models/alert_rule_response_entry_spec.rb +1 -1
- data/spec/models/alert_rule_response_spec.rb +1 -1
- data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +1 -1
- data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +1 -1
- data/spec/models/alert_rule_spec.rb +11 -1
- data/spec/models/alert_rules_response_entry_spec.rb +1 -1
- data/spec/models/alert_rules_response_spec.rb +1 -1
- data/spec/models/app_description_spec.rb +1 -1
- data/spec/models/app_metadata_spec.rb +1 -1
- data/spec/models/app_response_entry_spec.rb +1 -1
- data/spec/models/app_response_spec.rb +1 -1
- data/spec/models/app_spec.rb +1 -1
- data/spec/models/app_types_response_entry_spec.rb +1 -1
- data/spec/models/app_types_response_spec.rb +1 -1
- data/spec/models/apps_response_entry_spec.rb +1 -1
- data/spec/models/apps_response_spec.rb +1 -1
- data/spec/models/basic_auth_method_dto_spec.rb +1 -1
- data/spec/models/basic_organization_dto_spec.rb +1 -1
- data/spec/models/billing_info_spec.rb +1 -1
- data/spec/models/charges_details_response_dto_spec.rb +1 -1
- data/spec/models/cloud_watch_settings_response_entry_spec.rb +1 -1
- data/spec/models/cloud_watch_settings_response_spec.rb +1 -1
- data/spec/models/cloud_watch_settings_spec.rb +1 -1
- data/spec/models/create_app_info_spec.rb +1 -1
- data/spec/models/create_token_dto_spec.rb +1 -1
- data/spec/models/daily_dto_spec.rb +1 -1
- data/spec/models/day_usage_data_spec.rb +1 -1
- data/spec/models/dimension_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/event_dto_spec.rb +1 -1
- data/spec/models/filter_value_spec.rb +1 -1
- data/spec/models/generic_api_response_spec.rb +1 -1
- data/spec/models/generic_map_based_api_response_spec.rb +1 -1
- data/spec/models/invitation_spec.rb +1 -1
- data/spec/models/invoice_response_entry_spec.rb +1 -1
- data/spec/models/invoice_response_spec.rb +1 -1
- data/spec/models/invoice_spec.rb +1 -1
- data/spec/models/limit_change_event_dto_spec.rb +1 -1
- data/spec/models/mail_report_response_response_entry_spec.rb +1 -1
- data/spec/models/mail_report_response_spec.rb +1 -1
- data/spec/models/min_period_fee_period_spec.rb +1 -1
- data/spec/models/notification_integration_spec.rb +1 -1
- data/spec/models/notifications_response_entry_spec.rb +1 -1
- data/spec/models/notifications_response_spec.rb +1 -1
- data/spec/models/plan_spec.rb +1 -1
- data/spec/models/plans_response_entry_spec.rb +1 -1
- data/spec/models/plans_response_spec.rb +1 -1
- data/spec/models/report_info_spec.rb +1 -1
- data/spec/models/service_integration_spec.rb +1 -1
- data/spec/models/subscription_dashboard_dto_spec.rb +1 -1
- data/spec/models/subscription_dto_spec.rb +1 -1
- data/spec/models/subscription_response_entry_spec.rb +1 -1
- data/spec/models/subscription_response_spec.rb +1 -1
- data/spec/models/subscription_spec.rb +1 -1
- data/spec/models/subscriptions_response_entry_spec.rb +1 -1
- data/spec/models/subscriptions_response_spec.rb +1 -1
- data/spec/models/tag_names_response_spec.rb +1 -1
- data/spec/models/tags_grouped_response_spec.rb +40 -0
- data/spec/models/tags_grouped_spec.rb +46 -0
- data/spec/models/token_dto_spec.rb +1 -1
- data/spec/models/token_response_entry_spec.rb +1 -1
- data/spec/models/token_response_spec.rb +1 -1
- data/spec/models/tokens_response_entry_spec.rb +1 -1
- data/spec/models/tokens_response_spec.rb +1 -1
- data/spec/models/update_app_info_spec.rb +1 -1
- data/spec/models/update_plan_response_dto_spec.rb +1 -1
- data/spec/models/update_plan_response_entry_spec.rb +1 -1
- data/spec/models/update_plan_response_spec.rb +1 -1
- data/spec/models/update_subscription_dto_spec.rb +1 -1
- data/spec/models/update_token_dto_spec.rb +1 -1
- data/spec/models/usage_dto_spec.rb +1 -1
- data/spec/models/usage_multi_response_entry_spec.rb +1 -1
- data/spec/models/usage_multi_response_spec.rb +1 -1
- data/spec/models/usage_response_entry_spec.rb +1 -1
- data/spec/models/usage_response_spec.rb +1 -1
- data/spec/models/user_info_spec.rb +1 -1
- data/spec/models/user_permissions_spec.rb +1 -1
- data/spec/models/user_role_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +83 -75
data/lib/SematextCloud.rb
CHANGED
@@ -6,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
# Common files
|
@@ -75,6 +75,8 @@ require 'SematextCloud/models/subscription_response_entry'
|
|
75
75
|
require 'SematextCloud/models/subscriptions_response'
|
76
76
|
require 'SematextCloud/models/subscriptions_response_entry'
|
77
77
|
require 'SematextCloud/models/tag_names_response'
|
78
|
+
require 'SematextCloud/models/tags_grouped'
|
79
|
+
require 'SematextCloud/models/tags_grouped_response'
|
78
80
|
require 'SematextCloud/models/token_dto'
|
79
81
|
require 'SematextCloud/models/token_response'
|
80
82
|
require 'SematextCloud/models/token_response_entry'
|
@@ -6,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -31,26 +31,26 @@ describe 'AlertNotificationsApi' do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
# unit tests for
|
34
|
+
# unit tests for get_alert_notifications_for_app_using_post1
|
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 '
|
41
|
+
describe 'get_alert_notifications_for_app_using_post1 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
|
47
|
+
# unit tests for get_alert_notifications_for_user_using_post1
|
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 '
|
53
|
+
describe 'get_alert_notifications_for_user_using_post1 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
|
data/spec/api/alerts_api_spec.rb
CHANGED
@@ -6,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -42,12 +42,12 @@ describe 'AlertsApi' do
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
# unit tests for
|
45
|
+
# unit tests for delete_alert_rule_using_delete
|
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 '
|
50
|
+
describe 'delete_alert_rule_using_delete 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
|
78
|
+
# unit tests for get_alert_rules_for_app_using_get
|
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 '
|
83
|
+
describe 'get_alert_rules_for_app_using_get 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
|
data/spec/api/apps_api_spec.rb
CHANGED
@@ -6,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -52,23 +52,23 @@ describe 'AppsApi' do
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
-
# unit tests for
|
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 '
|
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
|
66
|
+
# unit tests for invite_app_guests_using_post1
|
67
67
|
# Invite guests to an app
|
68
68
|
# @param body For `app` and `apps` fields only `id` 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 '
|
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
|
@@ -84,11 +84,11 @@ describe 'AppsApi' do
|
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
87
|
-
# unit tests for
|
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 '
|
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
|
@@ -107,14 +107,14 @@ describe 'AppsApi' do
|
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
110
|
-
# unit tests for
|
110
|
+
# unit tests for update_using_put3
|
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 '
|
117
|
+
describe 'update_using_put3 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,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -31,14 +31,14 @@ describe 'AwsSettingsControllerApi' do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
# unit tests for
|
34
|
+
# unit tests for update_using_put
|
35
35
|
# Update App'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 '
|
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,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -31,14 +31,14 @@ describe 'BillingApi' do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
# unit tests for
|
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 '
|
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
|
@@ -56,13 +56,13 @@ describe 'BillingApi' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
# unit tests for
|
59
|
+
# unit tests for update_plan_using_put1
|
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 '
|
65
|
+
describe 'update_plan_using_put1 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,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -31,12 +31,12 @@ describe 'MonitoringAppApi' do
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
# unit tests for
|
34
|
+
# unit tests for create_spm_application1
|
35
35
|
# Create Monitoring App
|
36
36
|
# @param body Details of the application to be created
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [AppsResponse]
|
39
|
-
describe '
|
39
|
+
describe 'create_spm_application1 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
|
@@ -6,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -55,23 +55,23 @@ describe 'SubscriptionsApi' do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
# unit tests for
|
58
|
+
# unit tests for delete_using_delete3
|
59
59
|
# Delete subscription
|
60
60
|
# @param updateable_subscription_id updateableSubscriptionId
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
62
|
# @return [GenericMapBasedApiResponse]
|
63
|
-
describe '
|
63
|
+
describe 'delete_using_delete3 test' do
|
64
64
|
it 'should work' do
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
# unit tests for
|
69
|
+
# unit tests for list_using_get2
|
70
70
|
# Get subscriptions for an App
|
71
71
|
# @param app_id appId
|
72
72
|
# @param [Hash] opts the optional parameters
|
73
73
|
# @return [SubscriptionsResponse]
|
74
|
-
describe '
|
74
|
+
describe 'list_using_get2 test' do
|
75
75
|
it 'should work' do
|
76
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
77
77
|
end
|
@@ -87,61 +87,61 @@ describe 'SubscriptionsApi' do
|
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
-
# unit tests for
|
90
|
+
# unit tests for send_app_report_using_post1
|
91
91
|
# Email an App report
|
92
92
|
# @param body emailDto
|
93
93
|
# @param app_id appId
|
94
94
|
# @param [Hash] opts the optional parameters
|
95
95
|
# @return [MailReportResponse]
|
96
|
-
describe '
|
96
|
+
describe 'send_app_report_using_post1 test' do
|
97
97
|
it 'should work' do
|
98
98
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
# unit tests for
|
102
|
+
# unit tests for send_dash_report_using_post1
|
103
103
|
# Email a dashboard report
|
104
104
|
# @param body emailDto
|
105
105
|
# @param dash_id dashId
|
106
106
|
# @param [Hash] opts the optional parameters
|
107
107
|
# @return [MailReportResponse]
|
108
|
-
describe '
|
108
|
+
describe 'send_dash_report_using_post1 test' do
|
109
109
|
it 'should work' do
|
110
110
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
|
-
# unit tests for
|
114
|
+
# unit tests for toggle_enabled_using_put
|
115
115
|
# Toggle subscription status
|
116
116
|
# @param body dto
|
117
117
|
# @param updateable_subscription_id updateableSubscriptionId
|
118
118
|
# @param [Hash] opts the optional parameters
|
119
119
|
# @return [SubscriptionResponse]
|
120
|
-
describe '
|
120
|
+
describe 'toggle_enabled_using_put test' do
|
121
121
|
it 'should work' do
|
122
122
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
|
-
# unit tests for
|
126
|
+
# unit tests for update_for_app_using_put1
|
127
127
|
# Update App subscription
|
128
128
|
# @param body subscription
|
129
129
|
# @param app_id appId
|
130
130
|
# @param [Hash] opts the optional parameters
|
131
131
|
# @return [SubscriptionResponse]
|
132
|
-
describe '
|
132
|
+
describe 'update_for_app_using_put1 test' do
|
133
133
|
it 'should work' do
|
134
134
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
135
135
|
end
|
136
136
|
end
|
137
137
|
|
138
|
-
# unit tests for
|
138
|
+
# unit tests for update_for_dash_using_put
|
139
139
|
# Update dashboard subscription
|
140
140
|
# @param body subscription
|
141
141
|
# @param dash_id dashId
|
142
142
|
# @param [Hash] opts the optional parameters
|
143
143
|
# @return [SubscriptionResponse]
|
144
|
-
describe '
|
144
|
+
describe 'update_for_dash_using_put test' do
|
145
145
|
it 'should work' do
|
146
146
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
147
147
|
end
|
@@ -6,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -48,6 +48,24 @@ describe 'TagApiControllerApi' do
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
+
# unit tests for get_tags_grouped_by_id_using_get1
|
52
|
+
# Gets tag names grouped by application id.
|
53
|
+
# @param app_ids appIds
|
54
|
+
# @param tag tag
|
55
|
+
# @param [Hash] opts the optional parameters
|
56
|
+
# @option opts [Integer] :from from
|
57
|
+
# @option opts [Integer] :to to
|
58
|
+
# @option opts [BOOLEAN] :metrics metrics
|
59
|
+
# @option opts [BOOLEAN] :logs logs
|
60
|
+
# @option opts [BOOLEAN] :events events
|
61
|
+
# @option opts [BOOLEAN] :rum rum
|
62
|
+
# @return [TagsGroupedResponse]
|
63
|
+
describe 'get_tags_grouped_by_id_using_get1 test' do
|
64
|
+
it 'should work' do
|
65
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
|
+
end
|
67
|
+
end
|
68
|
+
|
51
69
|
# unit tests for get_using_get
|
52
70
|
# Gets values for specified tags for the given application identifiers appearing in the given time frame.
|
53
71
|
# @param app_ids appIds
|
@@ -6,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -55,24 +55,24 @@ describe 'TokensApiControllerApi' do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
# unit tests for
|
58
|
+
# unit tests for get_app_tokens1
|
59
59
|
# Get app available tokens
|
60
60
|
# @param app_id appId
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
62
|
# @return [TokensResponse]
|
63
|
-
describe '
|
63
|
+
describe 'get_app_tokens1 test' do
|
64
64
|
it 'should work' do
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
69
|
-
# unit tests for
|
69
|
+
# unit tests for regenerate_app_token
|
70
70
|
# Regenerate app token)
|
71
71
|
# @param app_id appId
|
72
72
|
# @param token_id tokenId
|
73
73
|
# @param [Hash] opts the optional parameters
|
74
74
|
# @return [TokenResponse]
|
75
|
-
describe '
|
75
|
+
describe 'regenerate_app_token test' do
|
76
76
|
it 'should work' do
|
77
77
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
78
78
|
end
|
data/spec/api_client_spec.rb
CHANGED
data/spec/configuration_spec.rb
CHANGED
@@ -6,7 +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: 3.0.
|
9
|
+
Swagger Codegen version: 3.0.34
|
10
10
|
=end
|
11
11
|
|
12
12
|
require 'spec_helper'
|
@@ -239,6 +239,16 @@ describe 'AlertRule' do
|
|
239
239
|
end
|
240
240
|
end
|
241
241
|
|
242
|
+
describe 'test attribute "priority"' do
|
243
|
+
it 'should work' do
|
244
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
245
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["INFO", "ERROR", "WARN", "CRITICAL"])
|
246
|
+
# validator.allowable_values.each do |value|
|
247
|
+
# expect { @instance.priority = value }.not_to raise_error
|
248
|
+
# end
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
242
252
|
describe 'test attribute "query"' do
|
243
253
|
it 'should work' do
|
244
254
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|