ZCRMSDK 3.0.0.beta → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/src/ZCRMSDK.rb +3 -1
  3. data/src/com/zoho/api/authenticator/oauth_token.rb +1 -2
  4. data/src/com/zoho/api/authenticator/store/db_store.rb +27 -5
  5. data/src/com/zoho/api/authenticator/store/file_store.rb +26 -4
  6. data/src/com/zoho/crm/api/attachments/attachment.rb +38 -0
  7. data/src/com/zoho/crm/api/blue_print/field.rb +24 -4
  8. data/src/com/zoho/crm/api/fields/field.rb +23 -23
  9. data/src/com/zoho/crm/api/fields/multi_module_lookup.rb +99 -0
  10. data/src/com/zoho/crm/api/initializer.rb +4 -1
  11. data/src/com/zoho/crm/api/notes/note.rb +19 -0
  12. data/src/com/zoho/crm/api/org/hierarchy_preference.rb +61 -0
  13. data/src/com/zoho/crm/api/org/org.rb +38 -0
  14. data/src/com/zoho/crm/api/profiles/category.rb +19 -0
  15. data/src/com/zoho/crm/api/profiles/profile.rb +0 -19
  16. data/src/com/zoho/crm/api/record/field.rb +16 -17
  17. data/src/com/zoho/crm/api/record/line_tax.rb +19 -0
  18. data/src/com/zoho/crm/api/users/user.rb +34 -0
  19. data/src/com/zoho/crm/api/util/api_http_connector.rb +1 -1
  20. data/src/com/zoho/crm/api/util/common_api_handler.rb +5 -3
  21. data/src/com/zoho/crm/api/util/constants.rb +9 -11
  22. data/src/com/zoho/crm/api/util/converter.rb +11 -5
  23. data/src/com/zoho/crm/api/util/data_type_converter.rb +8 -2
  24. data/src/com/zoho/crm/api/util/form_data_converter.rb +1 -1
  25. data/src/com/zoho/crm/api/util/json_converter.rb +7 -9
  26. data/src/com/zoho/crm/api/util/module_fields_handler.rb +1 -1
  27. data/src/com/zoho/crm/api/util/utility.rb +81 -50
  28. data/src/com/zoho/crm/api/wizards/button.rb +38 -0
  29. data/src/com/zoho/crm/api/wizards/transition.rb +80 -0
  30. data/src/resources/JSONDetails.json +1 -1
  31. data/src/version.rb +1 -1
  32. metadata +9 -7
  33. data/src/com/zoho/crm/api/record/inventory_line_items.rb +0 -252
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8904af6d2578e6476199b3d332c31aa201ba71b09a0696e530cc15d1ab48b5e0
4
- data.tar.gz: 9ea0df2ce8f9db7f4c4223be625b4e0eb7f404074e5bef02754e387ef29e1e24
3
+ metadata.gz: 2dcc35345e8259bc510636850cbd5188620dcd7302dcea0a93cdaac4f417bd47
4
+ data.tar.gz: ffbb75f277bafc95da01143ed1ce6dc6ecfeeadeeddcaa4e83c53d10711f3916
5
5
  SHA512:
6
- metadata.gz: 3cbe40f9c9b7df36198203bf82e4b0f8252cb27e68cf888823ef8e59a2ab00fa518bf19a3080b1631783cbaa23951a29dd006eb4b81133727d9dfc2100941465
7
- data.tar.gz: b55ab1856d5a12d99ce5bf785f053ce6e44dd7cc5e9a7557dceba4b1a7a9066311e5667ff4b3d275456a3ab511be602207ea037f40050431f0dd3190527c417b
6
+ metadata.gz: 262419b535faa7bacd28bec0d96c4699051d52866f1386a501dbb2f298e2e5b06cbf95767918faceb87af6f4d2c805ba131f196bb0fe16db11190bd791ca57fa
7
+ data.tar.gz: 15b24e3ff26e38a7097153a5273ebe3e26e89dadb20c7993a66529b20a40b62607f87e41f4b58be83f1318d00b807205e1891b20db9c0fdc86dbddaa594b8b00
data/src/ZCRMSDK.rb CHANGED
@@ -40,7 +40,6 @@ require 'com/zoho/crm/api/territories/response_handler.rb'
40
40
  require 'com/zoho/crm/api/record/consent.rb'
