artikcloud 2.1.1 → 2.2.2

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.
Files changed (128) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +44 -3
  3. data/artikcloud.gemspec +3 -4
  4. data/docs/ActionOut.md +6 -0
  5. data/docs/CertificateData.md +9 -0
  6. data/docs/CertificateEnvelope.md +8 -0
  7. data/docs/CertificateFields.md +13 -0
  8. data/docs/CertificateId.md +8 -0
  9. data/docs/ContactInfo.md +9 -0
  10. data/docs/DevicePricingTier.md +16 -0
  11. data/docs/DevicePricingTierEnvelope.md +8 -0
  12. data/docs/DevicePricingTierRequest.md +8 -0
  13. data/docs/DevicePricingTiers.md +8 -0
  14. data/docs/DevicePricingTiersEnvelope.md +8 -0
  15. data/docs/DeviceShareInfo.md +1 -1
  16. data/docs/DeviceTypePricingList.md +8 -0
  17. data/docs/DeviceTypePricingTier.md +17 -0
  18. data/docs/DeviceTypePricingTiersEnvelope.md +8 -0
  19. data/docs/DeviceTypeUpdateInput.md +8 -0
  20. data/docs/DevicesSharesApi.md +235 -0
  21. data/docs/DevicesStatusApi.md +183 -0
  22. data/docs/MessageOut.md +6 -0
  23. data/docs/MonetizationApi.md +289 -0
  24. data/docs/OutputRule.md +1 -0
  25. data/docs/RejectedCSVRow.md +8 -0
  26. data/docs/RejectedCSVRowsEnvelope.md +11 -0
  27. data/docs/Tier.md +17 -0
  28. data/docs/UpgradePath.md +8 -0
  29. data/docs/UpgradePathEnvelope.md +8 -0
  30. data/docs/UpgradePathUserToken.md +10 -0
  31. data/docs/UpgradePathUserTokenEnvelope.md +8 -0
  32. data/docs/UploadIdEnvelope.md +8 -0
  33. data/docs/UploadStatusEnvelope.md +8 -0
  34. data/docs/UsersApi.md +6 -2
  35. data/docs/ValidityPeriod.md +9 -0
  36. data/docs/Whitelist.md +10 -0
  37. data/docs/WhitelistEnvelope.md +8 -0
  38. data/docs/WhitelistResultEnvelope.md +12 -0
  39. data/docs/WhitelistingApi.md +515 -0
  40. data/lib/artikcloud/api/monetization_api.rb +296 -0
  41. data/lib/artikcloud/api/users_api.rb +3 -0
  42. data/lib/artikcloud/api/whitelisting_api.rb +519 -0
  43. data/lib/artikcloud/models/action_out.rb +62 -1
  44. data/lib/artikcloud/models/certificate_data.rb +197 -0
  45. data/lib/artikcloud/models/certificate_envelope.rb +188 -0
  46. data/lib/artikcloud/models/certificate_fields.rb +237 -0
  47. data/lib/artikcloud/models/certificate_id.rb +188 -0
  48. data/lib/artikcloud/models/contact_info.rb +198 -0
  49. data/lib/artikcloud/models/device_pricing_tier.rb +268 -0
  50. data/lib/artikcloud/models/device_pricing_tier_envelope.rb +188 -0
  51. data/lib/artikcloud/models/device_pricing_tier_request.rb +188 -0
  52. data/lib/artikcloud/models/device_pricing_tiers.rb +190 -0
  53. data/lib/artikcloud/models/device_pricing_tiers_envelope.rb +188 -0
  54. data/lib/artikcloud/models/device_share_info.rb +7 -7
  55. data/lib/artikcloud/models/device_type_pricing_list.rb +190 -0
  56. data/lib/artikcloud/models/device_type_pricing_tier.rb +280 -0
  57. data/lib/artikcloud/models/device_type_pricing_tiers_envelope.rb +188 -0
  58. data/lib/artikcloud/models/device_type_update_input.rb +188 -0
  59. data/lib/artikcloud/models/message_out.rb +65 -1
  60. data/lib/artikcloud/models/output_rule.rb +46 -4
  61. data/lib/artikcloud/models/rejected_csv_row.rb +188 -0
  62. data/lib/artikcloud/models/rejected_csv_rows_envelope.rb +220 -0
  63. data/lib/artikcloud/models/tier.rb +278 -0
  64. data/lib/artikcloud/models/upgrade_path.rb +188 -0
  65. data/lib/artikcloud/models/upgrade_path_envelope.rb +188 -0
  66. data/lib/artikcloud/models/upgrade_path_user_token.rb +208 -0
  67. data/lib/artikcloud/models/upgrade_path_user_token_envelope.rb +187 -0
  68. data/lib/artikcloud/models/upload_id_envelope.rb +188 -0
  69. data/lib/artikcloud/models/upload_status_envelope.rb +188 -0
  70. data/lib/artikcloud/models/validity_period.rb +198 -0
  71. data/lib/artikcloud/models/whitelist.rb +208 -0
  72. data/lib/artikcloud/models/whitelist_envelope.rb +190 -0
  73. data/lib/artikcloud/models/whitelist_result_envelope.rb +230 -0
  74. data/lib/artikcloud/version.rb +1 -2
  75. data/lib/artikcloud.rb +33 -3
  76. data/pom.xml +1 -1
  77. data/spec/api/device_types_api_spec.rb +3 -15
  78. data/spec/api/devices_api_spec.rb +6 -22
  79. data/spec/api/devices_management_api_spec.rb +1 -13
  80. data/spec/api/export_api_spec.rb +2 -14
  81. data/spec/api/messages_api_spec.rb +115 -74
  82. data/spec/api/monetization_api_spec.rb +99 -0
  83. data/spec/api/registrations_api_spec.rb +1 -13
  84. data/spec/api/rules_api_spec.rb +3 -15
  85. data/spec/api/tags_api_spec.rb +0 -12
  86. data/spec/api/tokens_api_spec.rb +24 -14
  87. data/spec/api/users_api_spec.rb +119 -57
  88. data/spec/api/whitelisting_api_spec.rb +152 -0
  89. data/spec/factories/users.rb +12 -12
  90. data/spec/models/action_out_spec.rb +36 -0
  91. data/spec/models/certificate_data_spec.rb +47 -0
  92. data/spec/models/certificate_envelope_spec.rb +41 -0
  93. data/spec/models/certificate_fields_spec.rb +71 -0
  94. data/spec/models/certificate_id_spec.rb +41 -0
  95. data/spec/models/contact_info_spec.rb +47 -0
  96. data/spec/models/device_pricing_tier_envelope_spec.rb +41 -0
  97. data/spec/models/device_pricing_tier_request_spec.rb +41 -0
  98. data/spec/models/device_pricing_tier_spec.rb +89 -0
  99. data/spec/models/device_pricing_tiers_envelope_spec.rb +41 -0
  100. data/spec/models/device_pricing_tiers_spec.rb +41 -0
  101. data/spec/models/device_share_info_spec.rb +1 -1
  102. data/spec/models/device_type_pricing_list_spec.rb +41 -0
  103. data/spec/models/device_type_pricing_tier_spec.rb +95 -0
  104. data/spec/models/device_type_pricing_tiers_envelope_spec.rb +41 -0
  105. data/spec/models/device_type_update_input_spec.rb +41 -0
  106. data/spec/models/message_out_spec.rb +36 -0
  107. data/spec/models/output_rule_spec.rb +10 -0
  108. data/spec/models/rejected_csv_row_spec.rb +41 -0
  109. data/spec/models/rejected_csv_rows_envelope_spec.rb +59 -0
  110. data/spec/models/tier_spec.rb +95 -0
  111. data/spec/models/upgrade_path_envelope_spec.rb +41 -0
  112. data/spec/models/upgrade_path_spec.rb +41 -0
  113. data/spec/models/upgrade_path_user_token_envelope_spec.rb +41 -0
  114. data/spec/models/upgrade_path_user_token_spec.rb +53 -0
  115. data/spec/models/upload_id_envelope_spec.rb +41 -0
  116. data/spec/models/upload_status_envelope_spec.rb +41 -0
  117. data/spec/models/validity_period_spec.rb +47 -0
  118. data/spec/models/whitelist_envelope_spec.rb +41 -0
  119. data/spec/models/whitelist_result_envelope_spec.rb +65 -0
  120. data/spec/models/whitelist_spec.rb +53 -0
  121. metadata +121 -11
  122. data/docs/.DS_Store +0 -0
  123. data/lib/.DS_Store +0 -0
  124. data/lib/artikcloud/.DS_Store +0 -0
  125. data/lib/artikcloud/api/.DS_Store +0 -0
  126. data/lib/artikcloud/models/.DS_Store +0 -0
  127. data/spec/.DS_Store +0 -0
  128. data/spec/api/.DS_Store +0 -0
