akeyless 3.3.8 → 3.3.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -1
  3. data/docs/AccountGeneralSettings.md +6 -0
  4. data/docs/CertificateChainInfo.md +2 -0
  5. data/docs/CreateRotatedSecret.md +2 -0
  6. data/docs/CreateSecret.md +8 -8
  7. data/docs/DSProducerDetails.md +2 -0
  8. data/docs/ElasticsearchLogForwardingConfig.md +4 -0
  9. data/docs/GatewayCreateProducerLdap.md +2 -0
  10. data/docs/GatewayUpdateProducerLdap.md +2 -0
  11. data/docs/GetRotatedSecretValue.md +2 -0
  12. data/docs/LogForwardingConfigPart.md +2 -0
  13. data/docs/LogstashLogForwardingConfig.md +5 -1
  14. data/docs/RotatedSecretDetailsInfo.md +3 -1
  15. data/docs/SplunkLogForwardingConfig.md +4 -0
  16. data/docs/SumologicLogForwardingConfig.md +22 -0
  17. data/docs/SyslogLogForwardingConfig.md +5 -1
  18. data/docs/TargetTypeDetailsInput.md +1 -1
  19. data/docs/UpdateAccountSettings.md +4 -0
  20. data/docs/UpdateCertificateValue.md +10 -0
  21. data/docs/UpdateRotatedSecret.md +2 -0
  22. data/docs/UpdateSecretVal.md +8 -8
  23. data/lib/akeyless/models/account_general_settings.rb +30 -1
  24. data/lib/akeyless/models/certificate_chain_info.rb +10 -1
  25. data/lib/akeyless/models/create_rotated_secret.rb +11 -1
  26. data/lib/akeyless/models/create_secret.rb +41 -41
  27. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  28. data/lib/akeyless/models/elasticsearch_log_forwarding_config.rb +19 -1
  29. data/lib/akeyless/models/gateway_create_producer_ldap.rb +11 -1
  30. data/lib/akeyless/models/gateway_update_producer_ldap.rb +11 -1
  31. data/lib/akeyless/models/get_rotated_secret_value.rb +11 -1
  32. data/lib/akeyless/models/log_forwarding_config_part.rb +10 -1
  33. data/lib/akeyless/models/logstash_log_forwarding_config.rb +22 -4
  34. data/lib/akeyless/models/rotated_secret_details_info.rb +13 -4
  35. data/lib/akeyless/models/splunk_log_forwarding_config.rb +19 -1
  36. data/lib/akeyless/models/sumologic_log_forwarding_config.rb +237 -0
  37. data/lib/akeyless/models/syslog_log_forwarding_config.rb +22 -4
  38. data/lib/akeyless/models/target_type_details_input.rb +1 -0
  39. data/lib/akeyless/models/update_account_settings.rb +21 -1
  40. data/lib/akeyless/models/update_certificate_value.rb +55 -1
  41. data/lib/akeyless/models/update_rotated_secret.rb +11 -1
  42. data/lib/akeyless/models/update_secret_val.rb +41 -41
  43. data/lib/akeyless/version.rb +1 -1
  44. data/lib/akeyless.rb +1 -0
  45. data/spec/models/sumologic_log_forwarding_config_spec.rb +46 -0
  46. metadata +624 -620
@@ -17,13 +17,19 @@ module Akeyless
17
17
  class LogstashLogForwardingConfig
18
18
  attr_accessor :logstash_dns
19
19
 
20
+ attr_accessor :logstash_enable_tls
21
+
20
22
  attr_accessor :logstash_protocol
21
23
 
24
+ attr_accessor :logstash_tls_certificate
25
+
22
26
  # Attribute mapping from ruby-style variable name to JSON key.
23
27
  def self.attribute_map
24
28
  {
25
29
  :'logstash_dns' => :'logstash_dns',
26
- :'logstash_protocol' => :'logstash_protocol'
30
+ :'logstash_enable_tls' => :'logstash_enable_tls',
31
+ :'logstash_protocol' => :'logstash_protocol',
32
+ :'logstash_tls_certificate' => :'logstash_tls_certificate'
27
33
  }
28
34
  end
29
35
 
