Class: SDM::SecretEngineRotateResponse
- Inherits:
-
Object
- Object
- SDM::SecretEngineRotateResponse
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ SecretEngineRotateResponse
constructor
A new instance of SecretEngineRotateResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ SecretEngineRotateResponse
Returns a new instance of SecretEngineRotateResponse.
15546 15547 15548 15549 15550 |
# File 'lib/models/porcelain.rb', line 15546 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
15544 15545 15546 |
# File 'lib/models/porcelain.rb', line 15544 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
15552 15553 15554 15555 15556 15557 15558 |
# File 'lib/models/porcelain.rb', line 15552 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 |