Class: SDM::SecretStoreHealthListResponse
- Inherits:
-
Object
- Object
- SDM::SecretStoreHealthListResponse
- Defined in:
- lib/models/porcelain.rb
Instance Attribute Summary collapse
-
#rate_limit ⇒ Object
Rate limit information.
Instance Method Summary collapse
-
#initialize(rate_limit: nil) ⇒ SecretStoreHealthListResponse
constructor
A new instance of SecretStoreHealthListResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(rate_limit: nil) ⇒ SecretStoreHealthListResponse
Returns a new instance of SecretStoreHealthListResponse.
10714 10715 10716 10717 10718 |
# File 'lib/models/porcelain.rb', line 10714 def initialize( rate_limit: nil ) @rate_limit = rate_limit == nil ? nil : rate_limit end |
Instance Attribute Details
#rate_limit ⇒ Object
Rate limit information.
10712 10713 10714 |
# File 'lib/models/porcelain.rb', line 10712 def rate_limit @rate_limit end |
Instance Method Details
#to_json(options = {}) ⇒ Object
10720 10721 10722 10723 10724 10725 10726 |
# File 'lib/models/porcelain.rb', line 10720 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 |