@@ -36,7 +42,9 @@ module Akeyless
36
42
  def self.openapi_types
37
43
  {
38
44
  :'logstash_dns' => :'String',
39
- :'logstash_protocol' => :'String'
45
+ :'logstash_enable_tls' => :'Boolean',
46
+ :'logstash_protocol' => :'String',
47
+ :'logstash_tls_certificate' => :'String'
40
48
  }
41
49
  end
42
50
 
@@ -65,9 +73,17 @@ module Akeyless
65
73
  self.logstash_dns = attributes[:'logstash_dns']
66
74
  end
67
75
 
76
+ if attributes.key?(:'logstash_enable_tls')
77
+ self.logstash_enable_tls = attributes[:'logstash_enable_tls']
78
+ end
79
+
68
80
  if attributes.key?(:'logstash_protocol')
69
81
  self.logstash_protocol = attributes[:'logstash_protocol']
70
82
  end
83
+
84
+ if attributes.key?(:'logstash_tls_certificate')
85
+ self.logstash_tls_certificate = attributes[:'logstash_tls_certificate']
86
+ end
71
87
  end
72
88
 
73
89
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -89,7 +105,9 @@ module Akeyless
89
105
  return true if self.equal?(o)
90
106
  self.class == o.class &&
91
107
  logstash_dns == o.logstash_dns &&
92
- logstash_protocol == o.logstash_protocol
108
+ logstash_enable_tls == o.logstash_enable_tls &&
109
+ logstash_protocol == o.logstash_protocol &&
110
+ logstash_tls_certificate == o.logstash_tls_certificate
93
111
  end
94
112
 
95
113
  # @see the `==` method
@@ -101,7 +119,7 @@ module Akeyless
101
119
  # Calculates hash code according to all attributes.
102
120
  # @return [Integer] Hash code
103
121
  def hash
104
- [logstash_dns, logstash_protocol].hash
122
+ [logstash_dns, logstash_enable_tls, logstash_protocol, logstash_tls_certificate].hash
105
123
  end
106
124
 
107
125
  # Builds the object from hash
@@ -37,6 +37,8 @@ module Akeyless
37
37
 
38
38
  attr_accessor :rotator_type
39
39
 
40
+ attr_accessor :same_password
41
+
40
42
  # Attribute mapping from ruby-style variable name to JSON key.
41
43
  def self.attribute_map
42
44
  {
@@ -49,7 +51,8 @@ module Akeyless
49
51
  :'rotation_statement' => :'rotation_statement',
50
52
  :'rotator_creds_type' => :'rotator_creds_type',
51
53
  :'rotator_status' => :'rotator_status',
52
- :'rotator_type' => :'rotator_type'
54
+ :'rotator_type' => :'rotator_type',
55
+ :'same_password' => :'same_password'
53
56
  }
54
57
  end
55
58
 
@@ -70,7 +73,8 @@ module Akeyless
70
73
  :'rotation_statement' => :'String',
71
74
  :'rotator_creds_type' => :'String',
72
75
  :'rotator_status' => :'String',
73
- :'rotator_type' => :'String'
76
+ :'rotator_type' => :'String',
77
+ :'same_password' => :'Boolean'
74
78
  }
75
79
  end
76
80
 
@@ -134,6 +138,10 @@ module Akeyless
134
138
  if attributes.key?(:'rotator_type')
135
139
  self.rotator_type = attributes[:'rotator_type']
136
140
  end
141
+
142
+ if attributes.key?(:'same_password')
143
+ self.same_password = attributes[:'same_password']
144
+ end
137
145
  end
138
146
 
139
147
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -163,7 +171,8 @@ module Akeyless
163
171
  rotation_statement == o.rotation_statement &&
164
172
  rotator_creds_type == o.rotator_creds_type &&
165
173
  rotator_status == o.rotator_status &&
166
- rotator_type == o.rotator_type
174
+ rotator_type == o.rotator_type &&
175
+ same_password == o.same_password
167
176
  end
168
177
 
169
178
  # @see the `==` method
@@ -175,7 +184,7 @@ module Akeyless
175
184
  # Calculates hash code according to all attributes.
176
185
  # @return [Integer] Hash code
177
186
  def hash
