rocket_stack_sdk 1.0.1
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 +7 -0
- data/Gemfile +9 -0
- data/README.md +226 -0
- data/Rakefile +10 -0
- data/docs/CreateCronJob201Response.md +22 -0
- data/docs/CreateCronJob201ResponseData.md +20 -0
- data/docs/CreateCronJobRequest.md +26 -0
- data/docs/CreateCronJobRequestDeliveryTarget.md +32 -0
- data/docs/CreateCronJobRequestSchedule.md +22 -0
- data/docs/CreateDownloadUrl200Response.md +22 -0
- data/docs/CreateDownloadUrl200ResponseData.md +24 -0
- data/docs/CreateDownloadUrlRequest.md +22 -0
- data/docs/CreateFunction202Response.md +22 -0
- data/docs/CreateFunction202ResponseData.md +20 -0
- data/docs/CreateQueue201Response.md +22 -0
- data/docs/CreateQueue201ResponseData.md +20 -0
- data/docs/CreateQueueRequest.md +26 -0
- data/docs/CreateQueueRequestDeliveryTarget.md +32 -0
- data/docs/CreateSchedule201Response.md +22 -0
- data/docs/CreateSchedule201ResponseData.md +20 -0
- data/docs/CreateScheduleRequest.md +26 -0
- data/docs/CronApi.md +365 -0
- data/docs/DeleteKvItem200Response.md +22 -0
- data/docs/DeleteKvItem200ResponseData.md +18 -0
- data/docs/EnqueueMessage201Response.md +22 -0
- data/docs/EnqueueMessage201ResponseData.md +20 -0
- data/docs/EnqueueMessageRequest.md +22 -0
- data/docs/FinalizeUpload200Response.md +22 -0
- data/docs/FinalizeUpload200ResponseData.md +24 -0
- data/docs/FinalizeUploadRequest.md +18 -0
- data/docs/FunctionsApi.md +463 -0
- data/docs/GetCronJob200Response.md +22 -0
- data/docs/GetFunction200Response.md +22 -0
- data/docs/GetKvItem200Response.md +22 -0
- data/docs/GetKvItem200ResponseData.md +24 -0
- data/docs/GetMessageStatus200Response.md +22 -0
- data/docs/GetMessageStatus200ResponseData.md +30 -0
- data/docs/GetQueue200Response.md +22 -0
- data/docs/GetSchedule200Response.md +22 -0
- data/docs/GetScheduleStatus200Response.md +22 -0
- data/docs/GetScheduleStatus200ResponseData.md +26 -0
- data/docs/GetTemplate200Response.md +22 -0
- data/docs/InvokeFunction200Response.md +22 -0
- data/docs/InvokeFunction200ResponseData.md +26 -0
- data/docs/InvokeFunctionRequest.md +22 -0
- data/docs/KvApi.md +297 -0
- data/docs/ListCapabilities200Response.md +22 -0
- data/docs/ListCapabilities200ResponseDataInner.md +22 -0
- data/docs/ListCronJobs200Response.md +22 -0
- data/docs/ListCronJobs200ResponseData.md +20 -0
- data/docs/ListCronJobs200ResponseDataItemsInner.md +36 -0
- data/docs/ListCronJobs200ResponseDataItemsInnerSchedule.md +24 -0
- data/docs/ListFunctions200Response.md +22 -0
- data/docs/ListFunctions200ResponseData.md +20 -0
- data/docs/ListFunctions200ResponseDataItemsInner.md +38 -0
- data/docs/ListFunctions200ResponseDataItemsInnerActualSpec.md +18 -0
- data/docs/ListFunctions200ResponseDataItemsInnerDesiredSpec.md +36 -0
- data/docs/ListFunctions200ResponseDataItemsInnerDesiredSpecCode.md +20 -0
- data/docs/ListFunctions200ResponseError.md +22 -0
- data/docs/ListFunctions401Response.md +20 -0
- data/docs/ListKvItems200Response.md +22 -0
- data/docs/ListKvItems200ResponseData.md +20 -0
- data/docs/ListKvItems200ResponseDataItemsInner.md +24 -0
- data/docs/ListQueues200Response.md +22 -0
- data/docs/ListQueues200ResponseData.md +20 -0
- data/docs/ListQueues200ResponseDataItemsInner.md +36 -0
- data/docs/ListQueues200ResponseDataItemsInnerDeliveryTarget.md +28 -0
- data/docs/ListSchedules200Response.md +22 -0
- data/docs/ListSchedules200ResponseData.md +20 -0
- data/docs/ListSchedules200ResponseDataItemsInner.md +36 -0
- data/docs/ListSnippets200Response.md +22 -0
- data/docs/ListSnippets200ResponseDataInner.md +28 -0
- data/docs/ListStorageObjects200Response.md +22 -0
- data/docs/ListStorageObjects200ResponseData.md +20 -0
- data/docs/ListStorageObjects200ResponseDataItemsInner.md +28 -0
- data/docs/ListTemplates200Response.md +22 -0
- data/docs/ListTemplates200ResponseDataInner.md +28 -0
- data/docs/PutKvItem200Response.md +22 -0
- data/docs/PutKvItem200ResponseData.md +22 -0
- data/docs/PutKvItemRequest.md +24 -0
- data/docs/PutKvItemRequestIfVersion.md +15 -0
- data/docs/QueuesApi.md +511 -0
- data/docs/ResourcesApi.md +290 -0
- data/docs/SchedulerApi.md +505 -0
- data/docs/StorageApi.md +447 -0
- data/docs/UpdateCronJob200Response.md +22 -0
- data/docs/UpdateCronJob200ResponseData.md +22 -0
- data/docs/UpdateCronJobRequest.md +24 -0
- data/docs/UpdateCronJobRequestSchedule.md +22 -0
- data/docs/UpdateFunctionRequest.md +30 -0
- data/docs/UpdateQueue200Response.md +22 -0
- data/docs/UpdateQueue200ResponseData.md +22 -0
- data/docs/UpdateQueueRequest.md +24 -0
- data/docs/UpdateSchedule200Response.md +22 -0
- data/docs/UpdateSchedule200ResponseData.md +22 -0
- data/docs/UpdateScheduleRequest.md +24 -0
- data/docs/UploadObject201Response.md +22 -0
- data/docs/UploadObject201ResponseData.md +26 -0
- data/git_push.sh +57 -0
- data/lib/rocket_stack_sdk/api/cron_api.rb +357 -0
- data/lib/rocket_stack_sdk/api/functions_api.rb +536 -0
- data/lib/rocket_stack_sdk/api/kv_api.rb +308 -0
- data/lib/rocket_stack_sdk/api/queues_api.rb +496 -0
- data/lib/rocket_stack_sdk/api/resources_api.rb +277 -0
- data/lib/rocket_stack_sdk/api/scheduler_api.rb +483 -0
- data/lib/rocket_stack_sdk/api/storage_api.rb +474 -0
- data/lib/rocket_stack_sdk/api_client.rb +397 -0
- data/lib/rocket_stack_sdk/api_error.rb +58 -0
- data/lib/rocket_stack_sdk/api_model_base.rb +88 -0
- data/lib/rocket_stack_sdk/configuration.rb +309 -0
- data/lib/rocket_stack_sdk/models/create_cron_job201_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/create_cron_job201_response_data.rb +190 -0
- data/lib/rocket_stack_sdk/models/create_cron_job_request.rb +265 -0
- data/lib/rocket_stack_sdk/models/create_cron_job_request_delivery_target.rb +343 -0
- data/lib/rocket_stack_sdk/models/create_cron_job_request_schedule.rb +227 -0
- data/lib/rocket_stack_sdk/models/create_download_url200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/create_download_url200_response_data.rb +211 -0
- data/lib/rocket_stack_sdk/models/create_download_url_request.rb +228 -0
- data/lib/rocket_stack_sdk/models/create_function202_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/create_function202_response_data.rb +190 -0
- data/lib/rocket_stack_sdk/models/create_queue201_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/create_queue201_response_data.rb +190 -0
- data/lib/rocket_stack_sdk/models/create_queue_request.rb +313 -0
- data/lib/rocket_stack_sdk/models/create_queue_request_delivery_target.rb +343 -0
- data/lib/rocket_stack_sdk/models/create_schedule201_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/create_schedule201_response_data.rb +190 -0
- data/lib/rocket_stack_sdk/models/create_schedule_request.rb +265 -0
- data/lib/rocket_stack_sdk/models/delete_kv_item200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/delete_kv_item200_response_data.rb +164 -0
- data/lib/rocket_stack_sdk/models/enqueue_message201_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/enqueue_message201_response_data.rb +190 -0
- data/lib/rocket_stack_sdk/models/enqueue_message_request.rb +213 -0
- data/lib/rocket_stack_sdk/models/finalize_upload200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/finalize_upload200_response_data.rb +242 -0
- data/lib/rocket_stack_sdk/models/finalize_upload_request.rb +182 -0
- data/lib/rocket_stack_sdk/models/get_cron_job200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/get_function200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/get_kv_item200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/get_kv_item200_response_data.rb +212 -0
- data/lib/rocket_stack_sdk/models/get_message_status200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/get_message_status200_response_data.rb +303 -0
- data/lib/rocket_stack_sdk/models/get_queue200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/get_schedule200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/get_schedule_status200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/get_schedule_status200_response_data.rb +240 -0
- data/lib/rocket_stack_sdk/models/get_template200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/invoke_function200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/invoke_function200_response_data.rb +201 -0
- data/lib/rocket_stack_sdk/models/invoke_function_request.rb +204 -0
- data/lib/rocket_stack_sdk/models/list_capabilities200_response.rb +184 -0
- data/lib/rocket_stack_sdk/models/list_capabilities200_response_data_inner.rb +216 -0
- data/lib/rocket_stack_sdk/models/list_cron_jobs200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/list_cron_jobs200_response_data.rb +176 -0
- data/lib/rocket_stack_sdk/models/list_cron_jobs200_response_data_items_inner.rb +384 -0
- data/lib/rocket_stack_sdk/models/list_cron_jobs200_response_data_items_inner_schedule.rb +249 -0
- data/lib/rocket_stack_sdk/models/list_functions200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/list_functions200_response_data.rb +176 -0
- data/lib/rocket_stack_sdk/models/list_functions200_response_data_items_inner.rb +393 -0
- data/lib/rocket_stack_sdk/models/list_functions200_response_data_items_inner_actual_spec.rb +164 -0
- data/lib/rocket_stack_sdk/models/list_functions200_response_data_items_inner_desired_spec.rb +352 -0
- data/lib/rocket_stack_sdk/models/list_functions200_response_data_items_inner_desired_spec_code.rb +174 -0
- data/lib/rocket_stack_sdk/models/list_functions200_response_error.rb +201 -0
- data/lib/rocket_stack_sdk/models/list_functions401_response.rb +190 -0
- data/lib/rocket_stack_sdk/models/list_kv_items200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/list_kv_items200_response_data.rb +178 -0
- data/lib/rocket_stack_sdk/models/list_kv_items200_response_data_items_inner.rb +228 -0
- data/lib/rocket_stack_sdk/models/list_queues200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/list_queues200_response_data.rb +176 -0
- data/lib/rocket_stack_sdk/models/list_queues200_response_data_items_inner.rb +381 -0
- data/lib/rocket_stack_sdk/models/list_queues200_response_data_items_inner_delivery_target.rb +267 -0
- data/lib/rocket_stack_sdk/models/list_schedules200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/list_schedules200_response_data.rb +176 -0
- data/lib/rocket_stack_sdk/models/list_schedules200_response_data_items_inner.rb +384 -0
- data/lib/rocket_stack_sdk/models/list_snippets200_response.rb +184 -0
- data/lib/rocket_stack_sdk/models/list_snippets200_response_data_inner.rb +294 -0
- data/lib/rocket_stack_sdk/models/list_storage_objects200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/list_storage_objects200_response_data.rb +178 -0
- data/lib/rocket_stack_sdk/models/list_storage_objects200_response_data_items_inner.rb +260 -0
- data/lib/rocket_stack_sdk/models/list_templates200_response.rb +184 -0
- data/lib/rocket_stack_sdk/models/list_templates200_response_data_inner.rb +262 -0
- data/lib/rocket_stack_sdk/models/put_kv_item200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/put_kv_item200_response_data.rb +202 -0
- data/lib/rocket_stack_sdk/models/put_kv_item_request.rb +203 -0
- data/lib/rocket_stack_sdk/models/put_kv_item_request_if_version.rb +103 -0
- data/lib/rocket_stack_sdk/models/update_cron_job200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/update_cron_job200_response_data.rb +216 -0
- data/lib/rocket_stack_sdk/models/update_cron_job_request.rb +177 -0
- data/lib/rocket_stack_sdk/models/update_cron_job_request_schedule.rb +220 -0
- data/lib/rocket_stack_sdk/models/update_function_request.rb +337 -0
- data/lib/rocket_stack_sdk/models/update_queue200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/update_queue200_response_data.rb +216 -0
- data/lib/rocket_stack_sdk/models/update_queue_request.rb +258 -0
- data/lib/rocket_stack_sdk/models/update_schedule200_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/update_schedule200_response_data.rb +216 -0
- data/lib/rocket_stack_sdk/models/update_schedule_request.rb +177 -0
- data/lib/rocket_stack_sdk/models/upload_object201_response.rb +182 -0
- data/lib/rocket_stack_sdk/models/upload_object201_response_data.rb +251 -0
- data/lib/rocket_stack_sdk/version.rb +15 -0
- data/lib/rocket_stack_sdk.rb +134 -0
- data/rocket_stack_sdk.gemspec +39 -0
- data/spec/api/cron_api_spec.rb +97 -0
- data/spec/api/functions_api_spec.rb +121 -0
- data/spec/api/kv_api_spec.rb +86 -0
- data/spec/api/queues_api_spec.rb +123 -0
- data/spec/api/resources_api_spec.rb +83 -0
- data/spec/api/scheduler_api_spec.rb +121 -0
- data/spec/api/storage_api_spec.rb +114 -0
- data/spec/models/create_cron_job201_response_data_spec.rb +42 -0
- data/spec/models/create_cron_job201_response_spec.rb +48 -0
- data/spec/models/create_cron_job_request_delivery_target_spec.rb +82 -0
- data/spec/models/create_cron_job_request_schedule_spec.rb +52 -0
- data/spec/models/create_cron_job_request_spec.rb +60 -0
- data/spec/models/create_download_url200_response_data_spec.rb +54 -0
- data/spec/models/create_download_url200_response_spec.rb +48 -0
- data/spec/models/create_download_url_request_spec.rb +48 -0
- data/spec/models/create_function202_response_data_spec.rb +42 -0
- data/spec/models/create_function202_response_spec.rb +48 -0
- data/spec/models/create_queue201_response_data_spec.rb +42 -0
- data/spec/models/create_queue201_response_spec.rb +48 -0
- data/spec/models/create_queue_request_delivery_target_spec.rb +82 -0
- data/spec/models/create_queue_request_spec.rb +60 -0
- data/spec/models/create_schedule201_response_data_spec.rb +42 -0
- data/spec/models/create_schedule201_response_spec.rb +48 -0
- data/spec/models/create_schedule_request_spec.rb +60 -0
- data/spec/models/delete_kv_item200_response_data_spec.rb +36 -0
- data/spec/models/delete_kv_item200_response_spec.rb +48 -0
- data/spec/models/enqueue_message201_response_data_spec.rb +42 -0
- data/spec/models/enqueue_message201_response_spec.rb +48 -0
- data/spec/models/enqueue_message_request_spec.rb +48 -0
- data/spec/models/finalize_upload200_response_data_spec.rb +54 -0
- data/spec/models/finalize_upload200_response_spec.rb +48 -0
- data/spec/models/finalize_upload_request_spec.rb +36 -0
- data/spec/models/get_cron_job200_response_spec.rb +48 -0
- data/spec/models/get_function200_response_spec.rb +48 -0
- data/spec/models/get_kv_item200_response_data_spec.rb +54 -0
- data/spec/models/get_kv_item200_response_spec.rb +48 -0
- data/spec/models/get_message_status200_response_data_spec.rb +72 -0
- data/spec/models/get_message_status200_response_spec.rb +48 -0
- data/spec/models/get_queue200_response_spec.rb +48 -0
- data/spec/models/get_schedule200_response_spec.rb +48 -0
- data/spec/models/get_schedule_status200_response_data_spec.rb +60 -0
- data/spec/models/get_schedule_status200_response_spec.rb +48 -0
- data/spec/models/get_template200_response_spec.rb +48 -0
- data/spec/models/invoke_function200_response_data_spec.rb +60 -0
- data/spec/models/invoke_function200_response_spec.rb +48 -0
- data/spec/models/invoke_function_request_spec.rb +52 -0
- data/spec/models/list_capabilities200_response_data_inner_spec.rb +48 -0
- data/spec/models/list_capabilities200_response_spec.rb +48 -0
- data/spec/models/list_cron_jobs200_response_data_items_inner_schedule_spec.rb +58 -0
- data/spec/models/list_cron_jobs200_response_data_items_inner_spec.rb +90 -0
- data/spec/models/list_cron_jobs200_response_data_spec.rb +42 -0
- data/spec/models/list_cron_jobs200_response_spec.rb +48 -0
- data/spec/models/list_functions200_response_data_items_inner_actual_spec_spec.rb +36 -0
- data/spec/models/list_functions200_response_data_items_inner_desired_spec_code_spec.rb +42 -0
- data/spec/models/list_functions200_response_data_items_inner_desired_spec_spec.rb +98 -0
- data/spec/models/list_functions200_response_data_items_inner_spec.rb +96 -0
- data/spec/models/list_functions200_response_data_spec.rb +42 -0
- data/spec/models/list_functions200_response_error_spec.rb +48 -0
- data/spec/models/list_functions200_response_spec.rb +48 -0
- data/spec/models/list_functions401_response_spec.rb +42 -0
- data/spec/models/list_kv_items200_response_data_items_inner_spec.rb +54 -0
- data/spec/models/list_kv_items200_response_data_spec.rb +42 -0
- data/spec/models/list_kv_items200_response_spec.rb +48 -0
- data/spec/models/list_queues200_response_data_items_inner_delivery_target_spec.rb +70 -0
- data/spec/models/list_queues200_response_data_items_inner_spec.rb +90 -0
- data/spec/models/list_queues200_response_data_spec.rb +42 -0
- data/spec/models/list_queues200_response_spec.rb +48 -0
- data/spec/models/list_schedules200_response_data_items_inner_spec.rb +90 -0
- data/spec/models/list_schedules200_response_data_spec.rb +42 -0
- data/spec/models/list_schedules200_response_spec.rb +48 -0
- data/spec/models/list_snippets200_response_data_inner_spec.rb +66 -0
- data/spec/models/list_snippets200_response_spec.rb +48 -0
- data/spec/models/list_storage_objects200_response_data_items_inner_spec.rb +66 -0
- data/spec/models/list_storage_objects200_response_data_spec.rb +42 -0
- data/spec/models/list_storage_objects200_response_spec.rb +48 -0
- data/spec/models/list_templates200_response_data_inner_spec.rb +66 -0
- data/spec/models/list_templates200_response_spec.rb +48 -0
- data/spec/models/put_kv_item200_response_data_spec.rb +48 -0
- data/spec/models/put_kv_item200_response_spec.rb +48 -0
- data/spec/models/put_kv_item_request_if_version_spec.rb +21 -0
- data/spec/models/put_kv_item_request_spec.rb +54 -0
- data/spec/models/update_cron_job200_response_data_spec.rb +48 -0
- data/spec/models/update_cron_job200_response_spec.rb +48 -0
- data/spec/models/update_cron_job_request_schedule_spec.rb +52 -0
- data/spec/models/update_cron_job_request_spec.rb +54 -0
- data/spec/models/update_function_request_spec.rb +76 -0
- data/spec/models/update_queue200_response_data_spec.rb +48 -0
- data/spec/models/update_queue200_response_spec.rb +48 -0
- data/spec/models/update_queue_request_spec.rb +54 -0
- data/spec/models/update_schedule200_response_data_spec.rb +48 -0
- data/spec/models/update_schedule200_response_spec.rb +48 -0
- data/spec/models/update_schedule_request_spec.rb +54 -0
- data/spec/models/upload_object201_response_data_spec.rb +60 -0
- data/spec/models/upload_object201_response_spec.rb +48 -0
- data/spec/spec_helper.rb +111 -0
- metadata +472 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack API
|
|
3
|
+
|
|
4
|
+
#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
|
+
|
|
16
|
+
# Unit tests for RocketStack::StorageApi
|
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'StorageApi' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@api_instance = RocketStack::StorageApi.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of StorageApi' do
|
|
30
|
+
it 'should create an instance of StorageApi' do
|
|
31
|
+
expect(@api_instance).to be_instance_of(RocketStack::StorageApi)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
# unit tests for create_download_url
|
|
36
|
+
# Create a presigned download URL
|
|
37
|
+
# Generates a presigned S3 URL for downloading an object.
|
|
38
|
+
# @param create_download_url_request
|
|
39
|
+
# @param [Hash] opts the optional parameters
|
|
40
|
+
# @return [CreateDownloadUrl200Response]
|
|
41
|
+
describe 'create_download_url test' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# unit tests for delete_storage_object
|
|
48
|
+
# Delete a storage object
|
|
49
|
+
# Deletes an object by path.
|
|
50
|
+
# @param path
|
|
51
|
+
# @param [Hash] opts the optional parameters
|
|
52
|
+
# @option opts [Boolean] :public
|
|
53
|
+
# @return [DeleteKvItem200Response]
|
|
54
|
+
describe 'delete_storage_object test' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# unit tests for finalize_upload
|
|
61
|
+
# Finalize an upload
|
|
62
|
+
# Verifies an uploaded object exists and returns its metadata.
|
|
63
|
+
# @param finalize_upload_request
|
|
64
|
+
# @param [Hash] opts the optional parameters
|
|
65
|
+
# @return [FinalizeUpload200Response]
|
|
66
|
+
describe 'finalize_upload test' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
# unit tests for get_public_object
|
|
73
|
+
# Get a public object
|
|
74
|
+
# Returns the object body for a public object. No authentication required. This is the stable URL for objects uploaded with public=true.
|
|
75
|
+
# @param tenant_id
|
|
76
|
+
# @param wildcard Object path (may contain slashes)
|
|
77
|
+
# @param [Hash] opts the optional parameters
|
|
78
|
+
# @return [File]
|
|
79
|
+
describe 'get_public_object test' do
|
|
80
|
+
it 'should work' do
|
|
81
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# unit tests for list_storage_objects
|
|
86
|
+
# List storage objects
|
|
87
|
+
# Returns a paginated list of objects in storage, optionally filtered by prefix.
|
|
88
|
+
# @param [Hash] opts the optional parameters
|
|
89
|
+
# @option opts [String] :prefix
|
|
90
|
+
# @option opts [String] :visibility
|
|
91
|
+
# @option opts [Integer] :limit
|
|
92
|
+
# @option opts [String] :cursor
|
|
93
|
+
# @return [ListStorageObjects200Response]
|
|
94
|
+
describe 'list_storage_objects test' 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
|
+
# unit tests for upload_object
|
|
101
|
+
# Upload an object
|
|
102
|
+
# Upload a file directly to storage via multipart form data.
|
|
103
|
+
# @param file
|
|
104
|
+
# @param path
|
|
105
|
+
# @param [Hash] opts the optional parameters
|
|
106
|
+
# @option opts [String] :public Set to \\\"true\\\" to make the object publicly accessible
|
|
107
|
+
# @return [UploadObject201Response]
|
|
108
|
+
describe 'upload_object test' do
|
|
109
|
+
it 'should work' do
|
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack API
|
|
3
|
+
|
|
4
|
+
#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::CreateCronJob201ResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateCronJob201ResponseData do
|
|
21
|
+
#let(:instance) { RocketStack::CreateCronJob201ResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCronJob201ResponseData' do
|
|
24
|
+
it 'should create an instance of CreateCronJob201ResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateCronJob201ResponseData)
|
|
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 API
|
|
3
|
+
|
|
4
|
+
#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::CreateCronJob201Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateCronJob201Response do
|
|
21
|
+
#let(:instance) { RocketStack::CreateCronJob201Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCronJob201Response' do
|
|
24
|
+
it 'should create an instance of CreateCronJob201Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateCronJob201Response)
|
|
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,82 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack API
|
|
3
|
+
|
|
4
|
+
#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::CreateCronJobRequestDeliveryTarget
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateCronJobRequestDeliveryTarget do
|
|
21
|
+
#let(:instance) { RocketStack::CreateCronJobRequestDeliveryTarget.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCronJobRequestDeliveryTarget' do
|
|
24
|
+
it 'should create an instance of CreateCronJobRequestDeliveryTarget' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateCronJobRequestDeliveryTarget)
|
|
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", "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 "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_url"' 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 "webhook_headers"' 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 "timeout_seconds"' 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_in_flight"' 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 "max_per_second"' 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 "retryable_status_codes"' 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
|
+
end
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack API
|
|
3
|
+
|
|
4
|
+
#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::CreateCronJobRequestSchedule
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateCronJobRequestSchedule do
|
|
21
|
+
#let(:instance) { RocketStack::CreateCronJobRequestSchedule.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCronJobRequestSchedule' do
|
|
24
|
+
it 'should create an instance of CreateCronJobRequestSchedule' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateCronJobRequestSchedule)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "expression"' 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 "format"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aws", "unix5"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.format = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "timezone"' 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
|
+
end
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack API
|
|
3
|
+
|
|
4
|
+
#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::CreateCronJobRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateCronJobRequest do
|
|
21
|
+
#let(:instance) { RocketStack::CreateCronJobRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateCronJobRequest' do
|
|
24
|
+
it 'should create an instance of CreateCronJobRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateCronJobRequest)
|
|
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 "schedule"' 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 "delivery_target"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "paused"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "payload_template"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack API
|
|
3
|
+
|
|
4
|
+
#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::CreateDownloadUrl200ResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateDownloadUrl200ResponseData do
|
|
21
|
+
#let(:instance) { RocketStack::CreateDownloadUrl200ResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateDownloadUrl200ResponseData' do
|
|
24
|
+
it 'should create an instance of CreateDownloadUrl200ResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateDownloadUrl200ResponseData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "path"' 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 "download_url"' 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 "expires_at"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
describe 'test attribute "public_url"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack API
|
|
3
|
+
|
|
4
|
+
#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::CreateDownloadUrl200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateDownloadUrl200Response do
|
|
21
|
+
#let(:instance) { RocketStack::CreateDownloadUrl200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateDownloadUrl200Response' do
|
|
24
|
+
it 'should create an instance of CreateDownloadUrl200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateDownloadUrl200Response)
|
|
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,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Rocketstack API
|
|
3
|
+
|
|
4
|
+
#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::CreateDownloadUrlRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateDownloadUrlRequest do
|
|
21
|
+
#let(:instance) { RocketStack::CreateDownloadUrlRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateDownloadUrlRequest' do
|
|
24
|
+
it 'should create an instance of CreateDownloadUrlRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateDownloadUrlRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "path"' 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 "expires_in_seconds"' 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 "public"' 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 API
|
|
3
|
+
|
|
4
|
+
#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::CreateFunction202ResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateFunction202ResponseData do
|
|
21
|
+
#let(:instance) { RocketStack::CreateFunction202ResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateFunction202ResponseData' do
|
|
24
|
+
it 'should create an instance of CreateFunction202ResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateFunction202ResponseData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "resource_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 API
|
|
3
|
+
|
|
4
|
+
#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::CreateFunction202Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateFunction202Response do
|
|
21
|
+
#let(:instance) { RocketStack::CreateFunction202Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateFunction202Response' do
|
|
24
|
+
it 'should create an instance of CreateFunction202Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateFunction202Response)
|
|
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 API
|
|
3
|
+
|
|
4
|
+
#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::CreateQueue201ResponseData
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe RocketStack::CreateQueue201ResponseData do
|
|
21
|
+
#let(:instance) { RocketStack::CreateQueue201ResponseData.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateQueue201ResponseData' do
|
|
24
|
+
it 'should create an instance of CreateQueue201ResponseData' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(RocketStack::CreateQueue201ResponseData)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "queue_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
|