41
41
  require 'com/zoho/crm/api/record/line_tax.rb'
42
42
  require 'com/zoho/crm/api/record/reminder.rb'
43
- require 'com/zoho/crm/api/record/inventory_line_items.rb'
44
43
  require 'com/zoho/crm/api/record/body_wrapper.rb'
45
44
  require 'com/zoho/crm/api/record/info.rb'
46
45
  require 'com/zoho/crm/api/record/download_handler.rb'
@@ -132,6 +131,7 @@ require 'com/zoho/crm/api/notification/api_exception.rb'
132
131
  require 'com/zoho/crm/api/notification/success_response.rb'
133
132
  require 'com/zoho/crm/api/notification/action_response.rb'
134
133
  require 'com/zoho/crm/api/notification/response_handler.rb'
134
+ require 'com/zoho/crm/api/org/hierarchy_preference.rb'
135
135
  require 'com/zoho/crm/api/org/org_operations.rb'
136
136
  require 'com/zoho/crm/api/org/license_details.rb'
137
137
  require 'com/zoho/crm/api/org/response_wrapper.rb'
@@ -339,6 +339,7 @@ require 'com/zoho/crm/api/fields/association_details.rb'
339
339
  require 'com/zoho/crm/api/fields/module.rb'
340
340
  require 'com/zoho/crm/api/fields/external.rb'
341
341
  require 'com/zoho/crm/api/fields/currency.rb'
342
+ require 'com/zoho/crm/api/fields/multi_module_lookup.rb'
342
343
  require 'com/zoho/crm/api/fields/pick_list_value.rb'
343
344
  require 'com/zoho/crm/api/fields/view_type.rb'
344
345
  require 'com/zoho/crm/api/fields/lookup_field.rb'
@@ -403,6 +404,7 @@ require 'com/zoho/crm/api/wizards/connection.rb'
403
404
  require 'com/zoho/crm/api/wizards/container.rb'
404
405
  require 'com/zoho/crm/api/wizards/button.rb'
405
406
  require 'com/zoho/crm/api/wizards/wizards_operations.rb'
407
+ require 'com/zoho/crm/api/wizards/transition.rb'
406
408
  require 'com/zoho/crm/api/wizards/response_wrapper.rb'
407
409
  require 'com/zoho/crm/api/wizards/api_exception.rb'
408
410
  require 'com/zoho/crm/api/wizards/screen.rb'
@@ -11,8 +11,7 @@ require_relative '../../crm/api/exception/sdk_exception'
11
11
  module Authenticator
12
12
  # This class gets and refreshes the tokens based on the expiry time.
13
13
  class OAuthToken < Token
14
- attr_reader :client_id , :client_secret ,:redirect_url ,:grant_token
15
- attr_accessor :refresh_token, :access_token ,:user_mail ,:id ,:expires_in
14
+ attr_accessor :client_id , :client_secret ,:redirect_url ,:grant_token,:refresh_token, :access_token ,:user_mail ,:id ,:expires_in
16
15
  @@sync_lock = Monitor.new
17
16
 
18
17
  # Creates an OAuthToken class instance with the specified parameters.
@@ -34,16 +34,26 @@ module Store
34
34
  con.close
35
35
 
36
36
  rs.each do |row|
37
- oauthtoken = Authenticator::OAuthToken.new(client_id: row[Constants::CLIENT_ID],client_secret: row[Constants::CLIENT_SECRET],grant_token: row[Constants::GRANT_TOKEN],refresh_token: row[Constants::REFRESH_TOKEN],redirect_url: row[Constants::REDIRECT_URL])
37
+ oauthtoken = token
38
38
 
39
- oauthtoken.id = row[Constants::ID]
39
+ oauthtoken.client_id = row[Constants::CLIENT_ID]
40
40
 
41
- oauthtoken.access_token = row[Constants::ACCESS_TOKEN]
41
+ oauthtoken.client_secret = row[Constants::CLIENT_SECRET]
42
42
 