178
- [delete_previous_version_in_days, gw_cluster_id, last_rotation_error, number_of_versions_to_save, rotation_hour, rotation_interval_min, rotation_statement, rotator_creds_type, rotator_status, rotator_type].hash
187
+ [delete_previous_version_in_days, gw_cluster_id, last_rotation_error, number_of_versions_to_save, rotation_hour, rotation_interval_min, rotation_statement, rotator_creds_type, rotator_status, rotator_type, same_password].hash
179
188
  end
180
189
 
181
190
  # Builds the object from hash
@@ -15,12 +15,16 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class SplunkLogForwardingConfig
18
+ attr_accessor :splunk_enable_tls
19
+
18
20
  attr_accessor :splunk_index
19
21
 
20
22
  attr_accessor :splunk_source
21
23
 
22
24
  attr_accessor :splunk_sourcetype
23
25
 
26
+ attr_accessor :splunk_tls_certificate
27
+
24
28
  attr_accessor :splunk_token
25
29
 
26
30
  attr_accessor :splunk_url
@@ -28,9 +32,11 @@ module Akeyless
28
32
  # Attribute mapping from ruby-style variable name to JSON key.
29
33
  def self.attribute_map
30
34
  {
35
+ :'splunk_enable_tls' => :'splunk_enable_tls',
31
36
  :'splunk_index' => :'splunk_index',
32
37
  :'splunk_source' => :'splunk_source',
33
38
  :'splunk_sourcetype' => :'splunk_sourcetype',
39
+ :'splunk_tls_certificate' => :'splunk_tls_certificate',
34
40
  :'splunk_token' => :'splunk_token',
35
41
  :'splunk_url' => :'splunk_url'
36
42
  }
@@ -44,9 +50,11 @@ module Akeyless
44
50
  # Attribute type mapping.
45
51
  def self.openapi_types
46
52
  {
53
+ :'splunk_enable_tls' => :'Boolean',
47
54
  :'splunk_index' => :'String',
48
55
  :'splunk_source' => :'String',
49
56
  :'splunk_sourcetype' => :'String',
57
+ :'splunk_tls_certificate' => :'String',
50
58
  :'splunk_token' => :'String',
51
59
  :'splunk_url' => :'String'
52
60
  }
@@ -73,6 +81,10 @@ module Akeyless
73
81
  h[k.to_sym] = v
74
82
  }
75
83
 
84
+ if attributes.key?(:'splunk_enable_tls')
85
+ self.splunk_enable_tls = attributes[:'splunk_enable_tls']
86
+ end
87
+
76
88
  if attributes.key?(:'splunk_index')
77
89
  self.splunk_index = attributes[:'splunk_index']
78
90
  end
@@ -85,6 +97,10 @@ module Akeyless
85
97
  self.splunk_sourcetype = attributes[:'splunk_sourcetype']
86
98
  end
87
99
 
100
+ if attributes.key?(:'splunk_tls_certificate')
101
+ self.splunk_tls_certificate = attributes[:'splunk_tls_certificate']
102
+ end
103
+
88
104
  if attributes.key?(:'splunk_token')
89
105
  self.splunk_token = attributes[:'splunk_token']
90
106
  end
@@ -112,9 +128,11 @@ module Akeyless
112
128
  def ==(o)
113
129
  return true if self.equal?(o)
114
130
  self.class == o.class &&
131
+ splunk_enable_tls == o.splunk_enable_tls &&
115
132
  splunk_index == o.splunk_index &&
116
133
  splunk_source == o.splunk_source &&
117
134
  splunk_sourcetype == o.splunk_sourcetype &&
135
+ splunk_tls_certificate == o.splunk_tls_certificate &&
118
136
  splunk_token == o.splunk_token &&
119
137
  splunk_url == o.splunk_url
120
138
  end
@@ -128,7 +146,7 @@ module Akeyless
128
146
  # Calculates hash code according to all attributes.
129
147
  # @return [Integer] Hash code
130
148
  def hash
131
- [splunk_index, splunk_source, splunk_sourcetype, splunk_token, splunk_url].hash
149
+ [splunk_enable_tls, splunk_index, splunk_source, splunk_sourcetype, splunk_tls_certificate, splunk_token, splunk_url].hash
132
150
  end
