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,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::PresenceEnvelope
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PresenceEnvelope' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::PresenceEnvelope.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PresenceEnvelope' do
|
|
30
|
+
it 'should create an instact of PresenceEnvelope' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::PresenceEnvelope)
|
|
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,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::PresenceModel
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PresenceModel' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::PresenceModel.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PresenceModel' do
|
|
30
|
+
it 'should create an instact of PresenceModel' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::PresenceModel)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "connected"' 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 "last_seen_on"' 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::PropertiesEnvelope
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'PropertiesEnvelope' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::PropertiesEnvelope.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of PropertiesEnvelope' do
|
|
30
|
+
it 'should create an instact of PropertiesEnvelope' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::PropertiesEnvelope)
|
|
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::RefreshTokenResponse
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RefreshTokenResponse' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::RefreshTokenResponse.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RefreshTokenResponse' do
|
|
30
|
+
it 'should create an instact of RefreshTokenResponse' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::RefreshTokenResponse)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "access_token"' 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 "expires_in"' 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 "refresh_token"' 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 "token_type"' 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,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::RegisterMessage
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RegisterMessage' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::RegisterMessage.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RegisterMessage' do
|
|
30
|
+
it 'should create an instact of RegisterMessage' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::RegisterMessage)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "cid"' 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 "authorization"' 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 "sdid"' 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 "ts"' 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 "type"' 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
|
+
|
|
@@ -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::RuleArray
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RuleArray' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::RuleArray.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RuleArray' do
|
|
30
|
+
it 'should create an instact of RuleArray' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::RuleArray)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "rules"' 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::RuleCreationInfo
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RuleCreationInfo' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::RuleCreationInfo.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RuleCreationInfo' do
|
|
30
|
+
it 'should create an instact of RuleCreationInfo' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::RuleCreationInfo)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "description"' 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 "enabled"' 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 "name"' 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 "rule"' 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::RuleEnvelope
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RuleEnvelope' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::RuleEnvelope.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RuleEnvelope' do
|
|
30
|
+
it 'should create an instact of RuleEnvelope' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::RuleEnvelope)
|
|
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::RuleError
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RuleError' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::RuleError.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RuleError' do
|
|
30
|
+
it 'should create an instact of RuleError' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::RuleError)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "error_code"' 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 "field_path"' 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 "message_args"' 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 "message_key"' 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,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::RuleUpdateInfo
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RuleUpdateInfo' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::RuleUpdateInfo.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RuleUpdateInfo' do
|
|
30
|
+
it 'should create an instact of RuleUpdateInfo' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::RuleUpdateInfo)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "description"' 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 "enabled"' 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 "name"' 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 "rule"' 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,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::RuleWarningOutput
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RuleWarningOutput' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::RuleWarningOutput.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RuleWarningOutput' do
|
|
30
|
+
it 'should create an instact of RuleWarningOutput' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::RuleWarningOutput)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "code"' 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 "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
|
+
end
|
|
47
|
+
|
|
@@ -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::RulesEnvelope
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'RulesEnvelope' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::RulesEnvelope.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of RulesEnvelope' do
|
|
30
|
+
it 'should create an instact of RulesEnvelope' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::RulesEnvelope)
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
describe 'test attribute "count"' 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 "total"' 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,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::SnapshotResponse
|
|
17
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
18
|
+
# Please update as you see appropriate
|
|
19
|
+
describe 'SnapshotResponse' do
|
|
20
|
+
before do
|
|
21
|
+
# run before each test
|
|
22
|
+
@instance = ArtikCloud::SnapshotResponse.new
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
after do
|
|
26
|
+
# run after each test
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test an instance of SnapshotResponse' do
|
|
30
|
+
it 'should create an instact of SnapshotResponse' do
|
|
31
|
+
expect(@instance).to be_instance_of(ArtikCloud::SnapshotResponse)
|
|
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
|
+
|