spartera_api_sdk 1.0.74 → 1.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/APIKeysApi.md +210 -60
- data/docs/Alerts.md +30 -0
- data/docs/AlertsApi.md +20 -20
- data/docs/AlertsInput.md +24 -0
- data/docs/AlertsUpdate.md +24 -0
- data/docs/{CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response.md → AnalyzeCompanyHandleAssetsAssetSlugGet200Response.md} +3 -3
- data/docs/ApiKeys.md +32 -0
- data/docs/ApiKeysInput.md +26 -0
- data/docs/ApiKeysUpdate.md +26 -0
- data/docs/AssetPriceHistory.md +28 -0
- data/docs/AssetPriceHistoryApi.md +56 -48
- data/docs/AssetPriceHistoryInput.md +22 -0
- data/docs/AssetPriceHistoryUpdate.md +22 -0
- data/docs/Assets.md +108 -0
- data/docs/AssetsApi.md +28 -28
- data/docs/AssetsInput.md +94 -0
- data/docs/AssetsUpdate.md +94 -0
- data/docs/{Cloudprovider.md → CloudProviders.md} +8 -10
- data/docs/CloudProvidersApi.md +8 -8
- data/docs/{CompaniesCompanyIdAssetsAssetIdGet200Response.md → CloudProvidersGet200Response.md} +3 -3
- data/docs/CloudProvidersInput.md +22 -0
- data/docs/CloudProvidersProviderIdGet200Response.md +20 -0
- data/docs/CloudProvidersProviderIdStorageEnginesGet200Response.md +20 -0
- data/docs/CloudProvidersUpdate.md +22 -0
- data/docs/{Company.md → Companies.md} +13 -15
- data/docs/CompaniesApi.md +41 -39
- data/docs/CompaniesCompanyIdAnalyticsAssetsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysApiKeyIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdApiKeysGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdApiKeysPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdApiKeysPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesAphIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPricesPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdConnectionsConnectionIdGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdConnectionsGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAssetAssetIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsGet200Response.md +1 -1
- data/docs/{CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md → CompaniesCompanyIdUsersUserIdFavoritesCategoryCategoryGet200Response.md} +3 -3
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesGet200Response.md +1 -1
- data/docs/CompaniesCompanyIdUsersUserIdGet200Response.md +1 -1
- data/docs/CompaniesInput.md +36 -0
- data/docs/CompaniesUpdate.md +36 -0
- data/docs/Connections.md +38 -0
- data/docs/ConnectionsApi.md +12 -12
- data/docs/ConnectionsInput.md +32 -0
- data/docs/ConnectionsUpdate.md +32 -0
- data/docs/Favorites.md +34 -0
- data/docs/FavoritesApi.md +24 -24
- data/docs/FavoritesInput.md +28 -0
- data/docs/FavoritesUpdate.md +28 -0
- data/docs/JobFunctions.md +24 -0
- data/docs/JobFunctionsApi.md +144 -0
- data/docs/JobFunctionsFunctionIdGet200Response.md +20 -0
- data/docs/JobFunctionsGet200Response.md +20 -0
- data/docs/JobFunctionsInput.md +18 -0
- data/docs/JobFunctionsUpdate.md +18 -0
- data/docs/StorageEnginesApi.md +8 -8
- data/docs/{User.md → Users.md} +9 -11
- data/docs/UsersApi.md +20 -20
- data/docs/UsersInput.md +26 -0
- data/docs/UsersUpdate.md +26 -0
- data/lib/spartera_api_sdk/api/alerts_api.rb +25 -25
- data/lib/spartera_api_sdk/api/api_keys_api.rb +222 -55
- data/lib/spartera_api_sdk/api/asset_price_history_api.rb +87 -43
- data/lib/spartera_api_sdk/api/assets_api.rb +37 -37
- data/lib/spartera_api_sdk/api/cloud_providers_api.rb +7 -7
- data/lib/spartera_api_sdk/api/companies_api.rb +43 -32
- data/lib/spartera_api_sdk/api/connections_api.rb +19 -19
- data/lib/spartera_api_sdk/api/favorites_api.rb +28 -28
- data/lib/spartera_api_sdk/api/job_functions_api.rb +138 -0
- data/lib/spartera_api_sdk/api/storage_engines_api.rb +7 -7
- data/lib/spartera_api_sdk/api/users_api.rb +24 -24
- data/lib/spartera_api_sdk/api_client.rb +1 -1
- data/lib/spartera_api_sdk/api_error.rb +1 -1
- data/lib/spartera_api_sdk/configuration.rb +1 -1
- data/lib/spartera_api_sdk/models/{alert.rb → alerts.rb} +38 -64
- data/lib/spartera_api_sdk/models/alerts_input.rb +283 -0
- data/lib/spartera_api_sdk/models/{me_get200_response_token_metadata.rb → alerts_update.rb} +31 -34
- data/lib/spartera_api_sdk/models/analyze_company_handle_assets_asset_slug_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/{apikey.rb → api_keys.rb} +34 -64
- data/lib/spartera_api_sdk/models/api_keys_input.rb +296 -0
- data/lib/spartera_api_sdk/models/api_keys_update.rb +262 -0
- data/lib/spartera_api_sdk/models/{assetpricehistory.rb → asset_price_history.rb} +27 -88
- data/lib/spartera_api_sdk/models/asset_price_history_input.rb +257 -0
- data/lib/spartera_api_sdk/models/asset_price_history_update.rb +240 -0
- data/lib/spartera_api_sdk/models/assets.rb +879 -0
- data/lib/spartera_api_sdk/models/{asset.rb → assets_input.rb} +160 -95
- data/lib/spartera_api_sdk/models/assets_update.rb +710 -0
- data/lib/spartera_api_sdk/models/{cloudprovider.rb → cloud_providers.rb} +27 -36
- data/lib/spartera_api_sdk/models/cloud_providers_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/cloud_providers_input.rb +256 -0
- data/lib/spartera_api_sdk/models/{companies_company_id_assets_asset_id_get200_response.rb → cloud_providers_provider_id_get200_response.rb} +5 -5
- data/lib/spartera_api_sdk/models/cloud_providers_provider_id_storage_engines_get200_response.rb +246 -0
- data/lib/spartera_api_sdk/models/cloud_providers_update.rb +239 -0
- data/lib/spartera_api_sdk/models/{company.rb → companies.rb} +33 -39
- data/lib/spartera_api_sdk/models/companies_company_id_analytics_assets_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_api_key_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_get200_response.rb +22 -4
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_alerts_alert_id_get200_response.rb → companies_company_id_assets_asset_id_prices_aph_id_get200_response.rb} +5 -5
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_prices_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_asset_asset_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/{companies_company_id_users_user_id_favorites_favorite_id_get200_response.rb → companies_company_id_users_user_id_favorites_category_category_get200_response.rb} +5 -5
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_get200_response.rb +2 -2
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response_data.rb +1 -1
- data/lib/spartera_api_sdk/models/companies_input.rb +339 -0
- data/lib/spartera_api_sdk/models/companies_update.rb +305 -0
- data/lib/spartera_api_sdk/models/{connection.rb → connections.rb} +57 -111
- data/lib/spartera_api_sdk/models/connections_input.rb +353 -0
- data/lib/spartera_api_sdk/models/connections_update.rb +319 -0
- data/lib/spartera_api_sdk/models/error.rb +1 -1
- data/lib/spartera_api_sdk/models/{favorite.rb → favorites.rb} +30 -36
- data/lib/spartera_api_sdk/models/favorites_input.rb +303 -0
- data/lib/spartera_api_sdk/models/favorites_update.rb +269 -0
- data/lib/spartera_api_sdk/models/inline_object.rb +1 -1
- data/lib/spartera_api_sdk/models/inline_object1.rb +1 -1
- data/lib/spartera_api_sdk/models/inline_object2.rb +1 -1
- data/lib/spartera_api_sdk/models/inline_object3.rb +1 -1
- data/lib/spartera_api_sdk/models/job_functions.rb +282 -0
- data/lib/spartera_api_sdk/models/job_functions_function_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/job_functions_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/{me_get200_response_api_key_info.rb → job_functions_input.rb} +29 -23
- data/lib/spartera_api_sdk/models/job_functions_update.rb +221 -0
- data/lib/spartera_api_sdk/models/{user.rb → users.rb} +56 -40
- data/lib/spartera_api_sdk/models/{me_get200_response_profile.rb → users_input.rb} +35 -71
- data/lib/spartera_api_sdk/models/users_update.rb +292 -0
- data/lib/spartera_api_sdk/version.rb +1 -1
- data/lib/spartera_api_sdk.rb +59 -17
- data/spec/api/alerts_api_spec.rb +5 -5
- data/spec/api/api_keys_api_spec.rb +43 -16
- data/spec/api/asset_price_history_api_spec.rb +14 -10
- data/spec/api/assets_api_spec.rb +7 -7
- data/spec/api/cloud_providers_api_spec.rb +3 -3
- data/spec/api/companies_api_spec.rb +11 -10
- data/spec/api/connections_api_spec.rb +3 -3
- data/spec/api/favorites_api_spec.rb +6 -6
- data/spec/api/job_functions_api_spec.rb +56 -0
- data/spec/api/storage_engines_api_spec.rb +3 -3
- data/spec/api/users_api_spec.rb +5 -5
- data/spec/models/{me_get200_response_token_metadata_spec.rb → alerts_input_spec.rb} +11 -11
- data/spec/models/alerts_spec.rb +72 -0
- data/spec/models/alerts_update_spec.rb +54 -0
- data/spec/models/analyze_company_handle_assets_asset_slug_get200_response_spec.rb +42 -0
- data/spec/models/api_keys_input_spec.rb +60 -0
- data/spec/models/{apikey_spec.rb → api_keys_spec.rb} +15 -27
- data/spec/models/api_keys_update_spec.rb +60 -0
- data/spec/models/asset_price_history_input_spec.rb +48 -0
- data/spec/models/asset_price_history_spec.rb +66 -0
- data/spec/models/asset_price_history_update_spec.rb +48 -0
- data/spec/models/assets_input_spec.rb +300 -0
- data/spec/models/{asset_spec.rb → assets_spec.rb} +59 -25
- data/spec/models/assets_update_spec.rb +300 -0
- data/spec/models/cloud_providers_get200_response_spec.rb +42 -0
- data/spec/models/cloud_providers_input_spec.rb +48 -0
- data/spec/models/cloud_providers_provider_id_get200_response_spec.rb +42 -0
- data/spec/models/cloud_providers_provider_id_storage_engines_get200_response_spec.rb +42 -0
- data/spec/models/{cloudprovider_spec.rb → cloud_providers_spec.rb} +13 -19
- data/spec/models/cloud_providers_update_spec.rb +48 -0
- data/spec/models/companies_company_id_analytics_assets_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_api_keys_api_key_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_api_keys_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_api_keys_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_api_keys_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_aph_id_patch200_response_spec.rb +42 -0
- data/spec/models/{companies_company_id_assets_asset_id_get200_response_spec.rb → companies_company_id_assets_asset_id_prices_get200_response_spec.rb} +7 -7
- data/spec/models/companies_company_id_assets_asset_id_prices_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_prices_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_assets_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_connections_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_spec.rb +1 -1
- data/spec/models/{companies_company_id_users_user_id_alerts_alert_id_get200_response_spec.rb → companies_company_id_users_user_id_alerts_asset_asset_id_get200_response_spec.rb} +7 -7
- data/spec/models/companies_company_id_users_user_id_alerts_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_delete200_response_spec.rb +1 -1
- data/spec/models/{companies_company_id_users_user_id_favorites_favorite_id_get200_response_spec.rb → companies_company_id_users_user_id_favorites_category_category_get200_response_spec.rb} +7 -7
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_get200_response_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_patch200_response_data_spec.rb +1 -1
- data/spec/models/companies_company_id_users_user_id_patch200_response_spec.rb +1 -1
- data/spec/models/{alert_spec.rb → companies_input_spec.rb} +17 -17
- data/spec/models/{company_spec.rb → companies_spec.rb} +19 -25
- data/spec/models/companies_update_spec.rb +90 -0
- data/spec/models/connections_input_spec.rb +82 -0
- data/spec/models/{me_get200_response_profile_spec.rb → connections_spec.rb} +27 -21
- data/spec/models/connections_update_spec.rb +82 -0
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/favorites_input_spec.rb +66 -0
- data/spec/models/{favorite_spec.rb → favorites_spec.rb} +16 -22
- data/spec/models/favorites_update_spec.rb +66 -0
- data/spec/models/inline_object1_spec.rb +1 -1
- data/spec/models/inline_object2_spec.rb +1 -1
- data/spec/models/inline_object3_spec.rb +1 -1
- data/spec/models/inline_object_spec.rb +1 -1
- data/spec/models/job_functions_function_id_get200_response_spec.rb +42 -0
- data/spec/models/{me_get200_response_api_key_info_spec.rb → job_functions_get200_response_spec.rb} +9 -9
- data/spec/models/job_functions_input_spec.rb +36 -0
- data/spec/models/job_functions_spec.rb +54 -0
- data/spec/models/job_functions_update_spec.rb +36 -0
- data/spec/models/users_input_spec.rb +64 -0
- data/spec/models/{user_spec.rb → users_spec.rb} +19 -21
- data/spec/models/users_update_spec.rb +64 -0
- metadata +285 -123
- data/docs/Alert.md +0 -36
- data/docs/Apikey.md +0 -36
- data/docs/Asset.md +0 -110
- data/docs/Assetpricehistory.md +0 -38
- data/docs/Connection.md +0 -54
- data/docs/Favorite.md +0 -36
- data/docs/MeGet200Response.md +0 -36
- data/docs/MeGet200ResponseApiKeyInfo.md +0 -20
- data/docs/MeGet200ResponseProfile.md +0 -36
- data/docs/MeGet200ResponseTokenMetadata.md +0 -24
- data/example.rb +0 -51
- data/lib/spartera_api_sdk/models/me_get200_response.rb +0 -417
- data/spec/models/assetpricehistory_spec.rb +0 -96
- data/spec/models/connection_spec.rb +0 -144
- data/spec/models/me_get200_response_spec.rb +0 -94
- data/spec/spec_helper.rb +0 -111
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Spartera API Documentation
|
|
3
|
+
|
|
4
|
+
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
|
+
Contact: support@spartera.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
|
|
16
|
+
# Unit tests for SparteraApiSdk::JobFunctionsApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'JobFunctionsApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = SparteraApiSdk::JobFunctionsApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of JobFunctionsApi' do
|
|
30
|
+
it 'should create an instance of JobFunctionsApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(SparteraApiSdk::JobFunctionsApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for job_functions_function_id_get
|
|
36
|
+
# Get single job function by ID
|
|
37
|
+
# @param function_id
|
|
38
|
+
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @return [JobFunctionsFunctionIdGet200Response]
|
|
40
|
+
describe 'job_functions_function_id_get test' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
# unit tests for job_functions_get
|
|
47
|
+
# Get a list of all job functions
|
|
48
|
+
# @param [Hash] opts the optional parameters
|
|
49
|
+
# @return [JobFunctionsGet200Response]
|
|
50
|
+
describe 'job_functions_get test' do
|
|
51
|
+
it 'should work' do
|
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -37,7 +37,7 @@ describe 'StorageEnginesApi' do
|
|
|
37
37
|
# @param provider_id
|
|
38
38
|
# @param engine_id
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @return [
|
|
40
|
+
# @return [CloudProvidersProviderIdStorageEnginesGet200Response]
|
|
41
41
|
describe 'cloud_providers_provider_id_storage_engines_engine_id_get test' do
|
|
42
42
|
it 'should work' do
|
|
43
43
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -48,7 +48,7 @@ describe 'StorageEnginesApi' do
|
|
|
48
48
|
# Get a list of all storage engines
|
|
49
49
|
# @param provider_id
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
|
51
|
-
# @return [
|
|
51
|
+
# @return [CloudProvidersProviderIdStorageEnginesGet200Response]
|
|
52
52
|
describe 'cloud_providers_provider_id_storage_engines_get test' do
|
|
53
53
|
it 'should work' do
|
|
54
54
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
data/spec/api/users_api_spec.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -46,7 +46,7 @@ describe 'UsersApi' do
|
|
|
46
46
|
# unit tests for companies_company_id_users_post
|
|
47
47
|
# Create a new user
|
|
48
48
|
# @param company_id
|
|
49
|
-
# @param
|
|
49
|
+
# @param users_input
|
|
50
50
|
# @param [Hash] opts the optional parameters
|
|
51
51
|
# @return [CompaniesCompanyIdUsersPost200Response]
|
|
52
52
|
describe 'companies_company_id_users_post test' do
|
|
@@ -83,7 +83,7 @@ describe 'UsersApi' do
|
|
|
83
83
|
# Update an existing user by ID
|
|
84
84
|
# @param company_id
|
|
85
85
|
# @param user_id
|
|
86
|
-
# @param
|
|
86
|
+
# @param users_update
|
|
87
87
|
# @param [Hash] opts the optional parameters
|
|
88
88
|
# @return [CompaniesCompanyIdUsersUserIdPatch200Response]
|
|
89
89
|
describe 'companies_company_id_users_user_id_patch test' do
|
|
@@ -93,9 +93,9 @@ describe 'UsersApi' do
|
|
|
93
93
|
end
|
|
94
94
|
|
|
95
95
|
# unit tests for me_get
|
|
96
|
-
# Get current authenticated user's profile
|
|
96
|
+
# Get current authenticated user's profile.
|
|
97
97
|
# @param [Hash] opts the optional parameters
|
|
98
|
-
# @return [
|
|
98
|
+
# @return [CompaniesCompanyIdUsersGet200Response]
|
|
99
99
|
describe 'me_get test' do
|
|
100
100
|
it 'should work' do
|
|
101
101
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -14,38 +14,38 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for SparteraApiSdk::
|
|
17
|
+
# Unit tests for SparteraApiSdk::AlertsInput
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe SparteraApiSdk::
|
|
21
|
-
let(:instance) { SparteraApiSdk::
|
|
20
|
+
describe SparteraApiSdk::AlertsInput do
|
|
21
|
+
let(:instance) { SparteraApiSdk::AlertsInput.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of AlertsInput' do
|
|
24
|
+
it 'should create an instance of AlertsInput' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(SparteraApiSdk::
|
|
26
|
+
#expect(instance).to be_instance_of(SparteraApiSdk::AlertsInput)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
30
|
+
describe 'test attribute "asset_id"' do
|
|
31
31
|
it 'should work' do
|
|
32
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "user_id"' do
|
|
37
37
|
it 'should work' do
|
|
38
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "company_id"' do
|
|
43
43
|
it 'should work' do
|
|
44
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "is_active"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
51
|
end
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Spartera API Documentation
|
|
3
|
+
|
|
4
|
+
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
|
+
Contact: support@spartera.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SparteraApiSdk::Alerts
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SparteraApiSdk::Alerts do
|
|
21
|
+
let(:instance) { SparteraApiSdk::Alerts.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of Alerts' do
|
|
24
|
+
it 'should create an instance of Alerts' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SparteraApiSdk::Alerts)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "date_created"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "last_updated"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "alert_id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "asset_id"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "user_id"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "company_id"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "is_active"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Spartera API Documentation
|
|
3
|
+
|
|
4
|
+
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
|
+
Contact: support@spartera.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SparteraApiSdk::AlertsUpdate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SparteraApiSdk::AlertsUpdate do
|
|
21
|
+
let(:instance) { SparteraApiSdk::AlertsUpdate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AlertsUpdate' do
|
|
24
|
+
it 'should create an instance of AlertsUpdate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SparteraApiSdk::AlertsUpdate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "asset_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "user_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "company_id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "is_active"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Spartera API Documentation
|
|
3
|
+
|
|
4
|
+
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
|
+
Contact: support@spartera.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SparteraApiSdk::AnalyzeCompanyHandleAssetsAssetSlugGet200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SparteraApiSdk::AnalyzeCompanyHandleAssetsAssetSlugGet200Response do
|
|
21
|
+
let(:instance) { SparteraApiSdk::AnalyzeCompanyHandleAssetsAssetSlugGet200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AnalyzeCompanyHandleAssetsAssetSlugGet200Response' do
|
|
24
|
+
it 'should create an instance of AnalyzeCompanyHandleAssetsAssetSlugGet200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SparteraApiSdk::AnalyzeCompanyHandleAssetsAssetSlugGet200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "message"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "data"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Spartera API Documentation
|
|
3
|
+
|
|
4
|
+
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
|
+
Contact: support@spartera.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SparteraApiSdk::ApiKeysInput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SparteraApiSdk::ApiKeysInput do
|
|
21
|
+
let(:instance) { SparteraApiSdk::ApiKeysInput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ApiKeysInput' do
|
|
24
|
+
it 'should create an instance of ApiKeysInput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SparteraApiSdk::ApiKeysInput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "user_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "company_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "role_id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "expiration_date_utc"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document:
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
7
|
Contact: support@spartera.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.13.0
|
|
@@ -14,74 +14,62 @@ require 'spec_helper'
|
|
|
14
14
|
require 'json'
|
|
15
15
|
require 'date'
|
|
16
16
|
|
|
17
|
-
# Unit tests for SparteraApiSdk::
|
|
17
|
+
# Unit tests for SparteraApiSdk::ApiKeys
|
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
19
|
# Please update as you see appropriate
|
|
20
|
-
describe SparteraApiSdk::
|
|
21
|
-
let(:instance) { SparteraApiSdk::
|
|
20
|
+
describe SparteraApiSdk::ApiKeys do
|
|
21
|
+
let(:instance) { SparteraApiSdk::ApiKeys.new }
|
|
22
22
|
|
|
23
|
-
describe 'test an instance of
|
|
24
|
-
it 'should create an instance of
|
|
23
|
+
describe 'test an instance of ApiKeys' do
|
|
24
|
+
it 'should create an instance of ApiKeys' do
|
|
25
25
|
# uncomment below to test the instance creation
|
|
26
|
-
#expect(instance).to be_instance_of(SparteraApiSdk::
|
|
26
|
+
#expect(instance).to be_instance_of(SparteraApiSdk::ApiKeys)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
30
|
-
describe 'test attribute "
|
|
31
|
-
it 'should work' do
|
|
32
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
-
end
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
describe 'test attribute "user_id"' do
|
|
37
|
-
it 'should work' do
|
|
38
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
-
end
|
|
40
|
-
end
|
|
41
|
-
|
|
42
|
-
describe 'test attribute "company_id"' do
|
|
30
|
+
describe 'test attribute "date_created"' do
|
|
43
31
|
it 'should work' do
|
|
44
32
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
33
|
end
|
|
46
34
|
end
|
|
47
35
|
|
|
48
|
-
describe 'test attribute "
|
|
36
|
+
describe 'test attribute "last_updated"' do
|
|
49
37
|
it 'should work' do
|
|
50
38
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
39
|
end
|
|
52
40
|
end
|
|
53
41
|
|
|
54
|
-
describe 'test attribute "
|
|
42
|
+
describe 'test attribute "api_key_id"' do
|
|
55
43
|
it 'should work' do
|
|
56
44
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
45
|
end
|
|
58
46
|
end
|
|
59
47
|
|
|
60
|
-
describe 'test attribute "
|
|
48
|
+
describe 'test attribute "user_id"' do
|
|
61
49
|
it 'should work' do
|
|
62
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
51
|
end
|
|
64
52
|
end
|
|
65
53
|
|
|
66
|
-
describe 'test attribute "
|
|
54
|
+
describe 'test attribute "company_id"' do
|
|
67
55
|
it 'should work' do
|
|
68
56
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
57
|
end
|
|
70
58
|
end
|
|
71
59
|
|
|
72
|
-
describe 'test attribute "
|
|
60
|
+
describe 'test attribute "role_id"' do
|
|
73
61
|
it 'should work' do
|
|
74
62
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
63
|
end
|
|
76
64
|
end
|
|
77
65
|
|
|
78
|
-
describe 'test attribute "
|
|
66
|
+
describe 'test attribute "name"' do
|
|
79
67
|
it 'should work' do
|
|
80
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
69
|
end
|
|
82
70
|
end
|
|
83
71
|
|
|
84
|
-
describe 'test attribute "
|
|
72
|
+
describe 'test attribute "expiration_date_utc"' do
|
|
85
73
|
it 'should work' do
|
|
86
74
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
75
|
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Spartera API Documentation
|
|
3
|
+
|
|
4
|
+
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
|
+
Contact: support@spartera.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SparteraApiSdk::ApiKeysUpdate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SparteraApiSdk::ApiKeysUpdate do
|
|
21
|
+
let(:instance) { SparteraApiSdk::ApiKeysUpdate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ApiKeysUpdate' do
|
|
24
|
+
it 'should create an instance of ApiKeysUpdate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SparteraApiSdk::ApiKeysUpdate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "user_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "company_id"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "role_id"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "name"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "expiration_date_utc"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Spartera API Documentation
|
|
3
|
+
|
|
4
|
+
#Auto-generated API documentation for REST services of the Spartera platform
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.24.0
|
|
7
|
+
Contact: support@spartera.com
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.13.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for SparteraApiSdk::AssetPriceHistoryInput
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe SparteraApiSdk::AssetPriceHistoryInput do
|
|
21
|
+
let(:instance) { SparteraApiSdk::AssetPriceHistoryInput.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of AssetPriceHistoryInput' do
|
|
24
|
+
it 'should create an instance of AssetPriceHistoryInput' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(SparteraApiSdk::AssetPriceHistoryInput)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "asset_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "price_usd"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "date_ended"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|