ZCRMSDK 2.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/src/ZCRMSDK.rb +87 -2
  3. data/src/com/zoho/api/authenticator/oauth_token.rb +86 -31
  4. data/src/com/zoho/api/authenticator/store/db_store.rb +71 -29
  5. data/src/com/zoho/api/authenticator/store/file_store.rb +91 -21
  6. data/src/com/zoho/api/authenticator/store/token_store.rb +7 -0
  7. data/src/com/zoho/api/logger/sdk_logger.rb +18 -9
  8. data/src/com/zoho/crm/api/assignment_rules/api_exception.rb +121 -0
  9. data/src/com/zoho/crm/api/assignment_rules/assignment_rule.rb +215 -0
  10. data/src/com/zoho/crm/api/assignment_rules/assignment_rules_operations.rb +61 -0
  11. data/src/com/zoho/crm/api/assignment_rules/default_user.rb +80 -0
  12. data/src/com/zoho/crm/api/assignment_rules/response_handler.rb +10 -0
  13. data/src/com/zoho/crm/api/assignment_rules/response_wrapper.rb +63 -0
  14. data/src/com/zoho/crm/api/attachments/attachment.rb +42 -4
  15. data/src/com/zoho/crm/api/attachments/attachments_operations.rb +6 -6
  16. data/src/com/zoho/crm/api/blue_print/blue_print_operations.rb +2 -2
  17. data/src/com/zoho/crm/api/blue_print/escalation.rb +80 -0
  18. data/src/com/zoho/crm/api/blue_print/field.rb +1127 -0
  19. data/src/com/zoho/crm/api/blue_print/next_transition.rb +38 -0
  20. data/src/com/zoho/crm/api/blue_print/process_info.rb +4 -4
  21. data/src/com/zoho/crm/api/blue_print/transition.rb +19 -1
  22. data/src/com/zoho/crm/api/blue_print/validation_error.rb +57 -0
  23. data/src/com/zoho/crm/api/bulk_read/bulk_read_operations.rb +3 -3
  24. data/src/com/zoho/crm/api/bulk_read/criteria.rb +20 -0
  25. data/src/com/zoho/crm/api/bulk_read/query.rb +5 -4
  26. data/src/com/zoho/crm/api/bulk_write/bulk_write_operations.rb +3 -3
  27. data/src/com/zoho/crm/api/bulk_write/resource.rb +24 -4
  28. data/src/com/zoho/crm/api/contact_roles/contact_roles_operations.rb +7 -7
  29. data/src/com/zoho/crm/api/currencies/currencies_operations.rb +7 -7
  30. data/src/com/zoho/crm/api/custom_views/criteria.rb +5 -4
  31. data/src/com/zoho/crm/api/custom_views/custom_view.rb +100 -41
  32. data/src/com/zoho/crm/api/custom_views/custom_views_operations.rb +2 -2
  33. data/src/com/zoho/crm/api/custom_views/{shared_details.rb → shared_to.rb} +2 -2
  34. data/src/com/zoho/crm/api/dc/au_datacenter.rb +3 -3
  35. data/src/com/zoho/crm/api/dc/cn_datacenter.rb +3 -3
  36. data/src/com/zoho/crm/api/dc/datacenter.rb +3 -2
  37. data/src/com/zoho/crm/api/dc/eu_datacenter.rb +3 -3
  38. data/src/com/zoho/crm/api/dc/in_datacenter.rb +3 -3
  39. data/src/com/zoho/crm/api/dc/us_datacenter.rb +3 -3
  40. data/src/com/zoho/crm/api/email_templates/api_exception.rb +121 -0
  41. data/src/com/zoho/crm/api/email_templates/attachment.rb +118 -0
  42. data/src/com/zoho/crm/api/email_templates/email_template.rb +390 -0
  43. data/src/com/zoho/crm/api/email_templates/email_templates_operations.rb +61 -0
  44. data/src/com/zoho/crm/api/email_templates/response_handler.rb +10 -0
  45. data/src/com/zoho/crm/api/email_templates/response_wrapper.rb +83 -0
  46. data/src/com/zoho/crm/api/field_attachments/api_exception.rb +121 -0
  47. data/src/com/zoho/crm/api/field_attachments/body_wrapper.rb +62 -0
  48. data/src/com/zoho/crm/api/field_attachments/field_attachments_operations.rb +52 -0
  49. data/src/com/zoho/crm/api/field_attachments/file_body_wrapper.rb +64 -0
  50. data/src/com/zoho/crm/api/field_attachments/response_handler.rb +10 -0
  51. data/src/com/zoho/crm/api/fields/external.rb +99 -0
  52. data/src/com/zoho/crm/api/fields/field.rb +215 -61
  53. data/src/com/zoho/crm/api/fields/fields_operations.rb +2 -2
  54. data/src/com/zoho/crm/api/fields/history_tracking.rb +80 -0
  55. data/src/com/zoho/crm/api/fields/maps.rb +80 -0
  56. data/src/com/zoho/crm/api/fields/multi_module_lookup.rb +99 -0
  57. data/src/com/zoho/crm/api/fields/multi_select_lookup.rb +19 -0
  58. data/src/com/zoho/crm/api/fields/multi_user_lookup.rb +175 -0
  59. data/src/com/zoho/crm/api/fields/pick_list_value.rb +19 -0
  60. data/src/com/zoho/crm/api/fields/related_details.rb +19 -0
  61. data/src/com/zoho/crm/api/files/file_operations.rb +2 -2
  62. data/src/com/zoho/crm/api/initializer.rb +45 -17
  63. data/src/com/zoho/crm/api/inventory_templates/api_exception.rb +121 -0
  64. data/src/com/zoho/crm/api/inventory_templates/inventory_template.rb +352 -0
  65. data/src/com/zoho/crm/api/inventory_templates/inventory_templates_operations.rb +82 -0
  66. data/src/com/zoho/crm/api/inventory_templates/response_handler.rb +10 -0
  67. data/src/com/zoho/crm/api/inventory_templates/response_wrapper.rb +83 -0
  68. data/src/com/zoho/crm/api/layouts/layout.rb +38 -0
  69. data/src/com/zoho/crm/api/layouts/layouts_operations.rb +2 -2
  70. data/src/com/zoho/crm/api/layouts/section.rb +19 -0
  71. data/src/com/zoho/crm/api/modules/module.rb +57 -0
  72. data/src/com/zoho/crm/api/modules/modules_operations.rb +4 -4
  73. data/src/com/zoho/crm/api/notes/note.rb +19 -0
  74. data/src/com/zoho/crm/api/notes/notes_operations.rb +7 -7
  75. data/src/com/zoho/crm/api/notification/notification_operations.rb +6 -6
  76. data/src/com/zoho/crm/api/org/hierarchy_preference.rb +61 -0
  77. data/src/com/zoho/crm/api/org/org.rb +38 -0
  78. data/src/com/zoho/crm/api/org/org_operations.rb +2 -2
  79. data/src/com/zoho/crm/api/pipeline/action_handler.rb +10 -0
  80. data/src/com/zoho/crm/api/pipeline/action_response.rb +10 -0
  81. data/src/com/zoho/crm/api/pipeline/action_wrapper.rb +63 -0
  82. data/src/com/zoho/crm/api/pipeline/api_exception.rb +129 -0
  83. data/src/com/zoho/crm/api/pipeline/body_wrapper.rb +61 -0
  84. data/src/com/zoho/crm/api/pipeline/forecast_category.rb +80 -0
  85. data/src/com/zoho/crm/api/pipeline/pick_list_value.rb +175 -0
  86. data/src/com/zoho/crm/api/pipeline/pipeline.rb +213 -0
  87. data/src/com/zoho/crm/api/pipeline/pipeline_operations.rb +165 -0
  88. data/src/com/zoho/crm/api/pipeline/response_handler.rb +10 -0
  89. data/src/com/zoho/crm/api/pipeline/response_wrapper.rb +63 -0
  90. data/src/com/zoho/crm/api/pipeline/stage.rb +80 -0
  91. data/src/com/zoho/crm/api/pipeline/success_response.rb +123 -0
  92. data/src/com/zoho/crm/api/pipeline/transfer_action_handler.rb +10 -0
  93. data/src/com/zoho/crm/api/pipeline/transfer_action_response.rb +10 -0
  94. data/src/com/zoho/crm/api/pipeline/transfer_action_wrapper.rb +63 -0
  95. data/src/com/zoho/crm/api/pipeline/transfer_and_delete_wrapper.rb +61 -0
  96. data/src/com/zoho/crm/api/pipeline/transfer_pipe_line.rb +80 -0
  97. data/src/com/zoho/crm/api/profiles/category.rb +19 -0
  98. data/src/com/zoho/crm/api/profiles/default_view.rb +99 -0
  99. data/src/com/zoho/crm/api/profiles/profile.rb +49 -11
  100. data/src/com/zoho/crm/api/profiles/profiles_operations.rb +2 -2
  101. data/src/com/zoho/crm/api/query/query_operations.rb +1 -1
  102. data/src/com/zoho/crm/api/record/api_exception.rb +2 -0
  103. data/src/com/zoho/crm/api/record/body_wrapper.rb +0 -19
  104. data/src/com/zoho/crm/api/record/count_handler.rb +10 -0
  105. data/src/com/zoho/crm/api/record/count_wrapper.rb +63 -0
  106. data/src/com/zoho/crm/api/record/field.rb +17 -17
  107. data/src/com/zoho/crm/api/record/image_upload.rb +213 -0
  108. data/src/com/zoho/crm/api/record/line_tax.rb +19 -0
  109. data/src/com/zoho/crm/api/record/mass_update_body_wrapper.rb +4 -4
  110. data/src/com/zoho/crm/api/record/mass_update_territory.rb +80 -0
  111. data/src/com/zoho/crm/api/record/multi_select_lookup.rb +99 -0
  112. data/src/com/zoho/crm/api/record/multi_select_picklist.rb +80 -0
  113. data/src/com/zoho/crm/api/record/price_book.rb +31 -0
  114. data/src/com/zoho/crm/api/record/record_operations.rb +196 -26
  115. data/src/com/zoho/crm/api/record/tax.rb +80 -0
  116. data/src/com/zoho/crm/api/record/territory.rb +70 -12
  117. data/src/com/zoho/crm/api/record/widget.rb +80 -0
  118. data/src/com/zoho/crm/api/record/wizard.rb +80 -0
  119. data/src/com/zoho/crm/api/related_lists/related_lists_operations.rb +2 -2
  120. data/src/com/zoho/crm/api/related_records/related_records_operations.rb +6 -6
  121. data/src/com/zoho/crm/api/request_proxy.rb +3 -4
  122. data/src/com/zoho/crm/api/roles/roles_operations.rb +2 -2
  123. data/src/com/zoho/crm/api/sdk_config.rb +2 -68
  124. data/src/com/zoho/crm/api/send_mail/action_handler.rb +10 -0
  125. data/src/com/zoho/crm/api/send_mail/action_response.rb +10 -0
  126. data/src/com/zoho/crm/api/send_mail/action_wrapper.rb +63 -0
  127. data/src/com/zoho/crm/api/send_mail/api_exception.rb +125 -0
  128. data/src/com/zoho/crm/api/send_mail/body_wrapper.rb +61 -0
  129. data/src/com/zoho/crm/api/send_mail/data_subject_request.rb +80 -0
  130. data/src/com/zoho/crm/api/send_mail/inventory_details.rb +100 -0
  131. data/src/com/zoho/crm/api/send_mail/mail.rb +423 -0
  132. data/src/com/zoho/crm/api/send_mail/response_handler.rb +10 -0
  133. data/src/com/zoho/crm/api/send_mail/response_wrapper.rb +63 -0
  134. data/src/com/zoho/crm/api/send_mail/send_mail_operations.rb +61 -0
  135. data/src/com/zoho/crm/api/send_mail/success_response.rb +121 -0
  136. data/src/com/zoho/crm/api/send_mail/template.rb +10 -0
  137. data/src/com/zoho/crm/api/send_mail/user_address.rb +137 -0
  138. data/src/com/zoho/crm/api/share_records/share_records_operations.rb +4 -4
  139. data/src/com/zoho/crm/api/tags/tag.rb +19 -0
  140. data/src/com/zoho/crm/api/tags/tags_operations.rb +11 -11
  141. data/src/com/zoho/crm/api/taxes/taxes_operations.rb +6 -6
  142. data/src/com/zoho/crm/api/territories/response_wrapper.rb +20 -0
  143. data/src/com/zoho/crm/api/territories/territories_operations.rb +2 -2
  144. data/src/com/zoho/crm/api/territories/territory.rb +61 -23
  145. data/src/com/zoho/crm/api/users/user.rb +34 -0
  146. data/src/com/zoho/crm/api/users/users_operations.rb +6 -6
  147. data/src/com/zoho/crm/api/util/api_http_connector.rb +6 -5
  148. data/src/com/zoho/crm/api/util/common_api_handler.rb +5 -3
  149. data/src/com/zoho/crm/api/util/constants.rb +140 -15
  150. data/src/com/zoho/crm/api/util/converter.rb +30 -7
  151. data/src/com/zoho/crm/api/util/data_type_converter.rb +8 -2
  152. data/src/com/zoho/crm/api/util/form_data_converter.rb +4 -15
  153. data/src/com/zoho/crm/api/util/json_converter.rb +7 -9
  154. data/src/com/zoho/crm/api/util/module_fields_handler.rb +1 -1
  155. data/src/com/zoho/crm/api/util/utility.rb +274 -87
  156. data/src/com/zoho/crm/api/variable_groups/variable_groups_operations.rb +3 -3
  157. data/src/com/zoho/crm/api/variables/variables_operations.rb +9 -9
  158. data/src/com/zoho/crm/api/wizards/api_exception.rb +121 -0
  159. data/src/com/zoho/crm/api/wizards/button.rb +252 -0
  160. data/src/com/zoho/crm/api/wizards/chart_data.rb +118 -0
  161. data/src/com/zoho/crm/api/wizards/connection.rb +80 -0
  162. data/src/com/zoho/crm/api/wizards/container.rb +119 -0
  163. data/src/com/zoho/crm/api/wizards/node.rb +118 -0
  164. data/src/com/zoho/crm/api/wizards/response_handler.rb +10 -0
  165. data/src/com/zoho/crm/api/wizards/response_wrapper.rb +63 -0
  166. data/src/com/zoho/crm/api/wizards/screen.rb +99 -0
  167. data/src/com/zoho/crm/api/wizards/segment.rb +176 -0
  168. data/src/com/zoho/crm/api/wizards/transition.rb +80 -0
  169. data/src/com/zoho/crm/api/wizards/wizard.rb +273 -0
  170. data/src/com/zoho/crm/api/wizards/wizards_operations.rb +61 -0
  171. data/src/resources/JSONDetails.json +1 -1
  172. data/src/version.rb +1 -1
  173. metadata +92 -7
  174. data/src/com/zoho/crm/api/record/inventory_line_items.rb +0 -235
