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.
4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 |
# File 'lib/models/porcelain.rb', line 4534 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 @tags = == nil ? SDM::() : @tenant_name = tenant_name == nil ? "" : tenant_name end |
Instance Attribute Details
#id ⇒ Object
Unique identifier of the SecretStore.
4524 4525 4526 |
# File 'lib/models/porcelain.rb', line 4524 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
4526 4527 4528 |
# File 'lib/models/porcelain.rb', line 4526 def name @name end |
#server_url ⇒ Object
The URL of the Delinea instance
4528 4529 4530 |
# File 'lib/models/porcelain.rb', line 4528 def server_url @server_url end |
#tags ⇒ Object
Tags is a map of key, value pairs.
4530 4531 4532 |
# File 'lib/models/porcelain.rb', line 4530 def @tags end |
#tenant_name ⇒ Object
The tenant name to target
4532 4533 4534 |
# File 'lib/models/porcelain.rb', line 4532 def tenant_name @tenant_name end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4548 4549 4550 4551 4552 4553 4554 |
# File 'lib/models/porcelain.rb', line 4548 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 |