akeyless 5.0.6 → 5.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.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -1
  3. data/docs/Auth.md +4 -0
  4. data/docs/AuthOutput.md +2 -0
  5. data/docs/AzureLogAnalyticsForwardingConfig.md +2 -0
  6. data/docs/CertificateTemplateInfo.md +2 -0
  7. data/docs/CreateClassicKey.md +3 -1
  8. data/docs/CreateDFCKey.md +3 -1
  9. data/docs/CreateKey.md +3 -1
  10. data/docs/CreateRole.md +2 -0
  11. data/docs/GatewayCreateAllowedAccess.md +1 -1
  12. data/docs/GatewayUpdateAllowedAccess.md +1 -1
  13. data/docs/GatewayUpdateLogForwardingAzureAnalytics.md +2 -0
  14. data/docs/GatewayUpdateLogForwardingSplunk.md +2 -0
  15. data/docs/GeminiTargetDetails.md +22 -0
  16. data/docs/GenerateCsr.md +2 -0
  17. data/docs/GetCertChallenge.md +22 -0
  18. data/docs/GetCertChallengeOutput.md +18 -0
  19. data/docs/GwUpdateRemoteAccessSessionLogsAzureAnalytics.md +2 -0
  20. data/docs/GwUpdateRemoteAccessSessionLogsSplunk.md +2 -0
  21. data/docs/OpenAITargetDetails.md +26 -0
  22. data/docs/PathRule.md +2 -0
  23. data/docs/ReverseRBACClient.md +2 -0
  24. data/docs/RoleAuthMethodAssociation.md +2 -0
  25. data/docs/SharingItemFullInfo.md +2 -0
  26. data/docs/SplunkLogForwardingConfig.md +2 -0
  27. data/docs/StaticSecretSync.md +2 -0
  28. data/docs/TargetCreateGemini.md +36 -0
  29. data/docs/TargetCreateOpenAI.md +40 -0
  30. data/docs/TargetItemAssociation.md +2 -0
  31. data/docs/TargetTypeDetailsInput.md +4 -0
  32. data/docs/TargetUpdateGemini.md +42 -0
  33. data/docs/TargetUpdateOpenAI.md +46 -0
  34. data/docs/UpdateRole.md +2 -0
  35. data/docs/V2Api.md +315 -0
  36. data/lib/akeyless/api/v2_api.rb +320 -0
  37. data/lib/akeyless/models/auth.rb +21 -1
  38. data/lib/akeyless/models/auth_output.rb +10 -1
  39. data/lib/akeyless/models/azure_log_analytics_forwarding_config.rb +10 -1
  40. data/lib/akeyless/models/certificate_template_info.rb +10 -1
  41. data/lib/akeyless/models/create_classic_key.rb +14 -2
  42. data/lib/akeyless/models/create_dfc_key.rb +14 -2
  43. data/lib/akeyless/models/create_key.rb +14 -2
  44. data/lib/akeyless/models/create_role.rb +11 -1
  45. data/lib/akeyless/models/gateway_create_allowed_access.rb +1 -1
  46. data/lib/akeyless/models/gateway_update_allowed_access.rb +1 -1
  47. data/lib/akeyless/models/gateway_update_log_forwarding_azure_analytics.rb +13 -1
  48. data/lib/akeyless/models/gateway_update_log_forwarding_splunk.rb +13 -1
  49. data/lib/akeyless/models/gemini_target_details.rb +233 -0
  50. data/lib/akeyless/models/generate_csr.rb +13 -1
  51. data/lib/akeyless/models/get_cert_challenge.rb +238 -0
  52. data/lib/akeyless/models/get_cert_challenge_output.rb +214 -0
  53. data/lib/akeyless/models/gw_update_remote_access_session_logs_azure_analytics.rb +13 -1
  54. data/lib/akeyless/models/gw_update_remote_access_session_logs_splunk.rb +13 -1
  55. data/lib/akeyless/models/open_ai_target_details.rb +251 -0
  56. data/lib/akeyless/models/path_rule.rb +11 -1
  57. data/lib/akeyless/models/reverse_rbac_client.rb +10 -1
  58. data/lib/akeyless/models/role_auth_method_association.rb +10 -1
  59. data/lib/akeyless/models/sharing_item_full_info.rb +11 -1
  60. data/lib/akeyless/models/splunk_log_forwarding_config.rb +10 -1
  61. data/lib/akeyless/models/static_secret_sync.rb +11 -1
  62. data/lib/akeyless/models/target_create_gemini.rb +317 -0
  63. data/lib/akeyless/models/target_create_open_ai.rb +337 -0
  64. data/lib/akeyless/models/target_item_association.rb +10 -1
  65. data/lib/akeyless/models/target_type_details_input.rb +19 -1
  66. data/lib/akeyless/models/target_update_gemini.rb +351 -0
  67. data/lib/akeyless/models/target_update_open_ai.rb +371 -0
  68. data/lib/akeyless/models/update_role.rb +11 -1
  69. data/lib/akeyless/version.rb +1 -1
  70. data/lib/akeyless.rb +8 -0
  71. data/spec/models/gemini_target_details_spec.rb +48 -0
  72. data/spec/models/get_cert_challenge_output_spec.rb +36 -0
  73. data/spec/models/get_cert_challenge_spec.rb +48 -0
  74. data/spec/models/open_ai_target_details_spec.rb +60 -0
  75. data/spec/models/target_create_gemini_spec.rb +90 -0
  76. data/spec/models/target_create_open_ai_spec.rb +102 -0
  77. data/spec/models/target_update_gemini_spec.rb +108 -0
  78. data/spec/models/target_update_open_ai_spec.rb +120 -0
  79. metadata +33 -1