@@ -0,0 +1,10 @@
1
+ module FieldAttachments
2
+ module ResponseHandler
3
+
4
+ # Creates an instance of ResponseHandler
5
+ def initialize
6
+ end
7
+
8
+
9
+ end
10
+ end
@@ -0,0 +1,99 @@
1
+ require_relative '../util/model'
2
+
3
+ module Fields
4
+ class External
5
+ include Util::Model
6
+
7
+ # Creates an instance of External
8
+ def initialize
9
+ @show = nil
10
+ @type = nil
11
+ @allow_multiple_config = nil
12
+ @key_modified = Hash.new
13
+ end
14
+
15
+ # The method to get the show
16
+ # @return A Boolean value
17
+
18
+ def show
19
+ @show
20
+ end
21
+
22
+ # The method to set the value to show
23
+ # @param show [Boolean] A Boolean
24
+
25
+ def show=(show)
26
+ if show!=nil and ! [true, false].include?show
27
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: show EXPECTED TYPE: Boolean', nil, nil)
28
+ end
29
+ @show = show
30
+ @key_modified['show'] = 1
31
+ end
32
+
33
+ # The method to get the type
34
+ # @return A String value
35
+
36
+ def type
37
+ @type
38
+ end
39
+
40
+ # The method to set the value to type
41
+ # @param type [String] A String
42
+
43
+ def type=(type)
44
+ if type!=nil and !type.is_a? String
45
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: type EXPECTED TYPE: String', nil, nil)
46
+ end
47
+ @type = type
48
+ @key_modified['type'] = 1
49
+ end
50
+
51
+ # The method to get the allow_multiple_config
52
+ # @return A Boolean value
53
+
54
+ def allow_multiple_config
55
+ @allow_multiple_config
56
+ end
57
+
58
+ # The method to set the value to allow_multiple_config
59
+ # @param allow_multiple_config [Boolean] A Boolean
60
+
61
+ def allow_multiple_config=(allow_multiple_config)
62
+ if allow_multiple_config!=nil and ! [true, false].include?allow_multiple_config
63
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: allow_multiple_config EXPECTED TYPE: Boolean', nil, nil)
64
+ end
65
+ @allow_multiple_config = allow_multiple_config
66
+ @key_modified['allow_multiple_config'] = 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
@@ -1,5 +1,7 @@
1
1
  require_relative '../custom_views/criteria'
