spartera_api_sdk 1.0.62 → 1.0.69
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/config.json +1 -1
- data/docs/APIKeysApi.md +45 -35
- data/docs/AlertsApi.md +71 -57
- data/docs/AssetPriceHistoryApi.md +80 -64
- data/docs/AssetsApi.md +116 -378
- data/docs/CloudProvidersApi.md +18 -215
- data/docs/CompaniesApi.md +81 -63
- 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 +67 -53
- data/docs/FavoritesApi.md +84 -68
- 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 +149 -0
- data/docs/UsersApi.md +116 -39
- data/lib/spartera_api_sdk/api/alerts_api.rb +32 -32
- data/lib/spartera_api_sdk/api/api_keys_api.rb +20 -20
- data/lib/spartera_api_sdk/api/asset_price_history_api.rb +36 -36
- data/lib/spartera_api_sdk/api/assets_api.rb +52 -328
- data/lib/spartera_api_sdk/api/cloud_providers_api.rb +8 -185
- data/lib/spartera_api_sdk/api/companies_api.rb +36 -36
- data/lib/spartera_api_sdk/api/connections_api.rb +30 -30
- data/lib/spartera_api_sdk/api/favorites_api.rb +38 -38
- data/lib/spartera_api_sdk/api/storage_engines_api.rb +150 -0
- data/lib/spartera_api_sdk/api/users_api.rb +77 -22
- data/lib/spartera_api_sdk/configuration.rb +2 -10
- 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 -1
- data/lib/spartera_api_sdk.rb +46 -0
- data/spec/api/alerts_api_spec.rb +9 -9
- data/spec/api/api_keys_api_spec.rb +5 -5
- data/spec/api/asset_price_history_api_spec.rb +10 -10
- data/spec/api/assets_api_spec.rb +14 -64
- data/spec/api/cloud_providers_api_spec.rb +2 -34
- data/spec/api/companies_api_spec.rb +9 -9
- data/spec/api/connections_api_spec.rb +8 -8
- data/spec/api/favorites_api_spec.rb +11 -11
- data/spec/api/storage_engines_api_spec.rb +58 -0
- data/spec/api/users_api_spec.rb +16 -6
- 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 +208 -22
- data/Gemfile.lock +0 -69
@@ -24,7 +24,7 @@ module SparteraApiSdk
|
|
24
24
|
# @param user_id [String]
|
25
25
|
# @param alert_id [String]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [
|
27
|
+
# @return [CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response]
|
28
28
|
def companies_company_id_users_user_id_alerts_alert_id_delete(company_id, user_id, alert_id, opts = {})
|
29
29
|
data, _status_code, _headers = companies_company_id_users_user_id_alerts_alert_id_delete_with_http_info(company_id, user_id, alert_id, opts)
|
30
30
|
data
|
@@ -35,7 +35,7 @@ module SparteraApiSdk
|
|
35
35
|
# @param user_id [String]
|
36
36
|
# @param alert_id [String]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @return [Array<(
|
38
|
+
# @return [Array<(CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response data, response status code and response headers
|
39
39
|
def companies_company_id_users_user_id_alerts_alert_id_delete_with_http_info(company_id, user_id, alert_id, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
41
|
@api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_alert_id_delete ...'
|
@@ -70,10 +70,10 @@ module SparteraApiSdk
|
|
70
70
|
post_body = opts[:debug_body]
|
71
71
|
|
72
72
|
# return_type
|
73
|
-
return_type = opts[:debug_return_type] || '
|
73
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsAlertIdDelete200Response'
|
74
74
|
|
75
75
|
# auth_names
|
76
|
-
auth_names = opts[:debug_auth_names] || ['
|
76
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
77
77
|
|
78
78
|
new_options = opts.merge(
|
79
79
|
:operation => :"AlertsApi.companies_company_id_users_user_id_alerts_alert_id_delete",
|
@@ -97,7 +97,7 @@ module SparteraApiSdk
|
|
97
97
|
# @param user_id [String]
|
98
98
|
# @param alert_id [String]
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
|
-
# @return [
|
100
|
+
# @return [CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response]
|
101
101
|
def companies_company_id_users_user_id_alerts_alert_id_get(company_id, user_id, alert_id, opts = {})
|
102
102
|
data, _status_code, _headers = companies_company_id_users_user_id_alerts_alert_id_get_with_http_info(company_id, user_id, alert_id, opts)
|
103
103
|
data
|
@@ -108,7 +108,7 @@ module SparteraApiSdk
|
|
108
108
|
# @param user_id [String]
|
109
109
|
# @param alert_id [String]
|
110
110
|
# @param [Hash] opts the optional parameters
|
111
|
-
# @return [Array<(
|
111
|
+
# @return [Array<(CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response data, response status code and response headers
|
112
112
|
def companies_company_id_users_user_id_alerts_alert_id_get_with_http_info(company_id, user_id, alert_id, opts = {})
|
113
113
|
if @api_client.config.debugging
|
114
114
|
@api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_alert_id_get ...'
|
@@ -143,10 +143,10 @@ module SparteraApiSdk
|
|
143
143
|
post_body = opts[:debug_body]
|
144
144
|
|
145
145
|
# return_type
|
146
|
-
return_type = opts[:debug_return_type] || '
|
146
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response'
|
147
147
|
|
148
148
|
# auth_names
|
149
|
-
auth_names = opts[:debug_auth_names] || ['
|
149
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
150
150
|
|
151
151
|
new_options = opts.merge(
|
152
152
|
:operation => :"AlertsApi.companies_company_id_users_user_id_alerts_alert_id_get",
|
@@ -171,7 +171,7 @@ module SparteraApiSdk
|
|
171
171
|
# @param alert_id [String]
|
172
172
|
# @param alert [Alert]
|
173
173
|
# @param [Hash] opts the optional parameters
|
174
|
-
# @return [
|
174
|
+
# @return [CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response]
|
175
175
|
def companies_company_id_users_user_id_alerts_alert_id_patch(company_id, user_id, alert_id, alert, opts = {})
|
176
176
|
data, _status_code, _headers = companies_company_id_users_user_id_alerts_alert_id_patch_with_http_info(company_id, user_id, alert_id, alert, opts)
|
177
177
|
data
|
@@ -183,7 +183,7 @@ module SparteraApiSdk
|
|
183
183
|
# @param alert_id [String]
|
184
184
|
# @param alert [Alert]
|
185
185
|
# @param [Hash] opts the optional parameters
|
186
|
-
# @return [Array<(
|
186
|
+
# @return [Array<(CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response data, response status code and response headers
|
187
187
|
def companies_company_id_users_user_id_alerts_alert_id_patch_with_http_info(company_id, user_id, alert_id, alert, opts = {})
|
188
188
|
if @api_client.config.debugging
|
189
189
|
@api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_alert_id_patch ...'
|
@@ -227,10 +227,10 @@ module SparteraApiSdk
|
|
227
227
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(alert)
|
228
228
|
|
229
229
|
# return_type
|
230
|
-
return_type = opts[:debug_return_type] || '
|
230
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsAlertIdPatch200Response'
|
231
231
|
|
232
232
|
# auth_names
|
233
|
-
auth_names = opts[:debug_auth_names] || ['
|
233
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
234
234
|
|
235
235
|
new_options = opts.merge(
|
236
236
|
:operation => :"AlertsApi.companies_company_id_users_user_id_alerts_alert_id_patch",
|
@@ -249,23 +249,23 @@ module SparteraApiSdk
|
|
249
249
|
return data, status_code, headers
|
250
250
|
end
|
251
251
|
|
252
|
-
# Get all alerts for a specific asset
|
252
|
+
# Get all alerts for a specific asset
|
253
253
|
# @param company_id [String]
|
254
254
|
# @param user_id [String]
|
255
255
|
# @param asset_id [String]
|
256
256
|
# @param [Hash] opts the optional parameters
|
257
|
-
# @return [
|
257
|
+
# @return [CompaniesCompanyIdUsersUserIdAlertsGet200Response]
|
258
258
|
def companies_company_id_users_user_id_alerts_asset_asset_id_all_get(company_id, user_id, asset_id, opts = {})
|
259
259
|
data, _status_code, _headers = companies_company_id_users_user_id_alerts_asset_asset_id_all_get_with_http_info(company_id, user_id, asset_id, opts)
|
260
260
|
data
|
261
261
|
end
|
262
262
|
|
263
|
-
# Get all alerts for a specific asset
|
263
|
+
# Get all alerts for a specific asset
|
264
264
|
# @param company_id [String]
|
265
265
|
# @param user_id [String]
|
266
266
|
# @param asset_id [String]
|
267
267
|
# @param [Hash] opts the optional parameters
|
268
|
-
# @return [Array<(
|
268
|
+
# @return [Array<(CompaniesCompanyIdUsersUserIdAlertsGet200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsGet200Response data, response status code and response headers
|
269
269
|
def companies_company_id_users_user_id_alerts_asset_asset_id_all_get_with_http_info(company_id, user_id, asset_id, opts = {})
|
270
270
|
if @api_client.config.debugging
|
271
271
|
@api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_asset_asset_id_all_get ...'
|
@@ -300,10 +300,10 @@ module SparteraApiSdk
|
|
300
300
|
post_body = opts[:debug_body]
|
301
301
|
|
302
302
|
# return_type
|
303
|
-
return_type = opts[:debug_return_type] || '
|
303
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsGet200Response'
|
304
304
|
|
305
305
|
# auth_names
|
306
|
-
auth_names = opts[:debug_auth_names] || ['
|
306
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
307
307
|
|
308
308
|
new_options = opts.merge(
|
309
309
|
:operation => :"AlertsApi.companies_company_id_users_user_id_alerts_asset_asset_id_all_get",
|
@@ -322,23 +322,23 @@ module SparteraApiSdk
|
|
322
322
|
return data, status_code, headers
|
323
323
|
end
|
324
324
|
|
325
|
-
# Get all alerts for a specific asset by
|
325
|
+
# Get all alerts for a specific asset (by user)
|
326
326
|
# @param company_id [String]
|
327
327
|
# @param user_id [String]
|
328
328
|
# @param asset_id [String]
|
329
329
|
# @param [Hash] opts the optional parameters
|
330
|
-
# @return [
|
330
|
+
# @return [CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response]
|
331
331
|
def companies_company_id_users_user_id_alerts_asset_asset_id_get(company_id, user_id, asset_id, opts = {})
|
332
332
|
data, _status_code, _headers = companies_company_id_users_user_id_alerts_asset_asset_id_get_with_http_info(company_id, user_id, asset_id, opts)
|
333
333
|
data
|
334
334
|
end
|
335
335
|
|
336
|
-
# Get all alerts for a specific asset by
|
336
|
+
# Get all alerts for a specific asset (by user)
|
337
337
|
# @param company_id [String]
|
338
338
|
# @param user_id [String]
|
339
339
|
# @param asset_id [String]
|
340
340
|
# @param [Hash] opts the optional parameters
|
341
|
-
# @return [Array<(
|
341
|
+
# @return [Array<(CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response data, response status code and response headers
|
342
342
|
def companies_company_id_users_user_id_alerts_asset_asset_id_get_with_http_info(company_id, user_id, asset_id, opts = {})
|
343
343
|
if @api_client.config.debugging
|
344
344
|
@api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_asset_asset_id_get ...'
|
@@ -373,10 +373,10 @@ module SparteraApiSdk
|
|
373
373
|
post_body = opts[:debug_body]
|
374
374
|
|
375
375
|
# return_type
|
376
|
-
return_type = opts[:debug_return_type] || '
|
376
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsAlertIdGet200Response'
|
377
377
|
|
378
378
|
# auth_names
|
379
|
-
auth_names = opts[:debug_auth_names] || ['
|
379
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
380
380
|
|
381
381
|
new_options = opts.merge(
|
382
382
|
:operation => :"AlertsApi.companies_company_id_users_user_id_alerts_asset_asset_id_get",
|
@@ -399,7 +399,7 @@ module SparteraApiSdk
|
|
399
399
|
# @param company_id [String]
|
400
400
|
# @param user_id [String]
|
401
401
|
# @param [Hash] opts the optional parameters
|
402
|
-
# @return [
|
402
|
+
# @return [CompaniesCompanyIdUsersUserIdAlertsGet200Response]
|
403
403
|
def companies_company_id_users_user_id_alerts_get(company_id, user_id, opts = {})
|
404
404
|
data, _status_code, _headers = companies_company_id_users_user_id_alerts_get_with_http_info(company_id, user_id, opts)
|
405
405
|
data
|
@@ -409,7 +409,7 @@ module SparteraApiSdk
|
|
409
409
|
# @param company_id [String]
|
410
410
|
# @param user_id [String]
|
411
411
|
# @param [Hash] opts the optional parameters
|
412
|
-
# @return [Array<(
|
412
|
+
# @return [Array<(CompaniesCompanyIdUsersUserIdAlertsGet200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsGet200Response data, response status code and response headers
|
413
413
|
def companies_company_id_users_user_id_alerts_get_with_http_info(company_id, user_id, opts = {})
|
414
414
|
if @api_client.config.debugging
|
415
415
|
@api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_get ...'
|
@@ -440,10 +440,10 @@ module SparteraApiSdk
|
|
440
440
|
post_body = opts[:debug_body]
|
441
441
|
|
442
442
|
# return_type
|
443
|
-
return_type = opts[:debug_return_type] || '
|
443
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsGet200Response'
|
444
444
|
|
445
445
|
# auth_names
|
446
|
-
auth_names = opts[:debug_auth_names] || ['
|
446
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
447
447
|
|
448
448
|
new_options = opts.merge(
|
449
449
|
:operation => :"AlertsApi.companies_company_id_users_user_id_alerts_get",
|
@@ -467,7 +467,7 @@ module SparteraApiSdk
|
|
467
467
|
# @param user_id [String]
|
468
468
|
# @param alert [Alert]
|
469
469
|
# @param [Hash] opts the optional parameters
|
470
|
-
# @return [
|
470
|
+
# @return [CompaniesCompanyIdUsersUserIdAlertsPost200Response]
|
471
471
|
def companies_company_id_users_user_id_alerts_post(company_id, user_id, alert, opts = {})
|
472
472
|
data, _status_code, _headers = companies_company_id_users_user_id_alerts_post_with_http_info(company_id, user_id, alert, opts)
|
473
473
|
data
|
@@ -478,7 +478,7 @@ module SparteraApiSdk
|
|
478
478
|
# @param user_id [String]
|
479
479
|
# @param alert [Alert]
|
480
480
|
# @param [Hash] opts the optional parameters
|
481
|
-
# @return [Array<(
|
481
|
+
# @return [Array<(CompaniesCompanyIdUsersUserIdAlertsPost200Response, Integer, Hash)>] CompaniesCompanyIdUsersUserIdAlertsPost200Response data, response status code and response headers
|
482
482
|
def companies_company_id_users_user_id_alerts_post_with_http_info(company_id, user_id, alert, opts = {})
|
483
483
|
if @api_client.config.debugging
|
484
484
|
@api_client.config.logger.debug 'Calling API: AlertsApi.companies_company_id_users_user_id_alerts_post ...'
|
@@ -518,10 +518,10 @@ module SparteraApiSdk
|
|
518
518
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(alert)
|
519
519
|
|
520
520
|
# return_type
|
521
|
-
return_type = opts[:debug_return_type] || '
|
521
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdUsersUserIdAlertsPost200Response'
|
522
522
|
|
523
523
|
# auth_names
|
524
|
-
auth_names = opts[:debug_auth_names] || ['
|
524
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
525
525
|
|
526
526
|
new_options = opts.merge(
|
527
527
|
:operation => :"AlertsApi.companies_company_id_users_user_id_alerts_post",
|
@@ -23,7 +23,7 @@ module SparteraApiSdk
|
|
23
23
|
# @param company_id [String]
|
24
24
|
# @param api_key_id [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
27
27
|
def companies_company_id_api_keys_api_key_id_get(company_id, api_key_id, opts = {})
|
28
28
|
data, _status_code, _headers = companies_company_id_api_keys_api_key_id_get_with_http_info(company_id, api_key_id, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module SparteraApiSdk
|
|
33
33
|
# @param company_id [String]
|
34
34
|
# @param api_key_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_api_keys_api_key_id_get_with_http_info(company_id, api_key_id, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_api_key_id_get ...'
|
@@ -64,10 +64,10 @@ 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
|
-
auth_names = opts[:debug_auth_names] || ['
|
70
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
71
71
|
|
72
72
|
new_options = opts.merge(
|
73
73
|
:operation => :"APIKeysApi.companies_company_id_api_keys_api_key_id_get",
|
@@ -90,7 +90,7 @@ module SparteraApiSdk
|
|
90
90
|
# @param company_id [String]
|
91
91
|
# @param api_key_id [String]
|
92
92
|
# @param [Hash] opts the optional parameters
|
93
|
-
# @return [
|
93
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
94
94
|
def companies_company_id_api_keys_api_key_id_patch(company_id, api_key_id, opts = {})
|
95
95
|
data, _status_code, _headers = companies_company_id_api_keys_api_key_id_patch_with_http_info(company_id, api_key_id, opts)
|
96
96
|
data
|
@@ -100,7 +100,7 @@ module SparteraApiSdk
|
|
100
100
|
# @param company_id [String]
|
101
101
|
# @param api_key_id [String]
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @return [Array<(
|
103
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
104
104
|
def companies_company_id_api_keys_api_key_id_patch_with_http_info(company_id, api_key_id, opts = {})
|
105
105
|
if @api_client.config.debugging
|
106
106
|
@api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_api_key_id_patch ...'
|
@@ -131,10 +131,10 @@ 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] || 'CompaniesCompanyIdApiKeysGet200Response'
|
135
135
|
|
136
136
|
# auth_names
|
137
|
-
auth_names = opts[:debug_auth_names] || ['
|
137
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
138
138
|
|
139
139
|
new_options = opts.merge(
|
140
140
|
:operation => :"APIKeysApi.companies_company_id_api_keys_api_key_id_patch",
|
@@ -156,7 +156,7 @@ module SparteraApiSdk
|
|
156
156
|
# Get all API keys
|
157
157
|
# @param company_id [String]
|
158
158
|
# @param [Hash] opts the optional parameters
|
159
|
-
# @return [
|
159
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
160
160
|
def companies_company_id_api_keys_get(company_id, opts = {})
|
161
161
|
data, _status_code, _headers = companies_company_id_api_keys_get_with_http_info(company_id, opts)
|
162
162
|
data
|
@@ -165,7 +165,7 @@ module SparteraApiSdk
|
|
165
165
|
# Get all API keys
|
166
166
|
# @param company_id [String]
|
167
167
|
# @param [Hash] opts the optional parameters
|
168
|
-
# @return [Array<(
|
168
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
169
169
|
def companies_company_id_api_keys_get_with_http_info(company_id, opts = {})
|
170
170
|
if @api_client.config.debugging
|
171
171
|
@api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_get ...'
|
@@ -192,10 +192,10 @@ module SparteraApiSdk
|
|
192
192
|
post_body = opts[:debug_body]
|
193
193
|
|
194
194
|
# return_type
|
195
|
-
return_type = opts[:debug_return_type] || '
|
195
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
196
196
|
|
197
197
|
# auth_names
|
198
|
-
auth_names = opts[:debug_auth_names] || ['
|
198
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
199
199
|
|
200
200
|
new_options = opts.merge(
|
201
201
|
:operation => :"APIKeysApi.companies_company_id_api_keys_get",
|
@@ -217,7 +217,7 @@ module SparteraApiSdk
|
|
217
217
|
# Create single API key
|
218
218
|
# @param company_id [String]
|
219
219
|
# @param [Hash] opts the optional parameters
|
220
|
-
# @return [
|
220
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
221
221
|
def companies_company_id_api_keys_post(company_id, opts = {})
|
222
222
|
data, _status_code, _headers = companies_company_id_api_keys_post_with_http_info(company_id, opts)
|
223
223
|
data
|
@@ -226,7 +226,7 @@ module SparteraApiSdk
|
|
226
226
|
# Create single API key
|
227
227
|
# @param company_id [String]
|
228
228
|
# @param [Hash] opts the optional parameters
|
229
|
-
# @return [Array<(
|
229
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
230
230
|
def companies_company_id_api_keys_post_with_http_info(company_id, opts = {})
|
231
231
|
if @api_client.config.debugging
|
232
232
|
@api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_post ...'
|
@@ -253,10 +253,10 @@ module SparteraApiSdk
|
|
253
253
|
post_body = opts[:debug_body]
|
254
254
|
|
255
255
|
# return_type
|
256
|
-
return_type = opts[:debug_return_type] || '
|
256
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
257
257
|
|
258
258
|
# auth_names
|
259
|
-
auth_names = opts[:debug_auth_names] || ['
|
259
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
260
260
|
|
261
261
|
new_options = opts.merge(
|
262
262
|
:operation => :"APIKeysApi.companies_company_id_api_keys_post",
|
@@ -279,7 +279,7 @@ module SparteraApiSdk
|
|
279
279
|
# @param company_id [String]
|
280
280
|
# @param token [String]
|
281
281
|
# @param [Hash] opts the optional parameters
|
282
|
-
# @return [
|
282
|
+
# @return [CompaniesCompanyIdApiKeysGet200Response]
|
283
283
|
def companies_company_id_api_keys_token_delete(company_id, token, opts = {})
|
284
284
|
data, _status_code, _headers = companies_company_id_api_keys_token_delete_with_http_info(company_id, token, opts)
|
285
285
|
data
|
@@ -289,7 +289,7 @@ module SparteraApiSdk
|
|
289
289
|
# @param company_id [String]
|
290
290
|
# @param token [String]
|
291
291
|
# @param [Hash] opts the optional parameters
|
292
|
-
# @return [Array<(
|
292
|
+
# @return [Array<(CompaniesCompanyIdApiKeysGet200Response, Integer, Hash)>] CompaniesCompanyIdApiKeysGet200Response data, response status code and response headers
|
293
293
|
def companies_company_id_api_keys_token_delete_with_http_info(company_id, token, opts = {})
|
294
294
|
if @api_client.config.debugging
|
295
295
|
@api_client.config.logger.debug 'Calling API: APIKeysApi.companies_company_id_api_keys_token_delete ...'
|
@@ -320,10 +320,10 @@ module SparteraApiSdk
|
|
320
320
|
post_body = opts[:debug_body]
|
321
321
|
|
322
322
|
# return_type
|
323
|
-
return_type = opts[:debug_return_type] || '
|
323
|
+
return_type = opts[:debug_return_type] || 'CompaniesCompanyIdApiKeysGet200Response'
|
324
324
|
|
325
325
|
# auth_names
|
326
|
-
auth_names = opts[:debug_auth_names] || ['
|
326
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
327
327
|
|
328
328
|
new_options = opts.merge(
|
329
329
|
:operation => :"APIKeysApi.companies_company_id_api_keys_token_delete",
|
@@ -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,10 +64,10 @@ 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
|
-
auth_names = opts[:debug_auth_names] || ['
|
70
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
71
71
|
|
72
72
|
new_options = opts.merge(
|
73
73
|
:operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_active_get",
|
@@ -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,10 +137,10 @@ 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
|
-
auth_names = opts[:debug_auth_names] || ['
|
143
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
144
144
|
|
145
145
|
new_options = opts.merge(
|
146
146
|
:operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_delete",
|
@@ -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,10 +210,10 @@ 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
|
-
auth_names = opts[:debug_auth_names] || ['
|
216
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
217
217
|
|
218
218
|
new_options = opts.merge(
|
219
219
|
:operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_get",
|
@@ -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,10 +283,10 @@ 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
|
-
auth_names = opts[:debug_auth_names] || ['
|
289
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
290
290
|
|
291
291
|
new_options = opts.merge(
|
292
292
|
:operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_aph_id_patch",
|
@@ -305,21 +305,21 @@ module SparteraApiSdk
|
|
305
305
|
return data, status_code, headers
|
306
306
|
end
|
307
307
|
|
308
|
-
#
|
308
|
+
# POST /companies/{company_id}/assets/{asset_id}/prices/calculate_credits
|
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
|
316
316
|
end
|
317
317
|
|
318
|
-
#
|
318
|
+
# POST /companies/{company_id}/assets/{asset_id}/prices/calculate_credits
|
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,10 +350,10 @@ 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
|
-
auth_names = opts[:debug_auth_names] || ['
|
356
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
357
357
|
|
358
358
|
new_options = opts.merge(
|
359
359
|
:operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_calculate_credits_post",
|
@@ -372,21 +372,21 @@ module SparteraApiSdk
|
|
372
372
|
return data, status_code, headers
|
373
373
|
end
|
374
374
|
|
375
|
-
#
|
375
|
+
# POST /companies/{company_id}/assets/{asset_id}/prices/discount
|
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
|
383
383
|
end
|
384
384
|
|
385
|
-
#
|
385
|
+
# POST /companies/{company_id}/assets/{asset_id}/prices/discount
|
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,10 +417,10 @@ 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
|
-
auth_names = opts[:debug_auth_names] || ['
|
423
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
424
424
|
|
425
425
|
new_options = opts.merge(
|
426
426
|
:operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_discount_post",
|
@@ -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,10 +484,10 @@ 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
|
-
auth_names = opts[:debug_auth_names] || ['
|
490
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
491
491
|
|
492
492
|
new_options = opts.merge(
|
493
493
|
:operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_get",
|
@@ -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,10 +551,10 @@ 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
|
-
auth_names = opts[:debug_auth_names] || ['
|
557
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth']
|
558
558
|
|
559
559
|
new_options = opts.merge(
|
560
560
|
:operation => :"AssetPriceHistoryApi.companies_company_id_assets_asset_id_prices_post",
|