@@ -1,28 +1,60 @@
1
1
  =begin
2
- Artik Cloud API
2
+ #ARTIK Cloud API
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
3
5
 
4
6
  OpenAPI spec version: 2.0.0
5
7
 
6
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
7
9
 
8
- License: MIT
9
- http://en.wikipedia.org/wiki/MIT_License
10
-
11
- Terms of Service: http://www.samsung.com/global/business/mobile/info/terms-and-conditions.html
12
-
13
10
  =end
14
11
 
15
12
  require 'spec_helper'
16
13
  require 'json'
17
14
 
18
15
  # Unit tests for ArtikCloud::UsersApi
19
- describe 'UsersApi', :vcr do
20
- let(:user){ FactoryGirl.create(:user) }
21
- let(:instance) { ArtikCloud::UsersApi.new(API_CLIENT) }
16
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
+ # Please update as you see appropriate
18
+ describe 'UsersApi' do
19
+ before do
20
+ # run before each test
21
+ @instance = ArtikCloud::UsersApi.new
22
+ end
23
+
24
+ after do
25
+ # run after each test
26
+ end
22
27
 
23
28
  describe 'test an instance of UsersApi' do
24
29
  it 'should create an instact of UsersApi' do
25
- expect(instance).to be_a(ArtikCloud::UsersApi)
30
+ expect(@instance).to be_instance_of(ArtikCloud::UsersApi)
31
+ end
32
+ end
33
+
34
+ # unit tests for create_user_properties
35
+ # Create User Application Properties
36
+ # Create application properties for a user
37
+ # @param user_id User Id
38
+ # @param properties Properties to be updated
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :aid Application ID
41
+ # @return [PropertiesEnvelope]
42
+ describe 'create_user_properties test' do
43
+ it "should work" do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for delete_user_properties
49
+ # Delete User Application Properties
50
+ # Deletes a user's application properties
51
+ # @param user_id User Id
52
+ # @param [Hash] opts the optional parameters
53
+ # @option opts [String] :aid Application ID
54
+ # @return [PropertiesEnvelope]
55
+ describe 'delete_user_properties test' do
56
+ it "should work" do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
58
  end