133
151
 
134
152
  # Builds the object from hash
@@ -0,0 +1,237 @@
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: 2.0
7
+ Contact: support@akeyless.io
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 7.0.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Akeyless
17
+ class SumologicLogForwardingConfig
18
+ attr_accessor :sumo_logic_endpoint
19
+
20
+ attr_accessor :sumo_logic_host
21
+
22
+ attr_accessor :sumo_logic_tags
23
+
24
+ # Attribute mapping from ruby-style variable name to JSON key.
25
+ def self.attribute_map
26
+ {
27
+ :'sumo_logic_endpoint' => :'sumo_logic_endpoint',
28
+ :'sumo_logic_host' => :'sumo_logic_host',
29
+ :'sumo_logic_tags' => :'sumo_logic_tags'
30
+ }
31
+ end
32
+
33
+ # Returns all the JSON keys this model knows about
34
+ def self.acceptable_attributes
35
+ attribute_map.values
36
+ end
37
+
38
+ # Attribute type mapping.
39
+ def self.openapi_types
40
+ {
41
+ :'sumo_logic_endpoint' => :'String',
42
+ :'sumo_logic_host' => :'String',
43
+ :'sumo_logic_tags' => :'String'
44
+ }
45
+ end
46
+
47
+ # List of attributes with nullable: true
48
+ def self.openapi_nullable
49
+ Set.new([
50
+ ])
51
+ end
52
+
53
+ # Initializes the object
54
+ # @param [Hash] attributes Model attributes in the form of hash
55
+ def initialize(attributes = {})
56
+ if (!attributes.is_a?(Hash))
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Akeyless::SumologicLogForwardingConfig` initialize method"
58
+ end
59
+
60
+ # check to see if the attribute exists and convert string to symbol for hash key
61
+ attributes = attributes.each_with_object({}) { |(k, v), h|
62
+ if (!self.class.attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Akeyless::SumologicLogForwardingConfig`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
+ end
65
+ h[k.to_sym] = v
66
+ }
67
+
68
+ if attributes.key?(:'sumo_logic_endpoint')
69
+ self.sumo_logic_endpoint = attributes[:'sumo_logic_endpoint']
70
+ end
71
+
72
+ if attributes.key?(:'sumo_logic_host')
73
+ self.sumo_logic_host = attributes[:'sumo_logic_host']
74
+ end
75
+
76
+ if attributes.key?(:'sumo_logic_tags')
77
+ self.sumo_logic_tags = attributes[:'sumo_logic_tags']
78
+ end
79
+ end
80
+
81
+ # Show invalid properties with the reasons. Usually used together with valid?
82
+ # @return Array for valid properties with the reasons
83
+ def list_invalid_properties
84
+ invalid_properties = Array.new
85
+ invalid_properties
86
+ end
87
+
88
+ # Check to see if the all the properties in the model are valid
89
+ # @return true if the model is valid
90
+ def valid?
91
+ true
92
+ end
93
+
94
+ # Checks equality by comparing each attribute.
95
+ # @param [Object] Object to be compared
96
+ def ==(o)
97
+ return true if self.equal?(o)
98
+ self.class == o.class &&
99
+ sumo_logic_endpoint == o.sumo_logic_endpoint &&
100
+ sumo_logic_host == o.sumo_logic_host &&
101
+ sumo_logic_tags == o.sumo_logic_tags
102
+ end
103
+
104
+ # @see the `==` method
105
+ # @param [Object] Object to be compared
106
+ def eql?(o)
107
+ self == o
108
+ end
109
+
110
+ # Calculates hash code according to all attributes.
111
+ # @return [Integer] Hash code
112
+ def hash
113
+ [sumo_logic_endpoint, sumo_logic_host, sumo_logic_tags].hash
114
+ end
115
+
116
+ # Builds the object from hash
117
+ # @param [Hash] attributes Model attributes in the form of hash
118
+ # @return [Object] Returns the model itself
119
+ def self.build_from_hash(attributes)
120
+ new.build_from_hash(attributes)
121
+ end
122
+
123
+ # Builds the object from hash
124
+ # @param [Hash] attributes Model attributes in the form of hash
125
+ # @return [Object] Returns the model itself
126
+ def build_from_hash(attributes)
127
+ return nil unless attributes.is_a?(Hash)
128
+ attributes = attributes.transform_keys(&:to_sym)
129
+ self.class.openapi_types.each_pair do |key, type|
130
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
131
+ self.send("#{key}=", nil)
132
+ elsif type =~ /\AArray<(.*)>/i
133
+ # check to ensure the input is an array given that the attribute
134
+ # is documented as an array but the input is not
135
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
136
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
137
+ end
138
+ elsif !attributes[self.class.attribute_map[key]].nil?
139
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
140
+ end
141
+ end
142
+
143
+ self
144
+ end
145
+
146
+ # Deserializes the data based on type
147
+ # @param string type Data type
148
+ # @param string value Value to be deserialized
149
+ # @return [Object] Deserialized data
150
+ def _deserialize(type, value)
151
+ case type.to_sym
152
+ when :Time
153
+ Time.parse(value)
154
+ when :Date
155
+ Date.parse(value)
156
+ when :String
157
+ value.to_s
158
+ when :Integer
159
+ value.to_i
160
+ when :Float
161
+ value.to_f
162
+ when :Boolean
163
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
164
+ true
165
+ else
166
+ false
167
+ end
168
+ when :Object
169
+ # generic object (usually a Hash), return directly
170
+ value
171
+ when /\AArray<(?<inner_type>.+)>\z/
172
+ inner_type = Regexp.last_match[:inner_type]
173
+ value.map { |v| _deserialize(inner_type, v) }
174
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
175
+ k_type = Regexp.last_match[:k_type]
176
+ v_type = Regexp.last_match[:v_type]
177
+ {}.tap do |hash|
178
+ value.each do |k, v|
179
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
180
+ end
181
+ end
182
+ else # model
183
+ # models (e.g. Pet) or oneOf
184
+ klass = Akeyless.const_get(type)
185
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
186
+ end
187
+ end
188
+
189
+ # Returns the string representation of the object
190
+ # @return [String] String presentation of the object
191
+ def to_s
192
+ to_hash.to_s
193
+ end
194
+
195
+ # to_body is an alias to to_hash (backward compatibility)
196
+ # @return [Hash] Returns the object in the form of hash
197
+ def to_body
198
+ to_hash
199
+ end
200
+
201
+ # Returns the object in the form of hash
202
+ # @return [Hash] Returns the object in the form of hash
203
+ def to_hash
204
+ hash = {}
205
+ self.class.attribute_map.each_pair do |attr, param|
206
+ value = self.send(attr)
207
+ if value.nil?
208
+ is_nullable = self.class.openapi_nullable.include?(attr)
209
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
210
+ end
211
+
212
+ hash[param] = _to_hash(value)
213
+ end
214
+ hash
215
+ end
216
+
217
+ # Outputs non-array value in the form of hash
218
+ # For object, use to_hash. Otherwise, just return the value
219
+ # @param [Object] value Any valid value
220
+ # @return [Hash] Returns the value in the form of hash
221
+ def _to_hash(value)
222
+ if value.is_a?(Array)
223
+ value.compact.map { |v| _to_hash(v) }
224
+ elsif value.is_a?(Hash)
225
+ {}.tap do |hash|
226
+ value.each { |k, v| hash[k] = _to_hash(v) }
227
+ end
228
+ elsif value.respond_to? :to_hash
229
+ value.to_hash
230
+ else
231
+ value
232
+ end
233
+ end
234
+
235
+ end
236
+
237
+ end
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class SyslogLogForwardingConfig
18
+ attr_accessor :syslog_enable_tls
19
+
18
20
  attr_accessor :syslog_formatter
