artikcloud 2.0.7 → 2.0.8
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/Gemfile +0 -0
- data/Gemfile.lock +2 -2
- data/LICENSE +0 -0
- data/README.md +4 -4
- data/artikcloud.gemspec +2 -1
- data/docs/AckEnvelope.md +0 -0
- data/docs/Acknowledgement.md +0 -0
- data/docs/Action.md +0 -0
- data/docs/ActionArray.md +0 -0
- data/docs/ActionDetails.md +0 -0
- data/docs/ActionDetailsArray.md +0 -0
- data/docs/ActionIn.md +0 -0
- data/docs/ActionOut.md +0 -0
- data/docs/Actions.md +0 -0
- data/docs/AggregateData.md +0 -0
- data/docs/AggregatesHistogramData.md +0 -0
- data/docs/AggregatesHistogramResponse.md +0 -0
- data/docs/AggregatesResponse.md +0 -0
- data/docs/AppProperties.md +0 -0
- data/docs/CheckTokenMessage.md +0 -0
- data/docs/CheckTokenResponse.md +0 -0
- data/docs/Device.md +0 -0
- data/docs/DeviceArray.md +0 -0
- data/docs/DeviceEnvelope.md +0 -0
- data/docs/DeviceRegCompleteRequest.md +0 -0
- data/docs/DeviceRegConfirmUserRequest.md +0 -0
- data/docs/DeviceRegConfirmUserResponse.md +0 -0
- data/docs/DeviceRegConfirmUserResponseEnvelope.md +0 -0
- data/docs/DeviceRegStatusResponse.md +0 -0
- data/docs/DeviceRegStatusResponseEnvelope.md +0 -0
- data/docs/DeviceToken.md +0 -0
- data/docs/DeviceTokenEnvelope.md +0 -0
- data/docs/DeviceType.md +0 -0
- data/docs/DeviceTypeArray.md +0 -0
- data/docs/DeviceTypeEnvelope.md +0 -0
- data/docs/DeviceTypesApi.md +0 -0
- data/docs/DeviceTypesEnvelope.md +0 -0
- data/docs/DevicesApi.md +0 -0
- data/docs/DevicesEnvelope.md +0 -0
- data/docs/ErrorEnvelope.md +0 -0
- data/docs/ExportApi.md +0 -0
- data/docs/ExportData.md +0 -0
- data/docs/ExportDataArray.md +0 -0
- data/docs/ExportHistoryResponse.md +0 -0
- data/docs/ExportNormalizedMessagesResponse.md +0 -0
- data/docs/ExportRequest.md +0 -0
- data/docs/ExportRequestData.md +0 -0
- data/docs/ExportRequestInfo.md +0 -0
- data/docs/ExportRequestResponse.md +0 -0
- data/docs/ExportResponse.md +0 -0
- data/docs/ExportStatusResponse.md +0 -0
- data/docs/FieldPath.md +0 -0
- data/docs/FieldPresence.md +0 -0
- data/docs/FieldPresenceEnvelope.md +0 -0
- data/docs/FieldsActions.md +0 -0
- data/docs/ManifestProperties.md +0 -0
- data/docs/ManifestPropertiesEnvelope.md +0 -0
- data/docs/ManifestVersions.md +0 -0
- data/docs/ManifestVersionsEnvelope.md +0 -0
- data/docs/Message.md +0 -0
- data/docs/MessageAction.md +0 -0
- data/docs/MessageID.md +0 -0
- data/docs/MessageIDEnvelope.md +0 -0
- data/docs/MessageIn.md +0 -0
- data/docs/MessageOut.md +0 -0
- data/docs/MessagesApi.md +0 -0
- data/docs/NonEmptyString.md +0 -0
- data/docs/NormalizedAction.md +0 -0
- data/docs/NormalizedActionsEnvelope.md +0 -0
- data/docs/NormalizedMessage.md +0 -0
- data/docs/NormalizedMessagesEnvelope.md +0 -0
- data/docs/OutputRule.md +0 -0
- data/docs/PresenceEnvelope.md +0 -0
- data/docs/PresenceModel.md +0 -0
- data/docs/PropertiesEnvelope.md +0 -0
- data/docs/RefreshTokenResponse.md +0 -0
- data/docs/RegisterMessage.md +0 -0
- data/docs/RegistrationsApi.md +0 -0
- data/docs/RuleArray.md +0 -0
- data/docs/RuleCreationInfo.md +0 -0
- data/docs/RuleEnvelope.md +0 -0
- data/docs/RuleError.md +0 -0
- data/docs/RuleUpdateInfo.md +0 -0
- data/docs/RuleWarningOutput.md +0 -0
- data/docs/RulesApi.md +0 -0
- data/docs/RulesEnvelope.md +0 -0
- data/docs/SnapshotResponse.md +0 -0
- data/docs/SnapshotResponses.md +0 -0
- data/docs/SnapshotsResponseEnvelope.md +0 -0
- data/docs/Tag.md +0 -0
- data/docs/TagArray.md +0 -0
- data/docs/TagsApi.md +0 -0
- data/docs/TagsEnvelope.md +0 -0
- data/docs/Token.md +0 -0
- data/docs/TokenInfo.md +0 -0
- data/docs/TokenInfoSuccessResponse.md +0 -0
- data/docs/TokenRequest.md +0 -0
- data/docs/TokenResponse.md +0 -0
- data/docs/TokensApi.md +0 -0
- data/docs/UnregisterDeviceResponse.md +0 -0
- data/docs/UnregisterDeviceResponseEnvelope.md +0 -0
- data/docs/User.md +0 -0
- data/docs/UserEnvelope.md +0 -0
- data/docs/UsersApi.md +0 -0
- data/docs/WebSocketError.md +0 -0
- data/git_push.sh +0 -0
- data/lib/artikcloud/api/device_types_api.rb +0 -0
- data/lib/artikcloud/api/devices_api.rb +0 -0
- data/lib/artikcloud/api/export_api.rb +0 -0
- data/lib/artikcloud/api/messages_api.rb +0 -0
- data/lib/artikcloud/api/registrations_api.rb +0 -0
- data/lib/artikcloud/api/rules_api.rb +0 -0
- data/lib/artikcloud/api/tags_api.rb +0 -0
- data/lib/artikcloud/api/tokens_api.rb +0 -0
- data/lib/artikcloud/api/users_api.rb +0 -0
- data/lib/artikcloud/api_client.rb +0 -0
- data/lib/artikcloud/api_error.rb +0 -0
- data/lib/artikcloud/configuration.rb +0 -0
- data/lib/artikcloud/models/ack_envelope.rb +0 -0
- data/lib/artikcloud/models/acknowledgement.rb +0 -0
- data/lib/artikcloud/models/action.rb +0 -0
- data/lib/artikcloud/models/action_array.rb +0 -0
- data/lib/artikcloud/models/action_details.rb +0 -0
- data/lib/artikcloud/models/action_details_array.rb +0 -0
- data/lib/artikcloud/models/action_in.rb +0 -0
- data/lib/artikcloud/models/action_out.rb +0 -0
- data/lib/artikcloud/models/actions.rb +0 -0
- data/lib/artikcloud/models/aggregate_data.rb +0 -0
- data/lib/artikcloud/models/aggregates_histogram_data.rb +0 -0
- data/lib/artikcloud/models/aggregates_histogram_response.rb +0 -0
- data/lib/artikcloud/models/aggregates_response.rb +0 -0
- data/lib/artikcloud/models/app_properties.rb +0 -0
- data/lib/artikcloud/models/check_token_message.rb +0 -0
- data/lib/artikcloud/models/check_token_response.rb +0 -0
- data/lib/artikcloud/models/device.rb +0 -0
- data/lib/artikcloud/models/device_array.rb +0 -0
- data/lib/artikcloud/models/device_envelope.rb +0 -0
- data/lib/artikcloud/models/device_reg_complete_request.rb +0 -0
- data/lib/artikcloud/models/device_reg_confirm_user_request.rb +0 -0
- data/lib/artikcloud/models/device_reg_confirm_user_response.rb +0 -0
- data/lib/artikcloud/models/device_reg_confirm_user_response_envelope.rb +0 -0
- data/lib/artikcloud/models/device_reg_status_response.rb +0 -0
- data/lib/artikcloud/models/device_reg_status_response_envelope.rb +0 -0
- data/lib/artikcloud/models/device_token.rb +0 -0
- data/lib/artikcloud/models/device_token_envelope.rb +0 -0
- data/lib/artikcloud/models/device_type.rb +0 -0
- data/lib/artikcloud/models/device_type_array.rb +0 -0
- data/lib/artikcloud/models/device_type_envelope.rb +0 -0
- data/lib/artikcloud/models/device_types_envelope.rb +0 -0
- data/lib/artikcloud/models/devices_envelope.rb +0 -0
- data/lib/artikcloud/models/error_envelope.rb +0 -0
- data/lib/artikcloud/models/export_data.rb +0 -0
- data/lib/artikcloud/models/export_data_array.rb +0 -0
- data/lib/artikcloud/models/export_history_response.rb +0 -0
- data/lib/artikcloud/models/export_normalized_messages_response.rb +0 -0
- data/lib/artikcloud/models/export_request.rb +0 -0
- data/lib/artikcloud/models/export_request_data.rb +0 -0
- data/lib/artikcloud/models/export_request_info.rb +0 -0
- data/lib/artikcloud/models/export_request_response.rb +0 -0
- data/lib/artikcloud/models/export_response.rb +0 -0
- data/lib/artikcloud/models/export_status_response.rb +0 -0
- data/lib/artikcloud/models/field_path.rb +0 -0
- data/lib/artikcloud/models/field_presence.rb +0 -0
- data/lib/artikcloud/models/field_presence_envelope.rb +0 -0
- data/lib/artikcloud/models/fields_actions.rb +0 -0
- data/lib/artikcloud/models/manifest_properties.rb +0 -0
- data/lib/artikcloud/models/manifest_properties_envelope.rb +0 -0
- data/lib/artikcloud/models/manifest_versions.rb +0 -0
- data/lib/artikcloud/models/manifest_versions_envelope.rb +0 -0
- data/lib/artikcloud/models/message.rb +0 -0
- data/lib/artikcloud/models/message_action.rb +0 -0
- data/lib/artikcloud/models/message_id.rb +0 -0
- data/lib/artikcloud/models/message_id_envelope.rb +0 -0
- data/lib/artikcloud/models/message_in.rb +0 -0
- data/lib/artikcloud/models/message_out.rb +0 -0
- data/lib/artikcloud/models/non_empty_string.rb +0 -0
- data/lib/artikcloud/models/normalized_action.rb +0 -0
- data/lib/artikcloud/models/normalized_actions_envelope.rb +0 -0
- data/lib/artikcloud/models/normalized_message.rb +0 -0
- data/lib/artikcloud/models/normalized_messages_envelope.rb +0 -0
- data/lib/artikcloud/models/output_rule.rb +0 -0
- data/lib/artikcloud/models/presence_envelope.rb +0 -0
- data/lib/artikcloud/models/presence_model.rb +0 -0
- data/lib/artikcloud/models/properties_envelope.rb +0 -0
- data/lib/artikcloud/models/refresh_token_response.rb +0 -0
- data/lib/artikcloud/models/register_message.rb +0 -0
- data/lib/artikcloud/models/rule_array.rb +0 -0
- data/lib/artikcloud/models/rule_creation_info.rb +0 -0
- data/lib/artikcloud/models/rule_envelope.rb +0 -0
- data/lib/artikcloud/models/rule_error.rb +0 -0
- data/lib/artikcloud/models/rule_update_info.rb +0 -0
- data/lib/artikcloud/models/rule_warning_output.rb +0 -0
- data/lib/artikcloud/models/rules_envelope.rb +0 -0
- data/lib/artikcloud/models/snapshot_response.rb +0 -0
- data/lib/artikcloud/models/snapshot_responses.rb +0 -0
- data/lib/artikcloud/models/snapshots_response_envelope.rb +0 -0
- data/lib/artikcloud/models/tag.rb +0 -0
- data/lib/artikcloud/models/tag_array.rb +0 -0
- data/lib/artikcloud/models/tags_envelope.rb +0 -0
- data/lib/artikcloud/models/token.rb +0 -0
- data/lib/artikcloud/models/token_info.rb +0 -0
- data/lib/artikcloud/models/token_info_success_response.rb +0 -0
- data/lib/artikcloud/models/token_request.rb +0 -0
- data/lib/artikcloud/models/token_response.rb +0 -0
- data/lib/artikcloud/models/unregister_device_response.rb +0 -0
- data/lib/artikcloud/models/unregister_device_response_envelope.rb +0 -0
- data/lib/artikcloud/models/user.rb +0 -0
- data/lib/artikcloud/models/user_envelope.rb +0 -0
- data/lib/artikcloud/models/web_socket_error.rb +0 -0
- data/lib/artikcloud/version.rb +1 -1
- data/lib/artikcloud.rb +0 -0
- data/pom.xml +1 -1
- data/spec/api/device_types_api_spec.rb +15 -0
- data/spec/api/devices_api_spec.rb +0 -0
- data/spec/api/export_api_spec.rb +0 -0
- data/spec/api/messages_api_spec.rb +0 -0
- data/spec/api/registrations_api_spec.rb +0 -0
- data/spec/api/rules_api_spec.rb +0 -0
- data/spec/api/tags_api_spec.rb +0 -0
- data/spec/api/tokens_api_spec.rb +0 -0
- data/spec/api/users_api_spec.rb +0 -0
- data/spec/factories/devices.rb +0 -0
- data/spec/factories/users.rb +0 -0
- data/spec/fixtures/cassettes/DevicesApi/get_device_presence_test/should_work.yml +0 -0
- data/spec/fixtures/cassettes/MessagesApi/get_message_snapshots/should_work.yml +0 -0
- data/spec/fixtures/cassettes/MessagesApi/send_actions/should_work.yml +0 -0
- data/spec/fixtures/cassettes/MessagesApi/send_message_action_test/should_work.yml +0 -0
- data/spec/fixtures/cassettes/TokensApi/refresh_token_test/should_work.yml +0 -0
- data/spec/fixtures/cassettes/TokensApi/token_info_test/should_work.yml +0 -0
- data/spec/fixtures/cassettes/UsersApi/get_self_test/should_work.yml +0 -0
- data/spec/fixtures/cassettes/UsersApi/get_user_device_types_test/should_work.yml +0 -0
- data/spec/fixtures/cassettes/UsersApi/get_user_devices_test/should_work.yml +0 -0
- data/spec/fixtures/cassettes/UsersApi/get_user_properties_update_user_properties_and_delete_user_properties_test/should_work.yml +0 -0
- data/spec/fixtures/cassettes/UsersApi/get_user_rules_test/should_work.yml +0 -0
- data/spec/models/ack_envelope_spec.rb +41 -0
- data/spec/models/acknowledgement_spec.rb +59 -0
- data/spec/models/action_array_spec.rb +41 -0
- data/spec/models/action_details_array_spec.rb +41 -0
- data/spec/models/action_details_spec.rb +47 -0
- data/spec/models/action_in_spec.rb +71 -0
- data/spec/models/action_out_spec.rb +65 -0
- data/spec/models/action_spec.rb +47 -0
- data/spec/models/actions_spec.rb +65 -0
- data/spec/models/aggregate_data_spec.rb +71 -0
- data/spec/models/aggregates_histogram_data_spec.rb +77 -0
- data/spec/models/aggregates_histogram_response_spec.rb +77 -0
- data/spec/models/aggregates_response_spec.rb +71 -0
- data/spec/models/app_properties_spec.rb +53 -0
- data/spec/models/check_token_message_spec.rb +41 -0
- data/spec/models/check_token_response_spec.rb +41 -0
- data/spec/models/device_array_spec.rb +41 -0
- data/spec/models/device_envelope_spec.rb +41 -0
- data/spec/models/device_reg_complete_request_spec.rb +41 -0
- data/spec/models/device_reg_confirm_user_request_spec.rb +53 -0
- data/spec/models/device_reg_confirm_user_response_envelope_spec.rb +41 -0
- data/spec/models/device_reg_confirm_user_response_spec.rb +41 -0
- data/spec/models/device_reg_status_response_envelope_spec.rb +41 -0
- data/spec/models/device_reg_status_response_spec.rb +47 -0
- data/spec/models/device_spec.rb +119 -0
- data/spec/models/device_task_spec.rb +71 -0
- data/spec/models/device_task_update_request_spec.rb +41 -0
- data/spec/models/device_task_update_response_spec.rb +41 -0
- data/spec/models/device_token_envelope_spec.rb +41 -0
- data/spec/models/device_token_spec.rb +59 -0
- data/spec/models/device_type_array_spec.rb +41 -0
- data/spec/models/device_type_envelope_spec.rb +41 -0
- data/spec/models/device_type_info_envelope_spec.rb +41 -0
- data/spec/models/device_type_info_spec.rb +77 -0
- data/spec/models/device_type_spec.rb +143 -0
- data/spec/models/device_types_envelope_spec.rb +59 -0
- data/spec/models/device_types_info_envelope_spec.rb +41 -0
- data/spec/models/device_types_info_spec.rb +77 -0
- data/spec/models/devices_envelope_spec.rb +59 -0
- data/spec/models/error_envelope_spec.rb +41 -0
- data/spec/models/event_feed_data_spec.rb +53 -0
- data/spec/models/export_data_array_spec.rb +41 -0
- data/spec/models/export_data_spec.rb +77 -0
- data/spec/models/export_history_response_spec.rb +59 -0
- data/spec/models/export_normalized_messages_response_spec.rb +113 -0
- data/spec/models/export_request_data_spec.rb +101 -0
- data/spec/models/export_request_info_spec.rb +95 -0
- data/spec/models/export_request_response_spec.rb +41 -0
- data/spec/models/export_request_spec.rb +83 -0
- data/spec/models/export_response_spec.rb +101 -0
- data/spec/models/export_status_response_spec.rb +65 -0
- data/spec/models/field_path_spec.rb +41 -0
- data/spec/models/field_presence_envelope_spec.rb +77 -0
- data/spec/models/field_presence_spec.rb +41 -0
- data/spec/models/fields_actions_spec.rb +47 -0
- data/spec/models/manifest_properties_envelope_spec.rb +41 -0
- data/spec/models/manifest_properties_spec.rb +41 -0
- data/spec/models/manifest_versions_envelope_spec.rb +41 -0
- data/spec/models/manifest_versions_spec.rb +41 -0
- data/spec/models/message_action_spec.rb +65 -0
- data/spec/models/message_id_envelope_spec.rb +41 -0
- data/spec/models/message_id_spec.rb +41 -0
- data/spec/models/message_in_spec.rb +71 -0
- data/spec/models/message_out_spec.rb +65 -0
- data/spec/models/message_spec.rb +59 -0
- data/spec/models/metadata_envelope_spec.rb +41 -0
- data/spec/models/metadata_properties_envelope_spec.rb +41 -0
- data/spec/models/metadata_query_envelope_spec.rb +59 -0
- data/spec/models/non_empty_string_spec.rb +41 -0
- data/spec/models/normalized_action_spec.rb +89 -0
- data/spec/models/normalized_actions_envelope_spec.rb +95 -0
- data/spec/models/normalized_message_spec.rb +83 -0
- data/spec/models/normalized_messages_envelope_spec.rb +95 -0
- data/spec/models/output_rule_spec.rb +119 -0
- data/spec/models/presence_envelope_spec.rb +47 -0
- data/spec/models/presence_model_spec.rb +47 -0
- data/spec/models/properties_envelope_spec.rb +41 -0
- data/spec/models/refresh_token_response_spec.rb +59 -0
- data/spec/models/register_message_spec.rb +65 -0
- data/spec/models/rule_array_spec.rb +41 -0
- data/spec/models/rule_creation_info_spec.rb +59 -0
- data/spec/models/rule_envelope_spec.rb +41 -0
- data/spec/models/rule_error_spec.rb +59 -0
- data/spec/models/rule_update_info_spec.rb +59 -0
- data/spec/models/rule_warning_output_spec.rb +47 -0
- data/spec/models/rules_envelope_spec.rb +59 -0
- data/spec/models/snapshot_response_spec.rb +47 -0
- data/spec/models/snapshot_responses_spec.rb +53 -0
- data/spec/models/snapshots_response_envelope_spec.rb +47 -0
- data/spec/models/tag_array_spec.rb +41 -0
- data/spec/models/tag_spec.rb +47 -0
- data/spec/models/tags_envelope_spec.rb +41 -0
- data/spec/models/task_by_did_list_envelope_spec.rb +59 -0
- data/spec/models/task_by_did_list_spec.rb +41 -0
- data/spec/models/task_by_did_spec.rb +107 -0
- data/spec/models/task_envelope_spec.rb +41 -0
- data/spec/models/task_history_list_spec.rb +41 -0
- data/spec/models/task_history_spec.rb +71 -0
- data/spec/models/task_list_envelope_spec.rb +65 -0
- data/spec/models/task_list_spec.rb +41 -0
- data/spec/models/task_parameters_spec.rb +47 -0
- data/spec/models/task_request_spec.rb +71 -0
- data/spec/models/task_spec.rb +101 -0
- data/spec/models/task_status_counts_spec.rb +65 -0
- data/spec/models/task_status_spec.rb +71 -0
- data/spec/models/task_statuses_envelope_spec.rb +59 -0
- data/spec/models/task_statuses_history_envelope_spec.rb +41 -0
- data/spec/models/task_statuses_spec.rb +107 -0
- data/spec/models/task_update_request_spec.rb +41 -0
- data/spec/models/task_update_response_spec.rb +41 -0
- data/spec/models/tasks_status_counts_spec.rb +59 -0
- data/spec/models/token_info_spec.rb +59 -0
- data/spec/models/token_info_success_response_spec.rb +41 -0
- data/spec/models/token_request_spec.rb +41 -0
- data/spec/models/token_response_spec.rb +41 -0
- data/spec/models/token_spec.rb +59 -0
- data/spec/models/unregister_device_response_envelope_spec.rb +41 -0
- data/spec/models/unregister_device_response_spec.rb +101 -0
- data/spec/models/user_envelope_spec.rb +41 -0
- data/spec/models/user_spec.rb +77 -0
- data/spec/models/web_socket_error_spec.rb +53 -0
- data/spec/spec.opts +0 -0
- data/spec/spec_helper.rb +0 -0
- metadata +266 -4
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::SnapshotResponses
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'SnapshotResponses' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::SnapshotResponses.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of SnapshotResponses' do
|
|
30
|
+
it 'should create an instact of SnapshotResponses' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::SnapshotResponses)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "sdids"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "size"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "data"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
end
|
|
53
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::SnapshotsResponseEnvelope
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'SnapshotsResponseEnvelope' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::SnapshotsResponseEnvelope.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of SnapshotsResponseEnvelope' do
|
|
30
|
+
it 'should create an instact of SnapshotsResponseEnvelope' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::SnapshotsResponseEnvelope)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "data"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "sdid"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
47
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::TagArray
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TagArray' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::TagArray.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TagArray' do
|
|
30
|
+
it 'should create an instact of TagArray' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::TagArray)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "tags"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
41
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::Tag
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'Tag' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::Tag.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of Tag' do
|
|
30
|
+
it 'should create an instact of Tag' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::Tag)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "name"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "is_category"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
47
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::TagsEnvelope
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TagsEnvelope' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::TagsEnvelope.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TagsEnvelope' do
|
|
30
|
+
it 'should create an instact of TagsEnvelope' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::TagsEnvelope)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "data"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
41
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::TaskByDidListEnvelope
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TaskByDidListEnvelope' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::TaskByDidListEnvelope.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TaskByDidListEnvelope' do
|
|
30
|
+
it 'should create an instact of TaskByDidListEnvelope' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::TaskByDidListEnvelope)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "total"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "data"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "offset"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "count"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
end
|
|
59
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::TaskByDidList
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TaskByDidList' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::TaskByDidList.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TaskByDidList' do
|
|
30
|
+
it 'should create an instact of TaskByDidList' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::TaskByDidList)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "tasks"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
41
|
+
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::TaskByDid
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TaskByDid' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::TaskByDid.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TaskByDid' do
|
|
30
|
+
it 'should create an instact of TaskByDid' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::TaskByDid)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "filter"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "task_type"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "modified_on"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "dtid"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "status_counts"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "property"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
describe 'test attribute "statuses"' do
|
|
71
|
+
it 'should work' do
|
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
describe 'test attribute "id"' do
|
|
77
|
+
it 'should work' do
|
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
describe 'test attribute "dids"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "task_parameters"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "created_on"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
describe 'test attribute "status"' do
|
|
101
|
+
it 'should work' do
|
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
end
|
|
107
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::TaskEnvelope
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TaskEnvelope' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::TaskEnvelope.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TaskEnvelope' do
|
|
30
|
+
it 'should create an instact of TaskEnvelope' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::TaskEnvelope)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "data"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
41
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::TaskHistoryList
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TaskHistoryList' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::TaskHistoryList.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TaskHistoryList' do
|
|
30
|
+
it 'should create an instact of TaskHistoryList' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::TaskHistoryList)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "history"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
end
|
|
41
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::TaskHistory
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TaskHistory' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::TaskHistory.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TaskHistory' do
|
|
30
|
+
it 'should create an instact of TaskHistory' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::TaskHistory)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "num_attempts"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "error_message"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "error_code"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "did"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "status"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "ts"' do
|
|
65
|
+
it 'should work' do
|
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
end
|
|
71
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#ARTIK Cloud API
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
|
|
10
|
+
=end
|
|
11
|
+
|
|
12
|
+
require 'spec_helper'
|
|
13
|
+
require 'json'
|
|
14
|
+
require 'date'
|
|
15
|
+
|
|
16
|
+
# Unit tests for ArtikCloud::TaskListEnvelope
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'TaskListEnvelope' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::TaskListEnvelope.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of TaskListEnvelope' do
|
|
30
|
+
it 'should create an instact of TaskListEnvelope' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::TaskListEnvelope)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "total"' do
|
|
35
|
+
it 'should work' do
|
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
describe 'test attribute "data"' do
|
|
41
|
+
it 'should work' do
|
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
describe 'test attribute "status_counts"' do
|
|
47
|
+
it 'should work' do
|
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "offset"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "count"' do
|
|
59
|
+
it 'should work' do
|
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
end
|
|
65
|
+
|