Class: SDM::VaultTLSStore
- Inherits:
-
Object
- Object
- SDM::VaultTLSStore
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#ca_cert_path ⇒ Object
Returns the value of attribute ca_cert_path.
-
#client_cert_path ⇒ Object
Returns the value of attribute client_cert_path.
-
#client_key_path ⇒ Object
Returns the value of attribute client_key_path.
-
#id ⇒ Object
Unique identifier of the SecretStore.
-
#name ⇒ Object
Unique human-readable name of the SecretStore.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#server_address ⇒ Object
Returns the value of attribute server_address.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
Instance Method Summary collapse
-
#initialize(ca_cert_path: nil, client_cert_path: nil, client_key_path: nil, id: nil, name: nil, namespace: nil, server_address: nil, tags: nil) ⇒ VaultTLSStore
constructor
A new instance of VaultTLSStore.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(ca_cert_path: nil, client_cert_path: nil, client_key_path: nil, id: nil, name: nil, namespace: nil, server_address: nil, tags: nil) ⇒ VaultTLSStore
Returns a new instance of VaultTLSStore.
7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 |
# File 'lib/models/porcelain.rb', line 7609 def initialize( ca_cert_path: nil, client_cert_path: nil, client_key_path: nil, id: nil, name: nil, namespace: nil, server_address: nil, tags: nil ) if ca_cert_path != nil @ca_cert_path = ca_cert_path end if client_cert_path != nil @client_cert_path = client_cert_path end if client_key_path != nil @client_key_path = client_key_path end if id != nil @id = id end if name != nil @name = name end if namespace != nil @namespace = namespace end if server_address != nil @server_address = server_address end if != nil @tags = end end |
Instance Attribute Details
#ca_cert_path ⇒ Object
Returns the value of attribute ca_cert_path.
7593 7594 7595 |
# File 'lib/models/porcelain.rb', line 7593 def ca_cert_path @ca_cert_path end |
#client_cert_path ⇒ Object
Returns the value of attribute client_cert_path.
7595 7596 7597 |
# File 'lib/models/porcelain.rb', line 7595 def client_cert_path @client_cert_path end |
#client_key_path ⇒ Object
Returns the value of attribute client_key_path.
7597 7598 7599 |
# File 'lib/models/porcelain.rb', line 7597 def client_key_path @client_key_path end |
#id ⇒ Object
Unique identifier of the SecretStore.
7599 7600 7601 |
# File 'lib/models/porcelain.rb', line 7599 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
7601 7602 7603 |
# File 'lib/models/porcelain.rb', line 7601 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace.
7603 7604 7605 |
# File 'lib/models/porcelain.rb', line 7603 def namespace @namespace end |
#server_address ⇒ Object
Returns the value of attribute server_address.
7605 7606 7607 |
# File 'lib/models/porcelain.rb', line 7605 def server_address @server_address end |
#tags ⇒ Object
Tags is a map of key, value pairs.
7607 7608 7609 |
# File 'lib/models/porcelain.rb', line 7607 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
7645 7646 7647 7648 7649 7650 7651 |
# File 'lib/models/porcelain.rb', line 7645 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 |