27
59
  end
28
60
 
@@ -33,69 +65,99 @@ describe 'UsersApi', :vcr do
33
65
  # @return [UserEnvelope]
34
66
  describe 'get_self test' do
35
67
  it "should work" do
36
- result = instance.get_self
37
-
38
- expect(result).to be_a(ArtikCloud::UserEnvelope)
39
- expect(result.data.email).to eq user.email
40
- expect(result.data.id).to eq user.id
41
- expect(result.data.name).to eq user.name
42
- expect(result.data.full_name).to eq user.full_name
43
- expect(result.data.created_on).to eq user.created_on
44
- expect(result.data.modified_on).to_not be_nil
68
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
69
  end
46
70
  end
47
71
 
48
- describe 'get_user_devices test' do
72
+ # unit tests for get_user_device_types
73
+ # Get User Device Types
74
+ # Retrieve User's Device Types
75
+ # @param user_id User ID.
76
+ # @param [Hash] opts the optional parameters
77
+ # @option opts [Integer] :offset Offset for pagination.
78
+ # @option opts [Integer] :count Desired count of items in the result set
79
+ # @option opts [BOOLEAN] :include_shared Optional. Boolean (true/false) - If false, only return the user's device types. If true, also return device types shared by other users.
80
+ # @return [DeviceTypesEnvelope]
81
+ describe 'get_user_device_types test' do
49
82
  it "should work" do
50
- result = instance.get_user_devices(user.id)
51
- expect(result).to be_a(ArtikCloud::DevicesEnvelope)
52
- expect(result.data.devices).to_not be_nil
83
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
53
84
  end
54
85
  end
55
86
 
