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
4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 |
# File 'lib/models/porcelain.rb', line 4463 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.
4453 4454 4455 |
# File 'lib/models/porcelain.rb', line 4453 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
4455 4456 4457 |
# File 'lib/models/porcelain.rb', line 4455 def name @name end |
#server_url ⇒ Object
The URL of the Delinea instance
4457 4458 4459 |
# File 'lib/models/porcelain.rb', line 4457 def server_url @server_url end |
#tags ⇒ Object
Tags is a map of key, value pairs.
4459 4460 4461 |
# File 'lib/models/porcelain.rb', line 4459 def end |
#tenant_name ⇒ Object
The tenant name to target
4461 4462 4463 |
# File 'lib/models/porcelain.rb', line 4461 def tenant_name @tenant_name end |
Instance Method Details
#to_json(options = {}) ⇒ Object
4477 4478 4479 4480 4481 4482 4483 |
# File 'lib/models/porcelain.rb', line 4477 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 |