akeyless 5.0.22 → 5.0.24

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 (312) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -5
  3. data/docs/AccountGeneralSettings.md +4 -0
  4. data/docs/AgenticRule.md +20 -0
  5. data/docs/AgenticRules.md +20 -0
  6. data/docs/AuthMethodCreateUniversalIdentity.md +4 -0
  7. data/docs/AuthMethodUpdateUniversalIdentity.md +4 -0
  8. data/docs/AwsStorage.md +2 -0
  9. data/docs/CreateAuthMethodUniversalIdentity.md +4 -0
  10. data/docs/CreateRole.md +2 -0
  11. data/docs/CreateRotatedSecret.md +3 -1
  12. data/docs/CreateSecret.md +2 -0
  13. data/docs/CreateUSC.md +6 -2
  14. data/docs/DSProducerDetails.md +2 -0
  15. data/docs/DeleteRoleRule.md +1 -1
  16. data/docs/DescribePermissions.md +1 -1
  17. data/docs/DigiCertTargetDetails.md +42 -0
  18. data/docs/EsmListSecretsOutput.md +5 -1
  19. data/docs/GatewayCreateMigration.md +4 -0
  20. data/docs/GatewayMigrationCreateOutput.md +2 -0
  21. data/docs/GatewayUpdateMigration.md +4 -0
  22. data/docs/GatewayUpdateRemoteAccessRdpRecordings.md +2 -0
  23. data/docs/GeneralConfigPart.md +4 -0
  24. data/docs/GoogleTrustTargetDetails.md +42 -0
  25. data/docs/HashiPayload.md +5 -1
  26. data/docs/Item.md +2 -0
  27. data/docs/ItemGeneralInfo.md +2 -0
  28. data/docs/ItemLockingSetting.md +20 -0
  29. data/docs/ListItems.md +2 -0
  30. data/docs/LockItem.md +28 -0
  31. data/docs/LockTarget.md +28 -0
  32. data/docs/LockingInfo.md +24 -0
  33. data/docs/MigrationStatusReplyObj.md +2 -0
  34. data/docs/NetappStorage.md +30 -0
  35. data/docs/ReverseRBAC.md +1 -1
  36. data/docs/RotatedSecretCreateAws.md +3 -1
  37. data/docs/RotatedSecretCreateAzure.md +3 -1
  38. data/docs/RotatedSecretCreateCustom.md +3 -1
  39. data/docs/RotatedSecretCreateLdap.md +3 -1
  40. data/docs/RotatedSecretCreateMongodb.md +3 -1
  41. data/docs/RotatedSecretCreateMssql.md +3 -1
  42. data/docs/RotatedSecretCreateMysql.md +3 -1
  43. data/docs/RotatedSecretCreateOracledb.md +3 -1
  44. data/docs/RotatedSecretCreatePostgresql.md +3 -1
  45. data/docs/RotatedSecretCreateRedshift.md +3 -1
  46. data/docs/RotatedSecretCreateSsh.md +3 -1
  47. data/docs/RotatedSecretCreateWindows.md +3 -1
  48. data/docs/RotatedSecretUpdateAws.md +3 -1
  49. data/docs/RotatedSecretUpdateAzure.md +3 -1
  50. data/docs/RotatedSecretUpdateCustom.md +3 -1
  51. data/docs/RotatedSecretUpdateLdap.md +3 -1
  52. data/docs/RotatedSecretUpdateMongodb.md +3 -1
  53. data/docs/RotatedSecretUpdateMssql.md +3 -1
  54. data/docs/RotatedSecretUpdateMysql.md +3 -1
  55. data/docs/RotatedSecretUpdateOracledb.md +3 -1
  56. data/docs/RotatedSecretUpdatePostgresql.md +3 -1
  57. data/docs/RotatedSecretUpdateRedshift.md +3 -1
  58. data/docs/RotatedSecretUpdateSsh.md +3 -1
  59. data/docs/RotatedSecretUpdateWindows.md +3 -1
  60. data/docs/RuntimeAuthorityCommand.md +28 -0
  61. data/docs/SecretInfo.md +2 -0
  62. data/docs/SecureRemoteAccess.md +4 -0
  63. data/docs/SetDefaultProfile.md +20 -0
  64. data/docs/SetDefaultProfileOutput.md +18 -0
  65. data/docs/SetRoleRule.md +1 -1
  66. data/docs/SyncCounters.md +22 -0
  67. data/docs/SystemAccessCredentialsReplyObj.md +2 -0
  68. data/docs/Target.md +4 -0
  69. data/docs/TargetCreateArtifactory.md +2 -0
  70. data/docs/TargetCreateAws.md +2 -0
  71. data/docs/TargetCreateAzure.md +2 -0
  72. data/docs/TargetCreateDB.md +2 -0
  73. data/docs/TargetCreateDigiCert.md +52 -0
  74. data/docs/TargetCreateDockerhub.md +2 -0
  75. data/docs/TargetCreateEks.md +2 -0
  76. data/docs/TargetCreateGcp.md +2 -0
  77. data/docs/TargetCreateGemini.md +2 -0
  78. data/docs/TargetCreateGithub.md +2 -0
  79. data/docs/TargetCreateGitlab.md +2 -0
  80. data/docs/TargetCreateGke.md +2 -0
  81. data/docs/TargetCreateGlobalSign.md +2 -0
  82. data/docs/TargetCreateGlobalSignAtlas.md +2 -0
  83. data/docs/TargetCreateGodaddy.md +2 -0
  84. data/docs/TargetCreateGoogleTrust.md +52 -0
  85. data/docs/TargetCreateHashiVault.md +2 -0
  86. data/docs/TargetCreateK8s.md +2 -0
  87. data/docs/TargetCreateLdap.md +2 -0
  88. data/docs/TargetCreateLetsEncrypt.md +3 -1
  89. data/docs/TargetCreateLinked.md +2 -0
  90. data/docs/TargetCreateOpenAI.md +2 -0
  91. data/docs/TargetCreatePing.md +2 -0
  92. data/docs/TargetCreateRabbitMq.md +2 -0
  93. data/docs/TargetCreateSalesforce.md +2 -0
  94. data/docs/TargetCreateSectigo.md +2 -0
  95. data/docs/TargetCreateSplunk.md +5 -1
  96. data/docs/TargetCreateSsh.md +2 -0
  97. data/docs/TargetCreateWeb.md +2 -0
  98. data/docs/TargetCreateWindows.md +2 -0
  99. data/docs/TargetCreateZeroSSL.md +2 -0
  100. data/docs/TargetTypeDetailsInput.md +4 -0
  101. data/docs/TargetUpdateArtifactory.md +2 -0
  102. data/docs/TargetUpdateAws.md +2 -0
  103. data/docs/TargetUpdateAzure.md +2 -0
  104. data/docs/TargetUpdateDB.md +2 -0
  105. data/docs/TargetUpdateDigiCert.md +54 -0
  106. data/docs/TargetUpdateDockerhub.md +2 -0
  107. data/docs/TargetUpdateEks.md +2 -0
  108. data/docs/TargetUpdateGcp.md +2 -0
  109. data/docs/TargetUpdateGemini.md +2 -0
  110. data/docs/TargetUpdateGithub.md +2 -0
  111. data/docs/TargetUpdateGitlab.md +2 -0
  112. data/docs/TargetUpdateGke.md +2 -0
  113. data/docs/TargetUpdateGlobalSign.md +2 -0
  114. data/docs/TargetUpdateGlobalSignAtlas.md +2 -0
  115. data/docs/TargetUpdateGodaddy.md +2 -0
  116. data/docs/TargetUpdateGoogleTrust.md +56 -0
  117. data/docs/TargetUpdateHashiVault.md +2 -0
  118. data/docs/TargetUpdateK8s.md +2 -0
  119. data/docs/TargetUpdateLdap.md +2 -0
  120. data/docs/TargetUpdateLetsEncrypt.md +3 -1
  121. data/docs/TargetUpdateOpenAI.md +2 -0
  122. data/docs/TargetUpdatePing.md +2 -0
  123. data/docs/TargetUpdateRabbitMq.md +2 -0
  124. data/docs/TargetUpdateSalesforce.md +2 -0
  125. data/docs/TargetUpdateSectigo.md +2 -0
  126. data/docs/TargetUpdateSsh.md +2 -0
  127. data/docs/TargetUpdateWeb.md +2 -0
  128. data/docs/TargetUpdateWindows.md +2 -0
  129. data/docs/TargetUpdateZeroSSL.md +2 -0
  130. data/docs/UniversalIdentityAccessRules.md +4 -0
  131. data/docs/UnlockItem.md +24 -0
  132. data/docs/UnlockTarget.md +24 -0
  133. data/docs/UpdateAccountSettings.md +4 -0
  134. data/docs/UpdateAuthMethodUniversalIdentity.md +4 -0
  135. data/docs/UpdateItem.md +8 -2
  136. data/docs/UpdateRole.md +2 -0
  137. data/docs/UpdateRotatedSecret.md +3 -1
  138. data/docs/UpdateTarget.md +2 -0
  139. data/docs/UscCreate.md +2 -0
  140. data/docs/UscDelete.md +4 -0
  141. data/docs/UscGet.md +4 -0
  142. data/docs/UscList.md +4 -0
  143. data/docs/UscListSecretsOutput.md +5 -1
  144. data/docs/UscUpdate.md +4 -0
  145. data/docs/V2Api.md +572 -6
  146. data/docs/WebBastionRdpRecord.md +2 -0
  147. data/lib/akeyless/api/v2_api.rb +580 -4
  148. data/lib/akeyless/models/account_general_settings.rb +19 -1
  149. data/lib/akeyless/models/agentic_rule.rb +223 -0
  150. data/lib/akeyless/models/agentic_rules.rb +227 -0
  151. data/lib/akeyless/models/auth_method_create_universal_identity.rb +25 -1
  152. data/lib/akeyless/models/auth_method_update_universal_identity.rb +25 -1
  153. data/lib/akeyless/models/aws_storage.rb +10 -1
  154. data/lib/akeyless/models/create_auth_method_universal_identity.rb +25 -1
  155. data/lib/akeyless/models/create_role.rb +11 -1
  156. data/lib/akeyless/models/create_rotated_secret.rb +12 -4
  157. data/lib/akeyless/models/create_secret.rb +11 -1
  158. data/lib/akeyless/models/create_usc.rb +25 -5
  159. data/lib/akeyless/models/delete_role_rule.rb +1 -1
  160. data/lib/akeyless/models/describe_permissions.rb +1 -1
  161. data/lib/akeyless/models/digi_cert_target_details.rb +333 -0
  162. data/lib/akeyless/models/ds_producer_details.rb +10 -1
  163. data/lib/akeyless/models/esm_list_secrets_output.rb +24 -4
  164. data/lib/akeyless/models/gateway_create_migration.rb +21 -1
  165. data/lib/akeyless/models/gateway_migration_create_output.rb +10 -1
  166. data/lib/akeyless/models/gateway_update_migration.rb +21 -1
  167. data/lib/akeyless/models/gateway_update_remote_access_rdp_recordings.rb +11 -1
  168. data/lib/akeyless/models/general_config_part.rb +19 -1
  169. data/lib/akeyless/models/google_trust_target_details.rb +335 -0
  170. data/lib/akeyless/models/hashi_payload.rb +22 -4
  171. data/lib/akeyless/models/item.rb +10 -1
  172. data/lib/akeyless/models/item_general_info.rb +10 -1
  173. data/lib/akeyless/models/item_locking_setting.rb +223 -0
  174. data/lib/akeyless/models/list_items.rb +13 -1
  175. data/lib/akeyless/models/lock_item.rb +274 -0
  176. data/lib/akeyless/models/lock_target.rb +274 -0
  177. data/lib/akeyless/models/locking_info.rb +243 -0
  178. data/lib/akeyless/models/migration_status_reply_obj.rb +10 -1
  179. data/lib/akeyless/models/netapp_storage.rb +268 -0
  180. data/lib/akeyless/models/reverse_rbac.rb +1 -1
  181. data/lib/akeyless/models/rotated_secret_create_aws.rb +12 -4
  182. data/lib/akeyless/models/rotated_secret_create_azure.rb +12 -4
  183. data/lib/akeyless/models/rotated_secret_create_custom.rb +12 -4
  184. data/lib/akeyless/models/rotated_secret_create_ldap.rb +12 -4
  185. data/lib/akeyless/models/rotated_secret_create_mongodb.rb +12 -4
  186. data/lib/akeyless/models/rotated_secret_create_mssql.rb +12 -4
  187. data/lib/akeyless/models/rotated_secret_create_mysql.rb +12 -4
  188. data/lib/akeyless/models/rotated_secret_create_oracledb.rb +12 -4
  189. data/lib/akeyless/models/rotated_secret_create_postgresql.rb +12 -4
  190. data/lib/akeyless/models/rotated_secret_create_redshift.rb +12 -4
  191. data/lib/akeyless/models/rotated_secret_create_ssh.rb +12 -4
  192. data/lib/akeyless/models/rotated_secret_create_windows.rb +12 -4
  193. data/lib/akeyless/models/rotated_secret_update_aws.rb +12 -4
  194. data/lib/akeyless/models/rotated_secret_update_azure.rb +12 -4
  195. data/lib/akeyless/models/rotated_secret_update_custom.rb +12 -4
  196. data/lib/akeyless/models/rotated_secret_update_ldap.rb +12 -4
  197. data/lib/akeyless/models/rotated_secret_update_mongodb.rb +12 -4
  198. data/lib/akeyless/models/rotated_secret_update_mssql.rb +12 -4
  199. data/lib/akeyless/models/rotated_secret_update_mysql.rb +12 -4
  200. data/lib/akeyless/models/rotated_secret_update_oracledb.rb +12 -4
  201. data/lib/akeyless/models/rotated_secret_update_postgresql.rb +12 -4
  202. data/lib/akeyless/models/rotated_secret_update_redshift.rb +12 -4
  203. data/lib/akeyless/models/rotated_secret_update_ssh.rb +12 -4
  204. data/lib/akeyless/models/rotated_secret_update_windows.rb +12 -4
  205. data/lib/akeyless/models/runtime_authority_command.rb +288 -0
  206. data/lib/akeyless/models/secret_info.rb +10 -1
  207. data/lib/akeyless/models/secure_remote_access.rb +19 -1
  208. data/lib/akeyless/models/set_default_profile.rb +234 -0
  209. data/lib/akeyless/models/set_default_profile_output.rb +214 -0
  210. data/lib/akeyless/models/set_role_rule.rb +1 -1
  211. data/lib/akeyless/models/sync_counters.rb +233 -0
  212. data/lib/akeyless/models/system_access_credentials_reply_obj.rb +11 -1
  213. data/lib/akeyless/models/target.rb +19 -1
  214. data/lib/akeyless/models/target_create_artifactory.rb +11 -1
  215. data/lib/akeyless/models/target_create_aws.rb +11 -1
  216. data/lib/akeyless/models/target_create_azure.rb +11 -1
  217. data/lib/akeyless/models/target_create_db.rb +11 -1
  218. data/lib/akeyless/models/target_create_digi_cert.rb +408 -0
  219. data/lib/akeyless/models/target_create_dockerhub.rb +11 -1
  220. data/lib/akeyless/models/target_create_eks.rb +11 -1
  221. data/lib/akeyless/models/target_create_gcp.rb +11 -1
  222. data/lib/akeyless/models/target_create_gemini.rb +11 -1
  223. data/lib/akeyless/models/target_create_github.rb +11 -1
  224. data/lib/akeyless/models/target_create_gitlab.rb +11 -1
  225. data/lib/akeyless/models/target_create_gke.rb +11 -1
  226. data/lib/akeyless/models/target_create_global_sign.rb +11 -1
  227. data/lib/akeyless/models/target_create_global_sign_atlas.rb +11 -1
  228. data/lib/akeyless/models/target_create_godaddy.rb +11 -1
  229. data/lib/akeyless/models/target_create_google_trust.rb +408 -0
  230. data/lib/akeyless/models/target_create_hashi_vault.rb +11 -1
  231. data/lib/akeyless/models/target_create_k8s.rb +11 -1
  232. data/lib/akeyless/models/target_create_ldap.rb +11 -1
  233. data/lib/akeyless/models/target_create_lets_encrypt.rb +18 -1
  234. data/lib/akeyless/models/target_create_linked.rb +11 -1
  235. data/lib/akeyless/models/target_create_open_ai.rb +11 -1
  236. data/lib/akeyless/models/target_create_ping.rb +11 -1
  237. data/lib/akeyless/models/target_create_rabbit_mq.rb +11 -1
  238. data/lib/akeyless/models/target_create_salesforce.rb +11 -1
  239. data/lib/akeyless/models/target_create_sectigo.rb +11 -1
  240. data/lib/akeyless/models/target_create_splunk.rb +21 -1
  241. data/lib/akeyless/models/target_create_ssh.rb +11 -1
  242. data/lib/akeyless/models/target_create_web.rb +11 -1
  243. data/lib/akeyless/models/target_create_windows.rb +11 -1
  244. data/lib/akeyless/models/target_create_zero_ssl.rb +11 -1
  245. data/lib/akeyless/models/target_type_details_input.rb +19 -1
  246. data/lib/akeyless/models/target_update_artifactory.rb +11 -1
  247. data/lib/akeyless/models/target_update_aws.rb +11 -1
  248. data/lib/akeyless/models/target_update_azure.rb +11 -1
  249. data/lib/akeyless/models/target_update_db.rb +11 -1
  250. data/lib/akeyless/models/target_update_digi_cert.rb +418 -0
  251. data/lib/akeyless/models/target_update_dockerhub.rb +11 -1
  252. data/lib/akeyless/models/target_update_eks.rb +11 -1
  253. data/lib/akeyless/models/target_update_gcp.rb +11 -1
  254. data/lib/akeyless/models/target_update_gemini.rb +11 -1
  255. data/lib/akeyless/models/target_update_github.rb +11 -1
  256. data/lib/akeyless/models/target_update_gitlab.rb +11 -1
  257. data/lib/akeyless/models/target_update_gke.rb +11 -1
  258. data/lib/akeyless/models/target_update_global_sign.rb +11 -1
  259. data/lib/akeyless/models/target_update_global_sign_atlas.rb +11 -1
  260. data/lib/akeyless/models/target_update_godaddy.rb +11 -1
  261. data/lib/akeyless/models/target_update_google_trust.rb +428 -0
  262. data/lib/akeyless/models/target_update_hashi_vault.rb +11 -1
  263. data/lib/akeyless/models/target_update_k8s.rb +11 -1
  264. data/lib/akeyless/models/target_update_ldap.rb +11 -1
  265. data/lib/akeyless/models/target_update_lets_encrypt.rb +18 -1
  266. data/lib/akeyless/models/target_update_open_ai.rb +11 -1
  267. data/lib/akeyless/models/target_update_ping.rb +11 -1
  268. data/lib/akeyless/models/target_update_rabbit_mq.rb +11 -1
  269. data/lib/akeyless/models/target_update_salesforce.rb +11 -1
  270. data/lib/akeyless/models/target_update_sectigo.rb +11 -1
  271. data/lib/akeyless/models/target_update_ssh.rb +11 -1
  272. data/lib/akeyless/models/target_update_web.rb +11 -1
  273. data/lib/akeyless/models/target_update_windows.rb +11 -1
  274. data/lib/akeyless/models/target_update_zero_ssl.rb +11 -1
  275. data/lib/akeyless/models/universal_identity_access_rules.rb +19 -1
  276. data/lib/akeyless/models/unlock_item.rb +254 -0
  277. data/lib/akeyless/models/unlock_target.rb +254 -0
  278. data/lib/akeyless/models/update_account_settings.rb +21 -1
  279. data/lib/akeyless/models/update_auth_method_universal_identity.rb +25 -1
  280. data/lib/akeyless/models/update_item.rb +35 -7
  281. data/lib/akeyless/models/update_role.rb +11 -1
  282. data/lib/akeyless/models/update_rotated_secret.rb +12 -4
  283. data/lib/akeyless/models/update_target.rb +11 -1
  284. data/lib/akeyless/models/usc_create.rb +10 -1
  285. data/lib/akeyless/models/usc_delete.rb +20 -1
  286. data/lib/akeyless/models/usc_get.rb +20 -1
  287. data/lib/akeyless/models/usc_list.rb +21 -1
  288. data/lib/akeyless/models/usc_list_secrets_output.rb +24 -4
  289. data/lib/akeyless/models/usc_update.rb +20 -1
  290. data/lib/akeyless/models/web_bastion_rdp_record.rb +10 -1
  291. data/lib/akeyless/version.rb +1 -1
  292. data/lib/akeyless.rb +19 -0
  293. data/spec/models/agentic_rule_spec.rb +42 -0
  294. data/spec/models/agentic_rules_spec.rb +42 -0
  295. data/spec/models/digi_cert_target_details_spec.rb +108 -0
  296. data/spec/models/google_trust_target_details_spec.rb +108 -0
  297. data/spec/models/item_locking_setting_spec.rb +42 -0
  298. data/spec/models/lock_item_spec.rb +66 -0
  299. data/spec/models/lock_target_spec.rb +66 -0
  300. data/spec/models/locking_info_spec.rb +54 -0
  301. data/spec/models/netapp_storage_spec.rb +72 -0
  302. data/spec/models/runtime_authority_command_spec.rb +66 -0
  303. data/spec/models/set_default_profile_output_spec.rb +36 -0
  304. data/spec/models/set_default_profile_spec.rb +42 -0
  305. data/spec/models/sync_counters_spec.rb +48 -0
  306. data/spec/models/target_create_digi_cert_spec.rb +132 -0
  307. data/spec/models/target_create_google_trust_spec.rb +132 -0
  308. data/spec/models/target_update_digi_cert_spec.rb +144 -0
  309. data/spec/models/target_update_google_trust_spec.rb +144 -0
  310. data/spec/models/unlock_item_spec.rb +54 -0
  311. data/spec/models/unlock_target_spec.rb +54 -0
  312. metadata +1226 -1147
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetCreateHashiVault
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -48,6 +51,7 @@ module Akeyless
48
51
  # Attribute mapping from ruby-style variable name to JSON key.