19
21
 
20
22
  attr_accessor :syslog_host
@@ -23,13 +25,17 @@ module Akeyless
23
25
 
24
26
  attr_accessor :syslog_target_tag
25
27
 
28
+ attr_accessor :syslog_tls_certificate
29
+
26
30
  # Attribute mapping from ruby-style variable name to JSON key.
27
31
  def self.attribute_map
28
32
  {
33
+ :'syslog_enable_tls' => :'syslog_enable_tls',
29
34
  :'syslog_formatter' => :'syslog_formatter',
30
35
  :'syslog_host' => :'syslog_host',
31
36
  :'syslog_network' => :'syslog_network',
32
- :'syslog_target_tag' => :'syslog_target_tag'
37
+ :'syslog_target_tag' => :'syslog_target_tag',
38
+ :'syslog_tls_certificate' => :'syslog_tls_certificate'
33
39
  }
34
40
  end
35
41
 
@@ -41,10 +47,12 @@ module Akeyless
41
47
  # Attribute type mapping.
42
48
  def self.openapi_types
43
49
  {
50
+ :'syslog_enable_tls' => :'Boolean',
44
51
  :'syslog_formatter' => :'String',
45
52
  :'syslog_host' => :'String',
46
53
  :'syslog_network' => :'String',
47
- :'syslog_target_tag' => :'String'
54
+ :'syslog_target_tag' => :'String',
55
+ :'syslog_tls_certificate' => :'String'
48
56
  }