56
- describe 'get_user_device_types test' do
87
+ # unit tests for get_user_devices
88
+ # Get User Devices
89
+ # Retrieve User's Devices
90
+ # @param user_id User ID
91
+ # @param [Hash] opts the optional parameters
92
+ # @option opts [Integer] :offset Offset for pagination.
93
+ # @option opts [Integer] :count Desired count of items in the result set
94
+ # @option opts [BOOLEAN] :include_properties Optional. Boolean (true/false) - If false, only return the user's device types. If true, also return device types shared by other users.
95
+ # @option opts [String] :owner Return owned and/or shared devices. Default to ALL.
96
+ # @option opts [BOOLEAN] :include_share_info Include share info
97
+ # @option opts [String] :dtid Return only devices of this device type. If empty, assumes all device types allowed by the authorization.
98
+ # @return [DevicesEnvelope]
99
+ describe 'get_user_devices test' do
57
100
  it "should work" do
58
- result = instance.get_user_device_types(user.id)
59
- expect(result).to be_a(ArtikCloud::DeviceTypesEnvelope)
60
- expect(result.data.device_types).to_not be_nil
101
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
102
  end
62
103
  end
63
104
 
64
- describe 'get_user_properties, update_user_properties, and delete_user_properties test' do
65
- it "should work", :new_episodes do
66
- # get_user_properties
67
-
68
- begin
69
- result = instance.get_user_properties(user.id, aid: user.aid)
70
- rescue ArtikCloud::ApiError => exception
71
- if exception.code == 404
72
- app_properties = ArtikCloud::AppProperties.new
73
- app_properties.properties = 'abc=def'
74
- result = instance.create_user_properties(user.id, app_properties, aid: user.aid)
75
- else
76
- raise "Non-404 Error returned by API"
77
- end
78
- expect(result).to_not be_nil
79
-
80
- # update_user_properties
81
- app_properties_update = ArtikCloud::AppProperties.new
82
- app_properties_update.properties = 'mno=pqr'
83
- result_update = instance.update_user_properties(user.id, app_properties_update, aid: user.aid)
84
- expect(result_update).to_not be_nil
85
- expect(result_update.data.properties).to eq 'mno=pqr'
86
-
87
- # delete_user_properties
88
- result_delete = instance.delete_user_properties(user.id, aid: user.aid)
89
- expect(result_delete).to_not be_nil
90
- expect(result_delete).to eq result_update
91
- end
105
+ # unit tests for get_user_properties
106
+ # Get User application properties
107
+ # Get application properties of a user
108
+ # @param user_id User Id
109
+ # @param [Hash] opts the optional parameters
110
+ # @option opts [String] :aid Application ID
111
+ # @return [PropertiesEnvelope]
112
+ describe 'get_user_properties test' do
113
+ it "should work" do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
115
  end
93
116
  end
94
117
 
118
+ # unit tests for get_user_rules
119
+ # Get User Rules
120
+ # Retrieve User's Rules
121
+ # @param user_id User ID.
122
+ # @param [Hash] opts the optional parameters
123
+ # @option opts [BOOLEAN] :exclude_disabled Exclude disabled rules in the result.
124
+ # @option opts [Integer] :count Desired count of items in the result set.
125
+ # @option opts [Integer] :offset Offset for pagination.
126
+ # @option opts [String] :owner Rule owner
127
+ # @return [RulesEnvelope]
95
128
  describe 'get_user_rules test' do
96
129
  it "should work" do
97
- result = instance.get_user_rules(user.id)
98
- expect(result).to_not be_nil
130
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
131
+ end
132
+ end
133
+
134
+ # unit tests for list_all_shares_for_user
135
+ # Get User shares
136
+ # Get User shares
137
+ # @param user_id User ID.
138
+ # @param filter filter
139
+ # @param [Hash] opts the optional parameters
140
+ # @option opts [Integer] :count Desired count of items in the result set.
141
+ # @option opts [Integer] :offset Offset for pagination.
142
+ # @return [DeviceSharingEnvelope]
143
+ describe 'list_all_shares_for_user test' do
144
+ it "should work" do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
146
  end
100
147
  end
148
+
149
+ # unit tests for update_user_properties
150
+ # Update User Application Properties
151
+ # Updates application properties of a user
152
+ # @param user_id User Id
153
+ # @param properties Properties to be updated
154
+ # @param [Hash] opts the optional parameters
155
+ # @option opts [String] :aid Application ID
156
+ # @return [PropertiesEnvelope]
157
+ describe 'update_user_properties test' do
158
+ it "should work" do
159
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
160
+ end
161
+ end
162
+
101
163
  end