49
52
  def self.attribute_map
50
53
  {
54
+ :'delete_protection' => :'delete_protection',
51
55
  :'description' => :'description',
52
56
  :'hashi_url' => :'hashi-url',
53
57
  :'json' => :'json',
@@ -69,6 +73,7 @@ module Akeyless
69
73
  # Attribute type mapping.
70
74
  def self.openapi_types
71
75
  {
76
+ :'delete_protection' => :'String',
72
77
  :'description' => :'String',
73
78
  :'hashi_url' => :'String',
74
79
  :'json' => :'Boolean',
@@ -103,6 +108,10 @@ module Akeyless
103
108
  h[k.to_sym] = v
104
109
  }
105
110
 
111
+ if attributes.key?(:'delete_protection')
112
+ self.delete_protection = attributes[:'delete_protection']
113
+ end
114
+
106
115
  if attributes.key?(:'description')
107
116
  self.description = attributes[:'description']
108
117
  end
@@ -175,6 +184,7 @@ module Akeyless
175
184
  def ==(o)
176
185
  return true if self.equal?(o)
177
186
  self.class == o.class &&
187
+ delete_protection == o.delete_protection &&
178
188
  description == o.description &&
179
189
  hashi_url == o.hashi_url &&
180
190
  json == o.json &&
@@ -196,7 +206,7 @@ module Akeyless
196
206
  # Calculates hash code according to all attributes.
197
207
  # @return [Integer] Hash code
198
208
  def hash
199
- [description, hashi_url, json, key, max_versions, name, namespace, token, uid_token, vault_token].hash
209
+ [delete_protection, description, hashi_url, json, key, max_versions, name, namespace, token, uid_token, vault_token].hash
200
210
  end
201
211
 
202
212
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetCreateK8s is a command that creates a new k8s target
18
18
  class TargetCreateK8s
19
+ # Protection from accidental deletion of this object [true/false]
20
+ attr_accessor :delete_protection
21
+
19
22
  # Description of the object
20
23
  attr_accessor :description
21
24
 
@@ -64,6 +67,7 @@ module Akeyless
64
67
  # Attribute mapping from ruby-style variable name to JSON key.
65
68
  def self.attribute_map
66
69
  {
70
+ :'delete_protection' => :'delete_protection',
67
71
  :'description' => :'description',
68
72
  :'json' => :'json',
69
73
  :'k8s_auth_type' => :'k8s-auth-type',
@@ -90,6 +94,7 @@ module Akeyless
90
94
  # Attribute type mapping.
91
95
  def self.openapi_types
92
96
  {
97
+ :'delete_protection' => :'String',
93
98
  :'description' => :'String',
94
99
  :'json' => :'Boolean',
95
100
  :'k8s_auth_type' => :'String',
@@ -129,6 +134,10 @@ module Akeyless
129
134
  h[k.to_sym] = v
130
135
  }
131
136
 
137
+ if attributes.key?(:'delete_protection')
138
+ self.delete_protection = attributes[:'delete_protection']
139
+ end
140
+
132
141
  if attributes.key?(:'description')
133
142
  self.description = attributes[:'description']
134
143
  end
@@ -221,6 +230,7 @@ module Akeyless
221
230
  def ==(o)
222
231
  return true if self.equal?(o)
223
232
  self.class == o.class &&
233
+ delete_protection == o.delete_protection &&
224
234
  description == o.description &&
225
235
  json == o.json &&
226
236
  k8s_auth_type == o.k8s_auth_type &&
@@ -247,7 +257,7 @@ module Akeyless
247
257
  # Calculates hash code according to all attributes.
248
258
  # @return [Integer] Hash code
249
259
  def hash
250
- [description, json, k8s_auth_type, k8s_client_certificate, k8s_client_key, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, key, max_versions, name, token, uid_token, use_gw_service_account].hash
260
+ [delete_protection, description, json, k8s_auth_type, k8s_client_certificate, k8s_client_key, k8s_cluster_ca_cert, k8s_cluster_endpoint, k8s_cluster_name, k8s_cluster_token, key, max_versions, name, token, uid_token, use_gw_service_account].hash
251
261
  end
252
262
 
253
263
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Bind DN Password
23
23
  attr_accessor :bind_dn_password
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -60,6 +63,7 @@ module Akeyless
60
63
  {
61
64
  :'bind_dn' => :'bind-dn',
62
65
  :'bind_dn_password' => :'bind-dn-password',
66
+ :'delete_protection' => :'delete_protection',
63
67
  :'description' => :'description',
64
68
  :'json' => :'json',
65
69
  :'key' => :'key',
@@ -84,6 +88,7 @@ module Akeyless
84
88
  {
85
89
  :'bind_dn' => :'String',
86
90
  :'bind_dn_password' => :'String',
91
+ :'delete_protection' => :'String',
87
92
  :'description' => :'String',
88
93
  :'json' => :'Boolean',
89
94
  :'key' => :'String',
@@ -131,6 +136,10 @@ module Akeyless
131
136
  self.bind_dn_password = nil
132
137
  end
133
138
 
139
+ if attributes.key?(:'delete_protection')
140
+ self.delete_protection = attributes[:'delete_protection']
141
+ end
142
+
134
143
  if attributes.key?(:'description')
135
144
  self.description = attributes[:'description']
136
145
  end
@@ -226,6 +235,7 @@ module Akeyless
226
235
  self.class == o.class &&
227
236
  bind_dn == o.bind_dn &&
228
237
  bind_dn_password == o.bind_dn_password &&
238
+ delete_protection == o.delete_protection &&
229
239
  description == o.description &&
230
240
  json == o.json &&
231
241
  key == o.key &&
@@ -248,7 +258,7 @@ module Akeyless
248
258
  # Calculates hash code according to all attributes.
249
259
  # @return [Integer] Hash code
250
260
  def hash
251
- [bind_dn, bind_dn_password, description, json, key, ldap_ca_cert, ldap_url, max_versions, name, server_type, token, token_expiration, uid_token].hash
261
+ [bind_dn, bind_dn_password, delete_protection, description, json, key, ldap_ca_cert, ldap_url, max_versions, name, server_type, token, token_expiration, uid_token].hash
252
262
  end
253
263
 
254
264
  # Builds the object from hash
@@ -18,6 +18,9 @@ module Akeyless
18
18
  class TargetCreateLetsEncrypt
19
19
  attr_accessor :acme_challenge
20
20
 
21
+ # Protection from accidental deletion of this object [true/false]
22
+ attr_accessor :delete_protection
23
+
21
24
  # Description of the object
22
25
  attr_accessor :description
23
26
 
@@ -62,6 +65,7 @@ module Akeyless
62
65
  def self.attribute_map
63
66
  {
64
67
  :'acme_challenge' => :'acme-challenge',
68
+ :'delete_protection' => :'delete_protection',
65
69
  :'description' => :'description',
66
70
  :'dns_target_creds' => :'dns-target-creds',
67
71
  :'email' => :'email',
@@ -88,6 +92,7 @@ module Akeyless
88
92
  def self.openapi_types
89
93
  {
90
94
  :'acme_challenge' => :'String',
95
+ :'delete_protection' => :'String',
91
96
  :'description' => :'String',
92
97
  :'dns_target_creds' => :'String',
93
98
  :'email' => :'String',
@@ -132,6 +137,10 @@ module Akeyless
132
137
  self.acme_challenge = 'http'
133
138
  end
134
139
 
140
+ if attributes.key?(:'delete_protection')
141
+ self.delete_protection = attributes[:'delete_protection']
142
+ end
143
+
135
144
  if attributes.key?(:'description')
136
145
  self.description = attributes[:'description']
137
146
  end
@@ -142,6 +151,8 @@ module Akeyless
142
151
 
143
152
  if attributes.key?(:'email')
144
153
  self.email = attributes[:'email']
154
+ else
155
+ self.email = nil
145
156
  end
146
157
 
147
158
  if attributes.key?(:'gcp_project')
@@ -202,6 +213,10 @@ module Akeyless
202
213
  def list_invalid_properties
203
214
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
204
215
  invalid_properties = Array.new
216
+ if @email.nil?
217
+ invalid_properties.push('invalid value for "email", email cannot be nil.')
218
+ end
219
+
205
220
  if @name.nil?
206
221
  invalid_properties.push('invalid value for "name", name cannot be nil.')
207
222
  end
@@ -213,6 +228,7 @@ module Akeyless
213
228
  # @return true if the model is valid
214
229
  def valid?
215
230
  warn '[DEPRECATED] the `valid?` method is obsolete'
231
+ return false if @email.nil?
216
232
  return false if @name.nil?
217
233
  true
218
234
  end
@@ -223,6 +239,7 @@ module Akeyless
223
239
  return true if self.equal?(o)
224
240
  self.class == o.class &&
225
241
  acme_challenge == o.acme_challenge &&
242
+ delete_protection == o.delete_protection &&
226
243
  description == o.description &&
227
244
  dns_target_creds == o.dns_target_creds &&
228
245
  email == o.email &&
@@ -248,7 +265,7 @@ module Akeyless
248
265
  # Calculates hash code according to all attributes.
249
266
  # @return [Integer] Hash code
250
267
  def hash
251
- [acme_challenge, description, dns_target_creds, email, gcp_project, hosted_zone, json, key, lets_encrypt_url, max_versions, name, resource_group, timeout, token, uid_token].hash
268
+ [acme_challenge, delete_protection, description, dns_target_creds, email, gcp_project, hosted_zone, json, key, lets_encrypt_url, max_versions, name, resource_group, timeout, token, uid_token].hash
252
269
  end
253
270
 
254
271
  # Builds the object from hash
@@ -15,6 +15,9 @@ require 'time'
15
15
 
16
16
  module Akeyless
17
17
  class TargetCreateLinked
18
+ # Protection from accidental deletion of this object [true/false]
19
+ attr_accessor :delete_protection
20
+
18
21
  # Description of the object
19
22
  attr_accessor :description
20
23
 
@@ -42,6 +45,7 @@ module Akeyless
42
45
  # Attribute mapping from ruby-style variable name to JSON key.
43
46
  def self.attribute_map
44
47
  {
48
+ :'delete_protection' => :'delete_protection',
45
49
  :'description' => :'description',
46
50
  :'hosts' => :'hosts',
47
51
  :'json' => :'json',
@@ -61,6 +65,7 @@ module Akeyless
61
65
  # Attribute type mapping.
62
66
  def self.openapi_types
63
67
  {
68
+ :'delete_protection' => :'String',
64
69
  :'description' => :'String',
65
70
  :'hosts' => :'String',
66
71
  :'json' => :'Boolean',
@@ -93,6 +98,10 @@ module Akeyless
93
98
  h[k.to_sym] = v
94
99
  }
95
100
 
101
+ if attributes.key?(:'delete_protection')
102
+ self.delete_protection = attributes[:'delete_protection']
103
+ end
104
+
96
105
  if attributes.key?(:'description')
97
106
  self.description = attributes[:'description']
98
107
  end
@@ -155,6 +164,7 @@ module Akeyless
155
164
  def ==(o)
156
165
  return true if self.equal?(o)
157
166
  self.class == o.class &&
167
+ delete_protection == o.delete_protection &&
158
168
  description == o.description &&
159
169
  hosts == o.hosts &&
160
170
  json == o.json &&
@@ -174,7 +184,7 @@ module Akeyless
174
184
  # Calculates hash code according to all attributes.
175
185
  # @return [Integer] Hash code
176
186
  def hash
177
- [description, hosts, json, name, parent_target_name, token, type, uid_token].hash
187
+ [delete_protection, description, hosts, json, name, parent_target_name, token, type, uid_token].hash
178
188
  end
179
189
 
180
190
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # API key ID
23
23
  attr_accessor :api_key_id
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  {
58
61
  :'api_key' => :'api-key',
59
62
  :'api_key_id' => :'api-key-id',
63
+ :'delete_protection' => :'delete_protection',
60
64
  :'description' => :'description',
61
65
  :'json' => :'json',
62
66
  :'key' => :'key',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  {
81
85
  :'api_key' => :'String',
82
86
  :'api_key_id' => :'String',
87
+ :'delete_protection' => :'String',
83
88
  :'description' => :'String',
84
89
  :'json' => :'Boolean',
85
90
  :'key' => :'String',
@@ -122,6 +127,10 @@ module Akeyless
122
127
  self.api_key_id = attributes[:'api_key_id']
123
128
  end
124
129
 
130
+ if attributes.key?(:'delete_protection')
131
+ self.delete_protection = attributes[:'delete_protection']
132
+ end
133
+
125
134
  if attributes.key?(:'description')
126
135
  self.description = attributes[:'description']
127
136
  end
@@ -196,6 +205,7 @@ module Akeyless
196
205
  self.class == o.class &&
197
206
  api_key == o.api_key &&
198
207
  api_key_id == o.api_key_id &&
208
+ delete_protection == o.delete_protection &&
199
209
  description == o.description &&
200
210
  json == o.json &&
201
211
  key == o.key &&
@@ -217,7 +227,7 @@ module Akeyless
217
227
  # Calculates hash code according to all attributes.
218
228
  # @return [Integer] Hash code
219
229
  def hash
220
- [api_key, api_key_id, description, json, key, max_versions, model, name, openai_url, organization_id, token, uid_token].hash
230
+ [api_key, api_key_id, delete_protection, description, json, key, max_versions, model, name, openai_url, organization_id, token, uid_token].hash
221
231
  end
222
232
 
223
233
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Ping Federate authorization port
23
23
  attr_accessor :authorization_port
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -57,6 +60,7 @@ module Akeyless
57
60
  {
58
61
  :'administrative_port' => :'administrative-port',
59
62
  :'authorization_port' => :'authorization-port',
63
+ :'delete_protection' => :'delete_protection',
60
64
  :'description' => :'description',
61
65
  :'json' => :'json',
62
66
  :'key' => :'key',
@@ -80,6 +84,7 @@ module Akeyless
80
84
  {
81
85
  :'administrative_port' => :'String',
82
86
  :'authorization_port' => :'String',
87
+ :'delete_protection' => :'String',
83
88
  :'description' => :'String',
84
89
  :'json' => :'Boolean',
85
90
  :'key' => :'String',
@@ -126,6 +131,10 @@ module Akeyless
126
131
  self.authorization_port = '9031'
127
132
  end
128
133
 
134
+ if attributes.key?(:'delete_protection')
135
+ self.delete_protection = attributes[:'delete_protection']
136
+ end
137
+
129
138
  if attributes.key?(:'description')
130
139
  self.description = attributes[:'description']
131
140
  end
@@ -198,6 +207,7 @@ module Akeyless
198
207
  self.class == o.class &&
199
208
  administrative_port == o.administrative_port &&
200
209
  authorization_port == o.authorization_port &&
210
+ delete_protection == o.delete_protection &&
201
211
  description == o.description &&
202
212
  json == o.json &&
203
213
  key == o.key &&
@@ -219,7 +229,7 @@ module Akeyless
219
229
  # Calculates hash code according to all attributes.
220
230
  # @return [Integer] Hash code
221
231
  def hash
222
- [administrative_port, authorization_port, description, json, key, max_versions, name, password, ping_url, privileged_user, token, uid_token].hash
232
+ [administrative_port, authorization_port, delete_protection, description, json, key, max_versions, name, password, ping_url, privileged_user, token, uid_token].hash
223
233
  end
224
234
 
225
235
  # Builds the object from hash
@@ -16,6 +16,9 @@ require 'time'
16
16
  module Akeyless
17
17
  # targetCreateRabbitMq is a command that creates a new rabbitmq target
18
18
  class TargetCreateRabbitMq
19
+ # Protection from accidental deletion of this object [true/false]
20
+ attr_accessor :delete_protection
21
+
19
22
  # Description of the object
20
23
  attr_accessor :description
21
24
 
@@ -46,6 +49,7 @@ module Akeyless
46
49
  # Attribute mapping from ruby-style variable name to JSON key.
47
50
  def self.attribute_map
48
51
  {
52
+ :'delete_protection' => :'delete_protection',
49
53
  :'description' => :'description',
50
54
  :'json' => :'json',
51
55
  :'key' => :'key',
@@ -67,6 +71,7 @@ module Akeyless
67
71
  # Attribute type mapping.
68
72
  def self.openapi_types
69
73
  {
74
+ :'delete_protection' => :'String',
70
75
  :'description' => :'String',
71
76
  :'json' => :'Boolean',
72
77
  :'key' => :'String',
@@ -101,6 +106,10 @@ module Akeyless
101
106
  h[k.to_sym] = v
102
107
  }
103
108
 
109
+ if attributes.key?(:'delete_protection')
110
+ self.delete_protection = attributes[:'delete_protection']
111
+ end
112
+
104
113
  if attributes.key?(:'description')
105
114
  self.description = attributes[:'description']
106
115
  end
@@ -171,6 +180,7 @@ module Akeyless
171
180
  def ==(o)
172
181
  return true if self.equal?(o)
173
182
  self.class == o.class &&
183
+ delete_protection == o.delete_protection &&
174
184
  description == o.description &&
175
185
  json == o.json &&
176
186
  key == o.key &&
@@ -192,7 +202,7 @@ module Akeyless
192
202
  # Calculates hash code according to all attributes.
193
203
  # @return [Integer] Hash code
194
204
  def hash
195
- [description, json, key, max_versions, name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
205
+ [delete_protection, description, json, key, max_versions, name, rabbitmq_server_password, rabbitmq_server_uri, rabbitmq_server_user, token, uid_token].hash
196
206
  end
197
207
 
198
208
  # Builds the object from hash
@@ -34,6 +34,9 @@ module Akeyless
34
34
  # Client secret of the oauth2 app to use for connecting to Salesforce (required for password flow)
35
35
  attr_accessor :client_secret
36
36
 
37
+ # Protection from accidental deletion of this object [true/false]
38
+ attr_accessor :delete_protection
39
+
37
40
  # Description of the object
38
41
  attr_accessor :description
39
42
 
@@ -76,6 +79,7 @@ module Akeyless
76
79
  :'ca_cert_name' => :'ca-cert-name',
77
80
  :'client_id' => :'client-id',
78
81
  :'client_secret' => :'client-secret',
82
+ :'delete_protection' => :'delete_protection',
79
83
  :'description' => :'description',
80
84
  :'email' => :'email',
81
85
  :'json' => :'json',
@@ -104,6 +108,7 @@ module Akeyless
104
108
  :'ca_cert_name' => :'String',
105
109
  :'client_id' => :'String',
106
110
  :'client_secret' => :'String',
111
+ :'delete_protection' => :'String',
107
112
  :'description' => :'String',
108
113
  :'email' => :'String',
109
114
  :'json' => :'Boolean',
@@ -167,6 +172,10 @@ module Akeyless
167
172
  self.client_secret = attributes[:'client_secret']
168
173
  end
169
174
 
175
+ if attributes.key?(:'delete_protection')
176
+ self.delete_protection = attributes[:'delete_protection']
177
+ end
178
+
170
179
  if attributes.key?(:'description')
171
180
  self.description = attributes[:'description']
172
181
  end
@@ -271,6 +280,7 @@ module Akeyless
271
280
  ca_cert_name == o.ca_cert_name &&
272
281
  client_id == o.client_id &&
273
282
  client_secret == o.client_secret &&
283
+ delete_protection == o.delete_protection &&
274
284
  description == o.description &&
275
285
  email == o.email &&
276
286
  json == o.json &&
@@ -293,7 +303,7 @@ module Akeyless
293
303
  # Calculates hash code according to all attributes.
294
304
  # @return [Integer] Hash code
295
305
  def hash
296
- [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, description, email, json, key, max_versions, name, password, security_token, tenant_url, token, uid_token].hash
306
+ [app_private_key_data, auth_flow, ca_cert_data, ca_cert_name, client_id, client_secret, delete_protection, description, email, json, key, max_versions, name, password, security_token, tenant_url, token, uid_token].hash
297
307
  end
298
308
 
299
309
  # Builds the object from hash
@@ -22,6 +22,9 @@ module Akeyless
22
22
  # Customer Uri of the Sectigo account
23
23
  attr_accessor :customer_uri
24
24
 
25
+ # Protection from accidental deletion of this object [true/false]
26
+ attr_accessor :delete_protection
27
+
25
28
  # Description of the object
26
29
  attr_accessor :description
27
30
 
@@ -63,6 +66,7 @@ module Akeyless
63
66
  {
64
67
  :'certificate_profile_id' => :'certificate-profile-id',
65
68
  :'customer_uri' => :'customer-uri',
69
+ :'delete_protection' => :'delete_protection',
66
70
  :'description' => :'description',
67
71
  :'external_requester' => :'external-requester',
68
72
  :'json' => :'json',
@@ -88,6 +92,7 @@ module Akeyless
88
92
  {
89
93
  :'certificate_profile_id' => :'Integer',
90
94
  :'customer_uri' => :'String',
95
+ :'delete_protection' => :'String',
91
96
  :'description' => :'String',
92
97
  :'external_requester' => :'String',
93
98
  :'json' => :'Boolean',
@@ -136,6 +141,10 @@ module Akeyless
136
141
  self.customer_uri = nil
137
142
  end
138
143
 
144
+ if attributes.key?(:'delete_protection')
145
+ self.delete_protection = attributes[:'delete_protection']
146
+ end
147
+
139
148
  if attributes.key?(:'description')
140
149
  self.description = attributes[:'description']
141
150
  end
@@ -256,6 +265,7 @@ module Akeyless
256
265
  self.class == o.class &&
257
266
  certificate_profile_id == o.certificate_profile_id &&
258
267
  customer_uri == o.customer_uri &&
268
+ delete_protection == o.delete_protection &&
259
269
  description == o.description &&
260
270
  external_requester == o.external_requester &&
261
271
  json == o.json &&
@@ -279,7 +289,7 @@ module Akeyless
279
289
  # Calculates hash code according to all attributes.
280
290
  # @return [Integer] Hash code
281
291
  def hash
282
- [certificate_profile_id, customer_uri, description, external_requester, json, key, max_versions, name, organization_id, password, timeout, token, uid_token, username].hash
292
+ [certificate_profile_id, customer_uri, delete_protection, description, external_requester, json, key, max_versions, name, organization_id, password, timeout, token, uid_token, username].hash
283
293
  end
284
294
 
285
295
  # Builds the object from hash
@@ -19,6 +19,9 @@ module Akeyless
19
19
  # Splunk token audience (required when using token authentication for rotation)
20
20
  attr_accessor :audience
21
21
 
22
+ # Protection from accidental deletion of this object [true/false]
23
+ attr_accessor :delete_protection
24
+
22
25
  # Description of the object
23
26
  attr_accessor :description
24
27
 
@@ -38,6 +41,9 @@ module Akeyless
38
41
  attr_accessor :password
39
42
 
40
43
  # Splunk Token (used when authenticating with token)
44
+ attr_accessor :splunk_token
45
+
46
+ # Authentication token (see `/auth` and `/configure`)
41
47
  attr_accessor :token
42
48
 
43
49
  # Splunk Token Owner (required when using token authentication for rotation)
@@ -59,12 +65,14 @@ module Akeyless
59
65
  def self.attribute_map
60
66
  {
61
67
  :'audience' => :'audience',
68
+ :'delete_protection' => :'delete_protection',
62
69
  :'description' => :'description',
63
70
  :'json' => :'json',
64
71
  :'key' => :'key',
65
72
  :'max_versions' => :'max-versions',
66
73
  :'name' => :'name',
67
74
  :'password' => :'password',
75
+ :'splunk_token' => :'splunk-token',
68
76
  :'token' => :'token',
69
77
  :'token_owner' => :'token-owner',
70
78
  :'uid_token' => :'uid-token',
@@ -83,12 +91,14 @@ module Akeyless
83
91
  def self.openapi_types
84
92
  {
85
93
  :'audience' => :'String',
94
+ :'delete_protection' => :'String',
86
95
  :'description' => :'String',
87
96
  :'json' => :'Boolean',
88
97
  :'key' => :'String',
89
98
  :'max_versions' => :'String',
90
99
  :'name' => :'String',
91
100
  :'password' => :'String',
101
+ :'splunk_token' => :'String',
92
102
  :'token' => :'String',
93
103
  :'token_owner' => :'String',
94
104
  :'uid_token' => :'String',
@@ -123,6 +133,10 @@ module Akeyless
123
133
  self.audience = attributes[:'audience']
124
134
  end
125
135
 
136
+ if attributes.key?(:'delete_protection')
137
+ self.delete_protection = attributes[:'delete_protection']
138
+ end
139
+
126
140
  if attributes.key?(:'description')
127
141
  self.description = attributes[:'description']
128
142
  end
@@ -151,6 +165,10 @@ module Akeyless
151
165
  self.password = attributes[:'password']
152
166
  end
153
167
 
168
+ if attributes.key?(:'splunk_token')
169
+ self.splunk_token = attributes[:'splunk_token']
170
+ end
171
+
154
172
  if attributes.key?(:'token')
155
173
  self.token = attributes[:'token']
156
174
  end
@@ -211,12 +229,14 @@ module Akeyless
211
229
  return true if self.equal?(o)
212
230
  self.class == o.class &&
213
231
  audience == o.audience &&
232
+ delete_protection == o.delete_protection &&
214
233
  description == o.description &&
215
234
  json == o.json &&
216
235
  key == o.key &&
217
236
  max_versions == o.max_versions &&
218
237
  name == o.name &&
219
238
  password == o.password &&
239
+ splunk_token == o.splunk_token &&
220
240
  token == o.token &&
221
241
  token_owner == o.token_owner &&
222
242
  uid_token == o.uid_token &&
@@ -234,7 +254,7 @@ module Akeyless
234
254
  # Calculates hash code according to all attributes.
235
255
  # @return [Integer] Hash code
236
256
  def hash
237
- [audience, description, json, key, max_versions, name, password, token, token_owner, uid_token, url, use_tls, username].hash
257
+ [audience, delete_protection, description, json, key, max_versions, name, password, splunk_token, token, token_owner, uid_token, url, use_tls, username].hash
238
258
  end
239
259
 
240
260
  # Builds the object from hash