2
2
  require_relative '../layouts/layout'
3
+ require_relative '../profiles/profile'
4
+ require_relative '../util/choice'
3
5
  require_relative '../util/model'
4
6
 
5
7
  module Fields
@@ -12,9 +14,10 @@ module Fields
12
14
  @webhook = nil
13
15
  @private = nil
14
16
  @layouts = nil
17
+ @profiles = nil
18
+ @sequence_number = nil
15
19
  @content = nil
16
20
  @column_name = nil
17
- @type = nil
18
21
  @transition_sequence = nil
19
22
  @personality_name = nil
20
23
  @message = nil
@@ -28,6 +31,7 @@ module Fields
28
31
  @created_source = nil
29
32
  @field_read_only = nil
30
33
  @display_label = nil
34
+ @ui_type = nil
31
35
  @read_only = nil
32
36
  @association_details = nil
33
37
  @quick_sequence_number = nil
@@ -37,25 +41,31 @@ module Fields
37
41
  @id = nil
38
42
  @custom_field = nil
39
43
  @lookup = nil
44
+ @filterable = nil
40
45
  @visible = nil
46
+ @pick_list_values_sorted_lexically = nil
41
47
  @length = nil
42
48
  @view_type = nil
43
49
  @subform = nil
44
50
  @api_name = nil
