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.
7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 |
# File 'lib/models/porcelain.rb', line 7653 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.
7637 7638 7639 |
# File 'lib/models/porcelain.rb', line 7637 def ca_cert_path @ca_cert_path end |
#client_cert_path ⇒ Object
Returns the value of attribute client_cert_path.
7639 7640 7641 |
# File 'lib/models/porcelain.rb', line 7639 def client_cert_path @client_cert_path end |
#client_key_path ⇒ Object
Returns the value of attribute client_key_path.
7641 7642 7643 |
# File 'lib/models/porcelain.rb', line 7641 def client_key_path @client_key_path end |
#id ⇒ Object
Unique identifier of the SecretStore.
7643 7644 7645 |
# File 'lib/models/porcelain.rb', line 7643 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
7645 7646 7647 |
# File 'lib/models/porcelain.rb', line 7645 def name @name end |
#namespace ⇒ Object
Returns the value of attribute namespace.
7647 7648 7649 |
# File 'lib/models/porcelain.rb', line 7647 def namespace @namespace end |
#server_address ⇒ Object
Returns the value of attribute server_address.
7649 7650 7651 |
# File 'lib/models/porcelain.rb', line 7649 def server_address @server_address end |
#tags ⇒ Object
Tags is a map of key, value pairs.
7651 7652 7653 |
# File 'lib/models/porcelain.rb', line 7651 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
7689 7690 7691 7692 7693 7694 7695 |
# File 'lib/models/porcelain.rb', line 7689 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 |