Class: SDM::DelineaStore
- Inherits:
-
Object
- Object
- SDM::DelineaStore
- Defined in:
- lib/models/porcelain.rb
Overview
DelineaStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
Instance Attribute Summary collapse
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#server_url ⇒ Object
Returns the value of attribute server_url.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
-
#tenant_name ⇒ Object
Returns the value of attribute tenant_name.
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.
2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 |
# File 'lib/models/porcelain.rb', line 2385 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.
2375 2376 2377 |
# File 'lib/models/porcelain.rb', line 2375 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
2377 2378 2379 |
# File 'lib/models/porcelain.rb', line 2377 def name @name end |
#server_url ⇒ Object
Returns the value of attribute server_url.
2379 2380 2381 |
# File 'lib/models/porcelain.rb', line 2379 def server_url @server_url end |
#tags ⇒ Object
Tags is a map of key, value pairs.
2381 2382 2383 |
# File 'lib/models/porcelain.rb', line 2381 def @tags end |
#tenant_name ⇒ Object
Returns the value of attribute tenant_name.
2383 2384 2385 |
# File 'lib/models/porcelain.rb', line 2383 def tenant_name @tenant_name end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2399 2400 2401 2402 2403 2404 2405 |
# File 'lib/models/porcelain.rb', line 2399 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 |