@@ -0,0 +1,238 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 3.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ # GetCertChallenge is a command that gets a challenge for certificate authentication
18
+ class GetCertChallenge
19
+ # Access ID
20
+ attr_accessor :access_id
21
+
22
+ # Certificate data encoded in base64. Used if file was not provided.
23
+ attr_accessor :cert_data
24
+
25
+ # Set output format to JSON
26
+ attr_accessor :json
27
+
28
+ # Attribute mapping from ruby-style variable name to JSON key.
29
+ def self.attribute_map
30
+ {
31
+ :'access_id' => :'access-id',
32
+ :'cert_data' => :'cert-data',
33
+ :'json' => :'json'
34
+ }
35
+ end
36
+
37
+ # Returns all the JSON keys this model knows about
38
+ def self.acceptable_attributes
39
+ attribute_map.values
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.openapi_types
44
+ {
45
+ :'access_id' => :'String',
46
+ :'cert_data' => :'String',
47
+ :'json' => :'Boolean'
48
+ }
49
+ end
50
+
51
+ # List of attributes with nullable: true
52
+ def self.openapi_nullable
53
+ Set.new([
54
+ ])
55
+ end
56
+
57
+ # Initializes the object
58
+ # @param [Hash] attributes Model attributes in the form of hash
59
+ def initialize(attributes = {})
60
+ if (!attributes.is_a?(Hash))
61
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::GetCertChallenge` initialize method"
62
+ end
63
+
64
+ # check to see if the attribute exists and convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}) { |(k, v), h|
66
+ if (!self.class.attribute_map.key?(k.to_sym))
67
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::GetCertChallenge`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
68
+ end
69
+ h[k.to_sym] = v
70
+ }
71
+
72
+ if attributes.key?(:'access_id')
73
+ self.access_id = attributes[:'access_id']
74
+ end
75
+
76
+ if attributes.key?(:'cert_data')
77
+ self.cert_data = attributes[:'cert_data']
78
+ end
79
+
80
+ if attributes.key?(:'json')
81
+ self.json = attributes[:'json']
82
+ else
83
+ self.json = false
84
+ end
85
+ end
86
+
87
+ # Show invalid properties with the reasons. Usually used together with valid?
88
+ # @return Array for valid properties with the reasons
89
+ def list_invalid_properties
90
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
91
+ invalid_properties = Array.new
92
+ invalid_properties
93
+ end
94
+
95
+ # Check to see if the all the properties in the model are valid
96
+ # @return true if the model is valid
97
+ def valid?
98
+ warn '[DEPRECATED] the `valid?` method is obsolete'
99
+ true
100
+ end
101
+
102
+ # Checks equality by comparing each attribute.
103
+ # @param [Object] Object to be compared
104
+ def ==(o)
105
+ return true if self.equal?(o)
106
+ self.class == o.class &&
107
+ access_id == o.access_id &&
108
+ cert_data == o.cert_data &&
109
+ json == o.json
110
+ end
111
+
112
+ # @see the `==` method
113
+ # @param [Object] Object to be compared
114
+ def eql?(o)
115
+ self == o
116
+ end
117
+
118
+ # Calculates hash code according to all attributes.
119
+ # @return [Integer] Hash code
120
+ def hash
121
+ [access_id, cert_data, json].hash
122
+ end
123
+
124
+ # Builds the object from hash
125
+ # @param [Hash] attributes Model attributes in the form of hash
126
+ # @return [Object] Returns the model itself
127
+ def self.build_from_hash(attributes)
128
+ return nil unless attributes.is_a?(Hash)
129
+ attributes = attributes.transform_keys(&:to_sym)
130
+ transformed_hash = {}
131
+ openapi_types.each_pair do |key, type|
132
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
133
+ transformed_hash["#{key}"] = nil
134
+ elsif type =~ /\AArray<(.*)>/i
135
+ # check to ensure the input is an array given that the attribute
136
+ # is documented as an array but the input is not
137
+ if attributes[attribute_map[key]].is_a?(Array)
138
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
139
+ end
140
+ elsif !attributes[attribute_map[key]].nil?
141
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
142
+ end
143
+ end
144
+ new(transformed_hash)
145
+ end
146
+
147
+ # Deserializes the data based on type
148
+ # @param string type Data type
149
+ # @param string value Value to be deserialized
150
+ # @return [Object] Deserialized data
151
+ def self._deserialize(type, value)
152
+ case type.to_sym
153
+ when :Time
154
+ Time.parse(value)
155
+ when :Date
156
+ Date.parse(value)
157
+ when :String
158
+ value.to_s
159
+ when :Integer
160
+ value.to_i
161
+ when :Float
162
+ value.to_f
163
+ when :Boolean
164
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
165
+ true
166
+ else
167
+ false
168
+ end
169
+ when :Object
170
+ # generic object (usually a Hash), return directly
171
+ value
172
+ when /\AArray<(?<inner_type>.+)>\z/
173
+ inner_type = Regexp.last_match[:inner_type]
174
+ value.map { |v| _deserialize(inner_type, v) }
175
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
176
+ k_type = Regexp.last_match[:k_type]
177
+ v_type = Regexp.last_match[:v_type]
178
+ {}.tap do |hash|
179
+ value.each do |k, v|
180
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
181
+ end
182
+ end
183
+ else # model
184
+ # models (e.g. Pet) or oneOf
185
+ klass = Akeyless.const_get(type)
186
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
187
+ end
188
+ end
189
+
190
+ # Returns the string representation of the object
191
+ # @return [String] String presentation of the object
192
+ def to_s
193
+ to_hash.to_s
194
+ end
195
+
196
+ # to_body is an alias to to_hash (backward compatibility)
197
+ # @return [Hash] Returns the object in the form of hash
198
+ def to_body
199
+ to_hash
200
+ end
201
+
202
+ # Returns the object in the form of hash
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_hash
205
+ hash = {}
206
+ self.class.attribute_map.each_pair do |attr, param|
207
+ value = self.send(attr)
208
+ if value.nil?
209
+ is_nullable = self.class.openapi_nullable.include?(attr)
210
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
211
+ end
212
+
213
+ hash[param] = _to_hash(value)
214
+ end
215
+ hash
216
+ end
217
+
218
+ # Outputs non-array value in the form of hash
219
+ # For object, use to_hash. Otherwise, just return the value
220
+ # @param [Object] value Any valid value
221
+ # @return [Hash] Returns the value in the form of hash
222
+ def _to_hash(value)
223
+ if value.is_a?(Array)
224
+ value.compact.map { |v| _to_hash(v) }
225
+ elsif value.is_a?(Hash)
226
+ {}.tap do |hash|
227
+ value.each { |k, v| hash[k] = _to_hash(v) }
228
+ end
229
+ elsif value.respond_to? :to_hash
230
+ value.to_hash
231
+ else
232
+ value
233
+ end
234
+ end
235
+
236
+ end
237
+
238
+ end
@@ -0,0 +1,214 @@
1
+ =begin
2
+ #Akeyless API
3
+
4
+ #The purpose of this application is to provide access to Akeyless API.
5
+
6
+ The version of the OpenAPI document: 3.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class GetCertChallengeOutput
18
+ attr_accessor :challenge
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'challenge' => :'challenge'
24
+ }
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'challenge' => :'String'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::GetCertChallengeOutput` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::GetCertChallengeOutput`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'challenge')
61
+ self.challenge = attributes[:'challenge']
62
+ end
63
+ end
64
+
65
+ # Show invalid properties with the reasons. Usually used together with valid?
66
+ # @return Array for valid properties with the reasons
67
+ def list_invalid_properties
68
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
69
+ invalid_properties = Array.new
70
+ invalid_properties
71
+ end
72
+
73
+ # Check to see if the all the properties in the model are valid
74
+ # @return true if the model is valid
75
+ def valid?
76
+ warn '[DEPRECATED] the `valid?` method is obsolete'
77
+ true
78
+ end
79
+
80
+ # Checks equality by comparing each attribute.
81
+ # @param [Object] Object to be compared
82
+ def ==(o)
83
+ return true if self.equal?(o)
84
+ self.class == o.class &&
85
+ challenge == o.challenge
86
+ end
87
+
88
+ # @see the `==` method
89
+ # @param [Object] Object to be compared
90
+ def eql?(o)
91
+ self == o
92
+ end
93
+
94
+ # Calculates hash code according to all attributes.
95
+ # @return [Integer] Hash code
96
+ def hash
97
+ [challenge].hash
98
+ end
99
+
100
+ # Builds the object from hash
101
+ # @param [Hash] attributes Model attributes in the form of hash
102
+ # @return [Object] Returns the model itself
103
+ def self.build_from_hash(attributes)
104
+ return nil unless attributes.is_a?(Hash)
105
+ attributes = attributes.transform_keys(&:to_sym)
106
+ transformed_hash = {}
107
+ openapi_types.each_pair do |key, type|
108
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
109
+ transformed_hash["#{key}"] = nil
110
+ elsif type =~ /\AArray<(.*)>/i
111
+ # check to ensure the input is an array given that the attribute
112
+ # is documented as an array but the input is not
113
+ if attributes[attribute_map[key]].is_a?(Array)
114
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
115
+ end
116
+ elsif !attributes[attribute_map[key]].nil?
117
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
118
+ end
119
+ end
120
+ new(transformed_hash)
121
+ end
122
+
123
+ # Deserializes the data based on type
124
+ # @param string type Data type
125
+ # @param string value Value to be deserialized
126
+ # @return [Object] Deserialized data
127
+ def self._deserialize(type, value)
128
+ case type.to_sym
129
+ when :Time
130
+ Time.parse(value)
131
+ when :Date
132
+ Date.parse(value)
133
+ when :String
134
+ value.to_s
135
+ when :Integer
136
+ value.to_i
137
+ when :Float
138
+ value.to_f
139
+ when :Boolean
140
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
141
+ true
142
+ else
143
+ false
144
+ end
145
+ when :Object
146
+ # generic object (usually a Hash), return directly
147
+ value
148
+ when /\AArray<(?<inner_type>.+)>\z/
149
+ inner_type = Regexp.last_match[:inner_type]
150
+ value.map { |v| _deserialize(inner_type, v) }
151
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
152
+ k_type = Regexp.last_match[:k_type]
153
+ v_type = Regexp.last_match[:v_type]
154
+ {}.tap do |hash|
155
+ value.each do |k, v|
156
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
157
+ end
158
+ end
159
+ else # model
160
+ # models (e.g. Pet) or oneOf
161
+ klass = Akeyless.const_get(type)
162
+ klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
163
+ end
164
+ end
165
+
166
+ # Returns the string representation of the object
167
+ # @return [String] String presentation of the object
168
+ def to_s
169
+ to_hash.to_s
170
+ end
171
+
172
+ # to_body is an alias to to_hash (backward compatibility)
173
+ # @return [Hash] Returns the object in the form of hash
174
+ def to_body
175
+ to_hash
176
+ end
177
+
178
+ # Returns the object in the form of hash
179
+ # @return [Hash] Returns the object in the form of hash
180
+ def to_hash
181
+ hash = {}
182
+ self.class.attribute_map.each_pair do |attr, param|
183
+ value = self.send(attr)
184
+ if value.nil?
185
+ is_nullable = self.class.openapi_nullable.include?(attr)
186
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
187
+ end
188
+
189
+ hash[param] = _to_hash(value)
190
+ end
191
+ hash
192
+ end
193
+
194
+ # Outputs non-array value in the form of hash
195
+ # For object, use to_hash. Otherwise, just return the value
196
+ # @param [Object] value Any valid value
197
+ # @return [Hash] Returns the value in the form of hash
198
+ def _to_hash(value)
199
+ if value.is_a?(Array)
200
+ value.compact.map { |v| _to_hash(v) }
201
+ elsif value.is_a?(Hash)
202
+ {}.tap do |hash|
203
+ value.each { |k, v| hash[k] = _to_hash(v) }
204
+ end
205
+ elsif value.respond_to? :to_hash
206
+ value.to_hash
207
+ else
208
+ value
209
+ end
210
+ end
211
+
212
+ end
213
+
214
+ end
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # Enable Log Forwarding [true/false]
20
20
  attr_accessor :enable
