ZOHOCRMSDK2_0 6.0.0 → 6.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/src/ZOHOCRMSDK2_0.rb +1 -0
- data/src/com/zoho/api/authenticator/oauth_token.rb +0 -0
- data/src/com/zoho/api/authenticator/store/db_store.rb +0 -0
- data/src/com/zoho/api/authenticator/store/file_store.rb +0 -0
- data/src/com/zoho/api/authenticator/store/token_store.rb +0 -0
- data/src/com/zoho/api/authenticator/token.rb +0 -0
- data/src/com/zoho/api/logger/sdk_logger.rb +0 -0
- data/src/com/zoho/crm/api/dc/au_datacenter.rb +0 -0
- data/src/com/zoho/crm/api/dc/cn_datacenter.rb +0 -0
- data/src/com/zoho/crm/api/dc/datacenter.rb +0 -0
- data/src/com/zoho/crm/api/dc/eu_datacenter.rb +0 -0
- data/src/com/zoho/crm/api/dc/in_datacenter.rb +0 -0
- data/src/com/zoho/crm/api/dc/us_datacenter.rb +0 -0
- data/src/com/zoho/crm/api/exception/sdk_exception.rb +0 -0
- data/src/com/zoho/crm/api/header.rb +0 -0
- data/src/com/zoho/crm/api/header_map.rb +0 -0
- data/src/com/zoho/crm/api/initializer.rb +0 -0
- data/src/com/zoho/crm/api/param.rb +0 -0
- data/src/com/zoho/crm/api/parameter_map.rb +0 -0
- data/src/com/zoho/crm/api/record/apply_feature_execution.rb +63 -0
- data/src/com/zoho/crm/api/record/body_wrapper.rb +19 -0
- data/src/com/zoho/crm/api/request_proxy.rb +0 -0
- data/src/com/zoho/crm/api/sdk_config.rb +0 -0
- data/src/com/zoho/crm/api/user_signature.rb +0 -0
- data/src/com/zoho/crm/api/util/api_http_connector.rb +0 -0
- data/src/com/zoho/crm/api/util/api_response.rb +0 -0
- data/src/com/zoho/crm/api/util/choice.rb +0 -0
- data/src/com/zoho/crm/api/util/common_api_handler.rb +0 -0
- data/src/com/zoho/crm/api/util/constants.rb +1 -1
- data/src/com/zoho/crm/api/util/converter.rb +0 -0
- data/src/com/zoho/crm/api/util/data_type_converter.rb +0 -0
- data/src/com/zoho/crm/api/util/downloader.rb +0 -0
- data/src/com/zoho/crm/api/util/form_data_converter.rb +0 -0
- data/src/com/zoho/crm/api/util/header_param_validator.rb +0 -0
- data/src/com/zoho/crm/api/util/json_converter.rb +0 -0
- data/src/com/zoho/crm/api/util/model.rb +0 -0
- data/src/com/zoho/crm/api/util/module_fields_handler.rb +0 -0
- data/src/com/zoho/crm/api/util/stream_wrapper.rb +0 -0
- data/src/com/zoho/crm/api/util/utility.rb +0 -0
- data/src/resources/JSONDetails.json +1 -1
- data/src/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44d0367c336d8655cad9c2ee03e8e68715e75eebdba3186e3b1b7c499ee8399e
|
4
|
+
data.tar.gz: 4e9b68c820b428cb6757103984555771e05472c63fe3890036335754874db6da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f005a9264b64640c4dcc7bc25dbdcb16f2e777f4e37e54226373c2df1855c79634c69d58e9283110d8fa3fca82fd4eb6cbf68c12ba719df5120898ec4c1bba68
|
7
|
+
data.tar.gz: 1d49cef15493d6d5fd483f1ba4c8bd9aa13a1c57e3da7803c31f78cc09666123f23b3d8a52e4404d100d7184cdf704de083723ff02d2d4ab995457cd7f559d84
|
data/src/ZOHOCRMSDK2_0.rb
CHANGED
@@ -28,6 +28,7 @@ require 'com/zoho/crm/api/record/info.rb'
|
|
28
28
|
require 'com/zoho/crm/api/record/download_handler.rb'
|
29
29
|
require 'com/zoho/crm/api/record/convert_action_response.rb'
|
30
30
|
require 'com/zoho/crm/api/record/action_handler.rb'
|
31
|
+
require 'com/zoho/crm/api/record/apply_feature_execution.rb'
|
31
32
|
require 'com/zoho/crm/api/record/deleted_records_wrapper.rb'
|
32
33
|
require 'com/zoho/crm/api/record/lead_converter.rb'
|
33
34
|
require 'com/zoho/crm/api/record/record_operations.rb'
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,63 @@
|
|
1
|
+
require_relative '../util/model'
|
2
|
+
|
3
|
+
module ZOHOCRMSDK
|
4
|
+
module Record
|
5
|
+
class ApplyFeatureExecution
|
6
|
+
include Util::Model
|
7
|
+
|
8
|
+
# Creates an instance of ApplyFeatureExecution
|
9
|
+
def initialize
|
10
|
+
@name = nil
|
11
|
+
@key_modified = Hash.new
|
12
|
+
end
|
13
|
+
|
14
|
+
# The method to get the name
|
15
|
+
# @return A String value
|
16
|
+
|
17
|
+
def name
|
18
|
+
@name
|
19
|
+
end
|
20
|
+
|
21
|
+
# The method to set the value to name
|
22
|
+
# @param name [String] A String
|
23
|
+
|
24
|
+
def name=(name)
|
25
|
+
if name!=nil and !name.is_a? String
|
26
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: name EXPECTED TYPE: String', nil, nil)
|
27
|
+
end
|
28
|
+
@name = name
|
29
|
+
@key_modified['name'] = 1
|
30
|
+
end
|
31
|
+
|
32
|
+
# The method to check if the user has modified the given key
|
33
|
+
# @param key [String] A String
|
34
|
+
# @return A Integer value
|
35
|
+
|
36
|
+
def is_key_modified(key)
|
37
|
+
if key!=nil and !key.is_a? String
|
38
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: key EXPECTED TYPE: String', nil, nil)
|
39
|
+
end
|
40
|
+
if @key_modified.key?(key)
|
41
|
+
return @key_modified[key]
|
42
|
+
end
|
43
|
+
|
44
|
+
nil
|
45
|
+
end
|
46
|
+
|
47
|
+
# The method to mark the given key as modified
|
48
|
+
# @param key [String] A String
|
49
|
+
# @param modification [Integer] A Integer
|
50
|
+
|
51
|
+
def set_key_modified(key, modification)
|
52
|
+
if key!=nil and !key.is_a? String
|
53
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: key EXPECTED TYPE: String', nil, nil)
|
54
|
+
end
|
55
|
+
if modification!=nil and !modification.is_a? Integer
|
56
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: modification EXPECTED TYPE: Integer', nil, nil)
|
57
|
+
end
|
58
|
+
@key_modified[key] = modification
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -8,6 +8,7 @@ module ZOHOCRMSDK
|
|
8
8
|
# Creates an instance of BodyWrapper
|
9
9
|
def initialize
|
10
10
|
@data = nil
|
11
|
+
@apply_feature_execution = nil
|
11
12
|
@trigger = nil
|
12
13
|
@process = nil
|
13
14
|
@duplicate_check_fields = nil
|
@@ -34,6 +35,24 @@ module ZOHOCRMSDK
|
|
34
35
|
@key_modified['data'] = 1
|
35
36
|
end
|
36
37
|
|
38
|
+
# The method to get the apply_feature_execution
|
39
|
+
# @return An instance of Array
|
40
|
+
|
41
|
+
def apply_feature_execution
|
42
|
+
@apply_feature_execution
|
43
|
+
end
|
44
|
+
|
45
|
+
# The method to set the value to apply_feature_execution
|
46
|
+
# @param apply_feature_execution [Array] An instance of Array
|
47
|
+
|
48
|
+
def apply_feature_execution=(apply_feature_execution)
|
49
|
+
if apply_feature_execution!=nil and !apply_feature_execution.is_a? Array
|
50
|
+
raise SDKException.new(Constants::DATA_TYPE_ERROR, 'KEY: apply_feature_execution EXPECTED TYPE: Array', nil, nil)
|
51
|
+
end
|
52
|
+
@apply_feature_execution = apply_feature_execution
|
53
|
+
@key_modified['apply_feature_execution'] = 1
|
54
|
+
end
|
55
|
+
|
37
56
|
# The method to get the trigger
|
38
57
|
# @return An instance of Array
|
39
58
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|