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.
4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 |
# File 'lib/models/porcelain.rb', line 4998 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.
4988 4989 4990 |
# File 'lib/models/porcelain.rb', line 4988 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
4990 4991 4992 |
# File 'lib/models/porcelain.rb', line 4990 def name @name end |
#server_url ⇒ Object
The URL of the Delinea instance
4992 4993 4994 |
# File 'lib/models/porcelain.rb', line 4992 def server_url @server_url end |
#tags ⇒ Object
Tags is a map of key, value pairs.
4994 4995 4996 |
# File 'lib/models/porcelain.rb', line 4994 def @tags end |
#tenant_name ⇒ Object
The tenant name to target
4996 4997 4998 |
# File 'lib/models/porcelain.rb', line 4996 def tenant_name @tenant_name end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5012 5013 5014 5015 5016 5017 5018 |
# File 'lib/models/porcelain.rb', line 5012 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 |