51
+ @sortable = nil
45
52
  @unique = nil
46
- @history_tracking = nil
47
53
  @data_type = nil
48
54
  @formula = nil
49
55
  @decimal_place = nil
50
56
  @mass_update = nil
51
57
  @blueprint_supported = nil
52
58
  @multiselectlookup = nil
59
+ @multiuserlookup = nil
53
60
  @pick_list_values = nil
54
61
  @auto_number = nil
55
62
  @default_value = nil
56
- @section_id = nil
57
63
  @validation_rule = nil
58
64
  @convert_mapping = nil
65
+ @type = nil
66
+ @external = nil
67
+ @history_tracking = nil
68
+ @display_type = nil
59
69
  @key_modified = Hash.new
60
70
  end
61
71
 
@@ -131,6 +141,42 @@ module Fields
131
141
  @key_modified['layouts'] = 1
132
142
  end
133
143
 
144
+ # The method to get the profiles
145
+ # @return An instance of Array
146
+
147
+ def profiles
148
+ @profiles
149
+ end
150
+
151
+ # The method to set the value to profiles
152
+ # @param profiles [Array] An instance of Array
153
+
154
+ def profiles=(profiles)
155
+ if profiles!=nil and !profiles.is_a? Array
156
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: profiles EXPECTED TYPE: Array', nil, nil)
157
+ end
158
+ @profiles = profiles
159
+ @key_modified['profiles'] = 1
160
+ end
161
+
162
+ # The method to get the sequence_number
163
+ # @return A Integer value
164
+
165
+ def sequence_number
166
+ @sequence_number
167
+ end
168
+
169
+ # The method to set the value to sequence_number
170
+ # @param sequence_number [Integer] A Integer
171
+
172
+ def sequence_number=(sequence_number)
173
+ if sequence_number!=nil and !sequence_number.is_a? Integer
174
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: sequence_number EXPECTED TYPE: Integer', nil, nil)
175
+ end
176
+ @sequence_number = sequence_number
177
+ @key_modified['sequence_number'] = 1
178
+ end
179
+
134
180
  # The method to get the content
135
181
  # @return A String value
136
182
 
@@ -167,24 +213,6 @@ module Fields
167
213
  @key_modified['column_name'] = 1
168
214
  end
169
215
 
170
- # The method to get the type
171
- # @return A String value
172
-
173
- def type
174
- @type
175
- end
176
-
177
- # The method to set the value to type
178
- # @param type [String] A String
179
-
180
- def type=(type)
181
- if type!=nil and !type.is_a? String
182
- raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: type EXPECTED TYPE: String', nil, nil)
183
- end
184
- @type = type
185
- @key_modified['_type'] = 1
186
- end
187
-
188
216
  # The method to get the transition_sequence
189
217
  # @return A Integer value
190
218
 
@@ -419,6 +447,24 @@ module Fields
419
447
  @key_modified['display_label'] = 1
420
448
  end
421
449
 
450
+ # The method to get the ui_type
451
+ # @return A Integer value
452
+
453
+ def ui_type
454
+ @ui_type
455
+ end
456
+
457
+ # The method to set the value to ui_type
458
+ # @param ui_type [Integer] A Integer
459
+
460
+ def ui_type=(ui_type)
461
+ if ui_type!=nil and !ui_type.is_a? Integer
462
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: ui_type EXPECTED TYPE: Integer', nil, nil)
463
+ end
464
+ @ui_type = ui_type
465
+ @key_modified['ui_type'] = 1
466
+ end
467
+
422
468
  # The method to get the read_only
