Class: SDM::DelineaStore
- Inherits:
-
Object
- Object
- SDM::DelineaStore
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#server_url ⇒ Object
The URL of the Delinea instance.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
-
#tenant_name ⇒ Object
The tenant name to target.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, server_url: nil, tags: nil, tenant_name: nil) ⇒ DelineaStore
constructor
A new instance of DelineaStore.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, server_url: nil, tags: nil, tenant_name: nil) ⇒ DelineaStore
Returns a new instance of DelineaStore.
6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 |
# File 'lib/models/porcelain.rb', line 6052 def initialize( id: nil, name: nil, server_url: nil, tags: nil, tenant_name: nil ) @id = id == nil ? "" : id @name = name == nil ? "" : name @server_url = server_url == nil ? "" : server_url = == nil ? SDM::() : @tenant_name = tenant_name == nil ? "" : tenant_name end |
Instance Attribute Details
#id ⇒ Object
Unique identifier of the SecretStore.
6042 6043 6044 |
# File 'lib/models/porcelain.rb', line 6042 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
6044 6045 6046 |
# File 'lib/models/porcelain.rb', line 6044 def name @name end |
#server_url ⇒ Object
The URL of the Delinea instance
6046 6047 6048 |
# File 'lib/models/porcelain.rb', line 6046 def server_url @server_url end |
#tags ⇒ Object
Tags is a map of key, value pairs.
6048 6049 6050 |
# File 'lib/models/porcelain.rb', line 6048 def end |
#tenant_name ⇒ Object
The tenant name to target
6050 6051 6052 |
# File 'lib/models/porcelain.rb', line 6050 def tenant_name @tenant_name end |
Instance Method Details
#to_json(options = {}) ⇒ Object
6066 6067 6068 6069 6070 6071 6072 |
# File 'lib/models/porcelain.rb', line 6066 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |