SematextCloud 0.3.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/Gemfile.lock +70 -0
- 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 +19 -17
- data/docs/AlertRule.md +3 -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 +42 -40
- 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 +93 -88
- data/docs/AppsResponse.md +2 -1
- data/docs/AppsResponseEntry.md +2 -1
- data/docs/AwsSettingsControllerApi.md +17 -15
- data/docs/BasicAuthMethodDto.md +2 -1
- data/docs/BasicOrganizationDto.md +2 -1
- data/docs/BillingApi.md +32 -30
- 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 +10 -8
- 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 +16 -15
- 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 +121 -118
- data/docs/SubscriptionsResponse.md +2 -1
- data/docs/SubscriptionsResponseEntry.md +2 -1
- data/docs/TagApiControllerApi.md +102 -33
- data/docs/TagNamesResponse.md +2 -1
- data/docs/TagsGrouped.md +8 -0
- data/docs/TagsGroupedResponse.md +7 -0
- data/docs/TokenDto.md +2 -1
- data/docs/TokenResponse.md +2 -1
- data/docs/TokenResponseEntry.md +2 -1
- data/docs/TokensApiControllerApi.md +51 -49
- 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 +7 -6
- data/docs/UserRole.md +7 -6
- data/lib/SematextCloud/api/alert_notifications_api.rb +47 -42
- data/lib/SematextCloud/api/alerts_api.rb +69 -60
- data/lib/SematextCloud/api/apps_api.rb +138 -119
- data/lib/SematextCloud/api/aws_settings_controller_api.rb +23 -22
- data/lib/SematextCloud/api/billing_api.rb +62 -57
- 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 +21 -20
- data/lib/SematextCloud/api/reset_password_api.rb +21 -20
- data/lib/SematextCloud/api/subscriptions_api.rb +194 -163
- data/lib/SematextCloud/api/tag_api_controller_api.rb +132 -50
- data/lib/SematextCloud/api/tokens_api_controller_api.rb +97 -86
- 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 +197 -153
- 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/SematextCloud/models/tags_grouped.rb +227 -0
- data/lib/SematextCloud/models/tags_grouped_response.rb +213 -0
- 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 +59 -7
- data/spec/api/alert_notifications_api_spec.rb +4 -4
- data/spec/api/alerts_api_spec.rb +4 -4
- data/spec/api/apps_api_spec.rb +14 -14
- data/spec/api/aws_settings_controller_api_spec.rb +6 -6
- 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 +4 -4
- data/spec/api/reset_password_api_spec.rb +4 -4
- data/spec/api/subscriptions_api_spec.rb +16 -16
- data/spec/api/tag_api_controller_api_spec.rb +24 -6
- data/spec/api/tokens_api_controller_api_spec.rb +8 -8
- 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 +14 -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/tags_grouped_response_spec.rb +40 -0
- data/spec/models/{data_series_filter_spec.rb → tags_grouped_spec.rb} +9 -20
- 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 +135 -192
- 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_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.34
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
@@ -57,76 +56,89 @@ module SematextCloud
|
|
57
56
|
end
|
58
57
|
|
59
58
|
# Attribute type mapping.
|
60
|
-
def self.
|
59
|
+
def self.openapi_types
|
61
60
|
{
|
62
|
-
:'app_type_id' => :'
|
63
|
-
:'app_type_name' => :'
|
64
|
-
:'display_name' => :'
|
65
|
-
:'enabled' => :'
|
66
|
-
:'external_product_id' => :'
|
67
|
-
:'external_product_name' => :'
|
68
|
-
:'id' => :'
|
69
|
-
:'integration_type' => :'
|
70
|
-
:'ordinal' => :'
|
71
|
-
:'parent_integration_id' => :'
|
72
|
-
:'sematext_service' => :'
|
73
|
-
:'visible' => :'
|
61
|
+
:'app_type_id' => :'Object',
|
62
|
+
:'app_type_name' => :'Object',
|
63
|
+
:'display_name' => :'Object',
|
64
|
+
:'enabled' => :'Object',
|
65
|
+
:'external_product_id' => :'Object',
|
66
|
+
:'external_product_name' => :'Object',
|
67
|
+
:'id' => :'Object',
|
68
|
+
:'integration_type' => :'Object',
|
69
|
+
:'ordinal' => :'Object',
|
70
|
+
:'parent_integration_id' => :'Object',
|
71
|
+
:'sematext_service' => :'Object',
|
72
|
+
:'visible' => :'Object'
|
74
73
|
}
|
75
74
|
end
|
76
75
|
|
76
|
+
# List of attributes with nullable: true
|
77
|
+
def self.openapi_nullable
|
78
|
+
Set.new([
|
79
|
+
])
|
80
|
+
end
|
81
|
+
|
77
82
|
# Initializes the object
|
78
83
|
# @param [Hash] attributes Model attributes in the form of hash
|
79
84
|
def initialize(attributes = {})
|
80
|
-
|
85
|
+
if (!attributes.is_a?(Hash))
|
86
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SematextCloud::ServiceIntegration` initialize method"
|
87
|
+
end
|
81
88
|
|
82
|
-
# convert string to symbol for hash key
|
83
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
89
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
90
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
91
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
92
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SematextCloud::ServiceIntegration`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
93
|
+
end
|
94
|
+
h[k.to_sym] = v
|
95
|
+
}
|
84
96
|
|
85
|
-
if attributes.
|
86
|
-
self.app_type_id = attributes[:'
|
97
|
+
if attributes.key?(:'app_type_id')
|
98
|
+
self.app_type_id = attributes[:'app_type_id']
|
87
99
|
end
|
88
100
|
|
89
|
-
if attributes.
|
90
|
-
self.app_type_name = attributes[:'
|
101
|
+
if attributes.key?(:'app_type_name')
|
102
|
+
self.app_type_name = attributes[:'app_type_name']
|
91
103
|
end
|
92
104
|
|
93
|
-
if attributes.
|
94
|
-
self.display_name = attributes[:'
|
105
|
+
if attributes.key?(:'display_name')
|
106
|
+
self.display_name = attributes[:'display_name']
|
95
107
|
end
|
96
108
|
|
97
|
-
if attributes.
|
109
|
+
if attributes.key?(:'enabled')
|
98
110
|
self.enabled = attributes[:'enabled']
|
99
111
|
end
|
100
112
|
|
101
|
-
if attributes.
|
102
|
-
self.external_product_id = attributes[:'
|
113
|
+
if attributes.key?(:'external_product_id')
|
114
|
+
self.external_product_id = attributes[:'external_product_id']
|
103
115
|
end
|
104
116
|
|
105
|
-
if attributes.
|
106
|
-
self.external_product_name = attributes[:'
|
117
|
+
if attributes.key?(:'external_product_name')
|
118
|
+
self.external_product_name = attributes[:'external_product_name']
|
107
119
|
end
|
108
120
|
|
109
|
-
if attributes.
|
121
|
+
if attributes.key?(:'id')
|
110
122
|
self.id = attributes[:'id']
|
111
123
|
end
|
112
124
|
|
113
|
-
if attributes.
|
114
|
-
self.integration_type = attributes[:'
|
125
|
+
if attributes.key?(:'integration_type')
|
126
|
+
self.integration_type = attributes[:'integration_type']
|
115
127
|
end
|
116
128
|
|
117
|
-
if attributes.
|
129
|
+
if attributes.key?(:'ordinal')
|
118
130
|
self.ordinal = attributes[:'ordinal']
|
119
131
|
end
|
120
132
|
|
121
|
-
if attributes.
|
122
|
-
self.parent_integration_id = attributes[:'
|
133
|
+
if attributes.key?(:'parent_integration_id')
|
134
|
+
self.parent_integration_id = attributes[:'parent_integration_id']
|
123
135
|
end
|
124
136
|
|
125
|
-
if attributes.
|
126
|
-
self.sematext_service = attributes[:'
|
137
|
+
if attributes.key?(:'sematext_service')
|
138
|
+
self.sematext_service = attributes[:'sematext_service']
|
127
139
|
end
|
128
140
|
|
129
|
-
if attributes.
|
141
|
+
if attributes.key?(:'visible')
|
130
142
|
self.visible = attributes[:'visible']
|
131
143
|
end
|
132
144
|
end
|
@@ -170,26 +182,35 @@ module SematextCloud
|
|
170
182
|
end
|
171
183
|
|
172
184
|
# Calculates hash code according to all attributes.
|
173
|
-
# @return [
|
185
|
+
# @return [Integer] Hash code
|
174
186
|
def hash
|
175
187
|
[app_type_id, app_type_name, display_name, enabled, external_product_id, external_product_name, id, integration_type, ordinal, parent_integration_id, sematext_service, visible].hash
|
176
188
|
end
|
177
189
|
|
190
|
+
# Builds the object from hash
|
191
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
192
|
+
# @return [Object] Returns the model itself
|
193
|
+
def self.build_from_hash(attributes)
|
194
|
+
new.build_from_hash(attributes)
|
195
|
+
end
|
196
|
+
|
178
197
|
# Builds the object from hash
|
179
198
|
# @param [Hash] attributes Model attributes in the form of hash
|
180
199
|
# @return [Object] Returns the model itself
|
181
200
|
def build_from_hash(attributes)
|
182
201
|
return nil unless attributes.is_a?(Hash)
|
183
|
-
self.class.
|
202
|
+
self.class.openapi_types.each_pair do |key, type|
|
184
203
|
if type =~ /\AArray<(.*)>/i
|
185
|
-
# check to ensure the input is an array given that the
|
204
|
+
# check to ensure the input is an array given that the attribute
|
186
205
|
# is documented as an array but the input is not
|
187
206
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
188
207
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
189
208
|
end
|
190
209
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
191
210
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
192
|
-
|
211
|
+
elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
212
|
+
self.send("#{key}=", nil)
|
213
|
+
end
|
193
214
|
end
|
194
215
|
|
195
216
|
self
|
@@ -211,7 +232,7 @@ module SematextCloud
|
|
211
232
|
value.to_i
|
212
233
|
when :Float
|
213
234
|
value.to_f
|
214
|
-
when :
|
235
|
+
when :Boolean
|
215
236
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
216
237
|
true
|
217
238
|
else
|
@@ -232,8 +253,7 @@ module SematextCloud
|
|
232
253
|
end
|
233
254
|
end
|
234
255
|
else # model
|
235
|
-
|
236
|
-
temp_model.build_from_hash(value)
|
256
|
+
SematextCloud.const_get(type).build_from_hash(value)
|
237
257
|
end
|
238
258
|
end
|
239
259
|
|
@@ -255,7 +275,11 @@ module SematextCloud
|
|
255
275
|
hash = {}
|
256
276
|
self.class.attribute_map.each_pair do |attr, param|
|
257
277
|
value = self.send(attr)
|
258
|
-
|
278
|
+
if value.nil?
|
279
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
280
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
281
|
+
end
|
282
|
+
|
259
283
|
hash[param] = _to_hash(value)
|
260
284
|
end
|
261
285
|
hash
|
@@ -277,6 +301,5 @@ module SematextCloud
|
|
277
301
|
else
|
278
302
|
value
|
279
303
|
end
|
280
|
-
end
|
281
|
-
end
|
304
|
+
end end
|
282
305
|
end
|
@@ -6,13 +6,15 @@
|
|
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 'date'
|
13
13
|
|
14
|
-
module
|
14
|
+
module SematextCloud
|
15
15
|
class Subscription
|
16
|
+
attr_accessor :additional_params
|
17
|
+
|
16
18
|
attr_accessor :addresses
|
17
19
|
|
18
20
|
attr_accessor :created_by
|
@@ -68,6 +70,7 @@ module stcloud
|
|
68
70
|
# Attribute mapping from ruby-style variable name to JSON key.
|
69
71
|
def self.attribute_map
|
70
72
|
{
|
73
|
+
:'additional_params' => :'additionalParams',
|
71
74
|
:'addresses' => :'addresses',
|
72
75
|
:'created_by' => :'createdBy',
|
73
76
|
:'dashboard_id' => :'dashboardId',
|
@@ -89,6 +92,7 @@ module stcloud
|
|
89
92
|
# Attribute type mapping.
|
90
93
|
def self.openapi_types
|
91
94
|
{
|
95
|
+
:'additional_params' => :'Object',
|
92
96
|
:'addresses' => :'Object',
|
93
97
|
:'created_by' => :'Object',
|
94
98
|
:'dashboard_id' => :'Object',
|
@@ -117,17 +121,21 @@ module stcloud
|
|
117
121
|
# @param [Hash] attributes Model attributes in the form of hash
|
118
122
|
def initialize(attributes = {})
|
119
123
|
if (!attributes.is_a?(Hash))
|
120
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `
|
124
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SematextCloud::Subscription` initialize method"
|
121
125
|
end
|
122
126
|
|
123
127
|
# check to see if the attribute exists and convert string to symbol for hash key
|
124
128
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
125
129
|
if (!self.class.attribute_map.key?(k.to_sym))
|
126
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `
|
130
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SematextCloud::Subscription`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
127
131
|
end
|
128
132
|
h[k.to_sym] = v
|
129
133
|
}
|
130
134
|
|
135
|
+
if attributes.key?(:'additional_params')
|
136
|
+
self.additional_params = attributes[:'additional_params']
|
137
|
+
end
|
138
|
+
|
131
139
|
if attributes.key?(:'addresses')
|
132
140
|
self.addresses = attributes[:'addresses']
|
133
141
|
end
|
@@ -231,6 +239,7 @@ module stcloud
|
|
231
239
|
def ==(o)
|
232
240
|
return true if self.equal?(o)
|
233
241
|
self.class == o.class &&
|
242
|
+
additional_params == o.additional_params &&
|
234
243
|
addresses == o.addresses &&
|
235
244
|
created_by == o.created_by &&
|
236
245
|
dashboard_id == o.dashboard_id &&
|
@@ -257,7 +266,7 @@ module stcloud
|
|
257
266
|
# Calculates hash code according to all attributes.
|
258
267
|
# @return [Integer] Hash code
|
259
268
|
def hash
|
260
|
-
[addresses, created_by, dashboard_id, dashboard_name, enabled, filters, frequency, id, next_send_date, subject, system_id, system_name, text, time_range, user_permissions].hash
|
269
|
+
[additional_params, addresses, created_by, dashboard_id, dashboard_name, enabled, filters, frequency, id, next_send_date, subject, system_id, system_name, text, time_range, user_permissions].hash
|
261
270
|
end
|
262
271
|
|
263
272
|
# Builds the object from hash
|
@@ -326,7 +335,7 @@ module stcloud
|
|
326
335
|
end
|
327
336
|
end
|
328
337
|
else # model
|
329
|
-
|
338
|
+
SematextCloud.const_get(type).build_from_hash(value)
|
330
339
|
end
|
331
340
|
end
|
332
341
|
|
@@ -6,13 +6,12 @@
|
|
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.34
|
11
10
|
=end
|
12
11
|
|
13
12
|
require 'date'
|
14
13
|
|
15
|
-
module
|
14
|
+
module SematextCloud
|
16
15
|
class SubscriptionDashboardDto
|
17
16
|
attr_accessor :addresses
|
18
17
|
|
@@ -76,72 +75,85 @@ module stcloud
|
|
76
75
|
end
|
77
76
|
|
78
77
|
# Attribute type mapping.
|
79
|
-
def self.
|
78
|
+
def self.openapi_types
|
80
79
|
{
|
81
|
-
:'addresses' => :'
|
82
|
-
:'dashboard_id' => :'
|
83
|
-
:'enable' => :'
|
84
|
-
:'filters' => :'
|
85
|
-
:'frequency' => :'
|
86
|
-
:'id' => :'
|
87
|
-
:'report_name' => :'
|
88
|
-
:'send_time' => :'
|
89
|
-
:'subject' => :'
|
90
|
-
:'text' => :'
|
91
|
-
:'time_range' => :'
|
80
|
+
:'addresses' => :'Object',
|
81
|
+
:'dashboard_id' => :'Object',
|
82
|
+
:'enable' => :'Object',
|
83
|
+
:'filters' => :'Object',
|
84
|
+
:'frequency' => :'Object',
|
85
|
+
:'id' => :'Object',
|
86
|
+
:'report_name' => :'Object',
|
87
|
+
:'send_time' => :'Object',
|
88
|
+
:'subject' => :'Object',
|
89
|
+
:'text' => :'Object',
|
90
|
+
:'time_range' => :'Object'
|
92
91
|
}
|
93
92
|
end
|
94
93
|
|
94
|
+
# List of attributes with nullable: true
|
95
|
+
def self.openapi_nullable
|
96
|
+
Set.new([
|
97
|
+
])
|
98
|
+
end
|
99
|
+
|
95
100
|
# Initializes the object
|
96
101
|
# @param [Hash] attributes Model attributes in the form of hash
|
97
102
|
def initialize(attributes = {})
|
98
|
-
|
103
|
+
if (!attributes.is_a?(Hash))
|
104
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `SematextCloud::SubscriptionDashboardDto` initialize method"
|
105
|
+
end
|
99
106
|
|
100
|
-
# convert string to symbol for hash key
|
101
|
-
attributes = attributes.each_with_object({}) { |(k, v), h|
|
107
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
108
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
109
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
110
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SematextCloud::SubscriptionDashboardDto`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
111
|
+
end
|
112
|
+
h[k.to_sym] = v
|
113
|
+
}
|
102
114
|
|
103
|
-
if attributes.
|
115
|
+
if attributes.key?(:'addresses')
|
104
116
|
self.addresses = attributes[:'addresses']
|
105
117
|
end
|
106
118
|
|
107
|
-
if attributes.
|
108
|
-
self.dashboard_id = attributes[:'
|
119
|
+
if attributes.key?(:'dashboard_id')
|
120
|
+
self.dashboard_id = attributes[:'dashboard_id']
|
109
121
|
end
|
110
122
|
|
111
|
-
if attributes.
|
123
|
+
if attributes.key?(:'enable')
|
112
124
|
self.enable = attributes[:'enable']
|
113
125
|
end
|
114
126
|
|
115
|
-
if attributes.
|
127
|
+
if attributes.key?(:'filters')
|
116
128
|
self.filters = attributes[:'filters']
|
117
129
|
end
|
118
130
|
|
119
|
-
if attributes.
|
131
|
+
if attributes.key?(:'frequency')
|
120
132
|
self.frequency = attributes[:'frequency']
|
121
133
|
end
|
122
134
|
|
123
|
-
if attributes.
|
135
|
+
if attributes.key?(:'id')
|
124
136
|
self.id = attributes[:'id']
|
125
137
|
end
|
126
138
|
|
127
|
-
if attributes.
|
128
|
-
self.report_name = attributes[:'
|
139
|
+
if attributes.key?(:'report_name')
|
140
|
+
self.report_name = attributes[:'report_name']
|
129
141
|
end
|
130
142
|
|
131
|
-
if attributes.
|
132
|
-
self.send_time = attributes[:'
|
143
|
+
if attributes.key?(:'send_time')
|
144
|
+
self.send_time = attributes[:'send_time']
|
133
145
|
end
|
134
146
|
|
135
|
-
if attributes.
|
147
|
+
if attributes.key?(:'subject')
|
136
148
|
self.subject = attributes[:'subject']
|
137
149
|
end
|
138
150
|
|
139
|
-
if attributes.
|
151
|
+
if attributes.key?(:'text')
|
140
152
|
self.text = attributes[:'text']
|
141
153
|
end
|
142
154
|
|
143
|
-
if attributes.
|
144
|
-
self.time_range = attributes[:'
|
155
|
+
if attributes.key?(:'time_range')
|
156
|
+
self.time_range = attributes[:'time_range']
|
145
157
|
end
|
146
158
|
end
|
147
159
|
|
@@ -155,9 +167,9 @@ module stcloud
|
|
155
167
|
# Check to see if the all the properties in the model are valid
|
156
168
|
# @return true if the model is valid
|
157
169
|
def valid?
|
158
|
-
frequency_validator = EnumAttributeValidator.new('
|
170
|
+
frequency_validator = EnumAttributeValidator.new('Object', ['EVERY_FIVE_MINUTES', 'DAILY', 'WEEKLY', 'MONTHLY', 'QUARTERLY'])
|
159
171
|
return false unless frequency_validator.valid?(@frequency)
|
160
|
-
time_range_validator = EnumAttributeValidator.new('
|
172
|
+
time_range_validator = EnumAttributeValidator.new('Object', ['ONE_DAY', 'ONE_WEEK', 'ONE_MONTH', 'TWO_MONTH', 'SIX_MONTH', 'ONE_YEAR'])
|
161
173
|
return false unless time_range_validator.valid?(@time_range)
|
162
174
|
true
|
163
175
|
end
|
@@ -165,9 +177,9 @@ module stcloud
|
|
165
177
|
# Custom attribute writer method checking allowed values (enum).
|
166
178
|
# @param [Object] frequency Object to be assigned
|
167
179
|
def frequency=(frequency)
|
168
|
-
validator = EnumAttributeValidator.new('
|
180
|
+
validator = EnumAttributeValidator.new('Object', ['EVERY_FIVE_MINUTES', 'DAILY', 'WEEKLY', 'MONTHLY', 'QUARTERLY'])
|
169
181
|
unless validator.valid?(frequency)
|
170
|
-
fail ArgumentError,
|
182
|
+
fail ArgumentError, "invalid value for \"frequency\", must be one of #{validator.allowable_values}."
|
171
183
|
end
|
172
184
|
@frequency = frequency
|
173
185
|
end
|
@@ -175,9 +187,9 @@ module stcloud
|
|
175
187
|
# Custom attribute writer method checking allowed values (enum).
|
176
188
|
# @param [Object] time_range Object to be assigned
|
177
189
|
def time_range=(time_range)
|
178
|
-
validator = EnumAttributeValidator.new('
|
190
|
+
validator = EnumAttributeValidator.new('Object', ['ONE_DAY', 'ONE_WEEK', 'ONE_MONTH', 'TWO_MONTH', 'SIX_MONTH', 'ONE_YEAR'])
|
179
191
|
unless validator.valid?(time_range)
|
180
|
-
fail ArgumentError,
|
192
|
+
fail ArgumentError, "invalid value for \"time_range\", must be one of #{validator.allowable_values}."
|
181
193
|
end
|
182
194
|
@time_range = time_range
|
183
195
|
end
|
@@ -207,26 +219,35 @@ module stcloud
|
|
207
219
|
end
|
208
220
|
|
209
221
|
# Calculates hash code according to all attributes.
|
210
|
-
# @return [
|
222
|
+
# @return [Integer] Hash code
|
211
223
|
def hash
|
212
224
|
[addresses, dashboard_id, enable, filters, frequency, id, report_name, send_time, subject, text, time_range].hash
|
213
225
|
end
|
214
226
|
|
227
|
+
# Builds the object from hash
|
228
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
229
|
+
# @return [Object] Returns the model itself
|
230
|
+
def self.build_from_hash(attributes)
|
231
|
+
new.build_from_hash(attributes)
|
232
|
+
end
|
233
|
+
|
215
234
|
# Builds the object from hash
|
216
235
|
# @param [Hash] attributes Model attributes in the form of hash
|
217
236
|
# @return [Object] Returns the model itself
|
218
237
|
def build_from_hash(attributes)
|
219
238
|
return nil unless attributes.is_a?(Hash)
|
220
|
-
self.class.
|
239
|
+
self.class.openapi_types.each_pair do |key, type|
|
221
240
|
if type =~ /\AArray<(.*)>/i
|
222
|
-
# check to ensure the input is an array given that the
|
241
|
+
# check to ensure the input is an array given that the attribute
|
223
242
|
# is documented as an array but the input is not
|
224
243
|
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
225
244
|
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
226
245
|
end
|
227
246
|
elsif !attributes[self.class.attribute_map[key]].nil?
|
228
247
|
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
229
|
-
|
248
|
+
elsif attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
|
249
|
+
self.send("#{key}=", nil)
|
250
|
+
end
|
230
251
|
end
|
231
252
|
|
232
253
|
self
|
@@ -248,7 +269,7 @@ module stcloud
|
|
248
269
|
value.to_i
|
249
270
|
when :Float
|
250
271
|
value.to_f
|
251
|
-
when :
|
272
|
+
when :Boolean
|
252
273
|
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
253
274
|
true
|
254
275
|
else
|
@@ -269,8 +290,7 @@ module stcloud
|
|
269
290
|
end
|
270
291
|
end
|
271
292
|
else # model
|
272
|
-
|
273
|
-
temp_model.build_from_hash(value)
|
293
|
+
SematextCloud.const_get(type).build_from_hash(value)
|
274
294
|
end
|
275
295
|
end
|
276
296
|
|
@@ -292,7 +312,11 @@ module stcloud
|
|
292
312
|
hash = {}
|
293
313
|
self.class.attribute_map.each_pair do |attr, param|
|
294
314
|
value = self.send(attr)
|
295
|
-
|
315
|
+
if value.nil?
|
316
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
317
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
318
|
+
end
|
319
|
+
|
296
320
|
hash[param] = _to_hash(value)
|
297
321
|
end
|
298
322
|
hash
|
@@ -314,6 +338,5 @@ module stcloud
|
|
314
338
|
else
|
315
339
|
value
|
316
340
|
end
|
317
|
-
end
|
318
|
-
end
|
341
|
+
end end
|
319
342
|
end
|