akeyless 5.0.26 → 5.0.28
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.
- checksums.yaml +4 -4
- data/README.md +15 -1
- data/docs/AccountGeneralSettings.md +4 -0
- data/docs/CreatePKICertIssuer.md +2 -0
- data/docs/DSProducerDetails.md +4 -0
- data/docs/DynamicSecretCreateAws.md +8 -0
- data/docs/DynamicSecretCreateAzure.md +8 -0
- data/docs/DynamicSecretCreateCassandra.md +8 -0
- data/docs/DynamicSecretCreateChef.md +8 -0
- data/docs/DynamicSecretCreateHanaDb.md +8 -0
- data/docs/DynamicSecretCreateLdap.md +8 -0
- data/docs/DynamicSecretCreateMongoDb.md +8 -0
- data/docs/DynamicSecretCreateMsSql.md +8 -0
- data/docs/DynamicSecretCreateMySql.md +8 -0
- data/docs/DynamicSecretCreateOracleDb.md +8 -0
- data/docs/DynamicSecretCreatePostgreSql.md +8 -0
- data/docs/DynamicSecretCreateRabbitMq.md +8 -0
- data/docs/DynamicSecretCreateRdp.md +8 -0
- data/docs/DynamicSecretCreateRedis.md +8 -0
- data/docs/DynamicSecretCreateRedshift.md +8 -0
- data/docs/DynamicSecretCreateSnowflake.md +8 -0
- data/docs/DynamicSecretUpdateAws.md +8 -0
- data/docs/DynamicSecretUpdateAzure.md +8 -0
- data/docs/DynamicSecretUpdateCassandra.md +8 -0
- data/docs/DynamicSecretUpdateChef.md +8 -0
- data/docs/DynamicSecretUpdateHanaDb.md +8 -0
- data/docs/DynamicSecretUpdateLdap.md +8 -0
- data/docs/DynamicSecretUpdateMongoDb.md +8 -0
- data/docs/DynamicSecretUpdateMsSql.md +8 -0
- data/docs/DynamicSecretUpdateMySql.md +8 -0
- data/docs/DynamicSecretUpdateOracleDb.md +8 -0
- data/docs/DynamicSecretUpdatePostgreSql.md +8 -0
- data/docs/DynamicSecretUpdateRabbitMq.md +8 -0
- data/docs/DynamicSecretUpdateRdp.md +8 -0
- data/docs/DynamicSecretUpdateRedis.md +8 -0
- data/docs/DynamicSecretUpdateRedshift.md +8 -0
- data/docs/DynamicSecretUpdateSnowflake.md +8 -0
- data/docs/EsmGetSecretOutput.md +7 -1
- data/docs/FolderDeleteSync.md +32 -0
- data/docs/FolderDeleteSyncOutput.md +24 -0
- data/docs/FolderSync.md +34 -0
- data/docs/FolderSyncAll.md +26 -0
- data/docs/FolderSyncAllOutput.md +18 -0
- data/docs/FolderSyncOutput.md +24 -0
- data/docs/FolderUSCSyncConfig.md +2 -0
- data/docs/GatewayCreateProducerAws.md +8 -0
- data/docs/GatewayCreateProducerAzure.md +8 -0
- data/docs/GatewayCreateProducerCassandra.md +8 -0
- data/docs/GatewayCreateProducerChef.md +8 -0
- data/docs/GatewayCreateProducerHanaDb.md +8 -0
- data/docs/GatewayCreateProducerLdap.md +8 -0
- data/docs/GatewayCreateProducerMSSQL.md +8 -0
- data/docs/GatewayCreateProducerMongo.md +8 -0
- data/docs/GatewayCreateProducerMySQL.md +8 -0
- data/docs/GatewayCreateProducerOracleDb.md +8 -0
- data/docs/GatewayCreateProducerPostgreSQL.md +8 -0
- data/docs/GatewayCreateProducerRabbitMQ.md +8 -0
- data/docs/GatewayCreateProducerRdp.md +8 -0
- data/docs/GatewayCreateProducerRedis.md +8 -0
- data/docs/GatewayCreateProducerRedshift.md +8 -0
- data/docs/GatewayCreateProducerSnowflake.md +8 -0
- data/docs/GatewayUpdateProducerAws.md +8 -0
- data/docs/GatewayUpdateProducerAzure.md +8 -0
- data/docs/GatewayUpdateProducerCassandra.md +8 -0
- data/docs/GatewayUpdateProducerChef.md +8 -0
- data/docs/GatewayUpdateProducerHanaDb.md +8 -0
- data/docs/GatewayUpdateProducerLdap.md +8 -0
- data/docs/GatewayUpdateProducerMSSQL.md +8 -0
- data/docs/GatewayUpdateProducerMongo.md +8 -0
- data/docs/GatewayUpdateProducerMySQL.md +8 -0
- data/docs/GatewayUpdateProducerOracleDb.md +8 -0
- data/docs/GatewayUpdateProducerPostgreSQL.md +8 -0
- data/docs/GatewayUpdateProducerRabbitMQ.md +8 -0
- data/docs/GatewayUpdateProducerRdp.md +8 -0
- data/docs/GatewayUpdateProducerRedis.md +8 -0
- data/docs/GatewayUpdateProducerRedshift.md +8 -0
- data/docs/GatewayUpdateProducerSnowflake.md +8 -0
- data/docs/OIDCAccessRules.md +2 -0
- data/docs/PKICertificateIssueDetails.md +4 -0
- data/docs/PersonalFolderGlobalMappingSettings.md +20 -0
- data/docs/RotatedSecretCreateAws.md +13 -5
- data/docs/RotatedSecretCreateAzure.md +14 -4
- data/docs/RotatedSecretCreateCassandra.md +13 -5
- data/docs/RotatedSecretCreateCustom.md +9 -9
- data/docs/RotatedSecretCreateDockerhub.md +13 -5
- data/docs/RotatedSecretCreateGcp.md +13 -5
- data/docs/RotatedSecretCreateHanadb.md +13 -5
- data/docs/RotatedSecretCreateHashiVault.md +60 -0
- data/docs/RotatedSecretCreateLdap.md +12 -4
- data/docs/RotatedSecretCreateMongodb.md +13 -5
- data/docs/RotatedSecretCreateMssql.md +13 -5
- data/docs/RotatedSecretCreateMysql.md +13 -5
- data/docs/RotatedSecretCreateOpenAI.md +13 -5
- data/docs/RotatedSecretCreateOracledb.md +13 -5
- data/docs/RotatedSecretCreatePostgresql.md +13 -5
- data/docs/RotatedSecretCreateRedis.md +13 -5
- data/docs/RotatedSecretCreateRedshift.md +13 -5
- data/docs/RotatedSecretCreateSnowflake.md +13 -5
- data/docs/RotatedSecretCreateSplunk.md +13 -5
- data/docs/RotatedSecretCreateSsh.md +13 -5
- data/docs/RotatedSecretCreateWindows.md +13 -5
- data/docs/RotatedSecretUpdateAws.md +13 -5
- data/docs/RotatedSecretUpdateAzure.md +14 -4
- data/docs/RotatedSecretUpdateCassandra.md +13 -5
- data/docs/RotatedSecretUpdateCustom.md +9 -9
- data/docs/RotatedSecretUpdateDockerhub.md +13 -5
- data/docs/RotatedSecretUpdateGcp.md +13 -5
- data/docs/RotatedSecretUpdateHanadb.md +13 -5
- data/docs/RotatedSecretUpdateHashiVault.md +64 -0
- data/docs/RotatedSecretUpdateLdap.md +12 -4
- data/docs/RotatedSecretUpdateMongodb.md +13 -5
- data/docs/RotatedSecretUpdateMssql.md +13 -5
- data/docs/RotatedSecretUpdateMysql.md +13 -5
- data/docs/RotatedSecretUpdateOpenAI.md +13 -5
- data/docs/RotatedSecretUpdateOracledb.md +13 -5
- data/docs/RotatedSecretUpdatePostgresql.md +13 -5
- data/docs/RotatedSecretUpdateRedis.md +13 -5
- data/docs/RotatedSecretUpdateRedshift.md +13 -5
- data/docs/RotatedSecretUpdateSnowflake.md +13 -5
- data/docs/RotatedSecretUpdateSplunk.md +13 -5
- data/docs/RotatedSecretUpdateSsh.md +13 -5
- data/docs/RotatedSecretUpdateWindows.md +13 -5
- data/docs/SecretInfo.md +5 -1
- data/docs/UpdateAccountSettings.md +5 -5
- data/docs/UpdatePKICertIssuer.md +2 -0
- data/docs/UscGetSecretOutput.md +7 -1
- data/docs/V2Api.md +315 -0
- data/lib/akeyless/api/v2_api.rb +320 -0
- data/lib/akeyless/models/account_general_settings.rb +19 -1
- data/lib/akeyless/models/create_pki_cert_issuer.rb +11 -1
- data/lib/akeyless/models/ds_producer_details.rb +20 -1
- data/lib/akeyless/models/dynamic_secret_create_aws.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_azure.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_cassandra.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_chef.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_hana_db.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_ldap.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_mongo_db.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_ms_sql.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_my_sql.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_oracle_db.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_postgre_sql.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_rabbit_mq.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_rdp.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_redis.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_redshift.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_create_snowflake.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_aws.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_azure.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_cassandra.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_chef.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_hana_db.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_ldap.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_mongo_db.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_ms_sql.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_my_sql.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_oracle_db.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_postgre_sql.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_rabbit_mq.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_rdp.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_redis.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_redshift.rb +40 -1
- data/lib/akeyless/models/dynamic_secret_update_snowflake.rb +40 -1
- data/lib/akeyless/models/esm_get_secret_output.rb +35 -4
- data/lib/akeyless/models/folder_delete_sync.rb +305 -0
- data/lib/akeyless/models/folder_delete_sync_output.rb +245 -0
- data/lib/akeyless/models/folder_sync.rb +306 -0
- data/lib/akeyless/models/folder_sync_all.rb +266 -0
- data/lib/akeyless/models/folder_sync_all_output.rb +214 -0
- data/lib/akeyless/models/folder_sync_output.rb +247 -0
- data/lib/akeyless/models/folder_usc_sync_config.rb +10 -1
- data/lib/akeyless/models/gateway_create_producer_aws.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_azure.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_cassandra.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_chef.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_hana_db.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_ldap.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_mongo.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_mssql.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_my_sql.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_oracle_db.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_postgre_sql.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_rabbit_mq.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_rdp.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_redis.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_redshift.rb +40 -1
- data/lib/akeyless/models/gateway_create_producer_snowflake.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_aws.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_azure.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_cassandra.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_chef.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_hana_db.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_ldap.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_mongo.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_mssql.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_my_sql.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_oracle_db.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_postgre_sql.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_rabbit_mq.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_rdp.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_redis.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_redshift.rb +40 -1
- data/lib/akeyless/models/gateway_update_producer_snowflake.rb +40 -1
- data/lib/akeyless/models/oidc_access_rules.rb +11 -1
- data/lib/akeyless/models/personal_folder_global_mapping_settings.rb +223 -0
- data/lib/akeyless/models/pki_certificate_issue_details.rb +19 -1
- data/lib/akeyless/models/rotated_secret_create_aws.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_azure.rb +50 -5
- data/lib/akeyless/models/rotated_secret_create_cassandra.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_custom.rb +3 -8
- data/lib/akeyless/models/rotated_secret_create_dockerhub.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_gcp.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_hanadb.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_hashi_vault.rb +446 -0
- data/lib/akeyless/models/rotated_secret_create_ldap.rb +40 -5
- data/lib/akeyless/models/rotated_secret_create_mongodb.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_mssql.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_mysql.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_open_ai.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_oracledb.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_postgresql.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_redis.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_redshift.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_snowflake.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_splunk.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_ssh.rb +43 -8
- data/lib/akeyless/models/rotated_secret_create_windows.rb +43 -8
- data/lib/akeyless/models/rotated_secret_sync.rb +1 -1
- data/lib/akeyless/models/rotated_secret_update_aws.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_azure.rb +50 -5
- data/lib/akeyless/models/rotated_secret_update_cassandra.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_custom.rb +3 -8
- data/lib/akeyless/models/rotated_secret_update_dockerhub.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_gcp.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_hanadb.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_hashi_vault.rb +463 -0
- data/lib/akeyless/models/rotated_secret_update_ldap.rb +40 -5
- data/lib/akeyless/models/rotated_secret_update_mongodb.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_mssql.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_mysql.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_open_ai.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_oracledb.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_postgresql.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_redis.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_redshift.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_snowflake.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_splunk.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_ssh.rb +43 -8
- data/lib/akeyless/models/rotated_secret_update_windows.rb +43 -8
- data/lib/akeyless/models/secret_info.rb +24 -4
- data/lib/akeyless/models/static_secret_sync.rb +1 -1
- data/lib/akeyless/models/update_account_settings.rb +3 -4
- data/lib/akeyless/models/update_pki_cert_issuer.rb +11 -1
- data/lib/akeyless/models/usc_get_secret_output.rb +35 -4
- data/lib/akeyless/version.rb +1 -1
- data/lib/akeyless.rb +9 -0
- data/spec/models/folder_delete_sync_output_spec.rb +54 -0
- data/spec/models/folder_delete_sync_spec.rb +78 -0
- data/spec/models/folder_sync_all_output_spec.rb +36 -0
- data/spec/models/folder_sync_all_spec.rb +60 -0
- data/spec/models/folder_sync_output_spec.rb +54 -0
- data/spec/models/folder_sync_spec.rb +84 -0
- data/spec/models/personal_folder_global_mapping_settings_spec.rb +42 -0
- data/spec/models/rotated_secret_create_hashi_vault_spec.rb +162 -0
- data/spec/models/rotated_secret_update_hashi_vault_spec.rb +174 -0
- metadata +1223 -1187
|
@@ -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 FolderSyncAllOutput
|
|
18
|
+
attr_accessor :folder_name
|
|
19
|
+
|
|
20
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
21
|
+
def self.attribute_map
|
|
22
|
+
{
|
|
23
|
+
:'folder_name' => :'folder_name'
|
|
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
|
+
:'folder_name' => :'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::FolderSyncAllOutput` 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::FolderSyncAllOutput`. 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?(:'folder_name')
|
|
61
|
+
self.folder_name = attributes[:'folder_name']
|
|
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
|
+
folder_name == o.folder_name
|
|
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
|
+
[folder_name].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
|
|
@@ -0,0 +1,247 @@
|
|
|
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 FolderSyncOutput
|
|
18
|
+
attr_accessor :failed_items
|
|
19
|
+
|
|
20
|
+
attr_accessor :folder_name
|
|
21
|
+
|
|
22
|
+
attr_accessor :skipped_items
|
|
23
|
+
|
|
24
|
+
attr_accessor :synced_items
|
|
25
|
+
|
|
26
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
27
|
+
def self.attribute_map
|
|
28
|
+
{
|
|
29
|
+
:'failed_items' => :'failed_items',
|
|
30
|
+
:'folder_name' => :'folder_name',
|
|
31
|
+
:'skipped_items' => :'skipped_items',
|
|
32
|
+
:'synced_items' => :'synced_items'
|
|
33
|
+
}
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Returns all the JSON keys this model knows about
|
|
37
|
+
def self.acceptable_attributes
|
|
38
|
+
attribute_map.values
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
# Attribute type mapping.
|
|
42
|
+
def self.openapi_types
|
|
43
|
+
{
|
|
44
|
+
:'failed_items' => :'Hash<String, String>',
|
|
45
|
+
:'folder_name' => :'String',
|
|
46
|
+
:'skipped_items' => :'Array<String>',
|
|
47
|
+
:'synced_items' => :'Array<String>'
|
|
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::FolderSyncOutput` 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::FolderSyncOutput`. 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?(:'failed_items')
|
|
73
|
+
if (value = attributes[:'failed_items']).is_a?(Hash)
|
|
74
|
+
self.failed_items = value
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
if attributes.key?(:'folder_name')
|
|
79
|
+
self.folder_name = attributes[:'folder_name']
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
if attributes.key?(:'skipped_items')
|
|
83
|
+
if (value = attributes[:'skipped_items']).is_a?(Array)
|
|
84
|
+
self.skipped_items = value
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
if attributes.key?(:'synced_items')
|
|
89
|
+
if (value = attributes[:'synced_items']).is_a?(Array)
|
|
90
|
+
self.synced_items = value
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
96
|
+
# @return Array for valid properties with the reasons
|
|
97
|
+
def list_invalid_properties
|
|
98
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
99
|
+
invalid_properties = Array.new
|
|
100
|
+
invalid_properties
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# Check to see if the all the properties in the model are valid
|
|
104
|
+
# @return true if the model is valid
|
|
105
|
+
def valid?
|
|
106
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
107
|
+
true
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Checks equality by comparing each attribute.
|
|
111
|
+
# @param [Object] Object to be compared
|
|
112
|
+
def ==(o)
|
|
113
|
+
return true if self.equal?(o)
|
|
114
|
+
self.class == o.class &&
|
|
115
|
+
failed_items == o.failed_items &&
|
|
116
|
+
folder_name == o.folder_name &&
|
|
117
|
+
skipped_items == o.skipped_items &&
|
|
118
|
+
synced_items == o.synced_items
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# @see the `==` method
|
|
122
|
+
# @param [Object] Object to be compared
|
|
123
|
+
def eql?(o)
|
|
124
|
+
self == o
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
# Calculates hash code according to all attributes.
|
|
128
|
+
# @return [Integer] Hash code
|
|
129
|
+
def hash
|
|
130
|
+
[failed_items, folder_name, skipped_items, synced_items].hash
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
# Builds the object from hash
|
|
134
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
135
|
+
# @return [Object] Returns the model itself
|
|
136
|
+
def self.build_from_hash(attributes)
|
|
137
|
+
return nil unless attributes.is_a?(Hash)
|
|
138
|
+
attributes = attributes.transform_keys(&:to_sym)
|
|
139
|
+
transformed_hash = {}
|
|
140
|
+
openapi_types.each_pair do |key, type|
|
|
141
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
|
142
|
+
transformed_hash["#{key}"] = nil
|
|
143
|
+
elsif type =~ /\AArray<(.*)>/i
|
|
144
|
+
# check to ensure the input is an array given that the attribute
|
|
145
|
+
# is documented as an array but the input is not
|
|
146
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
|
147
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
|
148
|
+
end
|
|
149
|
+
elsif !attributes[attribute_map[key]].nil?
|
|
150
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
|
151
|
+
end
|
|
152
|
+
end
|
|
153
|
+
new(transformed_hash)
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# Deserializes the data based on type
|
|
157
|
+
# @param string type Data type
|
|
158
|
+
# @param string value Value to be deserialized
|
|
159
|
+
# @return [Object] Deserialized data
|
|
160
|
+
def self._deserialize(type, value)
|
|
161
|
+
case type.to_sym
|
|
162
|
+
when :Time
|
|
163
|
+
Time.parse(value)
|
|
164
|
+
when :Date
|
|
165
|
+
Date.parse(value)
|
|
166
|
+
when :String
|
|
167
|
+
value.to_s
|
|
168
|
+
when :Integer
|
|
169
|
+
value.to_i
|
|
170
|
+
when :Float
|
|
171
|
+
value.to_f
|
|
172
|
+
when :Boolean
|
|
173
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
|
174
|
+
true
|
|
175
|
+
else
|
|
176
|
+
false
|
|
177
|
+
end
|
|
178
|
+
when :Object
|
|
179
|
+
# generic object (usually a Hash), return directly
|
|
180
|
+
value
|
|
181
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
|
182
|
+
inner_type = Regexp.last_match[:inner_type]
|
|
183
|
+
value.map { |v| _deserialize(inner_type, v) }
|
|
184
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
|
185
|
+
k_type = Regexp.last_match[:k_type]
|
|
186
|
+
v_type = Regexp.last_match[:v_type]
|
|
187
|
+
{}.tap do |hash|
|
|
188
|
+
value.each do |k, v|
|
|
189
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
|
190
|
+
end
|
|
191
|
+
end
|
|
192
|
+
else # model
|
|
193
|
+
# models (e.g. Pet) or oneOf
|
|
194
|
+
klass = Akeyless.const_get(type)
|
|
195
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
|
196
|
+
end
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
# Returns the string representation of the object
|
|
200
|
+
# @return [String] String presentation of the object
|
|
201
|
+
def to_s
|
|
202
|
+
to_hash.to_s
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
# to_body is an alias to to_hash (backward compatibility)
|
|
206
|
+
# @return [Hash] Returns the object in the form of hash
|
|
207
|
+
def to_body
|
|
208
|
+
to_hash
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Returns the object in the form of hash
|
|
212
|
+
# @return [Hash] Returns the object in the form of hash
|
|
213
|
+
def to_hash
|
|
214
|
+
hash = {}
|
|
215
|
+
self.class.attribute_map.each_pair do |attr, param|
|
|
216
|
+
value = self.send(attr)
|
|
217
|
+
if value.nil?
|
|
218
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
|
219
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
hash[param] = _to_hash(value)
|
|
223
|
+
end
|
|
224
|
+
hash
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
# Outputs non-array value in the form of hash
|
|
228
|
+
# For object, use to_hash. Otherwise, just return the value
|
|
229
|
+
# @param [Object] value Any valid value
|
|
230
|
+
# @return [Hash] Returns the value in the form of hash
|
|
231
|
+
def _to_hash(value)
|
|
232
|
+
if value.is_a?(Array)
|
|
233
|
+
value.compact.map { |v| _to_hash(v) }
|
|
234
|
+
elsif value.is_a?(Hash)
|
|
235
|
+
{}.tap do |hash|
|
|
236
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
|
237
|
+
end
|
|
238
|
+
elsif value.respond_to? :to_hash
|
|
239
|
+
value.to_hash
|
|
240
|
+
else
|
|
241
|
+
value
|
|
242
|
+
end
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
end
|
|
@@ -17,6 +17,8 @@ module Akeyless
|
|
|
17
17
|
class FolderUSCSyncConfig
|
|
18
18
|
attr_accessor :delete_remote
|
|
19
19
|
|
|
20
|
+
attr_accessor :engine_name
|
|
21
|
+
|
|
20
22
|
attr_accessor :namespace
|
|
21
23
|
|
|
22
24
|
attr_accessor :usc_item_id
|
|
@@ -27,6 +29,7 @@ module Akeyless
|
|
|
27
29
|
def self.attribute_map
|
|
28
30
|
{
|
|
29
31
|
:'delete_remote' => :'delete_remote',
|
|
32
|
+
:'engine_name' => :'engine_name',
|
|
30
33
|
:'namespace' => :'namespace',
|
|
31
34
|
:'usc_item_id' => :'usc_item_id',
|
|
32
35
|
:'usc_item_name' => :'usc_item_name'
|
|
@@ -42,6 +45,7 @@ module Akeyless
|
|
|
42
45
|
def self.openapi_types
|
|
43
46
|
{
|
|
44
47
|
:'delete_remote' => :'Boolean',
|
|
48
|
+
:'engine_name' => :'String',
|
|
45
49
|
:'namespace' => :'String',
|
|
46
50
|
:'usc_item_id' => :'Integer',
|
|
47
51
|
:'usc_item_name' => :'String'
|
|
@@ -73,6 +77,10 @@ module Akeyless
|
|
|
73
77
|
self.delete_remote = attributes[:'delete_remote']
|
|
74
78
|
end
|
|
75
79
|
|
|
80
|
+
if attributes.key?(:'engine_name')
|
|
81
|
+
self.engine_name = attributes[:'engine_name']
|
|
82
|
+
end
|
|
83
|
+
|
|
76
84
|
if attributes.key?(:'namespace')
|
|
77
85
|
self.namespace = attributes[:'namespace']
|
|
78
86
|
end
|
|
@@ -107,6 +115,7 @@ module Akeyless
|
|
|
107
115
|
return true if self.equal?(o)
|
|
108
116
|
self.class == o.class &&
|
|
109
117
|
delete_remote == o.delete_remote &&
|
|
118
|
+
engine_name == o.engine_name &&
|
|
110
119
|
namespace == o.namespace &&
|
|
111
120
|
usc_item_id == o.usc_item_id &&
|
|
112
121
|
usc_item_name == o.usc_item_name
|
|
@@ -121,7 +130,7 @@ module Akeyless
|
|
|
121
130
|
# Calculates hash code according to all attributes.
|
|
122
131
|
# @return [Integer] Hash code
|
|
123
132
|
def hash
|
|
124
|
-
[delete_remote, namespace, usc_item_id, usc_item_name].hash
|
|
133
|
+
[delete_remote, engine_name, namespace, usc_item_id, usc_item_name].hash
|
|
125
134
|
end
|
|
126
135
|
|
|
127
136
|
# Builds the object from hash
|
|
@@ -123,6 +123,17 @@ module Akeyless
|
|
|
123
123
|
# The universal identity token, Required only for universal_identity authentication
|
|
124
124
|
attr_accessor :uid_token
|
|
125
125
|
|
|
126
|
+
# Specifies whether the generated temporary password must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). [true/false]
|
|
127
|
+
attr_accessor :use_capital_letters
|
|
128
|
+
|
|
129
|
+
# Specifies whether the generated temporary password must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). [true/false]
|
|
130
|
+
attr_accessor :use_lower_letters
|
|
131
|
+
|
|
132
|
+
# Specifies whether the generated temporary password must contain at least one numeric character (0 to 9). [true/false]
|
|
133
|
+
attr_accessor :use_numbers
|
|
134
|
+
|
|
135
|
+
attr_accessor :use_special_characters
|
|
136
|
+
|
|
126
137
|
# User TTL
|
|
127
138
|
attr_accessor :user_ttl
|
|
128
139
|
|
|
@@ -165,6 +176,10 @@ module Akeyless
|
|
|
165
176
|
:'token' => :'token',
|
|
166
177
|
:'transitive_tag_keys' => :'transitive-tag-keys',
|
|
167
178
|
:'uid_token' => :'uid-token',
|
|
179
|
+
:'use_capital_letters' => :'use-capital-letters',
|
|
180
|
+
:'use_lower_letters' => :'use-lower-letters',
|
|
181
|
+
:'use_numbers' => :'use-numbers',
|
|
182
|
+
:'use_special_characters' => :'use-special-characters',
|
|
168
183
|
:'user_ttl' => :'user-ttl'
|
|
169
184
|
}
|
|
170
185
|
end
|
|
@@ -213,6 +228,10 @@ module Akeyless
|
|
|
213
228
|
:'token' => :'String',
|
|
214
229
|
:'transitive_tag_keys' => :'String',
|
|
215
230
|
:'uid_token' => :'String',
|
|
231
|
+
:'use_capital_letters' => :'String',
|
|
232
|
+
:'use_lower_letters' => :'String',
|
|
233
|
+
:'use_numbers' => :'String',
|
|
234
|
+
:'use_special_characters' => :'String',
|
|
216
235
|
:'user_ttl' => :'String'
|
|
217
236
|
}
|
|
218
237
|
end
|
|
@@ -410,6 +429,22 @@ module Akeyless
|
|
|
410
429
|
self.uid_token = attributes[:'uid_token']
|
|
411
430
|
end
|
|
412
431
|
|
|
432
|
+
if attributes.key?(:'use_capital_letters')
|
|
433
|
+
self.use_capital_letters = attributes[:'use_capital_letters']
|
|
434
|
+
end
|
|
435
|
+
|
|
436
|
+
if attributes.key?(:'use_lower_letters')
|
|
437
|
+
self.use_lower_letters = attributes[:'use_lower_letters']
|
|
438
|
+
end
|
|
439
|
+
|
|
440
|
+
if attributes.key?(:'use_numbers')
|
|
441
|
+
self.use_numbers = attributes[:'use_numbers']
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
if attributes.key?(:'use_special_characters')
|
|
445
|
+
self.use_special_characters = attributes[:'use_special_characters']
|
|
446
|
+
end
|
|
447
|
+
|
|
413
448
|
if attributes.key?(:'user_ttl')
|
|
414
449
|
self.user_ttl = attributes[:'user_ttl']
|
|
415
450
|
else
|
|
@@ -478,6 +513,10 @@ module Akeyless
|
|
|
478
513
|
token == o.token &&
|
|
479
514
|
transitive_tag_keys == o.transitive_tag_keys &&
|
|
480
515
|
uid_token == o.uid_token &&
|
|
516
|
+
use_capital_letters == o.use_capital_letters &&
|
|
517
|
+
use_lower_letters == o.use_lower_letters &&
|
|
518
|
+
use_numbers == o.use_numbers &&
|
|
519
|
+
use_special_characters == o.use_special_characters &&
|
|
481
520
|
user_ttl == o.user_ttl
|
|
482
521
|
end
|
|
483
522
|
|
|
@@ -490,7 +529,7 @@ module Akeyless
|
|
|
490
529
|
# Calculates hash code according to all attributes.
|
|
491
530
|
# @return [Integer] Hash code
|
|
492
531
|
def hash
|
|
493
|
-
[access_mode, admin_rotation_interval_days, aws_access_key_id, aws_access_secret_key, aws_external_id, aws_role_arns, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, custom_username_template, delete_protection, enable_admin_rotation, input_rule, item_custom_fields, json, name, output_rule, password_length, producer_encryption_key_name, region, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, session_tags, tags, target_name, token, transitive_tag_keys, uid_token, user_ttl].hash
|
|
532
|
+
[access_mode, admin_rotation_interval_days, aws_access_key_id, aws_access_secret_key, aws_external_id, aws_role_arns, aws_user_console_access, aws_user_groups, aws_user_policies, aws_user_programmatic_access, custom_username_template, delete_protection, enable_admin_rotation, input_rule, item_custom_fields, json, name, output_rule, password_length, producer_encryption_key_name, region, secure_access_aws_account_id, secure_access_aws_native_cli, secure_access_bastion_issuer, secure_access_certificate_issuer, secure_access_delay, secure_access_enable, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, session_tags, tags, target_name, token, transitive_tag_keys, uid_token, use_capital_letters, use_lower_letters, use_numbers, use_special_characters, user_ttl].hash
|
|
494
533
|
end
|
|
495
534
|
|
|
496
535
|
# Builds the object from hash
|
|
@@ -91,6 +91,17 @@ module Akeyless
|
|
|
91
91
|
# The universal identity token, Required only for universal_identity authentication
|
|
92
92
|
attr_accessor :uid_token
|
|
93
93
|
|
|
94
|
+
# Specifies whether the generated temporary password must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z). [true/false]
|
|
95
|
+
attr_accessor :use_capital_letters
|
|
96
|
+
|
|
97
|
+
# Specifies whether the generated temporary password must contain at least one lowercase character from the ISO basic Latin alphabet (a to z). [true/false]
|
|
98
|
+
attr_accessor :use_lower_letters
|
|
99
|
+
|
|
100
|
+
# Specifies whether the generated temporary password must contain at least one numeric character (0 to 9). [true/false]
|
|
101
|
+
attr_accessor :use_numbers
|
|
102
|
+
|
|
103
|
+
attr_accessor :use_special_characters
|
|
104
|
+
|
|
94
105
|
# User Group Object Id
|
|
95
106
|
attr_accessor :user_group_obj_id
|
|
96
107
|
|
|
@@ -137,6 +148,10 @@ module Akeyless
|
|
|
137
148
|
:'target_name' => :'target-name',
|
|
138
149
|
:'token' => :'token',
|
|
139
150
|
:'uid_token' => :'uid-token',
|
|
151
|
+
:'use_capital_letters' => :'use-capital-letters',
|
|
152
|
+
:'use_lower_letters' => :'use-lower-letters',
|
|
153
|
+
:'use_numbers' => :'use-numbers',
|
|
154
|
+
:'use_special_characters' => :'use-special-characters',
|
|
140
155
|
:'user_group_obj_id' => :'user-group-obj-id',
|
|
141
156
|
:'user_portal_access' => :'user-portal-access',
|
|
142
157
|
:'user_principal_name' => :'user-principal-name',
|
|
@@ -179,6 +194,10 @@ module Akeyless
|
|
|
179
194
|
:'target_name' => :'String',
|
|
180
195
|
:'token' => :'String',
|
|
181
196
|
:'uid_token' => :'String',
|
|
197
|
+
:'use_capital_letters' => :'String',
|
|
198
|
+
:'use_lower_letters' => :'String',
|
|
199
|
+
:'use_numbers' => :'String',
|
|
200
|
+
:'use_special_characters' => :'String',
|
|
182
201
|
:'user_group_obj_id' => :'String',
|
|
183
202
|
:'user_portal_access' => :'Boolean',
|
|
184
203
|
:'user_principal_name' => :'String',
|
|
@@ -331,6 +350,22 @@ module Akeyless
|
|
|
331
350
|
self.uid_token = attributes[:'uid_token']
|
|
332
351
|
end
|
|
333
352
|
|
|
353
|
+
if attributes.key?(:'use_capital_letters')
|
|
354
|
+
self.use_capital_letters = attributes[:'use_capital_letters']
|
|
355
|
+
end
|
|
356
|
+
|
|
357
|
+
if attributes.key?(:'use_lower_letters')
|
|
358
|
+
self.use_lower_letters = attributes[:'use_lower_letters']
|
|
359
|
+
end
|
|
360
|
+
|
|
361
|
+
if attributes.key?(:'use_numbers')
|
|
362
|
+
self.use_numbers = attributes[:'use_numbers']
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
if attributes.key?(:'use_special_characters')
|
|
366
|
+
self.use_special_characters = attributes[:'use_special_characters']
|
|
367
|
+
end
|
|
368
|
+
|
|
334
369
|
if attributes.key?(:'user_group_obj_id')
|
|
335
370
|
self.user_group_obj_id = attributes[:'user_group_obj_id']
|
|
336
371
|
end
|
|
@@ -412,6 +447,10 @@ module Akeyless
|
|
|
412
447
|
target_name == o.target_name &&
|
|
413
448
|
token == o.token &&
|
|
414
449
|
uid_token == o.uid_token &&
|
|
450
|
+
use_capital_letters == o.use_capital_letters &&
|
|
451
|
+
use_lower_letters == o.use_lower_letters &&
|
|
452
|
+
use_numbers == o.use_numbers &&
|
|
453
|
+
use_special_characters == o.use_special_characters &&
|
|
415
454
|
user_group_obj_id == o.user_group_obj_id &&
|
|
416
455
|
user_portal_access == o.user_portal_access &&
|
|
417
456
|
user_principal_name == o.user_principal_name &&
|
|
@@ -429,7 +468,7 @@ module Akeyless
|
|
|
429
468
|
# Calculates hash code according to all attributes.
|
|
430
469
|
# @return [Integer] Hash code
|
|
431
470
|
def hash
|
|
432
|
-
[app_obj_id, azure_administrative_unit, azure_client_id, azure_client_secret, azure_tenant_id, custom_username_template, delete_protection, fixed_user_claim_keyname, fixed_user_only, input_rule, item_custom_fields, json, name, output_rule, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
|
|
471
|
+
[app_obj_id, azure_administrative_unit, azure_client_id, azure_client_secret, azure_tenant_id, custom_username_template, delete_protection, fixed_user_claim_keyname, fixed_user_only, input_rule, item_custom_fields, json, name, output_rule, password_length, producer_encryption_key_name, secure_access_enable, secure_access_url, secure_access_web, secure_access_web_browsing, secure_access_web_proxy, tags, target_name, token, uid_token, use_capital_letters, use_lower_letters, use_numbers, use_special_characters, user_group_obj_id, user_portal_access, user_principal_name, user_programmatic_access, user_role_template_id, user_ttl].hash
|
|
433
472
|
end
|
|
434
473
|
|
|
435
474
|
# Builds the object from hash
|