Class: SDM::SecretStoreGetResponse
- Inherits:
-
Object
- Object
- SDM::SecretStoreGetResponse
- Defined in:
- lib/models/porcelain.rb
Overview
SecretStoreGetResponse returns a requested SecretStore.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
-
#secret_store ⇒ Object
The requested SecretStore.
Instance Method Summary collapse
-
#initialize(meta: nil, secret_store: nil, rate_limit: nil) ⇒ SecretStoreGetResponse
constructor
A new instance of SecretStoreGetResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, secret_store: nil, rate_limit: nil) ⇒ SecretStoreGetResponse
Returns a new instance of SecretStoreGetResponse.
6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 |
# File 'lib/models/porcelain.rb', line 6842 def initialize( meta: nil, secret_store: nil, rate_limit: nil ) if != nil @meta = end if secret_store != nil @secret_store = secret_store end if rate_limit != nil @rate_limit = rate_limit end end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
6836 6837 6838 |
# File 'lib/models/porcelain.rb', line 6836 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
6840 6841 6842 |
# File 'lib/models/porcelain.rb', line 6840 def rate_limit @rate_limit end |
#secret_store ⇒ Object
The requested SecretStore.
6838 6839 6840 |
# File 'lib/models/porcelain.rb', line 6838 def secret_store @secret_store end |
Instance Method Details
#to_json(options = {}) ⇒ Object
6858 6859 6860 6861 6862 6863 6864 |
# File 'lib/models/porcelain.rb', line 6858 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 |