Class: SDM::ManagedSecretRotateResponse
- Inherits:
-
Object
- Object
- SDM::ManagedSecretRotateResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ManagedSecretRotateResponse contains information about Secret Engine after successful rotation.
Instance Attribute Summary collapse
-
#meta ⇒ Object
Reserved for future use.
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(meta: nil, rate_limit: nil) ⇒ ManagedSecretRotateResponse
constructor
A new instance of ManagedSecretRotateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(meta: nil, rate_limit: nil) ⇒ ManagedSecretRotateResponse
Returns a new instance of ManagedSecretRotateResponse.
10424 10425 10426 10427 10428 10429 10430 |
# File 'lib/models/porcelain.rb', line 10424 def initialize( meta: nil, rate_limit: nil ) = == nil ? nil : @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#meta ⇒ Object
Reserved for future use.
10420 10421 10422 |
# File 'lib/models/porcelain.rb', line 10420 def end |
#rate_limit ⇒ Object
Rate limit information.
10422 10423 10424 |
# File 'lib/models/porcelain.rb', line 10422 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10432 10433 10434 10435 10436 10437 10438 |
# File 'lib/models/porcelain.rb', line 10432 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 |