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
2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 |
# File 'lib/models/porcelain.rb', line 2414 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.
2404 2405 2406 |
# File 'lib/models/porcelain.rb', line 2404 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
2406 2407 2408 |
# File 'lib/models/porcelain.rb', line 2406 def name @name end |
#server_url ⇒ Object
Returns the value of attribute server_url.
2408 2409 2410 |
# File 'lib/models/porcelain.rb', line 2408 def server_url @server_url end |
#tags ⇒ Object
Tags is a map of key, value pairs.
2410 2411 2412 |
# File 'lib/models/porcelain.rb', line 2410 def end |
#tenant_name ⇒ Object
Returns the value of attribute tenant_name.
2412 2413 2414 |
# File 'lib/models/porcelain.rb', line 2412 def tenant_name @tenant_name end |
Instance Method Details
#to_json(options = {}) ⇒ Object
2428 2429 2430 2431 2432 2433 2434 |
# File 'lib/models/porcelain.rb', line 2428 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 |