43
- oauthtoken.expires_in = row[Constants::EXPIRY_TIME]
43
+ oauthtoken.grant_token = row[Constants::GRANT_TOKEN]
44
+
45
+ oauthtoken.redirect_url = row[Constants::REDIRECT_URL]
44
46
 
45
47
  oauthtoken.refresh_token = row[Constants::REFRESH_TOKEN]
46
48
 
49
+ oauthtoken.id = row[Constants::ID]
50
+
51
+ oauthtoken.user_mail = row[Constants::USER_MAIL]
52
+
53
+ oauthtoken.access_token = row[Constants::ACCESS_TOKEN]
54
+
55
+ oauthtoken.expires_in = row[Constants::EXPIRY_TIME]
56
+
47
57
  return oauthtoken
48
58
  end
49
59
  nil
@@ -111,6 +121,8 @@ module Store
111
121
 
112
122
  oauthtoken.access_token = row[Constants::ACCESS_TOKEN]
113
123
 
124
+ oauthtoken.redirect_url = row[Constants::REDIRECT_URL]
125
+
114
126
  oauthtoken.expires_in = row[Constants::EXPIRY_TIME]
115
127
 
116
128
  tokens.push(oauthtoken)
@@ -147,7 +159,17 @@ module Store
147
159
 
148
160
  rs.each do |row|
149
161
  if id == row[Constants::ID]
150
- oauthtoken = Authenticator::OAuthToken.new(client_id: row[Constants::CLIENT_ID],client_secret: row[Constants::CLIENT_SECRET],grant_token: row[Constants::GRANT_TOKEN],refresh_token: row[Constants::REFRESH_TOKEN],redirect_url: row[Constants::REDIRECT_URL])
162
+ oauthtoken = token
163
+
164
+ oauthtoken.client_id = row[Constants::CLIENT_ID]
165
+
166
+ oauthtoken.client_secret = row[Constants::CLIENT_SECRET]
167
+
168
+ oauthtoken.grant_token = row[Constants::GRANT_TOKEN]
169
+
170
+ oauthtoken.redirect_url = row[Constants::REDIRECT_URL]
171
+
172
+ oauthtoken.refresh_token = row[Constants::REFRESH_TOKEN]
151
173
 
152
174
  oauthtoken.id = row[Constants::ID]
153
175
 
@@ -46,15 +46,25 @@ module Store
46
46
 
47
47
  redirect_url = (!row[8].nil? && !row[8].empty?) ? row[8] : nil
48
48
 
49
- oauthtoken = Authenticator::OAuthToken.new(client_id: row[2],client_secret: row[3],grant_token: grant_token,refresh_token: row[4],redirect_url: redirect_url)
49
+ oauthtoken = token
50
50
 
51
51
  oauthtoken.id = row[0]
52
52
 
53
53
  oauthtoken.user_mail = row[1]
54
54
 
55
+ oauthtoken.client_id = row[2]
56
+
57
+ oauthtoken.client_secret = row[3]
58
+
59
+ oauthtoken.refresh_token = row[4]
60
+
55
61
  oauthtoken.access_token = row[5]
62
+
63
+ oauthtoken.grant_token = grant_token
56
64
 
57
65
  oauthtoken.expires_in = row[7]
66
+
67
+ oauthtoken.redirect_url = redirect_url
58
68
  return oauthtoken
59
69
  end
60
70
  end
@@ -73,8 +83,7 @@ module Store
73
83
 
74
84
  redirect_url = (!row[8].nil? && !row[8].empty?) ? row[8] : nil
75
85
 
76
-
77
- token = Authenticator::OAuthToken.new(client_id: row[2],client_secret: nil,grant_token: grant_token,refresh_token: row[4],redirect_url: redirect_url)
86
+ token = Authenticator::OAuthToken.new(client_id: row[2],client_secret: row[3],grant_token: grant_token,refresh_token: row[4])
78
87
 
79
88
  token.id = row[0]
80
89
 
@@ -84,6 +93,8 @@ module Store
84
93
 
