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.
5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 |
# File 'lib/models/porcelain.rb', line 5648 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.
5642 5643 5644 |
# File 'lib/models/porcelain.rb', line 5642 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5646 5647 5648 |
# File 'lib/models/porcelain.rb', line 5646 def rate_limit @rate_limit end |
#secret_store ⇒ Object
The requested SecretStore.
5644 5645 5646 |
# File 'lib/models/porcelain.rb', line 5644 def secret_store @secret_store end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5664 5665 5666 5667 5668 5669 5670 |
# File 'lib/models/porcelain.rb', line 5664 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 |