rocket_stack_sdk 1.0.3 → 1.0.5
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 +31 -13
- data/docs/CreateCronJob201ResponseData.md +3 -1
- data/docs/CreateCronJobRequestDeliveryTarget.md +9 -9
- data/docs/CreateCronJobRequestDeliveryTargetAnyOf.md +30 -0
- data/docs/CreateCronJobRequestDeliveryTargetAnyOf1.md +30 -0
- data/docs/CreateCronJobRequestSchedule.md +1 -1
- data/docs/CreateDownloadUrlRequest.md +1 -1
- data/docs/CreateQueueRequestDeliveryTarget.md +9 -9
- data/docs/CreateQueueRequestDeliveryTargetAnyOf.md +30 -0
- data/docs/CreateQueueRequestDeliveryTargetAnyOf1.md +30 -0
- data/docs/CreateScheduleRequest.md +1 -1
- data/docs/CronApi.md +85 -7
- data/docs/DeleteCronJob200Response.md +22 -0
- data/docs/DeleteCronJob200ResponseData.md +20 -0
- data/docs/FinalizeUploadRequest.md +1 -1
- data/docs/FunctionsApi.md +72 -2
- data/docs/GetFunctionCode200Response.md +22 -0
- data/docs/GetFunctionCode200ResponseData.md +28 -0
- data/docs/GetFunctionCode200ResponseDataFilesInner.md +20 -0
- data/docs/GetMessageStatus200Response.md +1 -1
- data/docs/GetMessageStatus200ResponseData.md +2 -2
- data/docs/InvokeFunctionRequest.md +2 -2
- data/docs/KvApi.md +26 -26
- data/docs/ListCronInvocations200Response.md +22 -0
- data/docs/ListCronInvocations200ResponseData.md +20 -0
- data/docs/ListCronInvocations200ResponseDataItemsInner.md +42 -0
- data/docs/ListQueueMessages200Response.md +22 -0
- data/docs/ListQueueMessages200ResponseData.md +20 -0
- data/docs/ListQueueMessages200ResponseDataItemsInner.md +32 -0
- data/docs/PutKvItemRequest.md +3 -3
- data/docs/QueuesApi.md +80 -2
- data/docs/ResourcesApi.md +1 -1
- data/docs/SchedulerApi.md +81 -3
- data/docs/StorageApi.md +5 -5
- data/docs/UpdateCronJobRequestSchedule.md +1 -1
- data/docs/UpdateScheduleRequest.md +1 -1
- data/lib/rocket_stack_sdk/api/cron_api.rb +92 -8
- data/lib/rocket_stack_sdk/api/functions_api.rb +68 -5
- data/lib/rocket_stack_sdk/api/kv_api.rb +38 -50
- data/lib/rocket_stack_sdk/api/queues_api.rb +89 -5
- data/lib/rocket_stack_sdk/api/resources_api.rb +3 -3
- data/lib/rocket_stack_sdk/api/scheduler_api.rb +89 -5
- data/lib/rocket_stack_sdk/api/storage_api.rb +9 -9
- data/lib/rocket_stack_sdk/api_client.rb +3 -3
- data/lib/rocket_stack_sdk/api_error.rb +3 -3
- data/lib/rocket_stack_sdk/api_model_base.rb +3 -3
- data/lib/rocket_stack_sdk/configuration.rb +5 -5
- data/lib/rocket_stack_sdk/models/create_cron_job201_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_cron_job201_response_data.rb +33 -7
- data/lib/rocket_stack_sdk/models/create_cron_job_request.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_cron_job_request_delivery_target.rb +79 -319
- data/lib/rocket_stack_sdk/models/create_cron_job_request_delivery_target_any_of.rb +351 -0
- data/lib/rocket_stack_sdk/models/create_cron_job_request_delivery_target_any_of1.rb +351 -0
- data/lib/rocket_stack_sdk/models/create_cron_job_request_schedule.rb +3 -5
- data/lib/rocket_stack_sdk/models/create_download_url200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_download_url200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_download_url_request.rb +4 -3
- data/lib/rocket_stack_sdk/models/create_function202_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_function202_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_queue201_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_queue201_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_queue_request.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_queue_request_delivery_target.rb +79 -319
- data/lib/rocket_stack_sdk/models/create_queue_request_delivery_target_any_of.rb +351 -0
- data/lib/rocket_stack_sdk/models/create_queue_request_delivery_target_any_of1.rb +351 -0
- data/lib/rocket_stack_sdk/models/create_schedule201_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_schedule201_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/create_schedule_request.rb +4 -3
- data/lib/rocket_stack_sdk/models/delete_cron_job200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/delete_cron_job200_response_data.rb +190 -0
- data/lib/rocket_stack_sdk/models/delete_kv_item200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/delete_kv_item200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/enqueue_message201_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/enqueue_message201_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/enqueue_message_request.rb +3 -3
- data/lib/rocket_stack_sdk/models/finalize_upload200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/finalize_upload200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/finalize_upload_request.rb +4 -3
- data/lib/rocket_stack_sdk/models/get_cron_job200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/get_function200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/get_function_code200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/get_function_code200_response_data.rb +290 -0
- data/lib/rocket_stack_sdk/models/get_function_code200_response_data_files_inner.rb +190 -0
- data/lib/rocket_stack_sdk/models/get_kv_item200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/get_kv_item200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/get_message_status200_response.rb +4 -4
- data/lib/rocket_stack_sdk/models/get_message_status200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/get_queue200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/get_schedule200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/get_schedule_status200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/get_schedule_status200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/get_template200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/invoke_function200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/invoke_function200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/invoke_function_request.rb +3 -7
- data/lib/rocket_stack_sdk/models/list_capabilities200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_capabilities200_response_data_inner.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_cron_invocations200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/list_cron_invocations200_response_data.rb +176 -0
- data/lib/rocket_stack_sdk/models/list_cron_invocations200_response_data_items_inner.rb +347 -0
- data/lib/rocket_stack_sdk/models/list_cron_jobs200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_cron_jobs200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_cron_jobs200_response_data_items_inner.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_cron_jobs200_response_data_items_inner_schedule.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_functions200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_functions200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_functions200_response_data_items_inner.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_functions200_response_data_items_inner_actual_spec.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_functions200_response_data_items_inner_desired_spec.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_functions200_response_data_items_inner_desired_spec_code.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_functions200_response_error.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_functions401_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_kv_items200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_kv_items200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_kv_items200_response_data_items_inner.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_queue_messages200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/list_queue_messages200_response_data.rb +176 -0
- data/lib/rocket_stack_sdk/models/list_queue_messages200_response_data_items_inner.rb +312 -0
- data/lib/rocket_stack_sdk/models/list_queues200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_queues200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_queues200_response_data_items_inner.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_queues200_response_data_items_inner_delivery_target.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_schedules200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_schedules200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_schedules200_response_data_items_inner.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_snippets200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_snippets200_response_data_inner.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_storage_objects200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_storage_objects200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_storage_objects200_response_data_items_inner.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_templates200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/list_templates200_response_data_inner.rb +3 -3
- data/lib/rocket_stack_sdk/models/put_kv_item200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/put_kv_item200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/put_kv_item_request.rb +7 -4
- data/lib/rocket_stack_sdk/models/put_kv_item_request_if_version.rb +4 -3
- data/lib/rocket_stack_sdk/models/update_cron_job200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/update_cron_job200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/update_cron_job_request.rb +3 -3
- data/lib/rocket_stack_sdk/models/update_cron_job_request_schedule.rb +3 -5
- data/lib/rocket_stack_sdk/models/update_function_request.rb +3 -3
- data/lib/rocket_stack_sdk/models/update_queue200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/update_queue200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/update_queue_request.rb +3 -3
- data/lib/rocket_stack_sdk/models/update_schedule200_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/update_schedule200_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/models/update_schedule_request.rb +4 -3
- data/lib/rocket_stack_sdk/models/upload_object201_response.rb +3 -3
- data/lib/rocket_stack_sdk/models/upload_object201_response_data.rb +3 -3
- data/lib/rocket_stack_sdk/version.rb +4 -4
- data/lib/rocket_stack_sdk.rb +18 -4
- data/rocket_stack_sdk.gemspec +5 -5
- data/spec/models/create_cron_job_request_delivery_target_any_of1_spec.rb +76 -0
- data/spec/models/create_cron_job_request_delivery_target_any_of_spec.rb +76 -0
- data/spec/models/create_queue_request_delivery_target_any_of1_spec.rb +76 -0
- data/spec/models/create_queue_request_delivery_target_any_of_spec.rb +76 -0
- data/spec/models/delete_cron_job200_response_data_spec.rb +42 -0
- data/spec/models/delete_cron_job200_response_spec.rb +48 -0
- data/spec/models/get_function_code200_response_data_files_inner_spec.rb +42 -0
- data/spec/models/get_function_code200_response_data_spec.rb +74 -0
- data/spec/models/get_function_code200_response_spec.rb +48 -0
- data/spec/models/list_cron_invocations200_response_data_items_inner_spec.rb +112 -0
- data/spec/models/list_cron_invocations200_response_data_spec.rb +42 -0
- data/spec/models/list_cron_invocations200_response_spec.rb +48 -0
- data/spec/models/list_queue_messages200_response_data_items_inner_spec.rb +78 -0
- data/spec/models/list_queue_messages200_response_data_spec.rb +42 -0
- data/spec/models/list_queue_messages200_response_spec.rb +48 -0
- data/spec/spec_helper.rb +3 -3
- metadata +141 -81
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::CreateCronJobRequestDeliveryTargetAnyOf
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateCronJobRequestDeliveryTargetAnyOf do
|
|
21
|
+
#let(:instance) { RocketStack::CreateCronJobRequestDeliveryTargetAnyOf.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCronJobRequestDeliveryTargetAnyOf' do
|
|
24
|
+
it 'should create an instance of CreateCronJobRequestDeliveryTargetAnyOf' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateCronJobRequestDeliveryTargetAnyOf)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["function"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "function_id"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "webhook_headers"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "timeout_seconds"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "max_in_flight"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "max_per_second"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "retryable_status_codes"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
end
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::CreateQueueRequestDeliveryTargetAnyOf1
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateQueueRequestDeliveryTargetAnyOf1 do
|
|
21
|
+
#let(:instance) { RocketStack::CreateQueueRequestDeliveryTargetAnyOf1.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateQueueRequestDeliveryTargetAnyOf1' do
|
|
24
|
+
it 'should create an instance of CreateQueueRequestDeliveryTargetAnyOf1' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateQueueRequestDeliveryTargetAnyOf1)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["webhook"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "webhook_url"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "webhook_headers"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "timeout_seconds"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "max_in_flight"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "max_per_second"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "retryable_status_codes"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
end
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::CreateQueueRequestDeliveryTargetAnyOf
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateQueueRequestDeliveryTargetAnyOf do
|
|
21
|
+
#let(:instance) { RocketStack::CreateQueueRequestDeliveryTargetAnyOf.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateQueueRequestDeliveryTargetAnyOf' do
|
|
24
|
+
it 'should create an instance of CreateQueueRequestDeliveryTargetAnyOf' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateQueueRequestDeliveryTargetAnyOf)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "type"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["function"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.type = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "function_id"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "webhook_headers"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "timeout_seconds"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "max_in_flight"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "max_per_second"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "retryable_status_codes"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::DeleteCronJob200ResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::DeleteCronJob200ResponseData do
|
|
21
|
+
#let(:instance) { RocketStack::DeleteCronJob200ResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of DeleteCronJob200ResponseData' do
|
|
24
|
+
it 'should create an instance of DeleteCronJob200ResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::DeleteCronJob200ResponseData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "cron_job_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "status"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::DeleteCronJob200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::DeleteCronJob200Response do
|
|
21
|
+
#let(:instance) { RocketStack::DeleteCronJob200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of DeleteCronJob200Response' do
|
|
24
|
+
it 'should create an instance of DeleteCronJob200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::DeleteCronJob200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "request_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "data"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "error"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::GetFunctionCode200ResponseDataFilesInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::GetFunctionCode200ResponseDataFilesInner do
|
|
21
|
+
#let(:instance) { RocketStack::GetFunctionCode200ResponseDataFilesInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetFunctionCode200ResponseDataFilesInner' do
|
|
24
|
+
it 'should create an instance of GetFunctionCode200ResponseDataFilesInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::GetFunctionCode200ResponseDataFilesInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "content"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::GetFunctionCode200ResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::GetFunctionCode200ResponseData do
|
|
21
|
+
#let(:instance) { RocketStack::GetFunctionCode200ResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetFunctionCode200ResponseData' do
|
|
24
|
+
it 'should create an instance of GetFunctionCode200ResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::GetFunctionCode200ResponseData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "source"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["lambda", "s3"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.source = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "runtime"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
43
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["nodejs20.x", "python3.12"])
|
|
44
|
+
# validator.allowable_values.each do |value|
|
|
45
|
+
# expect { instance.runtime = value }.not_to raise_error
|
|
46
|
+
# end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
describe 'test attribute "handler"' do
|
|
51
|
+
it 'should work' do
|
|
52
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
describe 'test attribute "revision_id"' do
|
|
57
|
+
it 'should work' do
|
|
58
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
describe 'test attribute "deployed_at"' do
|
|
63
|
+
it 'should work' do
|
|
64
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
describe 'test attribute "files"' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::GetFunctionCode200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::GetFunctionCode200Response do
|
|
21
|
+
#let(:instance) { RocketStack::GetFunctionCode200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetFunctionCode200Response' do
|
|
24
|
+
it 'should create an instance of GetFunctionCode200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::GetFunctionCode200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "request_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "data"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "error"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::ListCronInvocations200ResponseDataItemsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::ListCronInvocations200ResponseDataItemsInner do
|
|
21
|
+
#let(:instance) { RocketStack::ListCronInvocations200ResponseDataItemsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ListCronInvocations200ResponseDataItemsInner' do
|
|
24
|
+
it 'should create an instance of ListCronInvocations200ResponseDataItemsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::ListCronInvocations200ResponseDataItemsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "invocation_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "action"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "outcome"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["delivered", "retrying", "discarded", "abandoned", "enqueued"])
|
|
46
|
+
# validator.allowable_values.each do |value|
|
|
47
|
+
# expect { instance.outcome = value }.not_to raise_error
|
|
48
|
+
# end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "occurred_at"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "attempt"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "duration_ms"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "error"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "reason"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "trigger_id"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "target_type"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "trigger_source"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
describe 'test attribute "status_code"' do
|
|
101
|
+
it 'should work' do
|
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
describe 'test attribute "backoff_seconds"' 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
|
+
|
|
112
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack Control Plane API
|
|
3
|
+
|
|
4
|
+
#Combined API for Functions, Queues, KV, Storage, Cron, and Scheduler.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for RocketStack::ListCronInvocations200ResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::ListCronInvocations200ResponseData do
|
|
21
|
+
#let(:instance) { RocketStack::ListCronInvocations200ResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ListCronInvocations200ResponseData' do
|
|
24
|
+
it 'should create an instance of ListCronInvocations200ResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::ListCronInvocations200ResponseData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "items"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "next_cursor"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|