spartera_api_sdk 1.0.82 → 1.0.83
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/README.md +7 -4
- data/docs/Assets.md +7 -3
- data/docs/AssetsApi.md +12 -12
- data/docs/AssetsInput.md +7 -3
- data/docs/AssetsUpdate.md +7 -3
- data/docs/Connections.md +1 -1
- data/docs/ConnectionsApi.md +72 -0
- data/docs/ConnectionsInput.md +1 -1
- data/docs/ConnectionsUpdate.md +1 -1
- data/docs/Endpoints.md +23 -7
- data/docs/EndpointsApi.md +146 -0
- data/docs/EndpointsInput.md +23 -7
- data/docs/EndpointsUpdate.md +23 -7
- data/lib/spartera_api_sdk/api/assets_api.rb +20 -20
- data/lib/spartera_api_sdk/api/connections_api.rb +93 -0
- data/lib/spartera_api_sdk/api/endpoints_api.rb +197 -0
- data/lib/spartera_api_sdk/models/assets.rb +33 -13
- data/lib/spartera_api_sdk/models/assets_input.rb +33 -13
- data/lib/spartera_api_sdk/models/assets_update.rb +33 -13
- data/lib/spartera_api_sdk/models/connections.rb +3 -3
- data/lib/spartera_api_sdk/models/connections_input.rb +3 -3
- data/lib/spartera_api_sdk/models/connections_update.rb +3 -3
- data/lib/spartera_api_sdk/models/endpoints.rb +149 -45
- data/lib/spartera_api_sdk/models/endpoints_input.rb +132 -28
- data/lib/spartera_api_sdk/models/endpoints_update.rb +132 -28
- data/lib/spartera_api_sdk/version.rb +1 -1
- data/spec/api/assets_api_spec.rb +2 -2
- data/spec/api/connections_api_spec.rb +12 -0
- data/spec/api/endpoints_api_spec.rb +25 -0
- data/spec/models/assets_input_spec.rb +19 -7
- data/spec/models/assets_spec.rb +19 -7
- data/spec/models/assets_update_spec.rb +19 -7
- data/spec/models/connections_input_spec.rb +1 -1
- data/spec/models/connections_spec.rb +1 -1
- data/spec/models/connections_update_spec.rb +1 -1
- data/spec/models/endpoints_input_spec.rb +65 -9
- data/spec/models/endpoints_spec.rb +65 -9
- data/spec/models/endpoints_update_spec.rb +65 -9
- metadata +140 -140
data/spec/api/assets_api_spec.rb
CHANGED
|
@@ -51,8 +51,8 @@ describe 'AssetsApi' do
|
|
|
51
51
|
|
|
52
52
|
# unit tests for create_assets_analyze
|
|
53
53
|
# Process (analyze) an asset with dynamic rate limiting applied via decorator.
|
|
54
|
-
# @param asset_slug URL-friendly slug for the Asset
|
|
55
54
|
# @param company_handle Human-readable handle for the Company
|
|
55
|
+
# @param asset_slug URL-friendly slug for the Asset
|
|
56
56
|
# @param assets_input
|
|
57
57
|
# @param [Hash] opts the optional parameters
|
|
58
58
|
# @return [CreateAssetsAnalyze200Response]
|
|
@@ -126,8 +126,8 @@ describe 'AssetsApi' do
|
|
|
126
126
|
|
|
127
127
|
# unit tests for get_assets_by_id_analyze
|
|
128
128
|
# Process (analyze) an asset with dynamic rate limiting applied via decorator.
|
|
129
|
-
# @param asset_slug URL-friendly slug for the Asset
|
|
130
129
|
# @param company_handle Human-readable handle for the Company
|
|
130
|
+
# @param asset_slug URL-friendly slug for the Asset
|
|
131
131
|
# @param [Hash] opts the optional parameters
|
|
132
132
|
# @return [GetAssetsByIdAnalyze200Response]
|
|
133
133
|
describe 'get_assets_by_id_analyze test' do
|
|
@@ -97,6 +97,18 @@ describe 'ConnectionsApi' do
|
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
+
# unit tests for get_connections_by_id_sample_data
|
|
101
|
+
# Get a randomized sample of rows from a table on this connection. Used by the visualization editor to give sellers data to author against. Query Parameters: schema_name (required): Schema/dataset name table_name (required): Table name limit (optional): Max rows to return (default 1000, max 10000) Returns columnar data — {column_name: [values]} — ready for Plotly's dataSources prop. The actual chart at render time will pull fresh data via the asset's saved SQL; this is only for authoring preview.
|
|
102
|
+
# @param company_id Unique identifier for the Company
|
|
103
|
+
# @param connection_id Unique identifier for the Connection
|
|
104
|
+
# @param [Hash] opts the optional parameters
|
|
105
|
+
# @return [GetConnectionsById200Response]
|
|
106
|
+
describe 'get_connections_by_id_sample_data test' do
|
|
107
|
+
it 'should work' do
|
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
100
112
|
# unit tests for list_connections
|
|
101
113
|
# Get all connections for a specific company
|
|
102
114
|
# @param company_id Unique identifier for the Company
|
|
@@ -62,6 +62,19 @@ describe 'EndpointsApi' do
|
|
|
62
62
|
end
|
|
63
63
|
end
|
|
64
64
|
|
|
65
|
+
# unit tests for create_endpoints_scan_column
|
|
66
|
+
# POST /companies/{company_id}/endpoints/{endpoint_id}/scan_column
|
|
67
|
+
# @param company_id Unique identifier for the Company
|
|
68
|
+
# @param endpoint_id Unique identifier for the Endpoint
|
|
69
|
+
# @param endpoints_input
|
|
70
|
+
# @param [Hash] opts the optional parameters
|
|
71
|
+
# @return [CreateEndpoints200Response]
|
|
72
|
+
describe 'create_endpoints_scan_column test' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
65
78
|
# unit tests for delete_endpoints
|
|
66
79
|
# Delete single endpoint by ID
|
|
67
80
|
# @param company_id Unique identifier for the Company
|
|
@@ -147,6 +160,18 @@ describe 'EndpointsApi' do
|
|
|
147
160
|
end
|
|
148
161
|
end
|
|
149
162
|
|
|
163
|
+
# unit tests for get_endpoints_by_id_recommendations
|
|
164
|
+
# GET /companies/{company_id}/endpoints/{endpoint_id}/recommendations
|
|
165
|
+
# @param company_id Unique identifier for the Company
|
|
166
|
+
# @param endpoint_id Unique identifier for the Endpoint
|
|
167
|
+
# @param [Hash] opts the optional parameters
|
|
168
|
+
# @return [GetEndpointsByIdConnectionsDescribe200Response]
|
|
169
|
+
describe 'get_endpoints_by_id_recommendations test' do
|
|
170
|
+
it 'should work' do
|
|
171
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
150
175
|
# unit tests for get_endpoints_by_id_stats
|
|
151
176
|
# Get usage statistics for an endpoint Query parameters: days: Number of days to analyze (default: 30)
|
|
152
177
|
# @param company_id Unique identifier for the Company
|
|
@@ -141,6 +141,12 @@ describe SparteraApiSdk::AssetsInput do
|
|
|
141
141
|
end
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
+
describe 'test attribute "top_questions"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
144
150
|
describe 'test attribute "short_code"' do
|
|
145
151
|
it 'should work' do
|
|
146
152
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -183,6 +189,12 @@ describe SparteraApiSdk::AssetsInput do
|
|
|
183
189
|
end
|
|
184
190
|
end
|
|
185
191
|
|
|
192
|
+
describe 'test attribute "viz_spec"' do
|
|
193
|
+
it 'should work' do
|
|
194
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
186
198
|
describe 'test attribute "viz_chart_library"' do
|
|
187
199
|
it 'should work' do
|
|
188
200
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -345,6 +357,12 @@ describe SparteraApiSdk::AssetsInput do
|
|
|
345
357
|
end
|
|
346
358
|
end
|
|
347
359
|
|
|
360
|
+
describe 'test attribute "date_collection_start"' do
|
|
361
|
+
it 'should work' do
|
|
362
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
348
366
|
describe 'test attribute "geographic_coverage_type"' do
|
|
349
367
|
it 'should work' do
|
|
350
368
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -364,19 +382,13 @@ describe SparteraApiSdk::AssetsInput do
|
|
|
364
382
|
describe 'test attribute "data_source_refresh_frequency"' do
|
|
365
383
|
it 'should work' do
|
|
366
384
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
367
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
385
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EVERY_SECOND", "EVERY_MINUTE", "EVERY_HOUR", "EVERY_DAY", "EVERY_WEEK", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR", "NEVER", "UNKNOWN"])
|
|
368
386
|
# validator.allowable_values.each do |value|
|
|
369
387
|
# expect { instance.data_source_refresh_frequency = value }.not_to raise_error
|
|
370
388
|
# end
|
|
371
389
|
end
|
|
372
390
|
end
|
|
373
391
|
|
|
374
|
-
describe 'test attribute "data_source_last_refreshed"' do
|
|
375
|
-
it 'should work' do
|
|
376
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
377
|
-
end
|
|
378
|
-
end
|
|
379
|
-
|
|
380
392
|
describe 'test attribute "rate_limit_number"' do
|
|
381
393
|
it 'should work' do
|
|
382
394
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
data/spec/models/assets_spec.rb
CHANGED
|
@@ -187,6 +187,12 @@ describe SparteraApiSdk::Assets do
|
|
|
187
187
|
end
|
|
188
188
|
end
|
|
189
189
|
|
|
190
|
+
describe 'test attribute "top_questions"' do
|
|
191
|
+
it 'should work' do
|
|
192
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
193
|
+
end
|
|
194
|
+
end
|
|
195
|
+
|
|
190
196
|
describe 'test attribute "short_code"' do
|
|
191
197
|
it 'should work' do
|
|
192
198
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -229,6 +235,12 @@ describe SparteraApiSdk::Assets do
|
|
|
229
235
|
end
|
|
230
236
|
end
|
|
231
237
|
|
|
238
|
+
describe 'test attribute "viz_spec"' do
|
|
239
|
+
it 'should work' do
|
|
240
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
|
|
232
244
|
describe 'test attribute "viz_chart_library"' do
|
|
233
245
|
it 'should work' do
|
|
234
246
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -391,6 +403,12 @@ describe SparteraApiSdk::Assets do
|
|
|
391
403
|
end
|
|
392
404
|
end
|
|
393
405
|
|
|
406
|
+
describe 'test attribute "date_collection_start"' do
|
|
407
|
+
it 'should work' do
|
|
408
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
409
|
+
end
|
|
410
|
+
end
|
|
411
|
+
|
|
394
412
|
describe 'test attribute "geographic_coverage_type"' do
|
|
395
413
|
it 'should work' do
|
|
396
414
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -410,19 +428,13 @@ describe SparteraApiSdk::Assets do
|
|
|
410
428
|
describe 'test attribute "data_source_refresh_frequency"' do
|
|
411
429
|
it 'should work' do
|
|
412
430
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
413
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
431
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EVERY_SECOND", "EVERY_MINUTE", "EVERY_HOUR", "EVERY_DAY", "EVERY_WEEK", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR", "NEVER", "UNKNOWN"])
|
|
414
432
|
# validator.allowable_values.each do |value|
|
|
415
433
|
# expect { instance.data_source_refresh_frequency = value }.not_to raise_error
|
|
416
434
|
# end
|
|
417
435
|
end
|
|
418
436
|
end
|
|
419
437
|
|
|
420
|
-
describe 'test attribute "data_source_last_refreshed"' do
|
|
421
|
-
it 'should work' do
|
|
422
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
423
|
-
end
|
|
424
|
-
end
|
|
425
|
-
|
|
426
438
|
describe 'test attribute "rate_limit_number"' do
|
|
427
439
|
it 'should work' do
|
|
428
440
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -141,6 +141,12 @@ describe SparteraApiSdk::AssetsUpdate do
|
|
|
141
141
|
end
|
|
142
142
|
end
|
|
143
143
|
|
|
144
|
+
describe 'test attribute "top_questions"' do
|
|
145
|
+
it 'should work' do
|
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
144
150
|
describe 'test attribute "short_code"' do
|
|
145
151
|
it 'should work' do
|
|
146
152
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -183,6 +189,12 @@ describe SparteraApiSdk::AssetsUpdate do
|
|
|
183
189
|
end
|
|
184
190
|
end
|
|
185
191
|
|
|
192
|
+
describe 'test attribute "viz_spec"' do
|
|
193
|
+
it 'should work' do
|
|
194
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
186
198
|
describe 'test attribute "viz_chart_library"' do
|
|
187
199
|
it 'should work' do
|
|
188
200
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -345,6 +357,12 @@ describe SparteraApiSdk::AssetsUpdate do
|
|
|
345
357
|
end
|
|
346
358
|
end
|
|
347
359
|
|
|
360
|
+
describe 'test attribute "date_collection_start"' do
|
|
361
|
+
it 'should work' do
|
|
362
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
|
|
348
366
|
describe 'test attribute "geographic_coverage_type"' do
|
|
349
367
|
it 'should work' do
|
|
350
368
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -364,19 +382,13 @@ describe SparteraApiSdk::AssetsUpdate do
|
|
|
364
382
|
describe 'test attribute "data_source_refresh_frequency"' do
|
|
365
383
|
it 'should work' do
|
|
366
384
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
367
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["
|
|
385
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EVERY_SECOND", "EVERY_MINUTE", "EVERY_HOUR", "EVERY_DAY", "EVERY_WEEK", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR", "NEVER", "UNKNOWN"])
|
|
368
386
|
# validator.allowable_values.each do |value|
|
|
369
387
|
# expect { instance.data_source_refresh_frequency = value }.not_to raise_error
|
|
370
388
|
# end
|
|
371
389
|
end
|
|
372
390
|
end
|
|
373
391
|
|
|
374
|
-
describe 'test attribute "data_source_last_refreshed"' do
|
|
375
|
-
it 'should work' do
|
|
376
|
-
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
377
|
-
end
|
|
378
|
-
end
|
|
379
|
-
|
|
380
392
|
describe 'test attribute "rate_limit_number"' do
|
|
381
393
|
it 'should work' do
|
|
382
394
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -48,7 +48,7 @@ describe SparteraApiSdk::ConnectionsInput do
|
|
|
48
48
|
describe 'test attribute "credential_type"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SERVICE_ACCOUNT", "USERNAME_PASSWORD", "API_KEY", "SERVICE_IDENTITY", "ACCESS_KEY", "NONE", "OAUTH", "JSON"])
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SERVICE_ACCOUNT", "USERNAME_PASSWORD", "API_KEY", "SERVICE_IDENTITY", "ACCESS_KEY", "NONE", "OAUTH", "JSON", "KEY_PAIR", "CLIENT_SECRET"])
|
|
52
52
|
# validator.allowable_values.each do |value|
|
|
53
53
|
# expect { instance.credential_type = value }.not_to raise_error
|
|
54
54
|
# end
|
|
@@ -66,7 +66,7 @@ describe SparteraApiSdk::Connections do
|
|
|
66
66
|
describe 'test attribute "credential_type"' do
|
|
67
67
|
it 'should work' do
|
|
68
68
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SERVICE_ACCOUNT", "USERNAME_PASSWORD", "API_KEY", "SERVICE_IDENTITY", "ACCESS_KEY", "NONE", "OAUTH", "JSON"])
|
|
69
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SERVICE_ACCOUNT", "USERNAME_PASSWORD", "API_KEY", "SERVICE_IDENTITY", "ACCESS_KEY", "NONE", "OAUTH", "JSON", "KEY_PAIR", "CLIENT_SECRET"])
|
|
70
70
|
# validator.allowable_values.each do |value|
|
|
71
71
|
# expect { instance.credential_type = value }.not_to raise_error
|
|
72
72
|
# end
|
|
@@ -48,7 +48,7 @@ describe SparteraApiSdk::ConnectionsUpdate do
|
|
|
48
48
|
describe 'test attribute "credential_type"' do
|
|
49
49
|
it 'should work' do
|
|
50
50
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SERVICE_ACCOUNT", "USERNAME_PASSWORD", "API_KEY", "SERVICE_IDENTITY", "ACCESS_KEY", "NONE", "OAUTH", "JSON"])
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["SERVICE_ACCOUNT", "USERNAME_PASSWORD", "API_KEY", "SERVICE_IDENTITY", "ACCESS_KEY", "NONE", "OAUTH", "JSON", "KEY_PAIR", "CLIENT_SECRET"])
|
|
52
52
|
# validator.allowable_values.each do |value|
|
|
53
53
|
# expect { instance.credential_type = value }.not_to raise_error
|
|
54
54
|
# end
|
|
@@ -97,49 +97,49 @@ describe SparteraApiSdk::EndpointsInput do
|
|
|
97
97
|
end
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
describe 'test attribute "
|
|
100
|
+
describe 'test attribute "name"' do
|
|
101
101
|
it 'should work' do
|
|
102
102
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
103
103
|
end
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
describe 'test attribute "
|
|
106
|
+
describe 'test attribute "slug"' do
|
|
107
107
|
it 'should work' do
|
|
108
108
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
describe 'test attribute "
|
|
112
|
+
describe 'test attribute "description"' do
|
|
113
113
|
it 'should work' do
|
|
114
114
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
describe 'test attribute "
|
|
118
|
+
describe 'test attribute "detailed_description"' do
|
|
119
119
|
it 'should work' do
|
|
120
120
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
121
121
|
end
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
-
describe 'test attribute "
|
|
124
|
+
describe 'test attribute "top_questions"' do
|
|
125
125
|
it 'should work' do
|
|
126
126
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
127
127
|
end
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
describe 'test attribute "
|
|
130
|
+
describe 'test attribute "source_schema_name"' do
|
|
131
131
|
it 'should work' do
|
|
132
132
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
133
133
|
end
|
|
134
134
|
end
|
|
135
135
|
|
|
136
|
-
describe 'test attribute "
|
|
136
|
+
describe 'test attribute "source_table_name"' do
|
|
137
137
|
it 'should work' do
|
|
138
138
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
139
139
|
end
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
describe 'test attribute "
|
|
142
|
+
describe 'test attribute "customer_name"' do
|
|
143
143
|
it 'should work' do
|
|
144
144
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
145
145
|
end
|
|
@@ -151,7 +151,7 @@ describe SparteraApiSdk::EndpointsInput do
|
|
|
151
151
|
end
|
|
152
152
|
end
|
|
153
153
|
|
|
154
|
-
describe 'test attribute "
|
|
154
|
+
describe 'test attribute "rate_limit_number"' do
|
|
155
155
|
it 'should work' do
|
|
156
156
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
157
157
|
end
|
|
@@ -203,6 +203,50 @@ describe SparteraApiSdk::EndpointsInput do
|
|
|
203
203
|
end
|
|
204
204
|
end
|
|
205
205
|
|
|
206
|
+
describe 'test attribute "data_time_period_start"' do
|
|
207
|
+
it 'should work' do
|
|
208
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
describe 'test attribute "data_time_period_end"' do
|
|
213
|
+
it 'should work' do
|
|
214
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
describe 'test attribute "date_collection_start"' do
|
|
219
|
+
it 'should work' do
|
|
220
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
describe 'test attribute "geographic_coverage_type"' do
|
|
225
|
+
it 'should work' do
|
|
226
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
227
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["GLOBAL", "CONTINENTAL", "REGIONAL", "NATIONAL", "STATE", "LOCAL", "CUSTOM", "UNKNOWN"])
|
|
228
|
+
# validator.allowable_values.each do |value|
|
|
229
|
+
# expect { instance.geographic_coverage_type = value }.not_to raise_error
|
|
230
|
+
# end
|
|
231
|
+
end
|
|
232
|
+
end
|
|
233
|
+
|
|
234
|
+
describe 'test attribute "geographic_coverage_details"' do
|
|
235
|
+
it 'should work' do
|
|
236
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
describe 'test attribute "data_source_refresh_frequency"' do
|
|
241
|
+
it 'should work' do
|
|
242
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
243
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EVERY_SECOND", "EVERY_MINUTE", "EVERY_HOUR", "EVERY_DAY", "EVERY_WEEK", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR", "NEVER", "UNKNOWN"])
|
|
244
|
+
# validator.allowable_values.each do |value|
|
|
245
|
+
# expect { instance.data_source_refresh_frequency = value }.not_to raise_error
|
|
246
|
+
# end
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
206
250
|
describe 'test attribute "tags"' do
|
|
207
251
|
it 'should work' do
|
|
208
252
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -221,6 +265,18 @@ describe SparteraApiSdk::EndpointsInput do
|
|
|
221
265
|
end
|
|
222
266
|
end
|
|
223
267
|
|
|
268
|
+
describe 'test attribute "export_enabled"' do
|
|
269
|
+
it 'should work' do
|
|
270
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
271
|
+
end
|
|
272
|
+
end
|
|
273
|
+
|
|
274
|
+
describe 'test attribute "max_records_per_export"' do
|
|
275
|
+
it 'should work' do
|
|
276
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
|
|
224
280
|
describe 'test attribute "sample_response"' do
|
|
225
281
|
it 'should work' do
|
|
226
282
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -103,49 +103,49 @@ describe SparteraApiSdk::Endpoints do
|
|
|
103
103
|
end
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
describe 'test attribute "
|
|
106
|
+
describe 'test attribute "name"' do
|
|
107
107
|
it 'should work' do
|
|
108
108
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
109
109
|
end
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
-
describe 'test attribute "
|
|
112
|
+
describe 'test attribute "slug"' do
|
|
113
113
|
it 'should work' do
|
|
114
114
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
117
|
|
|
118
|
-
describe 'test attribute "
|
|
118
|
+
describe 'test attribute "description"' do
|
|
119
119
|
it 'should work' do
|
|
120
120
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
121
121
|
end
|
|
122
122
|
end
|
|
123
123
|
|
|
124
|
-
describe 'test attribute "
|
|
124
|
+
describe 'test attribute "detailed_description"' do
|
|
125
125
|
it 'should work' do
|
|
126
126
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
127
127
|
end
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
describe 'test attribute "
|
|
130
|
+
describe 'test attribute "top_questions"' do
|
|
131
131
|
it 'should work' do
|
|
132
132
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
133
133
|
end
|
|
134
134
|
end
|
|
135
135
|
|
|
136
|
-
describe 'test attribute "
|
|
136
|
+
describe 'test attribute "source_schema_name"' do
|
|
137
137
|
it 'should work' do
|
|
138
138
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
139
139
|
end
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
describe 'test attribute "
|
|
142
|
+
describe 'test attribute "source_table_name"' do
|
|
143
143
|
it 'should work' do
|
|
144
144
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
145
145
|
end
|
|
146
146
|
end
|
|
147
147
|
|
|
148
|
-
describe 'test attribute "
|
|
148
|
+
describe 'test attribute "customer_name"' do
|
|
149
149
|
it 'should work' do
|
|
150
150
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
151
151
|
end
|
|
@@ -157,7 +157,7 @@ describe SparteraApiSdk::Endpoints do
|
|
|
157
157
|
end
|
|
158
158
|
end
|
|
159
159
|
|
|
160
|
-
describe 'test attribute "
|
|
160
|
+
describe 'test attribute "rate_limit_number"' do
|
|
161
161
|
it 'should work' do
|
|
162
162
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
163
163
|
end
|
|
@@ -209,6 +209,50 @@ describe SparteraApiSdk::Endpoints do
|
|
|
209
209
|
end
|
|
210
210
|
end
|
|
211
211
|
|
|
212
|
+
describe 'test attribute "data_time_period_start"' do
|
|
213
|
+
it 'should work' do
|
|
214
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
215
|
+
end
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
describe 'test attribute "data_time_period_end"' do
|
|
219
|
+
it 'should work' do
|
|
220
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
|
|
224
|
+
describe 'test attribute "date_collection_start"' do
|
|
225
|
+
it 'should work' do
|
|
226
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
227
|
+
end
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
describe 'test attribute "geographic_coverage_type"' do
|
|
231
|
+
it 'should work' do
|
|
232
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
233
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["GLOBAL", "CONTINENTAL", "REGIONAL", "NATIONAL", "STATE", "LOCAL", "CUSTOM", "UNKNOWN"])
|
|
234
|
+
# validator.allowable_values.each do |value|
|
|
235
|
+
# expect { instance.geographic_coverage_type = value }.not_to raise_error
|
|
236
|
+
# end
|
|
237
|
+
end
|
|
238
|
+
end
|
|
239
|
+
|
|
240
|
+
describe 'test attribute "geographic_coverage_details"' do
|
|
241
|
+
it 'should work' do
|
|
242
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
243
|
+
end
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
describe 'test attribute "data_source_refresh_frequency"' do
|
|
247
|
+
it 'should work' do
|
|
248
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
249
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["EVERY_SECOND", "EVERY_MINUTE", "EVERY_HOUR", "EVERY_DAY", "EVERY_WEEK", "EVERY_MONTH", "EVERY_QUARTER", "EVERY_YEAR", "NEVER", "UNKNOWN"])
|
|
250
|
+
# validator.allowable_values.each do |value|
|
|
251
|
+
# expect { instance.data_source_refresh_frequency = value }.not_to raise_error
|
|
252
|
+
# end
|
|
253
|
+
end
|
|
254
|
+
end
|
|
255
|
+
|
|
212
256
|
describe 'test attribute "tags"' do
|
|
213
257
|
it 'should work' do
|
|
214
258
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
@@ -227,6 +271,18 @@ describe SparteraApiSdk::Endpoints do
|
|
|
227
271
|
end
|
|
228
272
|
end
|
|
229
273
|
|
|
274
|
+
describe 'test attribute "export_enabled"' do
|
|
275
|
+
it 'should work' do
|
|
276
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
|
|
280
|
+
describe 'test attribute "max_records_per_export"' do
|
|
281
|
+
it 'should work' do
|
|
282
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
283
|
+
end
|
|
284
|
+
end
|
|
285
|
+
|
|
230
286
|
describe 'test attribute "sample_response"' do
|
|
231
287
|
it 'should work' do
|
|
232
288
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|