@@ -0,0 +1,152 @@
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
+
15
+ # Unit tests for ArtikCloud::WhitelistingApi
16
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
17
+ # Please update as you see appropriate
18
+ describe 'WhitelistingApi' do
19
+ before do
20
+ # run before each test
21
+ @instance = ArtikCloud::WhitelistingApi.new
22
+ end
23
+
24
+ after do
25
+ # run after each test
26
+ end
27
+
28
+ describe 'test an instance of WhitelistingApi' do
29
+ it 'should create an instact of WhitelistingApi' do
30
+ expect(@instance).to be_instance_of(ArtikCloud::WhitelistingApi)
31
+ end
32
+ end
33
+
34
+ # unit tests for delete_vdid
35
+ # Delete a vdid from the devicetype whitelist.
36
+ # Delete a vdid from the devicetype whitelist.
37
+ # @param dtid Device Type ID.
38
+ # @param vdid Vendor Device ID.
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [WhitelistEnvelope]
41
+ describe 'delete_vdid test' do
42
+ it "should work" do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for delete_whitelist_certificate
48
+ # Delete a whitelist certificate associated with a devicetype.
49
+ # Delete a whitelist certificate associated with a devicetype.
50
+ # @param dtid Device Type ID.
51
+ # @param cid Certificate ID.
52
+ # @param [Hash] opts the optional parameters
53
+ # @return [WhitelistEnvelope]
54
+ describe 'delete_whitelist_certificate test' do
55
+ it "should work" do
56
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
57
+ end
58
+ end
59
+
60
+ # unit tests for enable_whitelist
61
+ # Enable or disble whitelist feature of a device type
62
+ # Enable or disble whitelist feature of a device type
63
+ # @param dtid Device Type ID.
64
+ # @param device_type_update_info Device type update input.
65
+ # @param [Hash] opts the optional parameters
66
+ # @return [WhitelistEnvelope]
67
+ describe 'enable_whitelist test' do
68
+ it "should work" do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ # unit tests for get_rejected_row_list
74
+ # Get the list of rejected rows for an uploaded CSV file.
75
+ # Get the list of rejected rows for an uploaded CSV file.
76
+ # @param dtid Device type id related to the uploaded CSV file.
77
+ # @param upload_id Upload id related to the uploaded CSV file.
78
+ # @param [Hash] opts the optional parameters
79
+ # @option opts [Integer] :count Max results count.
80
+ # @option opts [Integer] :offset Result starting offset.
81
+ # @return [RejectedCSVRowsEnvelope]
82
+ describe 'get_rejected_row_list test' 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
+ # unit tests for get_upload_status
89
+ # Get the status of a uploaded CSV file.
90
+ # Get the status of a uploaded CSV file.
91
+ # @param dtid Device type id related to the uploaded CSV file.
92
+ # @param upload_id Upload id related to the uploaded CSV file.
93
+ # @param [Hash] opts the optional parameters
94
+ # @return [UploadStatusEnvelope]
95
+ describe 'get_upload_status test' do
96
+ it "should work" do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ # unit tests for get_whitelist
102
+ # Get whitelisted vdids of a device type.
103
+ # Get whitelisted vdids of a device type.
104
+ # @param dtid Device Type ID.
105
+ # @param [Hash] opts the optional parameters
106
+ # @option opts [Integer] :count Max results count.
107
+ # @option opts [Integer] :offset Result starting offset.
108
+ # @return [WhitelistResultEnvelope]
109
+ describe 'get_whitelist test' do
110
+ it "should work" do
111
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
112
+ end
113
+ end
114
+
115
+ # unit tests for get_whitelist_certificate
116
+ # Get whitelist certificate of device type.
117
+ # Get whitelist certificate of device type.
118
+ # @param dtid Device Type ID.
119
+ # @param [Hash] opts the optional parameters
120
+ # @return [CertificateEnvelope]
121
+ describe 'get_whitelist_certificate test' do
122
+ it "should work" do
123
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
124
+ end
125
+ end
126
+
127
+ # unit tests for get_whitelist_status
128
+ # Get the status of whitelist feature (enabled/disabled) of a device type.
129
+ # Get the status of whitelist feature (enabled/disabled) of a device type.
130
+ # @param dtid Device Type ID.
131
+ # @param [Hash] opts the optional parameters
132
+ # @return [WhitelistEnvelope]
133
+ describe 'get_whitelist_status test' do
134
+ it "should work" do
135
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
136
+ end
137
+ end
138
+
139
+ # unit tests for upload_csv
140
+ # Upload a CSV file related to the Device Type.
141
+ # Upload a CSV file related to the Device Type.
142
+ # @param dtid Device Type ID.
143
+ # @param file Device Type ID.
144
+ # @param [Hash] opts the optional parameters
145
+ # @return [UploadIdEnvelope]
146
+ describe 'upload_csv test' do
147
+ it "should work" do
148
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
149
+ end
150
+ end
151
+
152
+ end
@@ -3,13 +3,13 @@ require 'ostruct'
3
3
  FactoryGirl.define do
