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
13650 13651 13652 13653 13654 |
# File 'lib/models/porcelain.rb', line 13650 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
13648 13649 13650 |
# File 'lib/models/porcelain.rb', line 13648 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
13656 13657 13658 13659 13660 13661 13662 |
# File 'lib/models/porcelain.rb', line 13656 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 |