Class: SDM::ManagedSecretListResponse
- Inherits:
-
Object
- Object
- SDM::ManagedSecretListResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ManagedSecretListResponse contains a list of requested Managed Secrets
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ ManagedSecretListResponse
constructor
A new instance of ManagedSecretListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ ManagedSecretListResponse
Returns a new instance of ManagedSecretListResponse.
8426 8427 8428 8429 8430 |
# File 'lib/models/porcelain.rb', line 8426 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
8424 8425 8426 |
# File 'lib/models/porcelain.rb', line 8424 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
8432 8433 8434 8435 8436 8437 8438 |
# File 'lib/models/porcelain.rb', line 8432 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 |