Class: SDM::ManagedSecretDeleteResponse
- Inherits:
-
Object
- Object
- SDM::ManagedSecretDeleteResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ManagedSecretDeleteResponse contains information about a Managed Secret after it was deleted.
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ ManagedSecretDeleteResponse
constructor
A new instance of ManagedSecretDeleteResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ ManagedSecretDeleteResponse
Returns a new instance of ManagedSecretDeleteResponse.
8337 8338 8339 8340 8341 |
# File 'lib/models/porcelain.rb', line 8337 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
8335 8336 8337 |
# File 'lib/models/porcelain.rb', line 8335 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
8343 8344 8345 8346 8347 8348 8349 |
# File 'lib/models/porcelain.rb', line 8343 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 |