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.
5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 |
# File 'lib/models/porcelain.rb', line 5421 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.
5411 5412 5413 |
# File 'lib/models/porcelain.rb', line 5411 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
5413 5414 5415 |
# File 'lib/models/porcelain.rb', line 5413 def name @name end |
#server_url ⇒ Object
The URL of the Delinea instance
5415 5416 5417 |
# File 'lib/models/porcelain.rb', line 5415 def server_url @server_url end |
#tags ⇒ Object
Tags is a map of key, value pairs.
5417 5418 5419 |
# File 'lib/models/porcelain.rb', line 5417 def @tags end |
#tenant_name ⇒ Object
The tenant name to target
5419 5420 5421 |
# File 'lib/models/porcelain.rb', line 5419 def tenant_name @tenant_name end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5435 5436 5437 5438 5439 5440 5441 |
# File 'lib/models/porcelain.rb', line 5435 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 |