49
57
  end
50
58
 
@@ -69,6 +77,10 @@ module Akeyless
69
77
  h[k.to_sym] = v
70
78
  }
71
79
 
80
+ if attributes.key?(:'syslog_enable_tls')
81
+ self.syslog_enable_tls = attributes[:'syslog_enable_tls']
82
+ end
83
+
72
84
  if attributes.key?(:'syslog_formatter')
73
85
  self.syslog_formatter = attributes[:'syslog_formatter']
74
86
  end
@@ -84,6 +96,10 @@ module Akeyless
84
96
  if attributes.key?(:'syslog_target_tag')
85
97
  self.syslog_target_tag = attributes[:'syslog_target_tag']
86
98
  end
99
+
100
+ if attributes.key?(:'syslog_tls_certificate')
101
+ self.syslog_tls_certificate = attributes[:'syslog_tls_certificate']
102
+ end
87
103
  end
88
104
 
89
105
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -104,10 +120,12 @@ module Akeyless
104
120
  def ==(o)
105
121
  return true if self.equal?(o)
106
122
  self.class == o.class &&
123
+ syslog_enable_tls == o.syslog_enable_tls &&
107
124
  syslog_formatter == o.syslog_formatter &&
108
125
  syslog_host == o.syslog_host &&
109
126
  syslog_network == o.syslog_network &&
110
- syslog_target_tag == o.syslog_target_tag
127
+ syslog_target_tag == o.syslog_target_tag &&
128
+ syslog_tls_certificate == o.syslog_tls_certificate
111
129
  end
112
130
 
113
131
  # @see the `==` method
@@ -119,7 +137,7 @@ module Akeyless
119
137
  # Calculates hash code according to all attributes.
120
138
  # @return [Integer] Hash code
121
139
  def hash
122
- [syslog_formatter, syslog_host, syslog_network, syslog_target_tag].hash
140
+ [syslog_enable_tls, syslog_formatter, syslog_host, syslog_network, syslog_target_tag, syslog_tls_certificate].hash
123
141
  end
124
142
 
125
143
  # Builds the object from hash
@@ -144,6 +144,7 @@ module Akeyless
144
144
 
145
145
  attr_accessor :hostname
146
146
 
147
+ # key hostname, value description
147
148
  attr_accessor :hosts
148
149
 
149
150
  attr_accessor :imap_fqdn
@@ -27,6 +27,9 @@ module Akeyless
27
27
  # Country
28
28
  attr_accessor :country
29
29
 
30
+ # Set the account default key based on the DFC key item name. Use \"set-original-akeyless-default-key\" to revert to using the original default key of the account. Empty string will change nothing.
31
+ attr_accessor :default_key_name
32
+
30
33
  # Set the default ttl in minutes for sharing item number between 60 and 43200
31
34
  attr_accessor :default_share_link_ttl_minutes
32
35
 
@@ -39,6 +42,9 @@ module Akeyless
39
42
  # VersionSettingsObjectType defines object types for account version settings
40
43
  attr_accessor :item_type
41
44
 
45
+ # Set or unset the default behaviour of items deletion protection [true/false]
46
+ attr_accessor :items_deletion_protection
47
+
42
48
  # Set output format to JSON
