Class: SDM::ManagedSecretUpdateResponse
- Inherits:
-
Object
- Object
- SDM::ManagedSecretUpdateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ManagedSecretUpdateResponse contains information about Secret Engine after successful update.
Instance Attribute Summary collapse
-
#managed_secret ⇒ Object
The requested Managed Secret.
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(managed_secret: nil, meta: nil, rate_limit: nil) ⇒ ManagedSecretUpdateResponse
constructor
A new instance of ManagedSecretUpdateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(managed_secret: nil, meta: nil, rate_limit: nil) ⇒ ManagedSecretUpdateResponse
Returns a new instance of ManagedSecretUpdateResponse.
8740 8741 8742 8743 8744 8745 8746 8747 8748 |
# File 'lib/models/porcelain.rb', line 8740 def initialize( managed_secret: nil, meta: nil, rate_limit: nil ) @managed_secret = managed_secret == nil ? nil : managed_secret @meta = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#managed_secret ⇒ Object
The requested Managed Secret.
8734 8735 8736 |
# File 'lib/models/porcelain.rb', line 8734 def managed_secret @managed_secret end |
#meta ⇒ Object
Reserved for future use.
8736 8737 8738 |
# File 'lib/models/porcelain.rb', line 8736 def @meta end |
#rate_limit ⇒ Object
Rate limit information.
8738 8739 8740 |
# File 'lib/models/porcelain.rb', line 8738 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
8750 8751 8752 8753 8754 8755 8756 |
# File 'lib/models/porcelain.rb', line 8750 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 |