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.
11066 11067 11068 11069 11070 11071 11072 11073 11074 |
# File 'lib/models/porcelain.rb', line 11066 def initialize( managed_secret: nil, meta: nil, rate_limit: nil ) @managed_secret = managed_secret == nil ? nil : managed_secret = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#managed_secret ⇒ Object
The requested Managed Secret.
11060 11061 11062 |
# File 'lib/models/porcelain.rb', line 11060 def managed_secret @managed_secret end |
#meta ⇒ Object
Reserved for future use.
11062 11063 11064 |
# File 'lib/models/porcelain.rb', line 11062 def end |
#rate_limit ⇒ Object
Rate limit information.
11064 11065 11066 |
# File 'lib/models/porcelain.rb', line 11064 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
11076 11077 11078 11079 11080 11081 11082 |
# File 'lib/models/porcelain.rb', line 11076 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 |