4
4
  skip_create
5
5
  factory :user, class: OpenStruct do
6
- id "04ddbd35d57d4d7b8f07f219c44457b2"
6
+ id " "
7
7
  aid "b6951bf387b84f63b38911ae35d65e28"
8
- name "maneesh"
9
- email "maneesh.sahu@ssi.samsung.com"
10
- full_name "Maneesh Sahu"
11
- sa_identity "kqil5l7kgb"
12
- account_type "SAMSUNG"
8
+ name " "
9
+ email " "
10
+ full_name " "
11
+ sa_identity " "
12
+ account_type " "
13
13
  created_on 1406839290000
14
14
  modified_on 1413483926000
15
15
 
@@ -17,12 +17,12 @@ FactoryGirl.define do
17
17
  end
18
18
 
19
19
  factory :artik_user, class: ArtikCloud::User do
20
- id "04ddbd35d57d4d7b8f07f219c44457b2"
21
- name "maneesh"
22
- email "maneesh.sahu@ssi.samsung.com"
23
- fullName "Maneesh Sahu"
24
- saIdentity "kqil5l7kgb"
25
- accountType "SAMSUNG"
20
+ id " "
21
+ name " "
22
+ email " "
23
+ fullName " "
24
+ saIdentity " "
25
+ accountType " "
26
26
  createdOn 1406839290000
27
27
  modifiedOn 1413483926000
28
28
 
@@ -31,6 +31,42 @@ describe 'ActionOut' do
31
31
  expect(@instance).to be_instance_of(ArtikCloud::ActionOut)
32
32
  end
33
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 "cid"' 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 "ddid"' 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 "sdid"' 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 "ts"' 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 "type"' 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
+
34
70
  describe 'test attribute "mid"' do
35
71
  it 'should work' do
36
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -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::CertificateData
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CertificateData' do
20
+ before do
21
+ # run before each test
22
+ @instance = ArtikCloud::CertificateData.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CertificateData' do
30
+ it 'should create an instact of CertificateData' do
31
+ expect(@instance).to be_instance_of(ArtikCloud::CertificateData)
32
+ end
33
+ end
34
+ describe 'test attribute "id"' 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 "certificate_fields"' 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::CertificateEnvelope
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CertificateEnvelope' do
20
+ before do
21
+ # run before each test
22
+ @instance = ArtikCloud::CertificateEnvelope.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CertificateEnvelope' do
30
+ it 'should create an instact of CertificateEnvelope' do
31
+ expect(@instance).to be_instance_of(ArtikCloud::CertificateEnvelope)
32
+ end
33
+ end
34
+ describe 'test attribute "id"' 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::CertificateFields
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CertificateFields' do
20
+ before do
21
+ # run before each test
22
+ @instance = ArtikCloud::CertificateFields.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CertificateFields' do
30
+ it 'should create an instact of CertificateFields' do
31
+ expect(@instance).to be_instance_of(ArtikCloud::CertificateFields)
32
+ end
33
+ end
34
+ describe 'test attribute "version"' 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 "serial_number"' 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 "signature_algorithm"' 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 "subject"' 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 "issuer"' 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 "validity"' 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,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::CertificateId
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CertificateId' do
20
+ before do
21
+ # run before each test
22
+ @instance = ArtikCloud::CertificateId.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CertificateId' do
30
+ it 'should create an instact of CertificateId' do
31
+ expect(@instance).to be_instance_of(ArtikCloud::CertificateId)
32
+ end
33
+ end
34
+ describe 'test attribute "string_id"' 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
+