423
469
  # @return A Boolean value
424
470
 
@@ -492,18 +538,18 @@ module Fields
492
538
  end
493
539
 
494
540
  # The method to get the multi_module_lookup
495
- # @return An instance of Hash
541
+ # @return An instance of MultiModuleLookup
496
542
 
497
543
  def multi_module_lookup
498
544
  @multi_module_lookup
499
545
  end
500
546
 
501
547
  # The method to set the value to multi_module_lookup
502
- # @param multi_module_lookup [Hash] An instance of Hash
548
+ # @param multi_module_lookup [MultiModuleLookup] An instance of MultiModuleLookup
503
549
 
504
550
  def multi_module_lookup=(multi_module_lookup)
505
- if multi_module_lookup!=nil and !multi_module_lookup.is_a? Hash
506
- 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)
507
553
  end
508
554
  @multi_module_lookup = multi_module_lookup
509
555
  @key_modified['multi_module_lookup'] = 1
@@ -581,6 +627,24 @@ module Fields
581
627
  @key_modified['lookup'] = 1
582
628
  end
583
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
+
584
648
  # The method to get the visible
585
649
  # @return A Boolean value
586
650
 
@@ -599,6 +663,24 @@ module Fields
599
663
  @key_modified['visible'] = 1
600
664
  end
601
665
 
666
+ # The method to get the pick_list_values_sorted_lexically
667
+ # @return A Boolean value
668
+
669
+ def pick_list_values_sorted_lexically
670
+ @pick_list_values_sorted_lexically
671
+ end
672
+
673
+ # The method to set the value to pick_list_values_sorted_lexically
674
+ # @param pick_list_values_sorted_lexically [Boolean] A Boolean
675
+
676
+ def pick_list_values_sorted_lexically=(pick_list_values_sorted_lexically)
677
+ if pick_list_values_sorted_lexically!=nil and ! [true, false].include?pick_list_values_sorted_lexically
678
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: pick_list_values_sorted_lexically EXPECTED TYPE: Boolean', nil, nil)
679
+ end
680
+ @pick_list_values_sorted_lexically = pick_list_values_sorted_lexically
681
+ @key_modified['pick_list_values_sorted_lexically'] = 1
682
+ end
683
+
602
684
  # The method to get the length
603
685
  # @return A Integer value
604
686
 
@@ -671,6 +753,24 @@ module Fields
671
753
  @key_modified['api_name'] = 1
672
754
  end
673
755
 
756
+ # The method to get the sortable
757
+ # @return A Boolean value
758
+
759
+ def sortable
760
+ @sortable
761
+ end
762
+
763
+ # The method to set the value to sortable
764
+ # @param sortable [Boolean] A Boolean
765
+
766
+ def sortable=(sortable)
767
+ if sortable!=nil and ! [true, false].include?sortable
768
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: sortable EXPECTED TYPE: Boolean', nil, nil)
769
+ end
770
+ @sortable = sortable
771
+ @key_modified['sortable'] = 1
772
+ end
773
+
674
774
  # The method to get the unique
675
775
  # @return An instance of Unique
676
776
 
@@ -689,24 +789,6 @@ module Fields
689
789
  @key_modified['unique'] = 1
690
790
  end
691
791
 
692
- # The method to get the history_tracking
693
- # @return A Boolean value
694
-
695
- def history_tracking
696
- @history_tracking
697
- end
698
-
699
- # The method to set the value to history_tracking
700
- # @param history_tracking [Boolean] A Boolean
701
-
702
- def history_tracking=(history_tracking)
703
- if history_tracking!=nil and ! [true, false].include?history_tracking
704
- raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: history_tracking EXPECTED TYPE: Boolean', nil, nil)
705
- end
706
- @history_tracking = history_tracking
707
- @key_modified['history_tracking'] = 1
708
- end
709
-
710
792
  # The method to get the data_type
711
793
  # @return A String value
712
794
 