21
21
 
22
+ # Enable batch forwarding [true/false]
23
+ attr_accessor :enable_batch
24
+
22
25
  # Set output format to JSON
23
26
  attr_accessor :json
24
27
 
@@ -44,6 +47,7 @@ module Akeyless
44
47
  def self.attribute_map
45
48
  {
46
49
  :'enable' => :'enable',
50
+ :'enable_batch' => :'enable-batch',
47
51
  :'json' => :'json',
48
52
  :'output_format' => :'output-format',
49
53
  :'pull_interval' => :'pull-interval',
@@ -63,6 +67,7 @@ module Akeyless
63
67
  def self.openapi_types
64
68
  {
65
69
  :'enable' => :'String',
70
+ :'enable_batch' => :'String',
66
71
  :'json' => :'Boolean',
67
72
  :'output_format' => :'String',
68
73
  :'pull_interval' => :'String',
@@ -100,6 +105,12 @@ module Akeyless
100
105
  self.enable = 'true'
101
106
  end
102
107
 
108
+ if attributes.key?(:'enable_batch')
109
+ self.enable_batch = attributes[:'enable_batch']
110
+ else
111
+ self.enable_batch = 'true'
112
+ end
113
+
103
114
  if attributes.key?(:'json')
104
115
  self.json = attributes[:'json']
105
116
  else
@@ -156,6 +167,7 @@ module Akeyless
156
167
  return true if self.equal?(o)
157
168
  self.class == o.class &&
158
169
  enable == o.enable &&
170
+ enable_batch == o.enable_batch &&
159
171
  json == o.json &&
160
172
  output_format == o.output_format &&
161
173
  pull_interval == o.pull_interval &&
@@ -174,7 +186,7 @@ module Akeyless
174
186
  # Calculates hash code according to all attributes.
175
187
  # @return [Integer] Hash code
176
188
  def hash
177
- [enable, json, output_format, pull_interval, token, uid_token, workspace_id, workspace_key].hash
189
+ [enable, enable_batch, json, output_format, pull_interval, token, uid_token, workspace_id, workspace_key].hash
178
190
  end
179
191
 
180
192
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # Enable Log Forwarding [true/false]
20
20
  attr_accessor :enable
21
21
 
22
+ # Enable batch forwarding [true/false]
23
+ attr_accessor :enable_batch
24
+
22
25
  # Enable tls
23
26
  attr_accessor :enable_tls
24
27
 
@@ -59,6 +62,7 @@ module Akeyless
59
62
  def self.attribute_map
60
63
  {
61
64
  :'enable' => :'enable',
65
+ :'enable_batch' => :'enable-batch',
62
66
  :'enable_tls' => :'enable-tls',
63
67
  :'index' => :'index',
64
68
  :'json' => :'json',
@@ -83,6 +87,7 @@ module Akeyless
83
87
  def self.openapi_types
84
88
  {
85
89
  :'enable' => :'String',
90
+ :'enable_batch' => :'String',
86
91
  :'enable_tls' => :'Boolean',
87
92
  :'index' => :'String',
88
93
  :'json' => :'Boolean',
@@ -125,6 +130,12 @@ module Akeyless
125
130
  self.enable = 'true'
126
131
  end
127
132
 
133
+ if attributes.key?(:'enable_batch')
134
+ self.enable_batch = attributes[:'enable_batch']
135
+ else
136
+ self.enable_batch = 'true'
137
+ end
138
+
128
139
  if attributes.key?(:'enable_tls')
129
140
  self.enable_tls = attributes[:'enable_tls']
130
141
  end
@@ -207,6 +218,7 @@ module Akeyless
207
218
  return true if self.equal?(o)
208
219
  self.class == o.class &&
209
220
  enable == o.enable &&
221
+ enable_batch == o.enable_batch &&
210
222
  enable_tls == o.enable_tls &&
211
223
  index == o.index &&
212
224
  json == o.json &&
@@ -230,7 +242,7 @@ module Akeyless
230
242
  # Calculates hash code according to all attributes.
231
243
  # @return [Integer] Hash code
232
244
  def hash
233
- [enable, enable_tls, index, json, output_format, pull_interval, source, source_type, splunk_token, splunk_url, tls_certificate, token, uid_token].hash
245
+ [enable, enable_batch, enable_tls, index, json, output_format, pull_interval, source, source_type, splunk_token, splunk_url, tls_certificate, token, uid_token].hash
234
246
  end
235
247
 
236
248
  # Builds the object from hash