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.
5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 |
# File 'lib/models/porcelain.rb', line 5574 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.
5568 5569 5570 |
# File 'lib/models/porcelain.rb', line 5568 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
5572 5573 5574 |
# File 'lib/models/porcelain.rb', line 5572 def rate_limit @rate_limit end |
#secret_store ⇒ Object
The requested SecretStore.
5570 5571 5572 |
# File 'lib/models/porcelain.rb', line 5570 def secret_store @secret_store end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5590 5591 5592 5593 5594 5595 5596 |
# File 'lib/models/porcelain.rb', line 5590 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 |