SematextCloud 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/SematextCloud.gemspec +4 -5
- data/docs/AlertNotification.md +2 -1
- data/docs/AlertNotificationRequest.md +2 -1
- data/docs/AlertNotificationsApi.md +30 -28
- data/docs/AlertRule.md +2 -1
- data/docs/AlertRuleResponse.md +2 -1
- data/docs/AlertRuleResponseEntry.md +2 -1
- data/docs/AlertRuleScheduleTimeRangeDto.md +2 -1
- data/docs/AlertRuleScheduleWeekdayDto.md +2 -1
- data/docs/AlertRulesResponse.md +2 -1
- data/docs/AlertRulesResponseEntry.md +2 -1
- data/docs/AlertsApi.md +55 -53
- data/docs/App.md +2 -1
- data/docs/AppDescription.md +2 -1
- data/docs/AppMetadata.md +2 -1
- data/docs/AppResponse.md +2 -1
- data/docs/AppResponseEntry.md +2 -1
- data/docs/AppTypesResponse.md +2 -1
- data/docs/AppTypesResponseEntry.md +2 -1
- data/docs/AppsApi.md +85 -80
- data/docs/AppsResponse.md +2 -1
- data/docs/AppsResponseEntry.md +2 -1
- data/docs/AwsSettingsControllerApi.md +10 -8
- data/docs/BasicAuthMethodDto.md +2 -1
- data/docs/BasicOrganizationDto.md +2 -1
- data/docs/BillingApi.md +31 -29
- data/docs/BillingInfo.md +2 -1
- data/docs/ChargesDetailsResponseDto.md +2 -1
- data/docs/CloudWatchSettings.md +2 -1
- data/docs/CloudWatchSettingsResponse.md +2 -1
- data/docs/CloudWatchSettingsResponseEntry.md +2 -1
- data/docs/CreateAppInfo.md +2 -1
- data/docs/CreateTokenDto.md +2 -1
- data/docs/DailyDto.md +10 -7
- data/docs/DayUsageData.md +23 -23
- data/docs/Dimension.md +2 -1
- data/docs/Error.md +2 -1
- data/docs/EventDto.md +2 -1
- data/docs/FilterValue.md +2 -1
- data/docs/GenericApiResponse.md +2 -1
- data/docs/GenericMapBasedApiResponse.md +2 -1
- data/docs/Invitation.md +2 -1
- data/docs/Invoice.md +2 -1
- data/docs/InvoiceResponse.md +2 -1
- data/docs/InvoiceResponseEntry.md +2 -1
- data/docs/LimitChangeEventDTO.md +2 -1
- data/docs/LogsAppApi.md +10 -8
- data/docs/LogsUsageApiControllerApi.md +9 -7
- data/docs/MailReportResponse.md +2 -1
- data/docs/MailReportResponseResponseEntry.md +2 -1
- data/docs/MinPeriodFeePeriod.md +17 -14
- data/docs/MonitoringAppApi.md +17 -15
- data/docs/NotificationIntegration.md +2 -1
- data/docs/NotificationsResponse.md +2 -1
- data/docs/NotificationsResponseEntry.md +2 -1
- data/docs/Plan.md +2 -1
- data/docs/PlansResponse.md +2 -1
- data/docs/PlansResponseEntry.md +2 -1
- data/docs/ReportInfo.md +13 -11
- data/docs/ResetPasswordApi.md +10 -8
- data/docs/ServiceIntegration.md +2 -1
- data/docs/Subscription.md +20 -18
- data/docs/SubscriptionDashboardDto.md +2 -1
- data/docs/SubscriptionDto.md +17 -15
- data/docs/SubscriptionResponse.md +2 -1
- data/docs/SubscriptionResponseEntry.md +2 -1
- data/docs/SubscriptionsApi.md +102 -99
- data/docs/SubscriptionsResponse.md +2 -1
- data/docs/SubscriptionsResponseEntry.md +2 -1
- data/docs/TagApiControllerApi.md +32 -30
- data/docs/TagNamesResponse.md +2 -1
- data/docs/TokenDto.md +2 -1
- data/docs/TokenResponse.md +2 -1
- data/docs/TokenResponseEntry.md +2 -1
- data/docs/TokensApiControllerApi.md +62 -60
- data/docs/TokensResponse.md +2 -1
- data/docs/TokensResponseEntry.md +2 -1
- data/docs/UpdateAppInfo.md +2 -1
- data/docs/UpdatePlanResponse.md +2 -1
- data/docs/UpdatePlanResponseDto.md +2 -1
- data/docs/UpdatePlanResponseEntry.md +2 -1
- data/docs/UpdateSubscriptionDto.md +2 -1
- data/docs/UpdateTokenDto.md +2 -1
- data/docs/UsageDto.md +6 -3
- data/docs/UsageMultiResponse.md +2 -1
- data/docs/UsageMultiResponseEntry.md +2 -1
- data/docs/UsageResponse.md +2 -1
- data/docs/UsageResponseEntry.md +2 -1
- data/docs/UserInfo.md +2 -1
- data/docs/UserPermissions.md +2 -1
- data/docs/UserRole.md +2 -1
- data/lib/SematextCloud/api/alert_notifications_api.rb +42 -37
- data/lib/SematextCloud/api/alerts_api.rb +81 -72
- data/lib/SematextCloud/api/apps_api.rb +125 -106
- data/lib/SematextCloud/api/aws_settings_controller_api.rb +26 -25
- data/lib/SematextCloud/api/billing_api.rb +51 -46
- data/lib/SematextCloud/api/logs_app_api.rb +21 -20
- data/lib/{stcloud → SematextCloud}/api/logs_usage_api_controller_api.rb +2 -2
- data/lib/SematextCloud/api/monitoring_app_api.rb +23 -22
- data/lib/SematextCloud/api/reset_password_api.rb +21 -20
- data/lib/SematextCloud/api/subscriptions_api.rb +203 -172
- data/lib/SematextCloud/api/tag_api_controller_api.rb +53 -50
- data/lib/SematextCloud/api/tokens_api_controller_api.rb +84 -73
- data/lib/SematextCloud/api_client.rb +41 -42
- data/lib/SematextCloud/api_error.rb +21 -2
- data/lib/SematextCloud/configuration.rb +5 -9
- data/lib/{stcloud → SematextCloud}/models/alert_notification.rb +5 -5
- data/lib/SematextCloud/models/alert_notification_request.rb +49 -26
- data/lib/SematextCloud/models/alert_rule.rb +175 -152
- data/lib/{stcloud/models/app_response.rb → SematextCloud/models/alert_rule_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/alert_rule_response_entry.rb +5 -5
- data/lib/SematextCloud/models/alert_rule_schedule_time_range_dto.rb +44 -21
- data/lib/SematextCloud/models/alert_rule_schedule_weekday_dto.rb +49 -26
- data/lib/SematextCloud/models/alert_rules_response.rb +235 -0
- data/lib/{stcloud → SematextCloud}/models/alert_rules_response_entry.rb +5 -5
- data/lib/SematextCloud/models/app.rb +163 -93
- data/lib/SematextCloud/models/app_description.rb +41 -18
- data/lib/SematextCloud/models/app_metadata.rb +60 -37
- data/lib/{stcloud/models/alert_rule_response.rb → SematextCloud/models/app_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/app_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/app_types_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/app_types_response_entry.rb +5 -5
- data/lib/{stcloud/models/alert_rules_response.rb → SematextCloud/models/apps_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/apps_response_entry.rb +5 -5
- data/lib/SematextCloud/models/basic_auth_method_dto.rb +47 -24
- data/lib/SematextCloud/models/basic_organization_dto.rb +51 -28
- data/lib/SematextCloud/models/billing_info.rb +48 -25
- data/lib/{stcloud → SematextCloud}/models/charges_details_response_dto.rb +5 -5
- data/lib/SematextCloud/models/cloud_watch_settings.rb +56 -33
- data/lib/SematextCloud/models/cloud_watch_settings_response.rb +235 -0
- data/lib/{stcloud → SematextCloud}/models/cloud_watch_settings_response_entry.rb +5 -5
- data/lib/SematextCloud/models/create_app_info.rb +53 -31
- data/lib/SematextCloud/models/create_token_dto.rb +46 -23
- data/lib/{stcloud → SematextCloud}/models/daily_dto.rb +36 -18
- data/lib/{stcloud → SematextCloud}/models/day_usage_data.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/dimension.rb +5 -5
- data/lib/SematextCloud/models/error.rb +43 -20
- data/lib/{stcloud → SematextCloud}/models/event_dto.rb +7 -7
- data/lib/SematextCloud/models/filter_value.rb +53 -30
- data/lib/SematextCloud/models/generic_api_response.rb +46 -24
- data/lib/{stcloud → SematextCloud}/models/generic_map_based_api_response.rb +5 -5
- data/lib/SematextCloud/models/invitation.rb +74 -52
- data/lib/{stcloud → SematextCloud}/models/invoice.rb +5 -5
- data/lib/{stcloud/models/notifications_response.rb → SematextCloud/models/invoice_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/invoice_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/limit_change_event_dto.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/mail_report_response.rb +5 -5
- data/lib/{stcloud/models/subscription_response_entry.rb → SematextCloud/models/mail_report_response_response_entry.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/min_period_fee_period.rb +24 -6
- data/lib/SematextCloud/models/notification_integration.rb +73 -50
- data/lib/SematextCloud/models/notifications_response.rb +235 -0
- data/lib/{stcloud → SematextCloud}/models/notifications_response_entry.rb +5 -5
- data/lib/SematextCloud/models/plan.rb +80 -57
- data/lib/{stcloud → SematextCloud}/models/plans_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/plans_response_entry.rb +5 -5
- data/lib/SematextCloud/models/report_info.rb +69 -37
- data/lib/SematextCloud/models/service_integration.rb +71 -48
- data/lib/{stcloud → SematextCloud}/models/subscription.rb +15 -6
- data/lib/SematextCloud/models/subscription_dashboard_dto.rb +72 -49
- data/lib/SematextCloud/models/subscription_dto.rb +85 -53
- data/lib/{stcloud/models/cloud_watch_settings_response.rb → SematextCloud/models/subscription_response.rb} +6 -6
- data/lib/{stcloud/models/mail_report_response_response_entry.rb → SematextCloud/models/subscription_response_entry.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/subscriptions_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/subscriptions_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/tag_names_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/token_dto.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/token_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/token_response_entry.rb +5 -5
- data/lib/{stcloud/models/subscription_response.rb → SematextCloud/models/tokens_response.rb} +6 -6
- data/lib/{stcloud → SematextCloud}/models/tokens_response_entry.rb +5 -5
- data/lib/SematextCloud/models/update_app_info.rb +64 -41
- data/lib/{stcloud → SematextCloud}/models/update_plan_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/update_plan_response_dto.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/update_plan_response_entry.rb +5 -5
- data/lib/SematextCloud/models/update_subscription_dto.rb +42 -19
- data/lib/SematextCloud/models/update_token_dto.rb +44 -21
- data/lib/{stcloud → SematextCloud}/models/usage_dto.rb +39 -21
- data/lib/{stcloud → SematextCloud}/models/usage_multi_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/usage_multi_response_entry.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/usage_response.rb +5 -5
- data/lib/{stcloud → SematextCloud}/models/usage_response_entry.rb +5 -5
- data/lib/SematextCloud/models/user_info.rb +42 -19
- data/lib/SematextCloud/models/user_permissions.rb +48 -25
- data/lib/SematextCloud/models/user_role.rb +53 -30
- data/lib/SematextCloud/version.rb +2 -3
- data/lib/SematextCloud.rb +57 -7
- data/spec/api/alert_notifications_api_spec.rb +8 -8
- data/spec/api/alerts_api_spec.rb +8 -8
- data/spec/api/apps_api_spec.rb +10 -10
- data/spec/api/aws_settings_controller_api_spec.rb +4 -4
- data/spec/api/billing_api_spec.rb +6 -6
- data/spec/api/logs_app_api_spec.rb +4 -4
- data/spec/api/logs_usage_api_controller_api_spec.rb +4 -4
- data/spec/api/monitoring_app_api_spec.rb +6 -6
- data/spec/api/reset_password_api_spec.rb +4 -4
- data/spec/api/subscriptions_api_spec.rb +10 -10
- data/spec/api/tag_api_controller_api_spec.rb +6 -6
- data/spec/api/tokens_api_controller_api_spec.rb +12 -12
- data/spec/api_client_spec.rb +30 -30
- data/spec/configuration_spec.rb +4 -4
- data/spec/models/alert_notification_request_spec.rb +4 -4
- data/spec/models/alert_notification_spec.rb +4 -4
- data/spec/models/alert_rule_response_entry_spec.rb +4 -4
- data/spec/models/alert_rule_response_spec.rb +4 -4
- data/spec/models/alert_rule_schedule_time_range_dto_spec.rb +4 -4
- data/spec/models/alert_rule_schedule_weekday_dto_spec.rb +4 -4
- data/spec/models/alert_rule_spec.rb +4 -4
- data/spec/models/alert_rules_response_entry_spec.rb +4 -4
- data/spec/models/alert_rules_response_spec.rb +4 -4
- data/spec/models/app_description_spec.rb +4 -4
- data/spec/models/app_metadata_spec.rb +4 -4
- data/spec/models/app_response_entry_spec.rb +4 -4
- data/spec/models/app_response_spec.rb +4 -4
- data/spec/models/app_spec.rb +4 -4
- data/spec/models/app_types_response_entry_spec.rb +4 -4
- data/spec/models/app_types_response_spec.rb +4 -4
- data/spec/models/apps_response_entry_spec.rb +4 -4
- data/spec/models/apps_response_spec.rb +4 -4
- data/spec/models/basic_auth_method_dto_spec.rb +4 -4
- data/spec/models/basic_organization_dto_spec.rb +4 -4
- data/spec/models/billing_info_spec.rb +4 -4
- data/spec/models/charges_details_response_dto_spec.rb +4 -4
- data/spec/models/cloud_watch_settings_response_entry_spec.rb +4 -4
- data/spec/models/cloud_watch_settings_response_spec.rb +4 -4
- data/spec/models/cloud_watch_settings_spec.rb +4 -4
- data/spec/models/create_app_info_spec.rb +4 -4
- data/spec/models/create_token_dto_spec.rb +4 -4
- data/spec/models/daily_dto_spec.rb +18 -6
- data/spec/models/day_usage_data_spec.rb +4 -4
- data/spec/models/dimension_spec.rb +4 -4
- data/spec/models/error_spec.rb +4 -4
- data/spec/models/event_dto_spec.rb +5 -5
- data/spec/models/filter_value_spec.rb +4 -4
- data/spec/models/generic_api_response_spec.rb +4 -4
- data/spec/models/generic_map_based_api_response_spec.rb +4 -4
- data/spec/models/invitation_spec.rb +4 -4
- data/spec/models/invoice_response_entry_spec.rb +4 -4
- data/spec/models/invoice_response_spec.rb +4 -4
- data/spec/models/invoice_spec.rb +4 -4
- data/spec/models/limit_change_event_dto_spec.rb +4 -4
- data/spec/models/mail_report_response_response_entry_spec.rb +4 -4
- data/spec/models/mail_report_response_spec.rb +4 -4
- data/spec/models/min_period_fee_period_spec.rb +16 -4
- data/spec/models/notification_integration_spec.rb +4 -4
- data/spec/models/notifications_response_entry_spec.rb +4 -4
- data/spec/models/notifications_response_spec.rb +4 -4
- data/spec/models/plan_spec.rb +5 -5
- data/spec/models/plans_response_entry_spec.rb +4 -4
- data/spec/models/plans_response_spec.rb +4 -4
- data/spec/models/report_info_spec.rb +10 -4
- data/spec/models/service_integration_spec.rb +4 -4
- data/spec/models/subscription_dashboard_dto_spec.rb +4 -4
- data/spec/models/subscription_dto_spec.rb +10 -4
- data/spec/models/subscription_response_entry_spec.rb +4 -4
- data/spec/models/subscription_response_spec.rb +4 -4
- data/spec/models/subscription_spec.rb +10 -4
- data/spec/models/subscriptions_response_entry_spec.rb +4 -4
- data/spec/models/subscriptions_response_spec.rb +4 -4
- data/spec/models/tag_names_response_spec.rb +4 -4
- data/spec/models/token_dto_spec.rb +4 -4
- data/spec/models/token_response_entry_spec.rb +4 -4
- data/spec/models/token_response_spec.rb +4 -4
- data/spec/models/tokens_response_entry_spec.rb +4 -4
- data/spec/models/tokens_response_spec.rb +4 -4
- data/spec/models/update_app_info_spec.rb +4 -4
- data/spec/models/update_plan_response_dto_spec.rb +4 -4
- data/spec/models/update_plan_response_entry_spec.rb +4 -4
- data/spec/models/update_plan_response_spec.rb +4 -4
- data/spec/models/update_subscription_dto_spec.rb +4 -4
- data/spec/models/update_token_dto_spec.rb +4 -4
- data/spec/models/usage_dto_spec.rb +22 -10
- data/spec/models/usage_multi_response_entry_spec.rb +4 -4
- data/spec/models/usage_multi_response_spec.rb +4 -4
- data/spec/models/usage_response_entry_spec.rb +4 -4
- data/spec/models/usage_response_spec.rb +4 -4
- data/spec/models/user_info_spec.rb +4 -4
- data/spec/models/user_permissions_spec.rb +4 -4
- data/spec/models/user_role_spec.rb +4 -4
- data/spec/spec_helper.rb +2 -2
- metadata +55 -121
- data/docs/DataSeriesFilter.md +0 -8
- data/docs/DataSeriesRequest.md +0 -12
- data/docs/MetricsApi.md +0 -227
- data/docs/SavedQueriesApi.md +0 -220
- data/docs/SavedQuery.md +0 -18
- data/lib/SematextCloud/api/metrics_api.rb +0 -247
- data/lib/SematextCloud/api/saved_queries_api.rb +0 -237
- data/lib/SematextCloud/models/data_series_filter.rb +0 -237
- data/lib/SematextCloud/models/data_series_request.rb +0 -283
- data/lib/SematextCloud/models/saved_query.rb +0 -291
- data/lib/stcloud/api/alert_notifications_api.rb +0 -142
- data/lib/stcloud/api/alerts_api.rb +0 -292
- data/lib/stcloud/api/apps_api.rb +0 -452
- data/lib/stcloud/api/aws_settings_controller_api.rb +0 -84
- data/lib/stcloud/api/billing_api.rb +0 -202
- data/lib/stcloud/api/logs_app_api.rb +0 -76
- data/lib/stcloud/api/monitoring_app_api.rb +0 -76
- data/lib/stcloud/api/reset_password_api.rb +0 -76
- data/lib/stcloud/api/subscriptions_api.rb +0 -610
- data/lib/stcloud/api/tag_api_controller_api.rb +0 -250
- data/lib/stcloud/api/tokens_api_controller_api.rb +0 -324
- data/lib/stcloud/api_client.rb +0 -388
- data/lib/stcloud/api_error.rb +0 -57
- data/lib/stcloud/configuration.rb +0 -205
- data/lib/stcloud/models/alert_notification_request.rb +0 -235
- data/lib/stcloud/models/alert_rule.rb +0 -675
- data/lib/stcloud/models/alert_rule_schedule_time_range_dto.rb +0 -215
- data/lib/stcloud/models/alert_rule_schedule_weekday_dto.rb +0 -244
- data/lib/stcloud/models/app.rb +0 -489
- data/lib/stcloud/models/app_description.rb +0 -206
- data/lib/stcloud/models/app_metadata.rb +0 -291
- data/lib/stcloud/models/apps_response.rb +0 -235
- data/lib/stcloud/models/basic_auth_method_dto.rb +0 -249
- data/lib/stcloud/models/basic_organization_dto.rb +0 -269
- data/lib/stcloud/models/billing_info.rb +0 -224
- data/lib/stcloud/models/cloud_watch_settings.rb +0 -279
- data/lib/stcloud/models/create_app_info.rb +0 -242
- data/lib/stcloud/models/create_token_dto.rb +0 -224
- data/lib/stcloud/models/error.rb +0 -215
- data/lib/stcloud/models/filter_value.rb +0 -253
- data/lib/stcloud/models/generic_api_response.rb +0 -236
- data/lib/stcloud/models/invitation.rb +0 -348
- data/lib/stcloud/models/invoice_response.rb +0 -235
- data/lib/stcloud/models/notification_integration.rb +0 -347
- data/lib/stcloud/models/plan.rb +0 -360
- data/lib/stcloud/models/report_info.rb +0 -270
- data/lib/stcloud/models/service_integration.rb +0 -305
- data/lib/stcloud/models/subscription_dashboard_dto.rb +0 -342
- data/lib/stcloud/models/subscription_dto.rb +0 -351
- data/lib/stcloud/models/tokens_response.rb +0 -235
- data/lib/stcloud/models/update_app_info.rb +0 -312
- data/lib/stcloud/models/update_subscription_dto.rb +0 -206
- data/lib/stcloud/models/update_token_dto.rb +0 -215
- data/lib/stcloud/models/user_info.rb +0 -206
- data/lib/stcloud/models/user_permissions.rb +0 -224
- data/lib/stcloud/models/user_role.rb +0 -270
- data/lib/stcloud/version.rb +0 -14
- data/lib/stcloud.rb +0 -128
- data/spec/api/metrics_api_spec.rb +0 -83
- data/spec/api/saved_queries_api_spec.rb +0 -80
- data/spec/models/data_series_filter_spec.rb +0 -57
- data/spec/models/data_series_request_spec.rb +0 -81
- 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:
|
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.
|
54
|
+
def self.openapi_types
|
56
55
|
{
|
57
|
-
:'role' => :'
|
58
|
-
:'role_status' => :'
|
59
|
-
:'user_email' => :'
|
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
|
-
|
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|
|
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.
|
83
|
+
if attributes.key?(:'role')
|
72
84
|
self.role = attributes[:'role']
|
73
85
|
end
|
74
86
|
|
75
|
-
if attributes.
|
76
|
-
self.role_status = attributes[:'
|
87
|
+
if attributes.key?(:'role_status')
|
88
|
+
self.role_status = attributes[:'role_status']
|
77
89
|
end
|
78
90
|
|
79
|
-
if attributes.
|
80
|
-
self.user_email = attributes[:'
|
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('
|
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('
|
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('
|
116
|
+
validator = EnumAttributeValidator.new('Object', ['SUPER_USER', 'OWNER', 'ADMIN', 'USER', 'DEMO', 'ANONYMOUS'])
|
105
117
|
unless validator.valid?(role)
|
106
|
-
fail ArgumentError,
|
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('
|
126
|
+
validator = EnumAttributeValidator.new('Object', ['INACTIVE', 'ACTIVE'])
|
115
127
|
unless validator.valid?(role_status)
|
116
|
-
fail ArgumentError,
|
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 [
|
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.
|
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
|
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
|
-
|
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 :
|
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
|
-
|
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
|
-
|
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
|
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:
|
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/
|
33
|
-
require 'SematextCloud/models/
|
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/
|
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.
|
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
|
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 =
|
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(
|
30
|
+
expect(@instance).to be_instance_of(SematextCloud::AlertNotificationsApi)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
# unit tests for
|
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 '
|
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
|
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 '
|
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
|
data/spec/api/alerts_api_spec.rb
CHANGED
@@ -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.
|
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
|
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 =
|
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(
|
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
|
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 '
|
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
|
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 '
|
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
|
data/spec/api/apps_api_spec.rb
CHANGED
@@ -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.
|
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
|
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 =
|
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(
|
30
|
+
expect(@instance).to be_instance_of(SematextCloud::AppsApi)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
# unit tests for
|
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 '
|
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
|
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 '
|
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
|
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 '
|
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.
|
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
|
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 =
|
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(
|
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.
|
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
|
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 =
|
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(
|
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
|
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 '
|
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.
|
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
|
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 =
|
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(
|
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.
|
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
|
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 =
|
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(
|
30
|
+
expect(@instance).to be_instance_of(SematextCloud::LogsUsageApiControllerApi)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|