spartera_api_sdk 1.0.68 → 1.0.72
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 +20 -20
- data/docs/AlertsApi.md +28 -28
- data/docs/AssetPriceHistoryApi.md +32 -32
- data/docs/AssetsApi.md +52 -52
- data/docs/CloudProvidersApi.md +8 -8
- data/docs/CompaniesApi.md +36 -36
- data/docs/CompaniesCompanyIdApiKeysGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsAssetIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdAssetsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdAssetsPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsConnectionIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdConnectionsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdConnectionsPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdAlertsPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdDelete200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesFavoriteIdPatch200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesPost200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdFavoritesPost200ResponseData.md +18 -0
- data/docs/CompaniesCompanyIdUsersUserIdGet200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdPatch200Response.md +20 -0
- data/docs/CompaniesCompanyIdUsersUserIdPatch200ResponseData.md +18 -0
- data/docs/ConnectionsApi.md +28 -28
- data/docs/FavoritesApi.md +32 -32
- data/docs/MeGet200Response.md +36 -0
- data/docs/MeGet200ResponseApiKeyInfo.md +20 -0
- data/docs/MeGet200ResponseProfile.md +36 -0
- data/docs/MeGet200ResponseTokenMetadata.md +24 -0
- data/docs/StorageEnginesApi.md +8 -8
- data/docs/UsersApi.md +87 -20
- data/lib/spartera_api_sdk/api/alerts_api.rb +21 -21
- data/lib/spartera_api_sdk/api/api_keys_api.rb +15 -15
- data/lib/spartera_api_sdk/api/asset_price_history_api.rb +24 -24
- data/lib/spartera_api_sdk/api/assets_api.rb +46 -46
- data/lib/spartera_api_sdk/api/cloud_providers_api.rb +6 -6
- data/lib/spartera_api_sdk/api/companies_api.rb +27 -27
- data/lib/spartera_api_sdk/api/connections_api.rb +21 -21
- data/lib/spartera_api_sdk/api/favorites_api.rb +24 -24
- data/lib/spartera_api_sdk/api/storage_engines_api.rb +6 -6
- data/lib/spartera_api_sdk/api/users_api.rb +70 -15
- data/lib/spartera_api_sdk/models/companies_company_id_api_keys_get200_response.rb +248 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_asset_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_assets_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_connection_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_connections_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_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 +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_alerts_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_get200_response.rb +266 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_favorites_post200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_get200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response.rb +264 -0
- data/lib/spartera_api_sdk/models/companies_company_id_users_user_id_patch200_response_data.rb +238 -0
- data/lib/spartera_api_sdk/models/me_get200_response.rb +417 -0
- data/lib/spartera_api_sdk/models/me_get200_response_api_key_info.rb +232 -0
- data/lib/spartera_api_sdk/models/me_get200_response_profile.rb +345 -0
- data/lib/spartera_api_sdk/models/me_get200_response_token_metadata.rb +252 -0
- data/lib/spartera_api_sdk/version.rb +1 -13
- data/lib/spartera_api_sdk.rb +45 -0
- data/spec/api/alerts_api_spec.rb +7 -7
- data/spec/api/api_keys_api_spec.rb +5 -5
- data/spec/api/asset_price_history_api_spec.rb +8 -8
- data/spec/api/assets_api_spec.rb +13 -13
- data/spec/api/cloud_providers_api_spec.rb +2 -2
- data/spec/api/companies_api_spec.rb +9 -9
- data/spec/api/connections_api_spec.rb +7 -7
- data/spec/api/favorites_api_spec.rb +8 -8
- data/spec/api/storage_engines_api_spec.rb +2 -2
- data/spec/api/users_api_spec.rb +15 -5
- data/spec/models/companies_company_id_api_keys_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_asset_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_assets_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_assets_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_connections_connection_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_connection_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_connections_connection_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_connections_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_connections_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_alerts_alert_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_alerts_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_delete200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_favorites_favorite_id_patch200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_favorites_post200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_get200_response_spec.rb +42 -0
- data/spec/models/companies_company_id_users_user_id_patch200_response_data_spec.rb +36 -0
- data/spec/models/companies_company_id_users_user_id_patch200_response_spec.rb +42 -0
- data/spec/models/me_get200_response_api_key_info_spec.rb +42 -0
- data/spec/models/me_get200_response_profile_spec.rb +94 -0
- data/spec/models/me_get200_response_spec.rb +94 -0
- data/spec/models/me_get200_response_token_metadata_spec.rb +54 -0
- metadata +212 -20
- data/Gemfile +0 -11
- data/Rakefile +0 -10
- data/config.json +0 -10
- data/git_push.sh +0 -57
- data/spartera_api_sdk.gemspec +0 -28
- data/test.sh +0 -42
@@ -23,7 +23,7 @@ module SparteraApiSdk
|
|
23
23
|
# @param company_id [String]
|
24
24
|
# @param asset_id [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
27
27
|
def companies_company_id_assets_asset_id_prices_active_get(company_id, asset_id, opts = {})
|
28
28
|
data, _status_code, _headers = companies_company_id_assets_asset_id_prices_active_get_with_http_info(company_id, asset_id, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module SparteraApiSdk
|
|
33
33
|
# @param company_id [String]
|
34
34
|
# @param asset_id [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
37
37
|
def companies_company_id_assets_asset_id_prices_active_get_with_http_info(company_id, asset_id, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_active_get ...'
|
@@ -64,7 +64,7 @@ module SparteraApiSdk
|
|
64
64
|
post_body = opts[:debug_body]
|
65
65
|
|
66
66
|
# return_type
|
67
|
-
return_type = opts[:debug_return_type] || '
|
67
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
68
68
|
|
69
69
|
# auth_names
|
70
70
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -91,7 +91,7 @@ module SparteraApiSdk
|
|
91
91
|
# @param asset_id [String]
|
92
92
|
# @param aph_id [String]
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
|
-
# @return [
|
94
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
95
95
|
def companies_company_id_assets_asset_id_prices_aph_id_delete(company_id, asset_id, aph_id, opts = {})
|
96
96
|
data, _status_code, _headers = companies_company_id_assets_asset_id_prices_aph_id_delete_with_http_info(company_id, asset_id, aph_id, opts)
|
97
97
|
data
|
@@ -102,7 +102,7 @@ module SparteraApiSdk
|
|
102
102
|
# @param asset_id [String]
|
103
103
|
# @param aph_id [String]
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
|
-
# @return [Array<(
|
105
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
106
106
|
def companies_company_id_assets_asset_id_prices_aph_id_delete_with_http_info(company_id, asset_id, aph_id, opts = {})
|
107
107
|
if @api_client.config.debugging
|
108
108
|
@api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_delete ...'
|
@@ -137,7 +137,7 @@ module SparteraApiSdk
|
|
137
137
|
post_body = opts[:debug_body]
|
138
138
|
|
139
139
|
# return_type
|
140
|
-
return_type = opts[:debug_return_type] || '
|
140
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
141
141
|
|
142
142
|
# auth_names
|
143
143
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -164,7 +164,7 @@ module SparteraApiSdk
|
|
164
164
|
# @param asset_id [String]
|
165
165
|
# @param aph_id [String]
|
166
166
|
# @param [Hash] opts the optional parameters
|
167
|
-
# @return [
|
167
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
168
168
|
def companies_company_id_assets_asset_id_prices_aph_id_get(company_id, asset_id, aph_id, opts = {})
|
169
169
|
data, _status_code, _headers = companies_company_id_assets_asset_id_prices_aph_id_get_with_http_info(company_id, asset_id, aph_id, opts)
|
170
170
|
data
|
@@ -175,7 +175,7 @@ module SparteraApiSdk
|
|
175
175
|
# @param asset_id [String]
|
176
176
|
# @param aph_id [String]
|
177
177
|
# @param [Hash] opts the optional parameters
|
178
|
-
# @return [Array<(
|
178
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
179
179
|
def companies_company_id_assets_asset_id_prices_aph_id_get_with_http_info(company_id, asset_id, aph_id, opts = {})
|
180
180
|
if @api_client.config.debugging
|
181
181
|
@api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_get ...'
|
@@ -210,7 +210,7 @@ module SparteraApiSdk
|
|
210
210
|
post_body = opts[:debug_body]
|
211
211
|
|
212
212
|
# return_type
|
213
|
-
return_type = opts[:debug_return_type] || '
|
213
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
214
214
|
|
215
215
|
# auth_names
|
216
216
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -237,7 +237,7 @@ module SparteraApiSdk
|
|
237
237
|
# @param asset_id [String]
|
238
238
|
# @param aph_id [String]
|
239
239
|
# @param [Hash] opts the optional parameters
|
240
|
-
# @return [
|
240
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
241
241
|
def companies_company_id_assets_asset_id_prices_aph_id_patch(company_id, asset_id, aph_id, opts = {})
|
242
242
|
data, _status_code, _headers = companies_company_id_assets_asset_id_prices_aph_id_patch_with_http_info(company_id, asset_id, aph_id, opts)
|
243
243
|
data
|
@@ -248,7 +248,7 @@ module SparteraApiSdk
|
|
248
248
|
# @param asset_id [String]
|
249
249
|
# @param aph_id [String]
|
250
250
|
# @param [Hash] opts the optional parameters
|
251
|
-
# @return [Array<(
|
251
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
252
252
|
def companies_company_id_assets_asset_id_prices_aph_id_patch_with_http_info(company_id, asset_id, aph_id, opts = {})
|
253
253
|
if @api_client.config.debugging
|
254
254
|
@api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_patch ...'
|
@@ -283,7 +283,7 @@ module SparteraApiSdk
|
|
283
283
|
post_body = opts[:debug_body]
|
284
284
|
|
285
285
|
# return_type
|
286
|
-
return_type = opts[:debug_return_type] || '
|
286
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
287
287
|
|
288
288
|
# auth_names
|
289
289
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -309,7 +309,7 @@ module SparteraApiSdk
|
|
309
309
|
# @param company_id [String]
|
310
310
|
# @param asset_id [String]
|
311
311
|
# @param [Hash] opts the optional parameters
|
312
|
-
# @return [
|
312
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
313
313
|
def companies_company_id_assets_asset_id_prices_calculate_credits_post(company_id, asset_id, opts = {})
|
314
314
|
data, _status_code, _headers = companies_company_id_assets_asset_id_prices_calculate_credits_post_with_http_info(company_id, asset_id, opts)
|
315
315
|
data
|
@@ -319,7 +319,7 @@ module SparteraApiSdk
|
|
319
319
|
# @param company_id [String]
|
320
320
|
# @param asset_id [String]
|
321
321
|
# @param [Hash] opts the optional parameters
|
322
|
-
# @return [Array<(
|
322
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
323
323
|
def companies_company_id_assets_asset_id_prices_calculate_credits_post_with_http_info(company_id, asset_id, opts = {})
|
324
324
|
if @api_client.config.debugging
|
325
325
|
@api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_calculate_credits_post ...'
|
@@ -350,7 +350,7 @@ module SparteraApiSdk
|
|
350
350
|
post_body = opts[:debug_body]
|
351
351
|
|
352
352
|
# return_type
|
353
|
-
return_type = opts[:debug_return_type] || '
|
353
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
354
354
|
|
355
355
|
# auth_names
|
356
356
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -376,7 +376,7 @@ module SparteraApiSdk
|
|
376
376
|
# @param company_id [String]
|
377
377
|
# @param asset_id [String]
|
378
378
|
# @param [Hash] opts the optional parameters
|
379
|
-
# @return [
|
379
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
380
380
|
def companies_company_id_assets_asset_id_prices_discount_post(company_id, asset_id, opts = {})
|
381
381
|
data, _status_code, _headers = companies_company_id_assets_asset_id_prices_discount_post_with_http_info(company_id, asset_id, opts)
|
382
382
|
data
|
@@ -386,7 +386,7 @@ module SparteraApiSdk
|
|
386
386
|
# @param company_id [String]
|
387
387
|
# @param asset_id [String]
|
388
388
|
# @param [Hash] opts the optional parameters
|
389
|
-
# @return [Array<(
|
389
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
390
390
|
def companies_company_id_assets_asset_id_prices_discount_post_with_http_info(company_id, asset_id, opts = {})
|
391
391
|
if @api_client.config.debugging
|
392
392
|
@api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_discount_post ...'
|
@@ -417,7 +417,7 @@ module SparteraApiSdk
|
|
417
417
|
post_body = opts[:debug_body]
|
418
418
|
|
419
419
|
# return_type
|
420
|
-
return_type = opts[:debug_return_type] || '
|
420
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
421
421
|
|
422
422
|
# auth_names
|
423
423
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -443,7 +443,7 @@ module SparteraApiSdk
|
|
443
443
|
# @param company_id [String]
|
444
444
|
# @param asset_id [String]
|
445
445
|
# @param [Hash] opts the optional parameters
|
446
|
-
# @return [
|
446
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
447
447
|
def companies_company_id_assets_asset_id_prices_get(company_id, asset_id, opts = {})
|
448
448
|
data, _status_code, _headers = companies_company_id_assets_asset_id_prices_get_with_http_info(company_id, asset_id, opts)
|
449
449
|
data
|
@@ -453,7 +453,7 @@ module SparteraApiSdk
|
|
453
453
|
# @param company_id [String]
|
454
454
|
# @param asset_id [String]
|
455
455
|
# @param [Hash] opts the optional parameters
|
456
|
-
# @return [Array<(
|
456
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
457
457
|
def companies_company_id_assets_asset_id_prices_get_with_http_info(company_id, asset_id, opts = {})
|
458
458
|
if @api_client.config.debugging
|
459
459
|
@api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_get ...'
|
@@ -484,7 +484,7 @@ module SparteraApiSdk
|
|
484
484
|
post_body = opts[:debug_body]
|
485
485
|
|
486
486
|
# return_type
|
487
|
-
return_type = opts[:debug_return_type] || '
|
487
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
488
488
|
|
489
489
|
# auth_names
|
490
490
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -510,7 +510,7 @@ module SparteraApiSdk
|
|
510
510
|
# @param company_id [String]
|
511
511
|
# @param asset_id [String]
|
512
512
|
# @param [Hash] opts the optional parameters
|
513
|
-
# @return [
|
513
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
514
514
|
def companies_company_id_assets_asset_id_prices_post(company_id, asset_id, opts = {})
|
515
515
|
data, _status_code, _headers = companies_company_id_assets_asset_id_prices_post_with_http_info(company_id, asset_id, opts)
|
516
516
|
data
|
@@ -520,7 +520,7 @@ module SparteraApiSdk
|
|
520
520
|
# @param company_id [String]
|
521
521
|
# @param asset_id [String]
|
522
522
|
# @param [Hash] opts the optional parameters
|
523
|
-
# @return [Array<(
|
523
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
524
524
|
def companies_company_id_assets_asset_id_prices_post_with_http_info(company_id, asset_id, opts = {})
|
525
525
|
if @api_client.config.debugging
|
526
526
|
@api_client.config.logger.debug 'Calling API: AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_post ...'
|
@@ -551,7 +551,7 @@ module SparteraApiSdk
|
|
551
551
|
post_body = opts[:debug_body]
|
552
552
|
|
553
553
|
# return_type
|
554
|
-
return_type = opts[:debug_return_type] || '
|
554
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
555
555
|
|
556
556
|
# auth_names
|
557
557
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -20,34 +20,34 @@ module SparteraApiSdk
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Process (analyze) an asset. Attempt to process an analytic on a backend warehouse/AI model.
|
23
|
-
# @param asset_slug [String]
|
24
23
|
# @param company_handle [String]
|
24
|
+
# @param asset_slug [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
27
|
-
def analyze_company_handle_assets_asset_slug_get(
|
28
|
-
data, _status_code, _headers = analyze_company_handle_assets_asset_slug_get_with_http_info(
|
26
|
+
# @return [CompaniesCompanyIdAssetsAssetIdGet200Response]
|
27
|
+
def analyze_company_handle_assets_asset_slug_get(company_handle, asset_slug, opts = {})
|
28
|
+
data, _status_code, _headers = analyze_company_handle_assets_asset_slug_get_with_http_info(company_handle, asset_slug, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
32
32
|
# Process (analyze) an asset. Attempt to process an analytic on a backend warehouse/AI model.
|
33
|
-
# @param asset_slug [String]
|
34
33
|
# @param company_handle [String]
|
34
|
+
# @param asset_slug [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
37
|
-
def analyze_company_handle_assets_asset_slug_get_with_http_info(
|
36
|
+
# @return [Array<(CompaniesCompanyIdAssetsAssetIdGet200Response, Integer, Hash)>] CompaniesCompanyIdAssetsAssetIdGet200Response data, response status code and response headers
|
37
|
+
def analyze_company_handle_assets_asset_slug_get_with_http_info(company_handle, asset_slug, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: AssetsApi.analyze_company_handle_assets_asset_slug_get ...'
|
40
40
|
end
|
41
|
-
# verify the required parameter 'asset_slug' is set
|
42
|
-
if @api_client.config.client_side_validation && asset_slug.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'asset_slug' when calling AssetsApi.analyze_company_handle_assets_asset_slug_get"
|
44
|
-
end
|
45
41
|
# verify the required parameter 'company_handle' is set
|
46
42
|
if @api_client.config.client_side_validation && company_handle.nil?
|
47
43
|
fail ArgumentError, "Missing the required parameter 'company_handle' when calling AssetsApi.analyze_company_handle_assets_asset_slug_get"
|
48
44
|
end
|
45
|
+
# verify the required parameter 'asset_slug' is set
|
46
|
+
if @api_client.config.client_side_validation && asset_slug.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'asset_slug' when calling AssetsApi.analyze_company_handle_assets_asset_slug_get"
|
48
|
+
end
|
49
49
|
# resource path
|
50
|
-
local_var_path = '/analyze/{company_handle}/assets/{asset_slug}'.sub('{' + '
|
50
|
+
local_var_path = '/analyze/{company_handle}/assets/{asset_slug}'.sub('{' + 'company_handle' + '}', CGI.escape(company_handle.to_s)).sub('{' + 'asset_slug' + '}', CGI.escape(asset_slug.to_s))
|
51
51
|
|
52
52
|
# query parameters
|
53
53
|
query_params = opts[:query_params] || {}
|
@@ -64,7 +64,7 @@ module SparteraApiSdk
|
|
64
64
|
post_body = opts[:debug_body]
|
65
65
|
|
66
66
|
# return_type
|
67
|
-
return_type = opts[:debug_return_type] || '
|
67
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsAssetIdGet200Response'
|
68
68
|
|
69
69
|
# auth_names
|
70
70
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -90,7 +90,7 @@ module SparteraApiSdk
|
|
90
90
|
# @param company_id [String]
|
91
91
|
# @param asset_id [String]
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
|
-
# @return [
|
93
|
+
# @return [CompaniesCompanyIdAssetsAssetIdDelete200Response]
|
94
94
|
def companies_company_id_assets_asset_id_delete(company_id, asset_id, opts = {})
|
95
95
|
data, _status_code, _headers = companies_company_id_assets_asset_id_delete_with_http_info(company_id, asset_id, opts)
|
96
96
|
data
|
@@ -100,7 +100,7 @@ module SparteraApiSdk
|
|
100
100
|
# @param company_id [String]
|
101
101
|
# @param asset_id [String]
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @return [Array<(
|
103
|
+
# @return [Array<(CompaniesCompanyIdAssetsAssetIdDelete200Response, Integer, Hash)>] CompaniesCompanyIdAssetsAssetIdDelete200Response data, response status code and response headers
|
104
104
|
def companies_company_id_assets_asset_id_delete_with_http_info(company_id, asset_id, opts = {})
|
105
105
|
if @api_client.config.debugging
|
106
106
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_asset_id_delete ...'
|
@@ -131,7 +131,7 @@ module SparteraApiSdk
|
|
131
131
|
post_body = opts[:debug_body]
|
132
132
|
|
133
133
|
# return_type
|
134
|
-
return_type = opts[:debug_return_type] || '
|
134
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsAssetIdDelete200Response'
|
135
135
|
|
136
136
|
# auth_names
|
137
137
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -157,7 +157,7 @@ module SparteraApiSdk
|
|
157
157
|
# @param company_id [String]
|
158
158
|
# @param asset_id [String]
|
159
159
|
# @param [Hash] opts the optional parameters
|
160
|
-
# @return [
|
160
|
+
# @return [CompaniesCompanyIdAssetsAssetIdGet200Response]
|
161
161
|
def companies_company_id_assets_asset_id_get(company_id, asset_id, opts = {})
|
162
162
|
data, _status_code, _headers = companies_company_id_assets_asset_id_get_with_http_info(company_id, asset_id, opts)
|
163
163
|
data
|
@@ -167,7 +167,7 @@ module SparteraApiSdk
|
|
167
167
|
# @param company_id [String]
|
168
168
|
# @param asset_id [String]
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
|
-
# @return [Array<(
|
170
|
+
# @return [Array<(CompaniesCompanyIdAssetsAssetIdGet200Response, Integer, Hash)>] CompaniesCompanyIdAssetsAssetIdGet200Response data, response status code and response headers
|
171
171
|
def companies_company_id_assets_asset_id_get_with_http_info(company_id, asset_id, opts = {})
|
172
172
|
if @api_client.config.debugging
|
173
173
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_asset_id_get ...'
|
@@ -198,7 +198,7 @@ module SparteraApiSdk
|
|
198
198
|
post_body = opts[:debug_body]
|
199
199
|
|
200
200
|
# return_type
|
201
|
-
return_type = opts[:debug_return_type] || '
|
201
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsAssetIdGet200Response'
|
202
202
|
|
203
203
|
# auth_names
|
204
204
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -224,7 +224,7 @@ module SparteraApiSdk
|
|
224
224
|
# @param company_id [String]
|
225
225
|
# @param asset_id [String]
|
226
226
|
# @param [Hash] opts the optional parameters
|
227
|
-
# @return [
|
227
|
+
# @return [CompaniesCompanyIdAssetsGet200Response]
|
228
228
|
def companies_company_id_assets_asset_id_infoschema_get(company_id, asset_id, opts = {})
|
229
229
|
data, _status_code, _headers = companies_company_id_assets_asset_id_infoschema_get_with_http_info(company_id, asset_id, opts)
|
230
230
|
data
|
@@ -234,7 +234,7 @@ module SparteraApiSdk
|
|
234
234
|
# @param company_id [String]
|
235
235
|
# @param asset_id [String]
|
236
236
|
# @param [Hash] opts the optional parameters
|
237
|
-
# @return [Array<(
|
237
|
+
# @return [Array<(CompaniesCompanyIdAssetsGet200Response, Integer, Hash)>] CompaniesCompanyIdAssetsGet200Response data, response status code and response headers
|
238
238
|
def companies_company_id_assets_asset_id_infoschema_get_with_http_info(company_id, asset_id, opts = {})
|
239
239
|
if @api_client.config.debugging
|
240
240
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_asset_id_infoschema_get ...'
|
@@ -265,7 +265,7 @@ module SparteraApiSdk
|
|
265
265
|
post_body = opts[:debug_body]
|
266
266
|
|
267
267
|
# return_type
|
268
|
-
return_type = opts[:debug_return_type] || '
|
268
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsGet200Response'
|
269
269
|
|
270
270
|
# auth_names
|
271
271
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -291,7 +291,7 @@ module SparteraApiSdk
|
|
291
291
|
# @param company_id [String]
|
292
292
|
# @param asset_id [String]
|
293
293
|
# @param [Hash] opts the optional parameters
|
294
|
-
# @return [
|
294
|
+
# @return [CompaniesCompanyIdAssetsGet200Response]
|
295
295
|
def companies_company_id_assets_asset_id_infoschema_save_get(company_id, asset_id, opts = {})
|
296
296
|
data, _status_code, _headers = companies_company_id_assets_asset_id_infoschema_save_get_with_http_info(company_id, asset_id, opts)
|
297
297
|
data
|
@@ -301,7 +301,7 @@ module SparteraApiSdk
|
|
301
301
|
# @param company_id [String]
|
302
302
|
# @param asset_id [String]
|
303
303
|
# @param [Hash] opts the optional parameters
|
304
|
-
# @return [Array<(
|
304
|
+
# @return [Array<(CompaniesCompanyIdAssetsGet200Response, Integer, Hash)>] CompaniesCompanyIdAssetsGet200Response data, response status code and response headers
|
305
305
|
def companies_company_id_assets_asset_id_infoschema_save_get_with_http_info(company_id, asset_id, opts = {})
|
306
306
|
if @api_client.config.debugging
|
307
307
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_asset_id_infoschema_save_get ...'
|
@@ -332,7 +332,7 @@ module SparteraApiSdk
|
|
332
332
|
post_body = opts[:debug_body]
|
333
333
|
|
334
334
|
# return_type
|
335
|
-
return_type = opts[:debug_return_type] || '
|
335
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsGet200Response'
|
336
336
|
|
337
337
|
# auth_names
|
338
338
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -359,7 +359,7 @@ module SparteraApiSdk
|
|
359
359
|
# @param asset_id [String]
|
360
360
|
# @param asset [Asset]
|
361
361
|
# @param [Hash] opts the optional parameters
|
362
|
-
# @return [
|
362
|
+
# @return [CompaniesCompanyIdAssetsAssetIdPatch200Response]
|
363
363
|
def companies_company_id_assets_asset_id_patch(company_id, asset_id, asset, opts = {})
|
364
364
|
data, _status_code, _headers = companies_company_id_assets_asset_id_patch_with_http_info(company_id, asset_id, asset, opts)
|
365
365
|
data
|
@@ -370,7 +370,7 @@ module SparteraApiSdk
|
|
370
370
|
# @param asset_id [String]
|
371
371
|
# @param asset [Asset]
|
372
372
|
# @param [Hash] opts the optional parameters
|
373
|
-
# @return [Array<(
|
373
|
+
# @return [Array<(CompaniesCompanyIdAssetsAssetIdPatch200Response, Integer, Hash)>] CompaniesCompanyIdAssetsAssetIdPatch200Response data, response status code and response headers
|
374
374
|
def companies_company_id_assets_asset_id_patch_with_http_info(company_id, asset_id, asset, opts = {})
|
375
375
|
if @api_client.config.debugging
|
376
376
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_asset_id_patch ...'
|
@@ -410,7 +410,7 @@ module SparteraApiSdk
|
|
410
410
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(asset)
|
411
411
|
|
412
412
|
# return_type
|
413
|
-
return_type = opts[:debug_return_type] || '
|
413
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsAssetIdPatch200Response'
|
414
414
|
|
415
415
|
# auth_names
|
416
416
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -436,7 +436,7 @@ module SparteraApiSdk
|
|
436
436
|
# @param company_id [String]
|
437
437
|
# @param asset_id [String]
|
438
438
|
# @param [Hash] opts the optional parameters
|
439
|
-
# @return [
|
439
|
+
# @return [CompaniesCompanyIdAssetsGet200Response]
|
440
440
|
def companies_company_id_assets_asset_id_predicted_price_get(company_id, asset_id, opts = {})
|
441
441
|
data, _status_code, _headers = companies_company_id_assets_asset_id_predicted_price_get_with_http_info(company_id, asset_id, opts)
|
442
442
|
data
|
@@ -446,7 +446,7 @@ module SparteraApiSdk
|
|
446
446
|
# @param company_id [String]
|
447
447
|
# @param asset_id [String]
|
448
448
|
# @param [Hash] opts the optional parameters
|
449
|
-
# @return [Array<(
|
449
|
+
# @return [Array<(CompaniesCompanyIdAssetsGet200Response, Integer, Hash)>] CompaniesCompanyIdAssetsGet200Response data, response status code and response headers
|
450
450
|
def companies_company_id_assets_asset_id_predicted_price_get_with_http_info(company_id, asset_id, opts = {})
|
451
451
|
if @api_client.config.debugging
|
452
452
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_asset_id_predicted_price_get ...'
|
@@ -477,7 +477,7 @@ module SparteraApiSdk
|
|
477
477
|
post_body = opts[:debug_body]
|
478
478
|
|
479
479
|
# return_type
|
480
|
-
return_type = opts[:debug_return_type] || '
|
480
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsGet200Response'
|
481
481
|
|
482
482
|
# auth_names
|
483
483
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -503,7 +503,7 @@ module SparteraApiSdk
|
|
503
503
|
# @param company_id [String]
|
504
504
|
# @param asset_id [String]
|
505
505
|
# @param [Hash] opts the optional parameters
|
506
|
-
# @return [
|
506
|
+
# @return [CompaniesCompanyIdAssetsGet200Response]
|
507
507
|
def companies_company_id_assets_asset_id_statistics_get(company_id, asset_id, opts = {})
|
508
508
|
data, _status_code, _headers = companies_company_id_assets_asset_id_statistics_get_with_http_info(company_id, asset_id, opts)
|
509
509
|
data
|
@@ -513,7 +513,7 @@ module SparteraApiSdk
|
|
513
513
|
# @param company_id [String]
|
514
514
|
# @param asset_id [String]
|
515
515
|
# @param [Hash] opts the optional parameters
|
516
|
-
# @return [Array<(
|
516
|
+
# @return [Array<(CompaniesCompanyIdAssetsGet200Response, Integer, Hash)>] CompaniesCompanyIdAssetsGet200Response data, response status code and response headers
|
517
517
|
def companies_company_id_assets_asset_id_statistics_get_with_http_info(company_id, asset_id, opts = {})
|
518
518
|
if @api_client.config.debugging
|
519
519
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_asset_id_statistics_get ...'
|
@@ -544,7 +544,7 @@ module SparteraApiSdk
|
|
544
544
|
post_body = opts[:debug_body]
|
545
545
|
|
546
546
|
# return_type
|
547
|
-
return_type = opts[:debug_return_type] || '
|
547
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsGet200Response'
|
548
548
|
|
549
549
|
# auth_names
|
550
550
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -570,7 +570,7 @@ module SparteraApiSdk
|
|
570
570
|
# @param company_id [String]
|
571
571
|
# @param asset_id [String]
|
572
572
|
# @param [Hash] opts the optional parameters
|
573
|
-
# @return [
|
573
|
+
# @return [CompaniesCompanyIdAssetsGet200Response]
|
574
574
|
def companies_company_id_assets_asset_id_test_get(company_id, asset_id, opts = {})
|
575
575
|
data, _status_code, _headers = companies_company_id_assets_asset_id_test_get_with_http_info(company_id, asset_id, opts)
|
576
576
|
data
|
@@ -580,7 +580,7 @@ module SparteraApiSdk
|
|
580
580
|
# @param company_id [String]
|
581
581
|
# @param asset_id [String]
|
582
582
|
# @param [Hash] opts the optional parameters
|
583
|
-
# @return [Array<(
|
583
|
+
# @return [Array<(CompaniesCompanyIdAssetsGet200Response, Integer, Hash)>] CompaniesCompanyIdAssetsGet200Response data, response status code and response headers
|
584
584
|
def companies_company_id_assets_asset_id_test_get_with_http_info(company_id, asset_id, opts = {})
|
585
585
|
if @api_client.config.debugging
|
586
586
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_asset_id_test_get ...'
|
@@ -611,7 +611,7 @@ module SparteraApiSdk
|
|
611
611
|
post_body = opts[:debug_body]
|
612
612
|
|
613
613
|
# return_type
|
614
|
-
return_type = opts[:debug_return_type] || '
|
614
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsGet200Response'
|
615
615
|
|
616
616
|
# auth_names
|
617
617
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -636,7 +636,7 @@ module SparteraApiSdk
|
|
636
636
|
# Get all assets for a specific company
|
637
637
|
# @param company_id [String]
|
638
638
|
# @param [Hash] opts the optional parameters
|
639
|
-
# @return [
|
639
|
+
# @return [CompaniesCompanyIdAssetsGet200Response]
|
640
640
|
def companies_company_id_assets_get(company_id, opts = {})
|
641
641
|
data, _status_code, _headers = companies_company_id_assets_get_with_http_info(company_id, opts)
|
642
642
|
data
|
@@ -645,7 +645,7 @@ module SparteraApiSdk
|
|
645
645
|
# Get all assets for a specific company
|
646
646
|
# @param company_id [String]
|
647
647
|
# @param [Hash] opts the optional parameters
|
648
|
-
# @return [Array<(
|
648
|
+
# @return [Array<(CompaniesCompanyIdAssetsGet200Response, Integer, Hash)>] CompaniesCompanyIdAssetsGet200Response data, response status code and response headers
|
649
649
|
def companies_company_id_assets_get_with_http_info(company_id, opts = {})
|
650
650
|
if @api_client.config.debugging
|
651
651
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_get ...'
|
@@ -672,7 +672,7 @@ module SparteraApiSdk
|
|
672
672
|
post_body = opts[:debug_body]
|
673
673
|
|
674
674
|
# return_type
|
675
|
-
return_type = opts[:debug_return_type] || '
|
675
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsGet200Response'
|
676
676
|
|
677
677
|
# auth_names
|
678
678
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -698,7 +698,7 @@ module SparteraApiSdk
|
|
698
698
|
# @param company_id [String]
|
699
699
|
# @param asset [Asset]
|
700
700
|
# @param [Hash] opts the optional parameters
|
701
|
-
# @return [
|
701
|
+
# @return [CompaniesCompanyIdAssetsPost200Response]
|
702
702
|
def companies_company_id_assets_post(company_id, asset, opts = {})
|
703
703
|
data, _status_code, _headers = companies_company_id_assets_post_with_http_info(company_id, asset, opts)
|
704
704
|
data
|
@@ -708,7 +708,7 @@ module SparteraApiSdk
|
|
708
708
|
# @param company_id [String]
|
709
709
|
# @param asset [Asset]
|
710
710
|
# @param [Hash] opts the optional parameters
|
711
|
-
# @return [Array<(
|
711
|
+
# @return [Array<(CompaniesCompanyIdAssetsPost200Response, Integer, Hash)>] CompaniesCompanyIdAssetsPost200Response data, response status code and response headers
|
712
712
|
def companies_company_id_assets_post_with_http_info(company_id, asset, opts = {})
|
713
713
|
if @api_client.config.debugging
|
714
714
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_post ...'
|
@@ -744,7 +744,7 @@ module SparteraApiSdk
|
|
744
744
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(asset)
|
745
745
|
|
746
746
|
# return_type
|
747
|
-
return_type = opts[:debug_return_type] || '
|
747
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsPost200Response'
|
748
748
|
|
749
749
|
# auth_names
|
750
750
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -769,7 +769,7 @@ module SparteraApiSdk
|
|
769
769
|
# Get statistics for all assets the user has access to
|
770
770
|
# @param company_id [String]
|
771
771
|
# @param [Hash] opts the optional parameters
|
772
|
-
# @return [
|
772
|
+
# @return [CompaniesCompanyIdAssetsGet200Response]
|
773
773
|
def companies_company_id_assets_statistics_get(company_id, opts = {})
|
774
774
|
data, _status_code, _headers = companies_company_id_assets_statistics_get_with_http_info(company_id, opts)
|
775
775
|
data
|
@@ -778,7 +778,7 @@ module SparteraApiSdk
|
|
778
778
|
# Get statistics for all assets the user has access to
|
779
779
|
# @param company_id [String]
|
780
780
|
# @param [Hash] opts the optional parameters
|
781
|
-
# @return [Array<(
|
781
|
+
# @return [Array<(CompaniesCompanyIdAssetsGet200Response, Integer, Hash)>] CompaniesCompanyIdAssetsGet200Response data, response status code and response headers
|
782
782
|
def companies_company_id_assets_statistics_get_with_http_info(company_id, opts = {})
|
783
783
|
if @api_client.config.debugging
|
784
784
|
@api_client.config.logger.debug 'Calling API: AssetsApi.companies_company_id_assets_statistics_get ...'
|
@@ -805,7 +805,7 @@ module SparteraApiSdk
|
|
805
805
|
post_body = opts[:debug_body]
|
806
806
|
|
807
807
|
# return_type
|
808
|
-
return_type = opts[:debug_return_type] || '
|
808
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdAssetsGet200Response'
|
809
809
|
|
810
810
|
# auth_names
|
811
811
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -21,7 +21,7 @@ module SparteraApiSdk
|
|
21
21
|
end
|
22
22
|
# Get a list of all cloud providers
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
-
# @return [
|
24
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
25
25
|
def cloud_providers_get(opts = {})
|
26
26
|
data, _status_code, _headers = cloud_providers_get_with_http_info(opts)
|
27
27
|
data
|
@@ -29,7 +29,7 @@ module SparteraApiSdk
|
|
29
29
|
|
30
30
|
# Get a list of all cloud providers
|
31
31
|
# @param [Hash] opts the optional parameters
|
32
|
-
# @return [Array<(
|
32
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
33
33
|
def cloud_providers_get_with_http_info(opts = {})
|
34
34
|
if @api_client.config.debugging
|
35
35
|
@api_client.config.logger.debug 'Calling API: CloudProvidersApi.cloud_providers_get ...'
|
@@ -52,7 +52,7 @@ module SparteraApiSdk
|
|
52
52
|
post_body = opts[:debug_body]
|
53
53
|
|
54
54
|
# return_type
|
55
|
-
return_type = opts[:debug_return_type] || '
|
55
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
56
56
|
|
57
57
|
# auth_names
|
58
58
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
@@ -77,7 +77,7 @@ module SparteraApiSdk
|
|
77
77
|
# Get single cloud provider by ID
|
78
78
|
# @param provider_id [String]
|
79
79
|
# @param [Hash] opts the optional parameters
|
80
|
-
# @return [
|
80
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
81
81
|
def cloud_providers_provider_id_get(provider_id, opts = {})
|
82
82
|
data, _status_code, _headers = cloud_providers_provider_id_get_with_http_info(provider_id, opts)
|
83
83
|
data
|
@@ -86,7 +86,7 @@ module SparteraApiSdk
|
|
86
86
|
# Get single cloud provider by ID
|
87
87
|
# @param provider_id [String]
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
|
-
# @return [Array<(
|
89
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
90
90
|
def cloud_providers_provider_id_get_with_http_info(provider_id, opts = {})
|
91
91
|
if @api_client.config.debugging
|
92
92
|
@api_client.config.logger.debug 'Calling API: CloudProvidersApi.cloud_providers_provider_id_get ...'
|
@@ -113,7 +113,7 @@ module SparteraApiSdk
|
|
113
113
|
post_body = opts[:debug_body]
|
114
114
|
|
115
115
|
# return_type
|
116
|
-
return_type = opts[:debug_return_type] || '
|
116
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
117
117
|
|
118
118
|
# auth_names
|
119
119
|
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|