85
94
  token.expires_in = row[7]
86
95
 
96
+ token.redirect_url = redirect_url
97
+
87
98
  tokens.push(token)
88
99
  end
89
100
  end
@@ -189,15 +200,26 @@ module Store
189
200
 
190
201
  redirect_url = (!row[8].nil? && !row[8].empty?) ? row[8] : nil
191
202
 
192
- oauthtoken = Authenticator::OAuthToken.new(client_id: row[2],client_secret: row[3],grant_token: grant_token,refresh_token: row[4],redirect_url: redirect_url)
203
+ oauthtoken = token
193
204
 
194
205
  oauthtoken.id = row[0]
195
206
 
196
207
  oauthtoken.user_mail = row[1]
197
208
 
209
+ oauthtoken.client_id = row[2]
210
+
211
+ oauthtoken.client_secret = row[3]
212
+
213
+ oauthtoken.refresh_token = row[4]
214
+
198
215
  oauthtoken.access_token = row[5]
216
+
217
+ oauthtoken.grant_token = grant_token
199
218
 
200
219
  oauthtoken.expires_in = row[7]
220
+
221
+ oauthtoken.redirect_url = redirect_url
222
+
201
223
  return oauthtoken
202
224
  end
203
225
  end
@@ -15,10 +15,12 @@ module Attachments
15
15
  @size = nil
16
16
  @parent_id = nil
17
17
  @editable = nil
18
+ @sharing_permission = nil
18
19
  @file_id = nil
19
20
  @type = nil
20
21
  @se_module = nil
21
22
  @modified_by = nil
23
+ @attachment_type = nil
22
24
  @state = nil
23
25
  @id = nil
24
26
  @created_by = nil
@@ -154,6 +156,24 @@ module Attachments
154
156
  @key_modified['$editable'] = 1
155
157
  end
156
158
 
159
+ # The method to get the sharing_permission
160
+ # @return A String value
161
+
162
+ def sharing_permission
163
+ @sharing_permission
164
+ end
165
+
166
+ # The method to set the value to sharing_permission
167
+ # @param sharing_permission [String] A String
168
+
169
+ def sharing_permission=(sharing_permission)
170
+ if sharing_permission!=nil and !sharing_permission.is_a? String
171
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: sharing_permission EXPECTED TYPE: String', nil, nil)
172
+ end
173
+ @sharing_permission = sharing_permission
174
+ @key_modified['$sharing_permission'] = 1
175
+ end
176
+
157
177
  # The method to get the file_id
158
178
  # @return A String value
159
179
 
@@ -226,6 +246,24 @@ module Attachments
226
246
  @key_modified['Modified_By'] = 1
227
247
  end
228
248
 
249
+ # The method to get the attachment_type
250
+ # @return A Integer value
251
+
252
+ def attachment_type
253
+ @attachment_type
254
+ end
255
+
256
+ # The method to set the value to attachment_type
257
+ # @param attachment_type [Integer] A Integer
258
+
259
+ def attachment_type=(attachment_type)
260
+ if attachment_type!=nil and !attachment_type.is_a? Integer
261
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: attachment_type EXPECTED TYPE: Integer', nil, nil)
262
+ end
263
+ @attachment_type = attachment_type
264
+ @key_modified['$attachment_type'] = 1
265
+ end
266
+
229
267
  # The method to get the state
230
268
  # @return A String value
231
269
 
@@ -7,6 +7,7 @@ require_relative '../fields/external'
7
7
  require_relative '../fields/formula'
8
8
  require_relative '../fields/history_tracking'
9
9
  require_relative '../fields/module'
10
+ require_relative '../fields/multi_module_lookup'
10
11
  require_relative '../fields/multi_select_lookup'
11
12
  require_relative '../fields/multi_user_lookup'
12
13
  require_relative '../fields/pick_list_value'
@@ -58,6 +59,7 @@ module BluePrint
58
59
  @id = nil
59
60
  @custom_field = nil
60
61
  @lookup = nil
62
+ @filterable = nil
61
63
  @visible = nil
62
64
  @pick_list_values_sorted_lexically = nil