43
49
  attr_accessor :json
44
50
 
@@ -88,10 +94,12 @@ module Akeyless
88
94
  :'city' => :'city',
89
95
  :'company_name' => :'company-name',
90
96
  :'country' => :'country',
97
+ :'default_key_name' => :'default-key-name',
91
98
  :'default_share_link_ttl_minutes' => :'default-share-link-ttl-minutes',
92
99
  :'default_versioning' => :'default-versioning',
93
100
  :'dp_enable_classic_key_protection' => :'dp-enable-classic-key-protection',
94
101
  :'item_type' => :'item-type',
102
+ :'items_deletion_protection' => :'items-deletion-protection',
95
103
  :'json' => :'json',
96
104
  :'jwt_ttl_default' => :'jwt-ttl-default',
97
105
  :'jwt_ttl_max' => :'jwt-ttl-max',
@@ -121,10 +129,12 @@ module Akeyless
121
129
  :'city' => :'String',
122
130
  :'company_name' => :'String',
123
131
  :'country' => :'String',
132
+ :'default_key_name' => :'String',
124
133
  :'default_share_link_ttl_minutes' => :'String',
125
134
  :'default_versioning' => :'String',
126
135
  :'dp_enable_classic_key_protection' => :'String',
127
136
  :'item_type' => :'String',
137
+ :'items_deletion_protection' => :'String',
128
138
  :'json' => :'Boolean',
129
139
  :'jwt_ttl_default' => :'Integer',
130
140
  :'jwt_ttl_max' => :'Integer',
@@ -179,6 +189,10 @@ module Akeyless
179
189
  self.country = attributes[:'country']
180
190
  end
181
191
 
192
+ if attributes.key?(:'default_key_name')
193
+ self.default_key_name = attributes[:'default_key_name']
194
+ end
195
+
182
196
  if attributes.key?(:'default_share_link_ttl_minutes')
183
197
  self.default_share_link_ttl_minutes = attributes[:'default_share_link_ttl_minutes']
184
198
  end
@@ -195,6 +209,10 @@ module Akeyless
195
209
  self.item_type = attributes[:'item_type']
196
210
  end
197
211
 
212
+ if attributes.key?(:'items_deletion_protection')
213
+ self.items_deletion_protection = attributes[:'items_deletion_protection']
214
+ end
215
+
198
216
  if attributes.key?(:'json')
199
217
  self.json = attributes[:'json']
200
218
  else
@@ -276,10 +294,12 @@ module Akeyless
276
294
  city == o.city &&
277
295
  company_name == o.company_name &&
278
296
  country == o.country &&
297
+ default_key_name == o.default_key_name &&
279
298
  default_share_link_ttl_minutes == o.default_share_link_ttl_minutes &&
280
299
  default_versioning == o.default_versioning &&
281
300
  dp_enable_classic_key_protection == o.dp_enable_classic_key_protection &&
282
301
  item_type == o.item_type &&
302
+ items_deletion_protection == o.items_deletion_protection &&
283
303
  json == o.json &&
284
304
  jwt_ttl_default == o.jwt_ttl_default &&
285
305
  jwt_ttl_max == o.jwt_ttl_max &&
@@ -305,7 +325,7 @@ module Akeyless
305
325
  # Calculates hash code according to all attributes.
306
326
  # @return [Integer] Hash code
307
327
  def hash
308
- [address, city, company_name, country, default_share_link_ttl_minutes, default_versioning, dp_enable_classic_key_protection, item_type, json, jwt_ttl_default, jwt_ttl_max, jwt_ttl_min, max_versions, password_length, phone, postal_code, token, uid_token, use_lower_letters, use_numbers, use_special_characters, use_capital_letters].hash
328
+ [address, city, company_name, country, default_key_name, default_share_link_ttl_minutes, default_versioning, dp_enable_classic_key_protection, item_type, items_deletion_protection, json, jwt_ttl_default, jwt_ttl_max, jwt_ttl_min, max_versions, password_length, phone, postal_code, token, uid_token, use_lower_letters, use_numbers, use_special_characters, use_capital_letters].hash
309
329
  end
310
330
 
311
331
  # Builds the object from hash