Class: SDM::AWSStore
- Inherits:
-
Object
- Object
- SDM::AWSStore
- 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.
-
#region ⇒ Object
Returns the value of attribute region.
-
#tags ⇒ Object
Tags is a map of key, value pairs.
Instance Method Summary collapse
-
#initialize(id: nil, name: nil, region: nil, tags: nil) ⇒ AWSStore
constructor
A new instance of AWSStore.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(id: nil, name: nil, region: nil, tags: nil) ⇒ AWSStore
Returns a new instance of AWSStore.
6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 |
# File 'lib/models/porcelain.rb', line 6749 def initialize( id: nil, name: nil, region: nil, tags: nil ) if id != nil @id = id end if name != nil @name = name end if region != nil @region = region end if != nil @tags = end end |
Instance Attribute Details
#id ⇒ Object
Unique identifier of the SecretStore.
6741 6742 6743 |
# File 'lib/models/porcelain.rb', line 6741 def id @id end |
#name ⇒ Object
Unique human-readable name of the SecretStore.
6743 6744 6745 |
# File 'lib/models/porcelain.rb', line 6743 def name @name end |
#region ⇒ Object
Returns the value of attribute region.
6745 6746 6747 |
# File 'lib/models/porcelain.rb', line 6745 def region @region end |
#tags ⇒ Object
Tags is a map of key, value pairs.
6747 6748 6749 |
# File 'lib/models/porcelain.rb', line 6747 def @tags end |
Instance Method Details
#to_json(options = {}) ⇒ Object
6769 6770 6771 6772 6773 6774 6775 |
# File 'lib/models/porcelain.rb', line 6769 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 |