63
65
  @length = nil
@@ -571,18 +573,18 @@ module BluePrint
571
573
  end
572
574
 
573
575
  # The method to get the multi_module_lookup
574
- # @return An instance of Hash
576
+ # @return An instance of Fields::MultiModuleLookup
575
577
 
576
578
  def multi_module_lookup
577
579
  @multi_module_lookup
578
580
  end
579
581
 
580
582
  # The method to set the value to multi_module_lookup
581
- # @param multi_module_lookup [Hash] An instance of Hash
583
+ # @param multi_module_lookup [Fields::MultiModuleLookup] An instance of Fields::MultiModuleLookup
582
584
 
583
585
  def multi_module_lookup=(multi_module_lookup)
584
- if multi_module_lookup!=nil and !multi_module_lookup.is_a? Hash
585
- raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: multi_module_lookup EXPECTED TYPE: Hash', nil, nil)
586
+ if multi_module_lookup!=nil and !multi_module_lookup.is_a? Fields::MultiModuleLookup
587
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: multi_module_lookup EXPECTED TYPE: MultiModuleLookup', nil, nil)
586
588
  end
587
589
  @multi_module_lookup = multi_module_lookup
588
590
  @key_modified['multi_module_lookup'] = 1
@@ -660,6 +662,24 @@ module BluePrint
660
662
  @key_modified['lookup'] = 1
661
663
  end
662
664
 
665
+ # The method to get the filterable
666
+ # @return A Boolean value
667
+
668
+ def filterable
669
+ @filterable
670
+ end
671
+
672
+ # The method to set the value to filterable
673
+ # @param filterable [Boolean] A Boolean
674
+
675
+ def filterable=(filterable)
676
+ if filterable!=nil and ! [true, false].include?filterable
677
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: filterable EXPECTED TYPE: Boolean', nil, nil)
678
+ end
679
+ @filterable = filterable
680
+ @key_modified['filterable'] = 1
681
+ end
682
+
663
683
  # The method to get the visible
664
684
  # @return A Boolean value
665
685
 
@@ -41,6 +41,7 @@ module Fields
41
41
  @id = nil
42
42
  @custom_field = nil
43
43
  @lookup = nil
44
+ @filterable = nil
44
45
  @visible = nil
45
46
  @pick_list_values_sorted_lexically = nil
46
47
  @length = nil
@@ -59,7 +60,6 @@ module Fields
59
60
  @pick_list_values = nil
60
61
  @auto_number = nil
61
62
  @default_value = nil
62
- @section_id = nil
63
63
  @validation_rule = nil
64
64
  @convert_mapping = nil
65
65
  @type = nil
@@ -538,18 +538,18 @@ module Fields
538
538
  end
539
539
 
540
540
  # The method to get the multi_module_lookup
541
- # @return An instance of Hash
541
+ # @return An instance of MultiModuleLookup
542
542
 
543
543
  def multi_module_lookup
544
544
  @multi_module_lookup
545
545
  end
546
546
 
547
547
  # The method to set the value to multi_module_lookup
548
- # @param multi_module_lookup [Hash] An instance of Hash
548
+ # @param multi_module_lookup [MultiModuleLookup] An instance of MultiModuleLookup
549
549
 
550
550
  def multi_module_lookup=(multi_module_lookup)
551
- if multi_module_lookup!=nil and !multi_module_lookup.is_a? Hash
552
- raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: multi_module_lookup EXPECTED TYPE: Hash', nil, nil)
551
+ if multi_module_lookup!=nil and !multi_module_lookup.is_a? MultiModuleLookup
552
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: multi_module_lookup EXPECTED TYPE: MultiModuleLookup', nil, nil)
553
553
  end
554
554
  @multi_module_lookup = multi_module_lookup
555
555
  @key_modified['multi_module_lookup'] = 1
@@ -627,6 +627,24 @@ module Fields
627
627
  @key_modified['lookup'] = 1
628
628
  end
629
629
 