@@ -815,6 +897,24 @@ module Fields
815
897
  @key_modified['multiselectlookup'] = 1
816
898
  end
817
899
 
900
+ # The method to get the multiuserlookup
901
+ # @return An instance of MultiUserLookup
902
+
903
+ def multiuserlookup
904
+ @multiuserlookup
905
+ end
906
+
907
+ # The method to set the value to multiuserlookup
908
+ # @param multiuserlookup [MultiUserLookup] An instance of MultiUserLookup
909
+
910
+ def multiuserlookup=(multiuserlookup)
911
+ if multiuserlookup!=nil and !multiuserlookup.is_a? MultiUserLookup
912
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: multiuserlookup EXPECTED TYPE: MultiUserLookup', nil, nil)
913
+ end
914
+ @multiuserlookup = multiuserlookup
915
+ @key_modified['multiuserlookup'] = 1
916
+ end
917
+
818
918
  # The method to get the pick_list_values
819
919
  # @return An instance of Array
820
920
 
@@ -869,24 +969,6 @@ module Fields
869
969
  @key_modified['default_value'] = 1
870
970
  end
871
971
 
872
- # The method to get the section_id
873
- # @return A Integer value
874
-
875
- def section_id
876
- @section_id
877
- end
878
-
879
- # The method to set the value to section_id
880
- # @param section_id [Integer] A Integer
881
-
882
- def section_id=(section_id)
883
- if section_id!=nil and !section_id.is_a? Integer
884
- raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: section_id EXPECTED TYPE: Integer', nil, nil)
885
- end
886
- @section_id = section_id
887
- @key_modified['section_id'] = 1
888
- end
889
-
890
972
  # The method to get the validation_rule
891
973
  # @return An instance of Hash
892
974
 
@@ -923,6 +1005,78 @@ module Fields
923
1005
  @key_modified['convert_mapping'] = 1
924
1006
  end
925
1007
 
1008
+ # The method to get the type
1009
+ # @return A String value
1010
+
1011
+ def type
1012
+ @type
1013
+ end
1014
+
1015
+ # The method to set the value to type
1016
+ # @param type [String] A String
1017
+
1018
+ def type=(type)
1019
+ if type!=nil and !type.is_a? String
1020
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: type EXPECTED TYPE: String', nil, nil)
1021
+ end
1022
+ @type = type
1023
+ @key_modified['type'] = 1
1024
+ end
1025
+
1026
+ # The method to get the external
1027
+ # @return An instance of External
1028
+
1029
+ def external
1030
+ @external
1031
+ end
1032
+
1033
+ # The method to set the value to external
1034
+ # @param external [External] An instance of External
1035
+
1036
+ def external=(external)
1037
+ if external!=nil and !external.is_a? External
1038
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: external EXPECTED TYPE: External', nil, nil)
1039
+ end
1040
+ @external = external
1041
+ @key_modified['external'] = 1
1042
+ end
1043
+
1044
+ # The method to get the history_tracking
1045
+ # @return An instance of HistoryTracking
1046
+
1047
+ def history_tracking
1048
+ @history_tracking
1049
+ end
1050
+
1051
+ # The method to set the value to history_tracking
1052
+ # @param history_tracking [HistoryTracking] An instance of HistoryTracking
1053
+
1054
+ def history_tracking=(history_tracking)
1055
+ if history_tracking!=nil and !history_tracking.is_a? HistoryTracking
1056
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: history_tracking EXPECTED TYPE: HistoryTracking', nil, nil)
1057
+ end
1058
+ @history_tracking = history_tracking
1059
+ @key_modified['history_tracking'] = 1
1060
+ end
1061
+
1062
+ # The method to get the display_type
1063
+ # @return An instance of Util::Choice
1064
+
1065
+ def display_type
1066
+ @display_type
1067
+ end
1068
+
1069
+ # The method to set the value to display_type
1070
+ # @param display_type [Util::Choice] An instance of Util::Choice
1071
+
1072
+ def display_type=(display_type)
1073
+ if display_type!=nil and !display_type.is_a? Util::Choice
1074
+ raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: display_type EXPECTED TYPE: Util::Choice', nil, nil)
1075
+ end
1076
+ @display_type = display_type
1077
+ @key_modified['display_type'] = 1
1078
+ end
1079
+
926
1080
  # The method to check if the user has modified the given key
927
1081
  # @param key [String] A String
928
1082
  # @return A Integer value