630
+ # The method to get the filterable
631
+ # @return A Boolean value
632
+
633
+ def filterable
634
+ @filterable
635
+ end
636
+
637
+ # The method to set the value to filterable
638
+ # @param filterable [Boolean] A Boolean
639
+
640
+ def filterable=(filterable)
641
+ if filterable!=nil and ! [true, false].include?filterable
642
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: filterable EXPECTED TYPE: Boolean', nil, nil)
643
+ end
644
+ @filterable = filterable
645
+ @key_modified['filterable'] = 1
646
+ end
647
+
630
648
  # The method to get the visible
631
649
  # @return A Boolean value
632
650
 
@@ -951,24 +969,6 @@ module Fields
951
969
  @key_modified['default_value'] = 1
952
970
  end
953
971
 
954
- # The method to get the section_id
955
- # @return A Integer value
956
-
957
- def section_id
958
- @section_id
959
- end
960
-
961
- # The method to set the value to section_id
962
- # @param section_id [Integer] A Integer
963
-
964
- def section_id=(section_id)
965
- if section_id!=nil and !section_id.is_a? Integer
966
- raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: section_id EXPECTED TYPE: Integer', nil, nil)
967
- end
968
- @section_id = section_id
969
- @key_modified['section_id'] = 1
970
- end
971
-
972
972
  # The method to get the validation_rule
973
973
  # @return An instance of Hash
974
974
 
@@ -0,0 +1,99 @@
1
+ require_relative '../util/model'
2
+
3
+ module Fields
4
+ class MultiModuleLookup
5
+ include Util::Model
6
+
7
+ # Creates an instance of MultiModuleLookup
8
+ def initialize
9
+ @module_1 = nil
10
+ @id = nil
11
+ @name = nil
12
+ @key_modified = Hash.new
13
+ end
14
+
15
+ # The method to get the module
16
+ # @return An instance of Module
17
+
18
+ def module
19
+ @module_1
20
+ end
21
+
22
+ # The method to set the value to module
23
+ # @param module_1 [Module] An instance of Module
24
+
25
+ def module=(module_1)
26
+ if module_1!=nil and !module_1.is_a? Module
27
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: module_1 EXPECTED TYPE: Module', nil, nil)
28
+ end
29
+ @module_1 = module_1
30
+ @key_modified['module'] = 1
31
+ end
32
+
33
+ # The method to get the id
34
+ # @return A Integer value
35
+
36
+ def id
37
+ @id
38
+ end
39
+
40
+ # The method to set the value to id
41
+ # @param id [Integer] A Integer
42
+
43
+ def id=(id)
44
+ if id!=nil and !id.is_a? Integer
45
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: id EXPECTED TYPE: Integer', nil, nil)
46
+ end
47
+ @id = id
48
+ @key_modified['id'] = 1
49
+ end
50
+
51
+ # The method to get the name
52
+ # @return A String value
53
+
54
+ def name
55
+ @name
56
+ end
57
+
58
+ # The method to set the value to name
59
+ # @param name [String] A String
60
+
61
+ def name=(name)
62
+ if name!=nil and !name.is_a? String
63
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: name EXPECTED TYPE: String', nil, nil)
64
+ end
65
+ @name = name
66
+ @key_modified['name'] = 1
67
+ end
68
+
69
+ # The method to check if the user has modified the given key
70
+ # @param key [String] A String
71
+ # @return A Integer value
72
+
73
+ def is_key_modified(key)
74
+ if key!=nil and !key.is_a? String
75
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: key EXPECTED TYPE: String', nil, nil)
76
+ end
77
+ if @key_modified.key?(key)
78
+ return @key_modified[key]
79
+ end
80
+
81
+ nil
82
+ end
83
+
84
+ # The method to mark the given key as modified
85
+ # @param key [String] A String
86
+ # @param modification [Integer] A Integer
87
+
88
+ def set_key_modified(key, modification)
89
+ if key!=nil and !key.is_a? String
90
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: key EXPECTED TYPE: String', nil, nil)
91
+ end
92
+ if modification!=nil and !modification.is_a? Integer
93
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: modification EXPECTED TYPE: Integer', nil, nil)
94
+ end
95
+ @key_modified[key] = modification
96
+ end
97
+
98
+ end
99
+ end